From 3a148ab4f1d9c81889ecc54726a89bb2c79807ad Mon Sep 17 00:00:00 2001 From: pschifferer Date: Tue, 15 Dec 2009 03:01:39 +0000 Subject: [PATCH] Added missing locale strings. --- CauldronMain.xml | 4 ++-- CauldronMainUI.lua | 11 +++++++++-- CauldronShoppingListUI.lua | 3 +++ Locale/Cauldron-enUS.lua | 8 ++++++++ Locale/Cauldron-ruRU.lua | 5 +++++ 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CauldronMain.xml b/CauldronMain.xml index 845ac06..a3a7358 100644 --- a/CauldronMain.xml +++ b/CauldronMain.xml @@ -992,7 +992,7 @@ - + @@ -1086,7 +1086,7 @@ diff --git a/CauldronMainUI.lua b/CauldronMainUI.lua index 36e0837..f546e2a 100644 --- a/CauldronMainUI.lua +++ b/CauldronMainUI.lua @@ -54,6 +54,13 @@ function Cauldron:Frame_Show() --]] end + + -- put localized text in various labels + CauldronSkillInfoFrameQueueLabel:SetText(L["Queue"]); + CauldronQueueAllButton:SetText(L["Queue All"]); + CauldronQueueButton:SetText(L["Queue"]); + CauldronProcessButton:SetText(L["Process"]); + CauldronClearQueueButton:SetText(L["Clear Queue"]); --@alpha@ self:debug("Frame_Show: show our frame"); @@ -641,9 +648,9 @@ function Cauldron:UpdateQueue() CauldronQueueFrameScrollFrame:Hide(); if IsTradeSkillLinked() then - CauldronQueueFrameQueueEmptyText:SetText("No queue for linked tradeskills."); + CauldronQueueFrameQueueEmptyText:SetText(L["No queue for linked tradeskills."]); else - CauldronQueueFrameQueueEmptyText:SetText("The queue is empty!\nMake something."); + CauldronQueueFrameQueueEmptyText:SetText(L["The queue is empty!\nMake something."]); end return; diff --git a/CauldronShoppingListUI.lua b/CauldronShoppingListUI.lua index bf4deeb..374b1eb 100644 --- a/CauldronShoppingListUI.lua +++ b/CauldronShoppingListUI.lua @@ -38,6 +38,9 @@ function Cauldron:ShowShoppingList() self.db.profile.showShoppingList = true; end + -- update labels with localized text + CauldronShoppingListFrameTitleText:SetText(L["Shopping List"]); + Cauldron:UpdateShoppingList(); _G["CauldronShoppingListFrameAutoBuyButton"]:SetChecked(Cauldron:GetAutoBuy()); diff --git a/Locale/Cauldron-enUS.lua b/Locale/Cauldron-enUS.lua index a56d202..e9f5b02 100644 --- a/Locale/Cauldron-enUS.lua +++ b/Locale/Cauldron-enUS.lua @@ -32,11 +32,16 @@ L["Toggles whether Cauldron displays debug messages"] = true L["enabled"] = true L["disabled"] = true L["skills"] = true +L["Queue"] = true +L["Queue All"] = true +L["Process"] = true +L["Clear Queue"] = true L["Cauldron had issues with some recipes for this profession."] = true L["Please close and re-open the %1$s window again to re-scan."] = true L["Rescanning recipe: %1$s..."] = true +L["Shopping List"] = true L["Auto-buy?"] = true L["If this option is checked, then any item that is in the list will be automatically purchased when a vendor window is opened, if that vendor has the items."] = true @@ -134,6 +139,9 @@ L["Decrease the amount of this item"] = true L["Increase the amount of this item"] = true L["Remove this item from the shopping list"] = true +L["No queue for linked tradeskills."] = true +L["The queue is empty!\nMake something."] = true + L["Available at vendor"] = true L["Click to queue the listed amount of this item"] = true diff --git a/Locale/Cauldron-ruRU.lua b/Locale/Cauldron-ruRU.lua index 811faea..2ec265a 100755 --- a/Locale/Cauldron-ruRU.lua +++ b/Locale/Cauldron-ruRU.lua @@ -31,7 +31,12 @@ L["Toggles whether Cauldron displays debug messages"] = "" L["enabled"] = "включен" L["disabled"] = "отключен" L["skills"] = "навыка(ов)" +L["Queue"] = true +L["Queue All"] = true +L["Process"] = true +L["Clear Queue"] = true +L["Shopping List"] = true L["Auto-buy?"] = "Авто-купить?" L["If this option is checked, then any item that is in the list will be automatically purchased when a vendor window is opened, if that vendor has the items."] = "Если эта опция отмечена, то любой предмет, который находится в списке будет автоматически куплен при открытии окна торговца, если такой будет в наличии." -- 1.7.9.5