Move loading of locales into an XML file.
Johnny C. Lam [10-23-13 - 07:19]
Move loading of locales into an XML file.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1095 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.toc b/Ovale.toc
index fc8fa4b..7512317 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -15,17 +15,7 @@ embeds.xml
#@no-lib-strip@
libs\LibDualSpec-1.0\LibDualSpec-1.0.lua
#@end-no-lib-strip@
-
-Locale-frFR.lua
-Locale-deDE.lua
-Locale-enUS.lua
-Locale-esES.lua
-Locale-itIT.lua
-Locale-koKR.lua
-Locale-ptBR.lua
-Locale-ruRU.lua
-Locale-zhCN.lua
-Locale-zhTW.lua
+locales.xml
Ovale.lua
diff --git a/locales.xml b/locales.xml
new file mode 100644
index 0000000..8e84785
--- /dev/null
+++ b/locales.xml
@@ -0,0 +1,15 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
+ <!-- Default locale -->
+ <Script file="Locale-frFR.lua" />
+
+ <!-- Translations -->
+ <Script file="Locale-deDE.lua" />
+ <Script file="Locale-enUS.lua" />
+ <Script file="Locale-esES.lua" />
+ <Script file="Locale-itIT.lua" />
+ <Script file="Locale-koKR.lua" />
+ <Script file="Locale-ptBR.lua" />
+ <Script file="Locale-ruRU.lua" />
+ <Script file="Locale-zhCN.lua" />
+ <Script file="Locale-zhTW.lua" />
+</Ui>