Skip to content

Commit

Permalink
Fixed localization
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Aug 29, 2017
1 parent f4d0545 commit 1bdb0a7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions localization.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,54 @@ local me,ns=...
local lang=GetLocale()
local l=LibStub("AceLocale-3.0")
local L=l:NewLocale(me,"enUS",true,true)
--@localization(locale="enUS", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="enUS", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
L=l:NewLocale(me,"ptBR")
if (L) then
--@localization(locale="ptBR", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="ptBR", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"frFR")
if (L) then
--@localization(locale="frFR", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="frFR", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"deDE")
if (L) then
--@localization(locale="deDE", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="deDE", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"itIT")
if (L) then
--@localization(locale="itIT", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="itIT", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"koKR")
if (L) then
--@localization(locale="koKR", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="koKR", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"esMX")
if (L) then
--@localization(locale="esMX", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="esMX", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"ruRU")
if (L) then
--@localization(locale="ruRU", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="ruRU", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"zhCN")
if (L) then
--@localization(locale="zhCN", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="zhCN", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"esES")
if (L) then
--@localization(locale="esES", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="esES", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"zhTW")
if (L) then
--@localization(locale="zhTW", format="lua_additive_table" , escape-non-ascii=true, same-key-is-true=true, handle-unlocalized="blank" )@
--@localization(locale="zhTW", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end

0 comments on commit 1bdb0a7

Please sign in to comment.