From b69bdc38d9ea678e6057c5a1d9315f606f701fbf Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 22 Dec 2013 08:51:05 +0100 Subject: [PATCH] gui/scan_setup: use locale when displaying seconds --- src/gui/scan_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 09c0ad3f4..6acce5d2f 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -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)