From 789ae851135871db9c1c48822a6148e2c991fe73 Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 9 Jan 2009 02:11:34 +0000 Subject: [PATCH] Add more localization testy thingies --- Locals/testdeDE.lua | 44 ++++++++++++++++++++++++++++++++++++++++++++ Locals/testefrFR.lua | 43 +++++++++++++++++++++++++++++++++++++++++++ Locals/testenUS.lua | 13 +++++++------ Locals/testzhCN.lua | 44 ++++++++++++++++++++++++++++++++++++++++++++ Locals/testzhTW.lua | 44 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 182 insertions(+), 6 deletions(-) create mode 100644 Locals/testdeDE.lua create mode 100644 Locals/testefrFR.lua create mode 100644 Locals/testzhCN.lua create mode 100644 Locals/testzhTW.lua diff --git a/Locals/testdeDE.lua b/Locals/testdeDE.lua new file mode 100644 index 0000000..c73e116 --- /dev/null +++ b/Locals/testdeDE.lua @@ -0,0 +1,44 @@ +--[[ +**************************************************************************************** + +ARLLocals-deDE.lua + +deDE localization strings for Ackis Recipe List + +File date: @file-date-iso@ +File revision: @file-revision@ +Project revision: @project-revision@ +Project version: @project-version@ + +Original translated by: Winkiller +Currently maintained by: Dessa + +Please make sure you update the ToC file with any translations. + +Please update http://www.wowace.com/projects/arl/localization/deDE/ for any translation +additions or changes. + +The translations will be auto-generated by the localization application. + +**************************************************************************************** +]]-- + +--[[ +Locale schema + * single and double words are just fine, anything longer should have a tag + * tag name rules: + * tags should be ALL_CAPITAL_LETTERS with words separated with _'s + * descriptions are typically used in tooltips and header in sections + * short descriptions will end in _DESC + * long descriptions will end in _LONG + * don't include the object being described in the name (no _TOGGLE or _TT) since it + can be used several times to describe different objects (in theory) + * group related elements together, either by their location in the GUI/config, + or by purpose (Weapon categories, etc) +]]-- + +local L = LibStub("AceLocale-3.0"):NewLocale("Ackis Recipe List", "deDE", false); + +if not L then return end + +--@localization(locale="deDE", format="lua_additive_table", handle-unlocalized="english", escape-non-ascii="false")@ diff --git a/Locals/testefrFR.lua b/Locals/testefrFR.lua new file mode 100644 index 0000000..c9cbced --- /dev/null +++ b/Locals/testefrFR.lua @@ -0,0 +1,43 @@ +--[[ + +ARLLocals-frFR.lua + +frFR localization strings for Ackis Recipe List + +File date: @file-date-iso@ +File revision: @file-revision@ +Project revision: @project-revision@ +Project version: @project-version@ + +Original translated by: Pettigrow +Currently maintaince by: Pettigrow + +Please make sure you update the ToC file with any translations. + +Please update http://www.wowace.com/projects/arl/localization/frFR/ for any translation +additions or changes. + +The translations will be auto-generated by the localization application. + +**************************************************************************************** +]]-- + +--[[ +Locale schema + * single and double words are just fine, anything longer should have a tag + * tag name rules: + * tags should be ALL_CAPITAL_LETTERS with words separated with _'s + * descriptions are typically used in tooltips and header in sections + * short descriptions will end in _DESC + * long descriptions will end in _LONG + * don't include the object being described in the name (no _TOGGLE or _TT) since it + can be used several times to describe different objects (in theory) + * group related elements together, either by their location in the GUI/config, + or by purpose (Weapon categories, etc) +]]-- + +local L = LibStub("AceLocale-3.0"):NewLocale("MyAddon", "frFR") + +if not L then return end + +--@localization(locale="frFR", format="lua_additive_table", handle-unlocalized="english", escape-non-ascii="false")@ \ No newline at end of file diff --git a/Locals/testenUS.lua b/Locals/testenUS.lua index c70719d..088320f 100644 --- a/Locals/testenUS.lua +++ b/Locals/testenUS.lua @@ -17,6 +17,8 @@ Please make sure you update the ToC file with any translations. Please update http://www.wowace.com/projects/arl/localization/enUS/ for any translation additions or changes. +The translations will be auto-generated by the localization application. + **************************************************************************************** ]]-- @@ -34,14 +36,13 @@ Locale schema or by purpose (Weapon categories, etc) ]]-- +local debug = false --@debug@ -LibStub("AceLocale-3.0"):NewLocale("Ackis Recipe List", "enUS", true) +debug = true --@end-debug@ ---[===[@non-debug@ -local L = LibStub("AceLocale-3.0"):NewLocale("Ackis Recipe List", "enUS", true) -if not L then return end +local L = LibStub("AceLocale-3.0"):NewLocale("MyAddon", "enUS", true, debug) -@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english", escape-non-ascii="false")@ +if not L then return end ---@end-non-debug@]===] \ No newline at end of file +--@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english", escape-non-ascii="false")@ \ No newline at end of file diff --git a/Locals/testzhCN.lua b/Locals/testzhCN.lua new file mode 100644 index 0000000..5a75789 --- /dev/null +++ b/Locals/testzhCN.lua @@ -0,0 +1,44 @@ +--[[ +**************************************************************************************** + +ARLLocals-zhCN.lua + +zhCN localization strings for Ackis Recipe List + +File date: @file-date-iso@ +File revision: @file-revision@ +Project revision: @project-revision@ +Project version: @project-version@ + +Original translated by: iCat (msn: lucifer_icat@hotmail.com) +Currently maintained by: Kurax, 冰焱妩魅 @ CWDG, ananhaid + +Please make sure you update the ToC file with any translations. + +Please update http://www.wowace.com/projects/arl/localization/zhCN/ for any translation +additions or changes. + +The translations will be auto-generated by the localization application. + +**************************************************************************************** +]]-- + +--[[ +Locale schema + * single and double words are just fine, anything longer should have a tag + * tag name rules: + * tags should be ALL_CAPITAL_LETTERS with words separated with _'s + * descriptions are typically used in tooltips and header in sections + * short descriptions will end in _DESC + * long descriptions will end in _LONG + * don't include the object being described in the name (no _TOGGLE or _TT) since it + can be used several times to describe different objects (in theory) + * group related elements together, either by their location in the GUI/config, + or by purpose (Weapon categories, etc) +]]-- + +local L = LibStub("AceLocale-3.0"):NewLocale("Ackis Recipe List", "zhCN", false); + +if not L then return end + +--@localization(locale="zhCN", format="lua_additive_table", handle-unlocalized="english", escape-non-ascii="false")@ diff --git a/Locals/testzhTW.lua b/Locals/testzhTW.lua new file mode 100644 index 0000000..03fed48 --- /dev/null +++ b/Locals/testzhTW.lua @@ -0,0 +1,44 @@ +--[[ +**************************************************************************************** + +ARLLocals-zhTW.lua + +zhTW localization strings for Ackis Recipe List + +File date: @file-date-iso@ +File revision: @file-revision@ +Project revision: @project-revision@ +Project version: @project-version@ + +Original translated by: iCat (msn: lucifer_icat@hotmail.com) +Currently maintained by: apa1102, zhucc, andy52005 + +Please make sure you update the ToC file with any translations. + +Please update http://www.wowace.com/projects/arl/localization/zhTW/ for any translation +additions or changes. + +The translations will be auto-generated by the localization application. + +**************************************************************************************** +]]-- + +--[[ +Locale schema + * single and double words are just fine, anything longer should have a tag + * tag name rules: + * tags should be ALL_CAPITAL_LETTERS with words separated with _'s + * descriptions are typically used in tooltips and header in sections + * short descriptions will end in _DESC + * long descriptions will end in _LONG + * don't include the object being described in the name (no _TOGGLE or _TT) since it + can be used several times to describe different objects (in theory) + * group related elements together, either by their location in the GUI/config, + or by purpose (Weapon categories, etc) +]]-- + +local L = LibStub("AceLocale-3.0"):NewLocale("Ackis Recipe List", "zhTW", false) + +if not L then return end + +--@localization(locale="zhTW", format="lua_additive_table", handle-unlocalized="english", escape-non-ascii="false")@ -- 1.7.9.5