Quantcast

Added Master Volume localizations

Mikeprod [11-16-16 - 08:37]
Added Master Volume localizations
Filename
locales/deDE.lua
locales/enUS.lua
locales/frFR.lua
locales/ruRU.lua
locales/zhCN.lua
modules/mastervolume.lua
diff --git a/locales/deDE.lua b/locales/deDE.lua
index 4438a0d..c9e9006 100644
--- a/locales/deDE.lua
+++ b/locales/deDE.lua
@@ -76,6 +76,8 @@ L['Always Show Item Level'] = "Rüstungslevel immer anzeigen";
 L['Minimum Durability to Become Active'] = "Minimale Haltbarkeit für Anzeige";
 L['Maximum Durability to Show Item Level'] = "Maximale Haltbarkeit für Rüstungslevel-Anzeige";

+L["Volume step"] = true;
+
 L['Time Format'] = "Uhrzeit-Format";
 L['Use Server Time'] = "Server-Zeit benutzen";
 L['New Event!'] = "Neue Veranstaltung";
diff --git a/locales/enUS.lua b/locales/enUS.lua
index d418ac7..59e35a4 100644
--- a/locales/enUS.lua
+++ b/locales/enUS.lua
@@ -75,6 +75,8 @@ L['Always Show Item Level'] = true;
 L['Minimum Durability to Become Active'] = true;
 L['Maximum Durability to Show Item Level'] = true;

+L["Volume step"] = true;
+
 L['Time Format'] = true;
 L['Use Server Time'] = true;
 L['New Event!'] = true;
diff --git a/locales/frFR.lua b/locales/frFR.lua
index 3f4d4bb..2b4b27b 100644
--- a/locales/frFR.lua
+++ b/locales/frFR.lua
@@ -76,6 +76,8 @@ L['Always Show Item Level'] = "Toujours montrer le niveau d'objet";
 L['Minimum Durability to Become Active'] = "Activation au minimum de durabilité";
 L['Maximum Durability to Show Item Level'] = "Durabilité maximum pour montrer le niveau d'item";

+L["Volume step"] = "Incrément de volume";
+
 L['Time Format'] = "Format de l'heure";
 L['Use Server Time'] = "Utiliser l'heure du serveur";
 L['New Event!'] = "Nouvel événement";
diff --git a/locales/ruRU.lua b/locales/ruRU.lua
index 72f2752..6306d3b 100644
--- a/locales/ruRU.lua
+++ b/locales/ruRU.lua
@@ -76,6 +76,8 @@ L['Always Show Item Level'] = "Всегда показывать уровень
 L['Minimum Durability to Become Active'] = "Прочность, до которой загораются цифры";
 L['Maximum Durability to Show Item Level'] = "Прочность, после которой показывается уровень предметов";

+L["Volume step"] = true;
+
 L['Time Format'] = "Формат времени";
 L['Use Server Time'] = "Использовать серверное время";
 L['New Event!'] = "Новое событие!";
diff --git a/locales/zhCN.lua b/locales/zhCN.lua
index 553536c..d1bfc76 100644
--- a/locales/zhCN.lua
+++ b/locales/zhCN.lua
@@ -76,6 +76,8 @@ L['Always Show Item Level'] = "始终显示物品等级";
 L['Minimum Durability to Become Active'] = "最低耐久度变得活跃";
 L['Maximum Durability to Show Item Level'] = "最大耐久度显示物品等级";

+L["Volume step"] = true;
+
 L['Time Format'] = "时间格式";
 L['Use Server Time'] = "使用服务器时间";
 L['New Event!'] = "新事件!";
diff --git a/modules/mastervolume.lua b/modules/mastervolume.lua
index d532d94..937e668 100644
--- a/modules/mastervolume.lua
+++ b/modules/mastervolume.lua
@@ -71,10 +71,10 @@ function VolumeModule:RegisterEvents()
 		self.text:SetTextColor(xb:GetColor('hover'))

 		GameTooltip:SetOwner(self.frame, "ANCHOR_BOTTOM")
-		GameTooltip:AddLine("[|cff6699FFMaster Volume|r]")
+		GameTooltip:AddLine("[|cff6699FF"..MASTER_VOLUME.."|r]")
 		GameTooltip:AddLine(" ")
-		GameTooltip:AddDoubleLine("<Left-click>", "|cffffffffMaster Volume UP|r")
-		GameTooltip:AddDoubleLine("<Right-click>", "|cffffffffMaster Volume DOWN|r")
+		GameTooltip:AddDoubleLine("<"..L['Left-Click']..">", "|cffffffff"..BINDING_NAME_MASTERVOLUMEUP.."|r")
+		GameTooltip:AddDoubleLine("<"..L['Right-Click']..">", "|cffffffff"..BINDING_NAME_MASTERVOLUMEDOWN.."|r")
 		GameTooltip:Show()
 	end)

@@ -181,7 +181,7 @@ function VolumeModule:GetConfig()
         width = "full"
       },
 	  step = {
-		name = "Volume step",
+		name = L["Volume step"],
 		order = 1,
 		type = "range",
 		min = 1,