gui/scan_setup: use locale when displaying seconds

This commit is contained in:
martii
2013-12-22 08:51:05 +01:00
committed by Jacek Jendrzej
parent 18c97c17d3
commit b69bdc38d9

View File

@@ -609,7 +609,7 @@ int CScanSetup::showScanMenuFrontendSetup()
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)