mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
gui/scan_setup: use locale when displaying seconds
Origin commit data
------------------
Commit: b69bdc38d9
Author: martii <m4rtii@gmx.de>
Date: 2013-12-22 (Sun, 22 Dec 2013)
This commit is contained in:
@@ -609,7 +609,7 @@ int CScanSetup::showScanMenuFrontendSetup()
|
|||||||
|
|
||||||
static std::string rotationSpeed2str(int i)
|
static std::string rotationSpeed2str(int i)
|
||||||
{
|
{
|
||||||
return to_string(i/10) + g_Locale->getText(LOCALE_UNIT_DECIMAL) + to_string(i%10) + "°/s";
|
return to_string(i/10) + g_Locale->getText(LOCALE_UNIT_DECIMAL) + to_string(i%10) + "°/" + g_Locale->getText(LOCALE_UNIT_SHORT_SECOND);
|
||||||
}
|
}
|
||||||
|
|
||||||
int CScanSetup::showFrontendSetup(int number)
|
int CScanSetup::showFrontendSetup(int number)
|
||||||
|
Reference in New Issue
Block a user