mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
gui/scan_setup: use language specific decimal separator
Origin commit data
------------------
Branch: ni/coolstream
Commit: 18c97c17d3
Author: martii <m4rtii@gmx.de>
Date: 2013-12-21 (Sat, 21 Dec 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
#include <driver/framebuffer.h>
|
#include <driver/framebuffer.h>
|
||||||
#include <driver/record.h>
|
#include <driver/record.h>
|
||||||
#include <system/debug.h>
|
#include <system/debug.h>
|
||||||
|
#include <system/helpers.h>
|
||||||
|
|
||||||
#include <zapit/femanager.h>
|
#include <zapit/femanager.h>
|
||||||
#include <zapit/getservices.h>
|
#include <zapit/getservices.h>
|
||||||
@@ -608,9 +609,7 @@ int CScanSetup::showScanMenuFrontendSetup()
|
|||||||
|
|
||||||
static std::string rotationSpeed2str(int i)
|
static std::string rotationSpeed2str(int i)
|
||||||
{
|
{
|
||||||
char s[40];
|
return to_string(i/10) + g_Locale->getText(LOCALE_UNIT_DECIMAL) + to_string(i%10) + "°/s";
|
||||||
snprintf(s, sizeof(s), "%d.%d°/s", i / 10, i % 10);
|
|
||||||
return std::string(s);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int CScanSetup::showFrontendSetup(int number)
|
int CScanSetup::showFrontendSetup(int number)
|
||||||
|
Reference in New Issue
Block a user