- update babelfish script to work with embeded escape chars (\n, \t, \", etc)

- bar creation now takes a name to avoid translation issues
- re-run babelfish script - If you find missing translations, just add the L[] wrapping around it and run the babelfish script!
This commit is contained in:
Hendrik Leppkes
2008-06-20 00:01:23 +00:00
parent 58d690b24b
commit 14aa5efda4
8 changed files with 2 additions and 44 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ local AceLocaleHeader = "local L ="
local BabbleFishHeader = "L = {} -- "
local function replaceHeader(content)
return content:gsub(AceLocaleHeader, BabbleFishHeader)
return content:gsub(AceLocaleHeader, BabbleFishHeader):gsub("\\", "\\\\"):gsub("\\\"", "\\\\\"")
end
local localizedStrings = {}
-6
View File
@@ -3,7 +3,6 @@
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 +10,6 @@ if not L then return end
-- L["Always Hide"] = true
-- L["Always Show"] = true
-- L["Auto-Assist"] = true
--L["Bag"] = true
-- L["Bag Bar"] = true
-- L["Bar %s"] = true
-- L["Bar Style & Layout"] = true
@@ -50,7 +48,6 @@ 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
@@ -66,7 +63,6 @@ if not L then return end
-- L["Keyring"] = true
-- L["Lock"] = true
-- L["Lock all bars."] = true
--L["MicroMenu"] = true
-- L["Micro Menu"] = true
-- L["Modifier Based Switching"] = true
-- L["No Display"] = true
@@ -77,7 +73,6 @@ if not L then return end
-- L["Out of Mana Indicator"] = true
-- L["Out of Range Indicator"] = true
-- L["Padding"] = true
--L["Pet"] = true
-- L["Pet Bar"] = true
-- L["Possess Bar"] = true
-- L["Right-click Self-Cast"] = true
@@ -90,7 +85,6 @@ if not L then return end
-- L["Show/Hide"] = true
-- L["Specify the Color of the Out of Mana Indicator"] = true
-- L["Specify the Color of the Out of Range Indicator"] = true
--L["Stance"] = true
-- L["Stance Bar"] = true
-- L["Stance Configuration"] = true
-- L["State Configuration"] = true
-6
View File
@@ -3,7 +3,6 @@
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 +10,6 @@ L["Alpha"] = true
L["Always Hide"] = true
L["Always Show"] = true
L["Auto-Assist"] = true
L["Bag"] = true
L["Bag Bar"] = true
L["Bar %s"] = true
L["Bar Style & Layout"] = true
@@ -50,7 +48,6 @@ 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
@@ -66,7 +63,6 @@ L["Hotkey Mode"] = true
L["Keyring"] = true
L["Lock"] = true
L["Lock all bars."] = true
L["MicroMenu"] = true
L["Micro Menu"] = true
L["Modifier Based Switching"] = true
L["No Display"] = true
@@ -77,7 +73,6 @@ L["Only show one Bag Button in the BagBar."] = true
L["Out of Mana Indicator"] = true
L["Out of Range Indicator"] = true
L["Padding"] = true
L["Pet"] = true
L["Pet Bar"] = true
L["Possess Bar"] = true
L["Right-click Self-Cast"] = true
@@ -90,7 +85,6 @@ L["Show the keyring button."] = true
L["Show/Hide"] = true
L["Specify the Color of the Out of Mana Indicator"] = true
L["Specify the Color of the Out of Range Indicator"] = true
L["Stance"] = true
L["Stance Bar"] = true
L["Stance Configuration"] = true
L["State Configuration"] = true
-6
View File
@@ -3,7 +3,6 @@
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 +10,6 @@ if not L then return end
-- L["Always Hide"] = true
-- L["Always Show"] = true
-- L["Auto-Assist"] = true
--L["Bag"] = true
-- L["Bag Bar"] = true
-- L["Bar %s"] = true
-- L["Bar Style & Layout"] = true
@@ -50,7 +48,6 @@ 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
@@ -66,7 +63,6 @@ if not L then return end
-- L["Keyring"] = true
-- L["Lock"] = true
-- L["Lock all bars."] = true
--L["MicroMenu"] = true
-- L["Micro Menu"] = true
-- L["Modifier Based Switching"] = true
-- L["No Display"] = true
@@ -77,7 +73,6 @@ if not L then return end
-- L["Out of Mana Indicator"] = true
-- L["Out of Range Indicator"] = true
-- L["Padding"] = true
--L["Pet"] = true
-- L["Pet Bar"] = true
-- L["Possess Bar"] = true
-- L["Right-click Self-Cast"] = true
@@ -90,7 +85,6 @@ if not L then return end
-- L["Show/Hide"] = true
-- L["Specify the Color of the Out of Mana Indicator"] = true
-- L["Specify the Color of the Out of Range Indicator"] = true
--L["Stance"] = true
-- L["Stance Bar"] = true
-- L["Stance Configuration"] = true
-- L["State Configuration"] = true
-6
View File
@@ -3,7 +3,6 @@
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 +10,6 @@ if not L then return end
-- L["Always Hide"] = true
-- L["Always Show"] = true
-- L["Auto-Assist"] = true
--L["Bag"] = true
-- L["Bag Bar"] = true
-- L["Bar %s"] = true
-- L["Bar Style & Layout"] = true
@@ -50,7 +48,6 @@ 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
@@ -66,7 +63,6 @@ if not L then return end
-- L["Keyring"] = true
-- L["Lock"] = true
-- L["Lock all bars."] = true
--L["MicroMenu"] = true
-- L["Micro Menu"] = true
-- L["Modifier Based Switching"] = true
-- L["No Display"] = true
@@ -77,7 +73,6 @@ if not L then return end
-- L["Out of Mana Indicator"] = true
-- L["Out of Range Indicator"] = true
-- L["Padding"] = true
--L["Pet"] = true
-- L["Pet Bar"] = true
-- L["Possess Bar"] = true
-- L["Right-click Self-Cast"] = true
@@ -90,7 +85,6 @@ if not L then return end
-- L["Show/Hide"] = true
-- L["Specify the Color of the Out of Mana Indicator"] = true
-- L["Specify the Color of the Out of Range Indicator"] = true
--L["Stance"] = true
-- L["Stance Bar"] = true
-- L["Stance Configuration"] = true
-- L["State Configuration"] = true
-7
View File
@@ -3,7 +3,6 @@
local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "koKR")
if not L then return end
L["%s Bar"] = "%s 바"
L["ALT"] = "알트"
-- L["ActionBar Switching"] = true
L["Alignment"] = "정렬"
@@ -11,7 +10,6 @@ L["Alpha"] = "투명도"
L["Always Hide"] = "항상 숨기기"
L["Always Show"] = "항상 보이기"
-- L["Auto-Assist"] = true
L["Bag"] = "소지품"
L["Bag Bar"] = "가방 바"
-- L["Bar %s"] = true
-- L["Bar Style & Layout"] = true
@@ -50,7 +48,6 @@ 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
@@ -66,7 +63,6 @@ L["Colors"] = "색상"
-- L["Keyring"] = true
L["Lock"] = "고정"
L["Lock all bars."] = "모든 바를 고정합니다."
L["MicroMenu"] = "메뉴 바"
-- L["Micro Menu"] = true
-- L["Modifier Based Switching"] = true
-- L["No Display"] = true
@@ -77,7 +73,6 @@ L["MicroMenu"] = "메뉴 바"
-- L["Out of Mana Indicator"] = true
L["Out of Range Indicator"] = "사거리 표시"
L["Padding"] = "간격"
L["Pet"] = "소환수"
L["Pet Bar"] = "소환수 바"
L["Possess Bar"] = "지배 바"
L["Right-click Self-Cast"] = "오른쪽 클릭 자신에게 시전"
@@ -90,7 +85,6 @@ L["Scale"] = "크기"
-- L["Show/Hide"] = true
-- L["Specify the Color of the Out of Mana Indicator"] = true
L["Specify the Color of the Out of Range Indicator"] = "사거리 표시를 색상화 합니다."
L["Stance"] = "태세"
L["Stance Bar"] = "태세 바"
-- L["Stance Configuration"] = true
-- L["State Configuration"] = true
@@ -102,4 +96,3 @@ L["Stance Bar"] = "태세 바"
-- L["Toggle the use of the modifier-based self-cast functionality."] = true
-- L["Toggle the use of the right-click self-cast functionality."] = true
-- L["Zoom"] = true
+1 -6
View File
@@ -3,7 +3,6 @@
local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "zhCN")
if not L then return end
L["%s Bar"] = "%s栏"
L["ALT"] = "按下ALT"
L["ActionBar Switching"] = "切换动作条"
L["Alignment"] = "对齐"
@@ -11,7 +10,6 @@ L["Alpha"] = "透明度"
L["Always Hide"] = "始终隐藏"
L["Always Show"] = "始终显示"
L["Auto-Assist"] = "自动协助"
L["Bag"] = "背包"
L["Bag Bar"] = "背包栏"
L["Bar %s"] = "动作条 %s"
L["Bar Style & Layout"] = "动作条风格与布局"
@@ -39,7 +37,7 @@ L["Configure when to Show/Hide the bar."] = "配置何时显示/隐藏动作条
L["Default Bar State"] = "默认动作条状态"
L["Disabled"] = "关闭"
L["Disabled in Combat"] = "战斗中关闭"
L["Enable Auto-Assist for this bar.\n Auto-Assist will automatically try to cast on your target's target if your target is no valid target for the selected spell."] = "为该动作条开启自动协助。\n 当你所尝试使用的技能不能对你当前目标生效时,自动协助会尝试对目标的目标使用该技能。"
L["Enable Auto-Assist for this bar.\n Auto-Assist will automatically try to cast on your target's target if your target is no valid target for the selected spell."] = "为该动作条开启自动协助。\n 当你所尝试使用的技能不能对你当前目标生效时,自动协助会尝试对目标的目标使用该技能。"
-- L["Enable Bar Switching based on the actionbar controls provided by the game."] = true
L["Enable State-based Button Swaping"] = "开始基于状态配置的按钮切换功能。"
L["Enable the Bag Bar"] = "开启背包栏"
@@ -65,7 +63,6 @@ L["Hotkey Mode"] = "快捷键模式"
L["Keyring"] = "钥匙链"
L["Lock"] = "锁定"
L["Lock all bars."] = "锁定所有动作条。"
L["MicroMenu"] = "微型主菜单"
L["Micro Menu"] = "微型主菜单"
L["Modifier Based Switching"] = "修改基本切换"
L["No Display"] = "不显示"
@@ -76,7 +73,6 @@ L["Only show one Bag Button in the BagBar."] = "仅仅显示一个背包来代
L["Out of Mana Indicator"] = "低法力指示"
L["Out of Range Indicator"] = "射程指示"
L["Padding"] = "间距"
L["Pet"] = "宠物"
L["Pet Bar"] = "宠物栏"
L["Possess Bar"] = "控制栏"
L["Right-click Self-Cast"] = "右键自我施法"
@@ -89,7 +85,6 @@ L["Show the keyring button."] = "显示钥匙链"
L["Show/Hide"] = "显示/隐藏"
L["Specify the Color of the Out of Mana Indicator"] = "设置法力不足的标识颜色"
L["Specify the Color of the Out of Range Indicator"] = "设置射程之外的标识颜色"
L["Stance"] = "姿态"
L["Stance Bar"] = "姿态栏"
L["Stance Configuration"] = "姿态配置"
L["State Configuration"] = "状态配置"
-6
View File
@@ -3,7 +3,6 @@
local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "zhTW")
if not L then return end
L["%s Bar"] = "%s 動作列"
L["ALT"] = "ALT"
L["ActionBar Switching"] = "切換動作條"
L["Alignment"] = "對齊"
@@ -11,7 +10,6 @@ L["Alpha"] = "透明度"
L["Always Hide"] = "總是隱藏"
L["Always Show"] = "總是顯示"
L["Auto-Assist"] = "自動協助"
L["Bag"] = "背包"
L["Bag Bar"] = "背包列"
L["Bar %s"] = "動作條 %s"
L["Bar Style & Layout"] = "動作條樣式和佈局"
@@ -50,7 +48,6 @@ 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"] = "淡出延遲"
@@ -66,7 +63,6 @@ L["Hotkey Mode"] = "熱鍵模式"
L["Keyring"] = "鑰匙圈"
L["Lock"] = "鎖定"
L["Lock all bars."] = "鎖定所有動作列"
L["MicroMenu"] = "微型選單"
L["Micro Menu"] = "微型選單"
L["Modifier Based Switching"] = "修改基本切換"
L["No Display"] = "不顯示"
@@ -77,7 +73,6 @@ L["Only show one Bag Button in the BagBar."] = "在背包列中只顯示成單
L["Out of Mana Indicator"] = "低法力提示"
L["Out of Range Indicator"] = "超出距離提示"
L["Padding"] = "間距"
L["Pet"] = "寵物"
L["Pet Bar"] = "寵物列"
L["Possess Bar"] = "控制列"
L["Right-click Self-Cast"] = "右鍵自我施法"
@@ -90,7 +85,6 @@ L["Show the keyring button."] = "顯示鑰匙圈按鈕"
L["Show/Hide"] = "顯示/隱藏"
L["Specify the Color of the Out of Mana Indicator"] = "指定法力不足提示的顏色"
L["Specify the Color of the Out of Range Indicator"] = "指定超出距離提示的顏色"
L["Stance"] = "姿勢"
L["Stance Bar"] = "姿勢列"
L["Stance Configuration"] = "姿勢設定"
L["State Configuration"] = "狀態設定"