diff --git a/es-core/src/components/DateTimeComponent.cpp b/es-core/src/components/DateTimeComponent.cpp index 5225de983..0f749365f 100644 --- a/es-core/src/components/DateTimeComponent.cpp +++ b/es-core/src/components/DateTimeComponent.cpp @@ -74,7 +74,7 @@ std::string DateTimeComponent::getDisplayString() const // Workaround to handle Unix epoch for different time zones. if (mTime.getTime() < 82800) { if (mDefaultValue == "") - return "never"; + return _p("theme", "never"); else return mDefaultValue; } @@ -108,7 +108,7 @@ std::string DateTimeComponent::getDisplayString() const if (mTime.getTime() == 0) { if (mDefaultValue == "") - return "unknown"; + return _p("theme", "unknown"); else return mDefaultValue; }