Skip to content

Commit a3369a5

Browse files
committed
Use materials/flags16/* flags for locales instead and fixed wrong markers on auto and debug translations.
1 parent 9da33c7 commit a3369a5

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
451
2-
1772756708
1+
452
2+
1772790434

lua/streamradio_core/locale.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ function LIB.ApplyLocale()
12321232
autoLocale.icon = ""
12331233

12341234
if isMarked(autoLocale.titleTranslated) then
1235-
autoLocale.titleTranslated = "Use game language if available (!locale._auto.title)"
1235+
autoLocale.titleTranslated = "Use game language if available (?locale._auto.title)"
12361236
end
12371237

12381238
if localeFromNative then
@@ -1245,7 +1245,7 @@ function LIB.ApplyLocale()
12451245
debugLocale.icon = "materials/icon16/cog.png"
12461246

12471247
if isMarked(debugLocale.titleTranslated) then
1248-
debugLocale.titleTranslated = "Show translation identifiers (!locale._debug.title)"
1248+
debugLocale.titleTranslated = "Show translation identifiers (?locale._debug.title)"
12491249
end
12501250
end
12511251

lua/streamradio_core/locales/de-de/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ LOCALE.title = "German"
6363
LOCALE.titleTranslated = "Deutsch"
6464

6565
-- Icon for this language, e.g. the flag of its country.
66-
LOCALE.icon = "resource/localization/de.png"
66+
LOCALE.icon = "materials/flags16/de.png"
6767

6868
-- Set to true if you want to normalize the translation to unescaped strings upon template generation.
6969
-- Removes escape sequences for better readability.

lua/streamradio_core/locales/en-us/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ LOCALE.title = "English (US)"
6363
LOCALE.titleTranslated = "English (US)"
6464

6565
-- Icon for this language, e.g. the flag of its country.
66-
LOCALE.icon = "resource/localization/en.png"
66+
LOCALE.icon = "materials/flags16/us.png"
6767

6868
-- Set to true if you want to normalize the translation to unescaped strings upon template generation.
6969
-- Removes escape sequences for better readability.

0 commit comments

Comments
 (0)