mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Added theme engine translations for 'never' and 'unknown' date values
This commit is contained in:
parent
56c8c11783
commit
e34fbb9115
|
@ -74,7 +74,7 @@ std::string DateTimeComponent::getDisplayString() const
|
||||||
// Workaround to handle Unix epoch for different time zones.
|
// Workaround to handle Unix epoch for different time zones.
|
||||||
if (mTime.getTime() < 82800) {
|
if (mTime.getTime() < 82800) {
|
||||||
if (mDefaultValue == "")
|
if (mDefaultValue == "")
|
||||||
return "never";
|
return _p("theme", "never");
|
||||||
else
|
else
|
||||||
return mDefaultValue;
|
return mDefaultValue;
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ std::string DateTimeComponent::getDisplayString() const
|
||||||
|
|
||||||
if (mTime.getTime() == 0) {
|
if (mTime.getTime() == 0) {
|
||||||
if (mDefaultValue == "")
|
if (mDefaultValue == "")
|
||||||
return "unknown";
|
return _p("theme", "unknown");
|
||||||
else
|
else
|
||||||
return mDefaultValue;
|
return mDefaultValue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue