Add localization structure and EN + FR translations.

Sasky [04-03-15 - 04:05]
Add localization structure and EN + FR translations.
Filename
ChampionBar.txt
EnlightenmentPoolBar.lua
LICENSE
lang/en.lua
lang/fr.lua
diff --git a/ChampionBar.txt b/ChampionBar.txt
index 31772ad..e463bf6 100644
--- a/ChampionBar.txt
+++ b/ChampionBar.txt
@@ -1,8 +1,11 @@
 ## APIVersion: 100011
 ## Title: ChampionBar
-## Version: 0.9.2
+## Version: 0.9.3
 ## Author: Sasky

+lang/en.lua
+lang/$(language).lua
+
 VPMaxBar.lua
 EnlightenmentPoolBar.lua
 ChampionBar.lua
\ No newline at end of file
diff --git a/EnlightenmentPoolBar.lua b/EnlightenmentPoolBar.lua
index e03dc92..d705ded 100644
--- a/EnlightenmentPoolBar.lua
+++ b/EnlightenmentPoolBar.lua
@@ -71,13 +71,16 @@ end
 function EPBarType:GetEnlightenedTooltip()
     local ep = GetEnlightenedPool()
     local msg = {
-        "Enlightenment: ",
-        ep,
+        GetString(SI_ENLIGHTENMENT),
+        ": ",
+        ZO_CommaDelimitNumber(ep),
         "/",
-        self:GetLevelSize(),
+        ZO_CommaDelimitNumber(self:GetLevelSize()),
         "\n(",
         math.floor(ep/10000)/10, --CP
-        " Champion Points)"
+        " ",
+        GetString(SI_CHAMPION_POINTS),
+        ")"
     }
     return table.concat(msg, "")
 end
diff --git a/LICENSE b/LICENSE
index 222a405..32e0a3d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -5,6 +5,8 @@ Any included libraries are used by permission of their respective authors. They
 For this addon itself:
 (C) 2015 Scott Yeskie (Sasky)

+Thanks to solaxx for the French translations
+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
diff --git a/lang/en.lua b/lang/en.lua
new file mode 100644
index 0000000..005d995
--- /dev/null
+++ b/lang/en.lua
@@ -0,0 +1,22 @@
+--[[============================================================================
+  This file is a part of ChampionBar
+
+  Copyright (C) 2015 Scott Yeskie (Sasky)
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  ============================================================================]]
+
+ZO_CreateStringId("SI_ENLIGHTENED", "Enlightened")
+ZO_CreateStringId("SI_ENLIGHTENMENT", "Enlightenment")
+ZO_CreateStringId("SI_CHAMPION_POINTS", "Champion Points")
\ No newline at end of file
diff --git a/lang/fr.lua b/lang/fr.lua
new file mode 100644
index 0000000..b679387
--- /dev/null
+++ b/lang/fr.lua
@@ -0,0 +1,23 @@
+--[[============================================================================
+  This file is a part of ChampionBar
+
+  Copyright (C) 2015 Scott Yeskie (Sasky)
+  Copyright (C) 2015 solaxx for French translations
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  ============================================================================]]
+
+ZO_CreateStringId("SI_ENLIGHTENED", "Illuminé")
+ZO_CreateStringId("SI_ENLIGHTENMENT", "Illumination")
+ZO_CreateStringId("SI_CHAMPION_POINTS", "Points de Champion")
\ No newline at end of file