From 4b0ffa8fed9dc76f925374bfcbdf275d5ec3ecd3 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Thu, 19 Jun 2008 07:35:04 +0000 Subject: [PATCH] tweak one translation to be accessible by the babelfish script --- Bar.lua | 2 +- locale/Babelfish.lua | 2 +- locale/deDE.lua | 3 ++- locale/enUS.lua | 5 +++-- locale/esES.lua | 3 ++- locale/frFR.lua | 3 ++- locale/koKR.lua | 3 ++- locale/zhCN.lua | 3 ++- locale/zhTW.lua | 3 ++- 9 files changed, 17 insertions(+), 10 deletions(-) diff --git a/Bar.lua b/Bar.lua index 510f961..775bce2 100644 --- a/Bar.lua +++ b/Bar.lua @@ -90,7 +90,7 @@ function Bartender4.Bar:Create(id, config) overlay:SetBackdropBorderColor(0.5, 0.5, 0, 0) overlay.Text = overlay:CreateFontString(nil, "ARTWORK") overlay.Text:SetFontObject(GameFontNormal) - overlay.Text:SetText(tonumber(id) and L["Bar "]..id or L[id.." Bar"]) + overlay.Text:SetText((tonumber(id) and L["Bar %s"] or L["%s Bar"]):format(id)) overlay.Text:Show() overlay.Text:ClearAllPoints() overlay.Text:SetPoint("CENTER", overlay, "CENTER") diff --git a/locale/Babelfish.lua b/locale/Babelfish.lua index 3907ac1..a322c12 100644 --- a/locale/Babelfish.lua +++ b/locale/Babelfish.lua @@ -65,7 +65,7 @@ end local file = io.open("enUS.lua", "w") assert(file, "Could not open enUS.lua for writing") file:write("--[[ $Id$ ]]\n") -file:write("-- Generated by Bablefish script, do not edit directly.\n") +file:write("-- Generated by Babelfish script, do not edit directly.\n") file:write("local L = LibStub(\"AceLocale-3.0\"):NewLocale(\"Bartender4\", \"enUS\", true)\n") file:write("\n\n") for idx, match in ipairs(work) do diff --git a/locale/deDE.lua b/locale/deDE.lua index b7bf364..110685a 100644 --- a/locale/deDE.lua +++ b/locale/deDE.lua @@ -3,6 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "deDE") if not L then return end +-- L["%s Bar"] = true -- L["ALT"] = true -- L["ActionBar Switching"] = true -- L["Alignment"] = true @@ -11,7 +12,6 @@ if not L then return end -- L["Always Show"] = true -- L["Auto-Assist"] = true -- L["Bag Bar"] = true --- L["Bar "] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true -- L["Bars"] = true @@ -49,6 +49,7 @@ if not L then return end -- L["Enable/Disable the bar."] = true -- L["Enabled"] = true -- L["FAQ"] = true +-- L["FAQ_TEXT"] = true -- L["Fade Out"] = true -- L["Fade Out Alpha"] = true -- L["Fade Out Delay"] = true diff --git a/locale/enUS.lua b/locale/enUS.lua index 07c3f18..d5a9352 100644 --- a/locale/enUS.lua +++ b/locale/enUS.lua @@ -1,8 +1,9 @@ --[[ $Id$ ]] --- Generated by Bablefish script, do not edit directly. +-- Generated by Babelfish script, do not edit directly. local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "enUS", true) +L["%s Bar"] = true L["ALT"] = true L["ActionBar Switching"] = true L["Alignment"] = true @@ -11,7 +12,6 @@ L["Always Hide"] = true L["Always Show"] = true L["Auto-Assist"] = true L["Bag Bar"] = true -L["Bar "] = true L["Bar %s"] = true L["Bar Style & Layout"] = true L["Bars"] = true @@ -49,6 +49,7 @@ L["Enable the StanceBar"] = true L["Enable/Disable the bar."] = true L["Enabled"] = true L["FAQ"] = true +L["FAQ_TEXT"] = true L["Fade Out"] = true L["Fade Out Alpha"] = true L["Fade Out Delay"] = true diff --git a/locale/esES.lua b/locale/esES.lua index 7143dd6..7637fcf 100644 --- a/locale/esES.lua +++ b/locale/esES.lua @@ -3,6 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "esES") if not L then return end +-- L["%s Bar"] = true -- L["ALT"] = true -- L["ActionBar Switching"] = true -- L["Alignment"] = true @@ -11,7 +12,6 @@ if not L then return end -- L["Always Show"] = true -- L["Auto-Assist"] = true -- L["Bag Bar"] = true --- L["Bar "] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true -- L["Bars"] = true @@ -49,6 +49,7 @@ if not L then return end -- L["Enable/Disable the bar."] = true -- L["Enabled"] = true -- L["FAQ"] = true +-- L["FAQ_TEXT"] = true -- L["Fade Out"] = true -- L["Fade Out Alpha"] = true -- L["Fade Out Delay"] = true diff --git a/locale/frFR.lua b/locale/frFR.lua index 80d6064..bea9a00 100644 --- a/locale/frFR.lua +++ b/locale/frFR.lua @@ -3,6 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "frFR") if not L then return end +-- L["%s Bar"] = true -- L["ALT"] = true -- L["ActionBar Switching"] = true -- L["Alignment"] = true @@ -11,7 +12,6 @@ if not L then return end -- L["Always Show"] = true -- L["Auto-Assist"] = true -- L["Bag Bar"] = true --- L["Bar "] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true -- L["Bars"] = true @@ -49,6 +49,7 @@ if not L then return end -- L["Enable/Disable the bar."] = true -- L["Enabled"] = true -- L["FAQ"] = true +-- L["FAQ_TEXT"] = true -- L["Fade Out"] = true -- L["Fade Out Alpha"] = true -- L["Fade Out Delay"] = true diff --git a/locale/koKR.lua b/locale/koKR.lua index f63bdec..6c86862 100644 --- a/locale/koKR.lua +++ b/locale/koKR.lua @@ -3,6 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "koKR") if not L then return end +-- L["%s Bar"] = true -- L["ALT"] = true -- L["ActionBar Switching"] = true -- L["Alignment"] = true @@ -11,7 +12,6 @@ if not L then return end -- L["Always Show"] = true -- L["Auto-Assist"] = true -- L["Bag Bar"] = true --- L["Bar "] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true L["Bars"] = "바" @@ -49,6 +49,7 @@ L["Colors"] = "색상" -- L["Enable/Disable the bar."] = true -- L["Enabled"] = true -- L["FAQ"] = true +-- L["FAQ_TEXT"] = true -- L["Fade Out"] = true -- L["Fade Out Alpha"] = true -- L["Fade Out Delay"] = true diff --git a/locale/zhCN.lua b/locale/zhCN.lua index 4456839..a33de11 100644 --- a/locale/zhCN.lua +++ b/locale/zhCN.lua @@ -3,6 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "zhCN") if not L then return end +-- L["%s Bar"] = true L["ALT"] = "按下ALT" L["ActionBar Switching"] = "切换动作条" L["Alignment"] = "对齐" @@ -11,7 +12,6 @@ L["Always Hide"] = "始终隐藏" L["Always Show"] = "始终显示" L["Auto-Assist"] = "自动协助" L["Bag Bar"] = "背包栏" -L["Bar "] = "动作条 " L["Bar %s"] = "动作条 %s" L["Bar Style & Layout"] = "动作条风格与布局" L["Bars"] = "动作条" @@ -49,6 +49,7 @@ L["Enable the StanceBar"] = "开启姿态栏" L["Enable/Disable the bar."] = "开启/关闭 该动作条。" L["Enabled"] = "开启" L["FAQ"] = "帮助" +-- L["FAQ_TEXT"] = true L["Fade Out"] = "淡出" L["Fade Out Alpha"] = "淡出程度" L["Fade Out Delay"] = "淡出延迟" diff --git a/locale/zhTW.lua b/locale/zhTW.lua index 567884a..a54241d 100644 --- a/locale/zhTW.lua +++ b/locale/zhTW.lua @@ -3,6 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "zhTW") if not L then return end +-- L["%s Bar"] = true -- L["ALT"] = true -- L["ActionBar Switching"] = true -- L["Alignment"] = true @@ -11,7 +12,6 @@ if not L then return end -- L["Always Show"] = true -- L["Auto-Assist"] = true -- L["Bag Bar"] = true --- L["Bar "] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true -- L["Bars"] = true @@ -49,6 +49,7 @@ if not L then return end -- L["Enable/Disable the bar."] = true -- L["Enabled"] = true -- L["FAQ"] = true +-- L["FAQ_TEXT"] = true -- L["Fade Out"] = true -- L["Fade Out Alpha"] = true -- L["Fade Out Delay"] = true