Skip to content

Commit

Permalink
Fix localization issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvanaar committed Aug 28, 2019
1 parent 52f0608 commit f1d7d57
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 40 deletions.
6 changes: 2 additions & 4 deletions localization-deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ if not ACP then return end

--[===[@non-debug@
if (GetLocale() == "deDE") then
ACP:UpdateLocale(
--@localization(locale="deDE", format="lua_table")@
)
if (GetLocale() == "deDE") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ if not ACP then return end

--[===[@non-debug@
if (GetLocale() == "esES") then
ACP:UpdateLocale(
--@localization(locale="esES", format="lua_table")@
)
if (GetLocale() == "esES") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

--[===[@non-debug@
if (GetLocale() == "esMX") then
ACP:UpdateLocale(
--@localization(locale="esMX", format="lua_table")@
)
if (GetLocale() == "esMX") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

--[===[@non-debug@
if (GetLocale() == "frFR") then
ACP:UpdateLocale(
--@localization(locale="frFR", format="lua_table")@
)
if (GetLocale() == "frFR") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ if not ACP then return end

--[===[@non-debug@
if (GetLocale() == "itIT") then
ACP:UpdateLocale(
--@localization(locale="itIT", format="lua_table")@
)
if (GetLocale() == "itIT") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

--[===[@non-debug@
if (GetLocale() == "koKR") then
ACP:UpdateLocale(
--@localization(locale="koKR", format="lua_table")@
)
if (GetLocale() == "koKR") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

--[===[@non-debug@
if (GetLocale() == "ptBR") then
ACP:UpdateLocale(
--@localization(locale="ptBR", format="lua_table")@
)
if (GetLocale() == "ptBR") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

--[===[@non-debug@
if (GetLocale() == "ruRU") then
ACP:UpdateLocale(
--@localization(locale="ruRU", format="lua_table")@
)
if (GetLocale() == "ruRU") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ if not ACP then return end

--[===[@non-debug@
if (GetLocale() == "zhCN") then
ACP:UpdateLocale(
--@localization(locale="zhCN", format="lua_table")@
)
if (GetLocale() == "zhCN") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]
6 changes: 2 additions & 4 deletions localization-zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

--[===[@non-debug@
if (GetLocale() == "zhTW") then
ACP:UpdateLocale(
--@localization(locale="zhTW", format="lua_table")@
)
if (GetLocale() == "zhTW") then
ACP:UpdateLocale(L)
end
--@end-non-debug@]===]

0 comments on commit f1d7d57

Please sign in to comment.