Add French translation by Llwydd

Scott Yeskie [07-27-16 - 01:12]
Add French translation by Llwydd
Filename
CyrHUD.txt
LICENSE
lang/fr.lua
menu.lua
diff --git a/CyrHUD.txt b/CyrHUD.txt
index b1d4c53..ef24409 100644
--- a/CyrHUD.txt
+++ b/CyrHUD.txt
@@ -1,6 +1,6 @@
 ## APIVersion: 100015
 ## Title: CyrHUD
-## Version: 1.4.1
+## Version: 1.4.2
 ## Author: Sasky
 ## SavedVariables: CyrHUD_SavedVars
 ## OptionalDependsOn: LibAddonMenu-2.0
diff --git a/LICENSE b/LICENSE
index 9ad42c3..36bb23a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -5,6 +5,7 @@ Any included libraries are used by permission of their respective authors. They
 For this addon itself:
 (C) 2016 Scott Yeskie (Sasky)
 (C) 2016 Lionas - JP translation
+(C) 2016 Llwydd - FR translation

 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
diff --git a/lang/fr.lua b/lang/fr.lua
new file mode 100644
index 0000000..e37a1b7
--- /dev/null
+++ b/lang/fr.lua
@@ -0,0 +1,42 @@
+-- This file is part of CyrHUD
+--
+-- (C) 2016 Llwydd
+--
+-- 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_CYRHUD_LANG", "fr")
+ZO_CreateStringId("SI_CYRHUD_FONT", "$(CHAT_FONT)|18|soft-shadow-thick")
+ZO_CreateStringId("SI_CYRHUD_APRIL1", "Poisson d'avril Fix")
+ZO_CreateStringId("SI_CYRHUD_APRIL1_TOOLTIP", "Activez pour revenir aux couleurs d'origine")
+ZO_CreateStringId("SI_CYRHUD_HIDE_IC", "Masquer les combats de la citée impériale")
+ZO_CreateStringId("SI_CYRHUD_HIDE_IC_INFO", "Masque les combats de la citée impériale depuis les notifications de CyrHUD")
+ZO_CreateStringId("SI_CYRHUD_QT_DEFAULT", "Masquer automatiquement le suiveur de quêtes par défaut")
+ZO_CreateStringId("SI_CYRHUD_QT_TOOLTIP", "Masque le suivi des quêtes quand CyrHUD est activé")
+ZO_CreateStringId("SI_CYRHUD_QT_WYKKYD", "Masquer automatiquement Wykkyd's Quest Tracker")
+ZO_CreateStringId("SI_CYRHUD_POPBAR", "Barres de population comme drapeau")
+ZO_CreateStringId("SI_CYRHUD_POPBAR_INFO", "Affiche la population courante à la place du drapeau aliance dans le résumé")
+ZO_CreateStringId("SI_BINDING_NAME_CYRHUD_TOGGLE", "Activer/désactiver CyrHUD")
+
+local CZ = "|cC5C29E" -- ZOS standard text color
+local CR = "|cFFFFFF" -- Reset color
+ZO_CreateStringId("SI_CYRHUD_KEYBIND_HEADER", "Raccourci")
+ZO_CreateStringId("SI_CYRHUD_KEYBIND_DESC",
+    CZ .. "Voir dans le menu réglages du jeu pour affecter un raccourci à " .. CR .. "/cyrhud" .. CZ .. " command.\n"
+            .."Cela permet d'activer l'extension ou non.")
+
+
+--Templates for using in code (reference):
+--ZO_CreateStringId("SI_CYRHUD_", )
+--GetString(SI_CYRHUD_...)
+--zo_strformat(GetString(SI_CYRHUD_...), param1, param2))
diff --git a/menu.lua b/menu.lua
index 25de19f..ce1e752 100644
--- a/menu.lua
+++ b/menu.lua
@@ -20,7 +20,7 @@ CyrHUD.menuPanel = {
     type = "panel",
     name = "CyrHUD",
     author = "Sasky",
-    version = "1.4.0",
+    version = "1.4.2",
 }

 CyrHUD.menuOptions = {
@@ -42,7 +42,7 @@ CyrHUD.menuOptions = {
         type = "checkbox",
         name = GetString(SI_CYRHUD_POPBAR),
         tooltip = GetString(SI_CYRHUD_POPBAR_INFO),
-        getFunc = function() return CyrHUD.cfg.showPopBars or false end,
+        getFunc = function() return CyrHUD.cfg.showPopBars or true end,
         setFunc = function(v) CyrHUD.cfg.showPopBars = v; CyrHUD:reconfigureLabels() end,
     },
     {