Skip to content

Commit

Permalink
Update settings, add frFR locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Slivo-fr committed Dec 9, 2019
1 parent f7913f3 commit 10882fb
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 2 deletions.
3 changes: 2 additions & 1 deletion TranqRotate.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
## Title: TranqRotate
## Notes: A tranqshot rotation assistant
## Author: Slivo
## Version: 1.0
## Version: 1.0.0
## SavedVariables: TranqRotateDb

locales\enUS.lua
locales\frFR.lua
locales\zhCN.lua
locales\zhTW.lua

Expand Down
3 changes: 3 additions & 0 deletions locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ local L = {

-- Settings
["SETTING_GENERAL"] = "General",
["SETTING_GENERAL_REPORT"] = "Please report any issue at",
["SETTING_GENERAL_DESC"] = "This first version will only allow you to get automatic tranq annouce messages\n"..
"I'm planning to add more features giving visual feedback about tranqshot rotation",

--- Announces
["SETTING_ANNOUNCES"] = "Announces",
Expand Down
48 changes: 48 additions & 0 deletions locales/frFR.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
if( GetLocale() ~= "frFR" ) then return end

local TranqRotate = select(2, ...)

local L = {

["LOADED_MESSAGE"] = "TranqRotate chargé, utilisez /tranq pour les options",

-- Settings
["SETTING_GENERAL"] = "Général",
["SETTING_GENERAL_REPORT"] = "Merci de signaler tout bug rencontré sur",
["SETTING_GENERAL_DESC"] = "Cette première version permet uniquement des annonces automatique pour le tir tranquillisant\n"..
"D'autres fonctionnalités sont prévues, permettant entre autre un affichage temps réel de la rotation et des cooldowns",

--- Announces
["SETTING_ANNOUNCES"] = "Annonces",
["ENABLE_ANNOUNCES"] = "Activer les annonces",
["ENABLE_ANNOUNCES_DESC"] = "Activer / désactiver les annonces",

---- Channels
["ANNOUNCES_CHANNEL_HEADER"] = "Canal",
["MESSAGE_CHANNEL_TYPE"] = "Envoyer les annonces sur",
["MESSAGE_CHANNEL_TYPE_DESC"] = "Canal à utiliser pour les annonces",
["MESSAGE_CHANNEL_NAME"] = "Nom du canal ou du joueur",
["MESSAGE_CHANNEL_NAME_DESC"] = "Nom du canal ou du à utiliser",

----- Channels types
["CHANNEL_WHISPER"] = "Chuchoter ",
["CHANNEL_CHANNEL"] = "Canal",
["CHANNEL_RAID_WARNING"] = "Avertissement raid",
["CHANNEL_SAY"] = "Dire",
["CHANNEL_YELL"] = "Crier",
["CHANNEL_PARTY"] = "Groupe",
["CHANNEL_RAID"] = "Raid",

---- Messages
["ANNOUNCES_MESSAGE_HEADER"] = "Messages",
["SUCCESS_MESSAGE_LABEL"] = "Message de réussite",
["FAIL_MESSAGE_LABEL"] = "Message d'échec",

['DEFAULT_SUCCESS_ANNOUNCE_MESSAGE'] = "Tir tranquillisant fait sur %s",
['DEFAULT_FAIL_ANNOUNCE_MESSAGE'] = "!!! TIR TRANQUILLISANT RATE SUR %s !!!",

--- Profiles
["SETTING_PROFILES"] = "Profils"
}

TranqRotate.L = L
3 changes: 3 additions & 0 deletions locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ local L = {

-- Settings
["SETTING_GENERAL"] = "General",
["SETTING_GENERAL_REPORT"] = "Please report any issue at",
["SETTING_GENERAL_DESC"] = "This first version will only allow you to get automatic tranq annouce messages\n"..
"I'm planning to add more features giving visual feedback about tranqshot rotation",

--- Announces
["SETTING_ANNOUNCES"] = "通告",
Expand Down
3 changes: 3 additions & 0 deletions locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ local L = {

-- Settings
["SETTING_GENERAL"] = "General",
["SETTING_GENERAL_REPORT"] = "Please report any issue at",
["SETTING_GENERAL_DESC"] = "This first version will only allow you to get automatic tranq annouce messages\n"..
"I'm planning to add more features giving visual feedback about tranqshot rotation",

--- Announces
["SETTING_ANNOUNCES"] = "通告",
Expand Down
14 changes: 13 additions & 1 deletion settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,23 @@ function TranqRotate:CreateConfig()
order = 1,
args = {
descriptionText = {
name = "TranqRotate by Slivo\n\n".."Version: "..TranqRotate.version,
name = "TranqRotate v" .. TranqRotate.version .. " by Slivo\n",
type = "description",
width = "full",
order = 1,
},
repoLink = {
name = L['SETTING_GENERAL_REPORT'] .. " https://github.com/Slivo-fr/TranqRotate\n",
type = "description",
width = "full",
order = 2,
},
baseVersion = {
name = L['SETTING_GENERAL_DESC'],
type = "description",
width = "full",
order = 3,
},
}
},
announces = {
Expand Down

0 comments on commit 10882fb

Please sign in to comment.