From f3458e7953925ba618511bf19c9138ed11a28740 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 2 Jul 2017 23:25:39 +0200 Subject: [PATCH] panel: add new translations --- env/translations_deDE.lua | 24 +++++++++++++++ env/translations_enUS.lua | 24 +++++++++++++++ env/translations_frFR.lua | 24 +++++++++++++++ env/translations_koKR.lua | 24 +++++++++++++++ env/translations_ruRU.lua | 24 +++++++++++++++ env/translations_zhCN.lua | 24 +++++++++++++++ modules/panel.lua | 62 +++++++++++++++++++-------------------- 7 files changed, 175 insertions(+), 31 deletions(-) diff --git a/env/translations_deDE.lua b/env/translations_deDE.lua index eedc4545..33692e77 100644 --- a/env/translations_deDE.lua +++ b/env/translations_deDE.lua @@ -3,6 +3,7 @@ pfUI_translation["deDE"] = { ["Abbreviate Numbers (4200 -> 4.2k)"] = nil, ["Action Bar Border Size"] = nil, ["Actionbar"] = nil, + ["Active Addons"] = nil, ["Aggressive 40y-Range Check (Will break stuff)"] = nil, ["Alt-Click Action"] = nil, ["Always Show Experience And Reputation Bar"] = nil, @@ -59,6 +60,7 @@ pfUI_translation["deDE"] = { ["Cooldown"] = nil, ["Cooldown Text Font Size"] = nil, ["Cooldown Text Threshold"] = nil, + ["Count"] = nil, ["Create Profile"] = nil, ["Ctrl-Click Action"] = nil, ["Cursor"] = nil, @@ -153,6 +155,7 @@ pfUI_translation["deDE"] = { ["Enable Timestamps"] = nil, ["Enable URL Detection"] = nil, ["Enable Zone Text On Minimap Mouseover"] = nil, + ["Exp"] = nil, ["Firstrun"] = nil, ["Focus"] = nil, ["FPS & Ping"] = nil, @@ -160,6 +163,7 @@ pfUI_translation["deDE"] = { ["General"] = nil, ["Global Border Size"] = nil, ["Gold"] = nil, + ["Graphic Renderer"] = nil, ["Group Frames"] = nil, ["Group"] = nil, ["Group-Pet"] = nil, @@ -199,6 +203,8 @@ pfUI_translation["deDE"] = { ["Left Text"] = nil, ["Level"] = nil, ["Load profile"] = nil, + ["Localtime"] = nil, + ["Login"] = nil, ["Loot"] = nil, ["Main Actionbar (ActionMain)"] = nil, ["Mana - Auto"] = nil, @@ -206,11 +212,20 @@ pfUI_translation["deDE"] = { ["Mana - Max"] = nil, ["Mana - Missing"] = nil, ["Mana - Percentage"] = nil, + ["Memory Usage"] = nil, ["Minimap"] = nil, ["Modules"] = nil, + ["Money"] = nil, + ["ms"] = nil, ["Name"] = nil, ["Nameplates"] = nil, ["Nameplate Width"] = nil, + ["Network Down"] = nil, + ["Network Latency"] = nil, + ["Network Up"] = nil, + ["NEW TIMER"] = nil, + ["Next Memory Cleanup"] = nil, + ["Now"] = nil, ["Only Show Chat Dock On Mouseover"] = nil, ["Only Show Indicators for Dispellable Debuffs"] = nil, ["Other Panel: Minimap"] = nil, @@ -228,6 +243,7 @@ pfUI_translation["deDE"] = { ["Raid Icon Size"] = nil, ["Raid"] = nil, ["Range Display Color"] = nil, + ["Reset Timer"] = nil, ["Right Actionbar (Right)"] = nil, ["Right Chat Height"] = nil, ["Right Chat Width"] = nil, @@ -239,15 +255,18 @@ pfUI_translation["deDE"] = { ["Right Text"] = nil, ["Save current settings to profile"] = nil, ["Save profile"] = nil, + ["Screen Resolution"] = nil, ["Scrolling Combat Text Font"] = nil, ["Second Actionbar (BottomLeft)"] = nil, ["Seconds Before Chat Fade"] = nil, ["Seconds Until Action Bars Autohide"] = nil, ["Select profile"] = nil, + ["Servertime"] = nil, ["Settings"] = nil, ["Shapeshift Bar (BarShapeShift)"] = nil, ["Shift-Click Action"] = nil, ["Show Health Points"] = nil, + ["Show/Hide Timer"] = nil, ["Show Hotkey Text"] = nil, ["Show Hots as Buff Indicators"] = nil, ["Show Hots of all Classes"] = nil, @@ -258,18 +277,23 @@ pfUI_translation["deDE"] = { ["Show PvP Icon"] = nil, ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = nil, ["Soulshard Counter"] = nil, + ["Soulshards"] = nil, ["Spacing"] = nil, ["Standard Text Font"] = nil, ["Standard Text Font Size"] = nil, + ["Systeminfo"] = nil, ["Target"] = nil, ["Target-Target"] = nil, ["Thirdparty"] = nil, + ["This Session"] = nil, + ["Time"] = nil, ["Timestamp Brackets"] = nil, ["Timestamp Color"] = nil, ["Timestamp Format"] = nil, ["Tooltip"] = nil, ["Tooltip Position"] = nil, ["Top"] = nil, + ["UI-Scale"] = nil, ["Unit Frame Border Size"] = nil, ["Unit Frame Layout"] = nil, ["Unit Frames"] = nil, diff --git a/env/translations_enUS.lua b/env/translations_enUS.lua index f929b9c9..d1dbc0c0 100644 --- a/env/translations_enUS.lua +++ b/env/translations_enUS.lua @@ -3,6 +3,7 @@ pfUI_translation["enUS"] = { ["Abbreviate Numbers (4200 -> 4.2k)"] = nil, ["Action Bar Border Size"] = nil, ["Actionbar"] = nil, + ["Active Addons"] = nil, ["Aggressive 40y-Range Check (Will break stuff)"] = nil, ["Alt-Click Action"] = nil, ["Always Show Experience And Reputation Bar"] = nil, @@ -59,6 +60,7 @@ pfUI_translation["enUS"] = { ["Cooldown"] = nil, ["Cooldown Text Font Size"] = nil, ["Cooldown Text Threshold"] = nil, + ["Count"] = nil, ["Create Profile"] = nil, ["Ctrl-Click Action"] = nil, ["Cursor"] = nil, @@ -153,6 +155,7 @@ pfUI_translation["enUS"] = { ["Enable Timestamps"] = nil, ["Enable URL Detection"] = nil, ["Enable Zone Text On Minimap Mouseover"] = nil, + ["Exp"] = nil, ["Firstrun"] = nil, ["Focus"] = nil, ["FPS & Ping"] = nil, @@ -160,6 +163,7 @@ pfUI_translation["enUS"] = { ["General"] = nil, ["Global Border Size"] = nil, ["Gold"] = nil, + ["Graphic Renderer"] = nil, ["Group Frames"] = nil, ["Group"] = nil, ["Group-Pet"] = nil, @@ -199,6 +203,8 @@ pfUI_translation["enUS"] = { ["Left Text"] = nil, ["Level"] = nil, ["Load profile"] = nil, + ["Localtime"] = nil, + ["Login"] = nil, ["Loot"] = nil, ["Main Actionbar (ActionMain)"] = nil, ["Mana - Auto"] = nil, @@ -206,11 +212,20 @@ pfUI_translation["enUS"] = { ["Mana - Max"] = nil, ["Mana - Missing"] = nil, ["Mana - Percentage"] = nil, + ["Memory Usage"] = nil, ["Minimap"] = nil, ["Modules"] = nil, + ["Money"] = nil, + ["ms"] = nil, ["Name"] = nil, ["Nameplates"] = nil, ["Nameplate Width"] = nil, + ["Network Down"] = nil, + ["Network Latency"] = nil, + ["Network Up"] = nil, + ["NEW TIMER"] = nil, + ["Next Memory Cleanup"] = nil, + ["Now"] = nil, ["Only Show Chat Dock On Mouseover"] = nil, ["Only Show Indicators for Dispellable Debuffs"] = nil, ["Other Panel: Minimap"] = nil, @@ -228,6 +243,7 @@ pfUI_translation["enUS"] = { ["Raid Icon Size"] = nil, ["Raid"] = nil, ["Range Display Color"] = nil, + ["Reset Timer"] = nil, ["Right Actionbar (Right)"] = nil, ["Right Chat Height"] = nil, ["Right Chat Width"] = nil, @@ -239,15 +255,18 @@ pfUI_translation["enUS"] = { ["Right Text"] = nil, ["Save current settings to profile"] = nil, ["Save profile"] = nil, + ["Screen Resolution"] = nil, ["Scrolling Combat Text Font"] = nil, ["Second Actionbar (BottomLeft)"] = nil, ["Seconds Before Chat Fade"] = nil, ["Seconds Until Action Bars Autohide"] = nil, ["Select profile"] = nil, + ["Servertime"] = nil, ["Settings"] = nil, ["Shapeshift Bar (BarShapeShift)"] = nil, ["Shift-Click Action"] = nil, ["Show Health Points"] = nil, + ["Show/Hide Timer"] = nil, ["Show Hotkey Text"] = nil, ["Show Hots as Buff Indicators"] = nil, ["Show Hots of all Classes"] = nil, @@ -258,18 +277,23 @@ pfUI_translation["enUS"] = { ["Show PvP Icon"] = nil, ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = nil, ["Soulshard Counter"] = nil, + ["Soulshards"] = nil, ["Spacing"] = nil, ["Standard Text Font"] = nil, ["Standard Text Font Size"] = nil, + ["Systeminfo"] = nil, ["Target"] = nil, ["Target-Target"] = nil, ["Thirdparty"] = nil, + ["This Session"] = nil, + ["Time"] = nil, ["Timestamp Brackets"] = nil, ["Timestamp Color"] = nil, ["Timestamp Format"] = nil, ["Tooltip"] = nil, ["Tooltip Position"] = nil, ["Top"] = nil, + ["UI-Scale"] = nil, ["Unit Frame Border Size"] = nil, ["Unit Frame Layout"] = nil, ["Unit Frames"] = nil, diff --git a/env/translations_frFR.lua b/env/translations_frFR.lua index 920dbd47..f52498e2 100644 --- a/env/translations_frFR.lua +++ b/env/translations_frFR.lua @@ -3,6 +3,7 @@ pfUI_translation["frFR"] = { ["Abbreviate Numbers (4200 -> 4.2k)"] = "Nombre abrégés (4200 -> 4.2k)", ["Actionbar"] = "Barre d'action", ["Action Bar Border Size"] = "Taille de la bordure de la barre d'action", + ["Active Addons"] = nil, ["Aggressive 40y-Range Check (Will break stuff)"] = "Vérification aggressive de la portée (fortement déconseillé)", ["Alt-Click Action"] = "Action de Alt+Clic", ["Always Show Experience And Reputation Bar"] = "Toujours afficher les barres d'expérience et de réputations", @@ -59,6 +60,7 @@ pfUI_translation["frFR"] = { ["Cooldown"] = "Temps de recharge", ["Cooldown Text Font Size"] = "Taille du texte des temps de recharge", ["Cooldown Text Threshold"] = "Seuil du texte des temps de recharge", + ["Count"] = nil, ["Create Profile"] = "Créer un profil", ["Ctrl-Click Action"] = "Action du Ctrl+Clic", ["Cursor"] = "Curseur", @@ -153,6 +155,7 @@ pfUI_translation["frFR"] = { ["Enable Timestamps"] = "Activer les horaires de discussion", ["Enable URL Detection"] = "Activer la détection des adresses URL", ["Enable Zone Text On Minimap Mouseover"] = "Activer l'affichage du nom de zone au survol de la minicarte", + ["Exp"] = nil, ["Firstrun"] = "Premier lancement", ["Focus"] = "Focalisation", ["FPS & Ping"] = "FPS & Latence", @@ -160,6 +163,7 @@ pfUI_translation["frFR"] = { ["General"] = "Général", ["Global Border Size"] = "Taille globale des bordures", ["Gold"] = "Or", + ["Graphic Renderer"] = nil, ["Group Frames"] = "Cadres de groupe", ["Group"] = "Groupe", ["Group-Pet"] = "Groupe des familiers", @@ -199,6 +203,8 @@ pfUI_translation["frFR"] = { ["Left Text"] = "Texte de gauche", ["Level"] = "Niveau", ["Load profile"] = "Charger un profil", + ["Localtime"] = nil, + ["Login"] = nil, ["Loot"] = "Butin", ["Main Actionbar (ActionMain)"] = "Barre d'action principale", ["Mana - Auto"] = "Points de Mana - Auto", @@ -206,11 +212,20 @@ pfUI_translation["frFR"] = { ["Mana - Max"] = "Points de Mana - Max", ["Mana - Missing"] = "Points de Mana - Manquants", ["Mana - Percentage"] = "Points de Mana - Pourcentage", + ["Memory Usage"] = nil, ["Minimap"] = "Minicarte", ["Modules"] = "Modules", + ["Money"] = nil, + ["ms"] = nil, ["Name"] = "Nom", ["Nameplates"] = "Barres de vie flottantes", ["Nameplate Width"] = "Largeur des barres de vie flottantes", + ["Network Down"] = nil, + ["Network Latency"] = nil, + ["Network Up"] = nil, + ["NEW TIMER"] = nil, + ["Next Memory Cleanup"] = nil, + ["Now"] = nil, ["Only Show Chat Dock On Mouseover"] = nil, ["Only Show Indicators for Dispellable Debuffs"] = "Afficher les indicateurs pour les affaiblissements dissipables uniquement", ["Other Panel: Minimap"] = "Autre panneau : Minicarte", @@ -228,6 +243,7 @@ pfUI_translation["frFR"] = { ["Raid Icon Size"] = "Taille des icônes de Raid", ["Raid"] = "Raid", ["Range Display Color"] = "Couleur de la portée affichée", + ["Reset Timer"] = nil, ["Right Actionbar (Right)"] = "Barre d'action droite", ["Right Chat Height"] = "Hauteur du chat de droite", ["Right Chat Width"] = "Largeur du chat de droite", @@ -239,15 +255,18 @@ pfUI_translation["frFR"] = { ["Right Text"] = "Texte de droite", ["Save current settings to profile"] = "Enregistrer les paramètres actuels au profil", ["Save profile"] = "Enregistrer un profil", + ["Screen Resolution"] = nil, ["Scrolling Combat Text Font"] = "Police du texte de combat flottant", ["Second Actionbar (BottomLeft)"] = "Barre d'action secondaire (bas gauche)", ["Seconds Before Chat Fade"] = "Secondes avant disparition du texte du chat", ["Seconds Until Action Bars Autohide"] = "Secondes avant le masquage des barres d'actions", ["Select profile"] = "Choisir un profil", + ["Servertime"] = nil, ["Settings"] = "Options", ["Shapeshift Bar (BarShapeShift)"] = "Barre des changements formes", ["Shift-Click Action"] = "Action au Shift+Clic", ["Show Health Points"] = "Afficher les points de vie", + ["Show/Hide Timer"] = nil, ["Show Hotkey Text"] = "Afficher les raccourcis", ["Show Hots as Buff Indicators"] = "Afficher les soins sur la durée en tant qu'indicateur d'amélioration", ["Show Hots of all Classes"] = "Afficher les soins sur la durée de chaque classe", @@ -258,18 +277,23 @@ pfUI_translation["frFR"] = { ["Show PvP Icon"] = "Afficher l'icône JcJ", ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = "Quelques options nécessitent le relancement de l'interface pour prendre effet\nSouhaitez-vous relancer votre interface maintenant?", ["Soulshard Counter"] = "Compteur des éclats d'âme", + ["Soulshards"] = nil, ["Spacing"] = "Espacement", ["Standard Text Font"] = "Police standard du texte", ["Standard Text Font Size"] = "Taille de la police standard du texte", + ["Systeminfo"] = nil, ["Target"] = "Cible", ["Target-Target"] = "Cible de la cible", ["Thirdparty"] = "Autres addons", + ["This Session"] = nil, + ["Time"] = nil, ["Timestamp Brackets"] = "Format des horaires des messages", ["Timestamp Color"] = "Couleur des horaires des messages", ["Timestamp Format"] = "Format des horaires des messages", ["Tooltip"] = "Infobulle", ["Tooltip Position"] = "Position de l'infobulle", ["Top"] = "Haut", + ["UI-Scale"] = nil, ["Unit Frame Border Size"] = "Taille de la bordure des cadres d'unité", ["Unit Frame Layout"] = "Position des cadres d'unité", ["Unit Frames"] = "Cadres d'unités", diff --git a/env/translations_koKR.lua b/env/translations_koKR.lua index 67e6f747..b8ec627c 100644 --- a/env/translations_koKR.lua +++ b/env/translations_koKR.lua @@ -3,6 +3,7 @@ pfUI_translation["koKR"] = { ["Abbreviate Numbers (4200 -> 4.2k)"] = "체력수치 약어 (4200 -> 4.2k)", ["Actionbar"] = "액션바", ["Action Bar Border Size"] = "액션바 테두리 크기", + ["Active Addons"] = nil, ["Aggressive 40y-Range Check (Will break stuff)"] = "공격적인 40야드 거리 체크(will break stuff)", ["Alt-Click Action"] = "알트-클릭 액션", ["Always Show Experience And Reputation Bar"] = "항상 경험치바와 평판바 보기", @@ -59,6 +60,7 @@ pfUI_translation["koKR"] = { ["Cooldown Color (Seconds)"] = "재사용 대기시간 컬러(초)", ["Cooldown Text Font Size"] = "재사용 대기시간 텍스트 폰트 크기", ["Cooldown Text Threshold"] = "재사용 대기시간 텍스트 임계 값", + ["Count"] = nil, ["Create Profile"] = "프로파일 생성", ["Ctrl-Click Action"] = "컨트롤-클릭 액션", ["Cursor"] = "Cursor(커서)", @@ -153,6 +155,7 @@ pfUI_translation["koKR"] = { ["Enable Timestamps"] = "시간표시 사용", ["Enable URL Detection"] = "URL 감시 사용", ["Enable Zone Text On Minimap Mouseover"] = "미니맵 마우스 오버시 지역보기 사용", + ["Exp"] = nil, ["Firstrun"] = "첫번째 단계", ["Focus"] = "주시대상", ["FPS & Ping"] = "FPS & Ping", @@ -160,6 +163,7 @@ pfUI_translation["koKR"] = { ["General"] = "일반 설정", ["Global Border Size"] = "글로벌 테두리 크기", ["Gold"] = "골드", + ["Graphic Renderer"] = nil, ["Group"] = "파티", ["Group Frames"] = "파티 프레임", ["Group-Pet"] = "파티-팻", @@ -199,6 +203,8 @@ pfUI_translation["koKR"] = { ["Left Text"] = "왼쪽 텍스트", ["Level"] = "레벨", ["Load profile"] = "프로파일 불러오기", + ["Localtime"] = nil, + ["Login"] = nil, ["Loot"] = "룻팅", ["Main Actionbar (ActionMain)"] = "기본 액션바(메인액션)", ["Mana - Auto"] = "마나-자동", @@ -206,11 +212,20 @@ pfUI_translation["koKR"] = { ["Mana - Max"] = "마나-최대", ["Mana - Missing"] = "마나-손실", ["Mana - Percentage"] = "마나-퍼센트", + ["Memory Usage"] = nil, ["Minimap"] = "미니맵", ["Modules"] = "모듈", + ["Money"] = nil, + ["ms"] = nil, ["Name"] = "이름", ["Nameplates"] = "상바", ["Nameplate Width"] = "상바 넓이", + ["Network Down"] = nil, + ["Network Latency"] = nil, + ["Network Up"] = nil, + ["NEW TIMER"] = nil, + ["Next Memory Cleanup"] = nil, + ["Now"] = nil, ["Only Show Chat Dock On Mouseover"] = nil, ["Only Show Indicators for Dispellable Debuffs"] = "해체 가능한 디버프에 대한 표시만 보기", ["Other Panel: Minimap"] = "나머지 패널:미니맵", @@ -228,6 +243,7 @@ pfUI_translation["koKR"] = { ["Raid"] = "레이드", ["Raid Icon Size"] = "레이드 아이콘 크기", ["Range Display Color"] = "스킬 거리 색상 표시", + ["Reset Timer"] = nil, ["Right"] = "오른쪽", ["Right Actionbar (Right)"] = "오른쪽 액션바(오른쪽)", ["Right Chat Height"] = "오른쪽 채팅창 높이", @@ -239,15 +255,18 @@ pfUI_translation["koKR"] = { ["Right Text"] = "오른쪽 텍스트", ["Save current settings to profile"] = "현재 설정을 프로필에 저장", ["Save profile"] = "프로파일 저장", + ["Screen Resolution"] = nil, ["Scrolling Combat Text Font"] = "스크롤링 전투 텍스트 폰트", ["Second Actionbar (BottomLeft)"] = "두번째 액션바(왼쪽 하단)", ["Seconds Before Chat Fade"] = "채팅 사라짐 전 초단위 설정", ["Seconds Until Action Bars Autohide"] = "액션바 자동 숨길때까지의 시간(초)", ["Select profile"] = "프로파일 선택", + ["Servertime"] = nil, ["Settings"] = "설정", ["Shapeshift Bar (BarShapeShift)"] = "태새바(BarShapeShift)", ["Shift-Click Action"] = "쉬프트-클릭 액션", ["Show Health Points"] = "체력 상태 표시", + ["Show/Hide Timer"] = nil, ["Show Hotkey Text"] = "단축키 텍스트보기", ["Show Hots as Buff Indicators"] = "핫버프 표시기 보기", ["Show Hots of all Classes"] = "모든 클래스 핫버프 보기", @@ -258,18 +277,23 @@ pfUI_translation["koKR"] = { ["Show PvP Icon"] = "PvP아이콘 표시", ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = "일부 설정을 적용하려면 UI를 리로드 해야합니다.\n지금 리로드 하시겠습니까?", ["Soulshard Counter"] = "영혼조각 갯수", + ["Soulshards"] = nil, ["Spacing"] = "간격", ["Standard Text Font"] = "기본 텍스트 폰트", ["Standard Text Font Size"] = "기본 텍스트 폰트크기", + ["Systeminfo"] = nil, ["Target"] = "대상", ["Target-Target"] = "대상-대상", ["Thirdparty"] = "서드파티", + ["This Session"] = nil, + ["Time"] = nil, ["Timestamp Brackets"] = "시간표시 괄호", ["Timestamp Color"] = "시간표시 색상", ["Timestamp Format"] = "시간표시 형식", ["Tooltip"] = "툴팁", ["Tooltip Position"] = "툴팁위치", ["Top"] = "상단", + ["UI-Scale"] = nil, ["Unit Frame Border Size"] = "유닛프레임 테두리 크기", ["Unit Frame Layout"] = "유닛프레임 레이아웃", ["Unit Frames"] = "유닛프레임", diff --git a/env/translations_ruRU.lua b/env/translations_ruRU.lua index fbffc754..4cdcd44b 100644 --- a/env/translations_ruRU.lua +++ b/env/translations_ruRU.lua @@ -3,6 +3,7 @@ pfUI_translation["ruRU"] = { ["Abbreviate Numbers (4200 -> 4.2k)"] = nil, ["Action Bar Border Size"] = nil, ["Actionbar"] = nil, + ["Active Addons"] = nil, ["Aggressive 40y-Range Check (Will break stuff)"] = nil, ["Alt-Click Action"] = nil, ["Always Show Experience And Reputation Bar"] = nil, @@ -59,6 +60,7 @@ pfUI_translation["ruRU"] = { ["Cooldown"] = nil, ["Cooldown Text Font Size"] = nil, ["Cooldown Text Threshold"] = nil, + ["Count"] = nil, ["Create Profile"] = nil, ["Ctrl-Click Action"] = nil, ["Cursor"] = nil, @@ -153,6 +155,7 @@ pfUI_translation["ruRU"] = { ["Enable Timestamps"] = nil, ["Enable URL Detection"] = nil, ["Enable Zone Text On Minimap Mouseover"] = nil, + ["Exp"] = nil, ["Firstrun"] = nil, ["Focus"] = nil, ["FPS & Ping"] = nil, @@ -160,6 +163,7 @@ pfUI_translation["ruRU"] = { ["General"] = nil, ["Global Border Size"] = nil, ["Gold"] = nil, + ["Graphic Renderer"] = nil, ["Group Frames"] = nil, ["Group"] = nil, ["Group-Pet"] = nil, @@ -199,6 +203,8 @@ pfUI_translation["ruRU"] = { ["Left Text"] = nil, ["Level"] = nil, ["Load profile"] = nil, + ["Localtime"] = nil, + ["Login"] = nil, ["Loot"] = nil, ["Main Actionbar (ActionMain)"] = nil, ["Mana - Auto"] = nil, @@ -206,11 +212,20 @@ pfUI_translation["ruRU"] = { ["Mana - Max"] = nil, ["Mana - Missing"] = nil, ["Mana - Percentage"] = nil, + ["Memory Usage"] = nil, ["Minimap"] = nil, ["Modules"] = nil, + ["Money"] = nil, + ["ms"] = nil, ["Name"] = nil, ["Nameplates"] = nil, ["Nameplate Width"] = nil, + ["Network Down"] = nil, + ["Network Latency"] = nil, + ["Network Up"] = nil, + ["NEW TIMER"] = nil, + ["Next Memory Cleanup"] = nil, + ["Now"] = nil, ["Only Show Chat Dock On Mouseover"] = nil, ["Only Show Indicators for Dispellable Debuffs"] = nil, ["Other Panel: Minimap"] = nil, @@ -228,6 +243,7 @@ pfUI_translation["ruRU"] = { ["Raid Icon Size"] = nil, ["Raid"] = nil, ["Range Display Color"] = nil, + ["Reset Timer"] = nil, ["Right Actionbar (Right)"] = nil, ["Right Chat Height"] = nil, ["Right Chat Width"] = nil, @@ -239,15 +255,18 @@ pfUI_translation["ruRU"] = { ["Right Text"] = nil, ["Save current settings to profile"] = nil, ["Save profile"] = nil, + ["Screen Resolution"] = nil, ["Scrolling Combat Text Font"] = nil, ["Second Actionbar (BottomLeft)"] = nil, ["Seconds Before Chat Fade"] = nil, ["Seconds Until Action Bars Autohide"] = nil, ["Select profile"] = nil, + ["Servertime"] = nil, ["Settings"] = nil, ["Shapeshift Bar (BarShapeShift)"] = nil, ["Shift-Click Action"] = nil, ["Show Health Points"] = nil, + ["Show/Hide Timer"] = nil, ["Show Hotkey Text"] = nil, ["Show Hots as Buff Indicators"] = nil, ["Show Hots of all Classes"] = nil, @@ -258,18 +277,23 @@ pfUI_translation["ruRU"] = { ["Show PvP Icon"] = nil, ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = nil, ["Soulshard Counter"] = nil, + ["Soulshards"] = nil, ["Spacing"] = nil, ["Standard Text Font"] = nil, ["Standard Text Font Size"] = nil, + ["Systeminfo"] = nil, ["Target"] = nil, ["Target-Target"] = nil, ["Thirdparty"] = nil, + ["This Session"] = nil, + ["Time"] = nil, ["Timestamp Brackets"] = nil, ["Timestamp Color"] = nil, ["Timestamp Format"] = nil, ["Tooltip"] = nil, ["Tooltip Position"] = nil, ["Top"] = nil, + ["UI-Scale"] = nil, ["Unit Frame Border Size"] = nil, ["Unit Frame Layout"] = nil, ["Unit Frames"] = nil, diff --git a/env/translations_zhCN.lua b/env/translations_zhCN.lua index 75413ab2..b1f273ac 100644 --- a/env/translations_zhCN.lua +++ b/env/translations_zhCN.lua @@ -3,6 +3,7 @@ pfUI_translation["zhCN"] = { ["Abbreviate Numbers (4200 -> 4.2k)"] = "缩写数字格式[4200为4.2K]", ["Action Bar Border Size"] = "动作条边框大小", ["Actionbar"] = "动作条", + ["Active Addons"] = nil, ["Aggressive 40y-Range Check (Will break stuff)"] = "攻击性技能40码距离检查(will break stuff)", ["Alt-Click Action"] = "ALT点击操作", ["Always Show Experience And Reputation Bar"] = "总是显示经验值和声望", @@ -59,6 +60,7 @@ pfUI_translation["zhCN"] = { ["Cooldown Text Font Size"] = "技能冷却时间文字大小", ["Cooldown Text Threshold"] = "技能冷却时间文字临界值", ["Cooldown"] = "冷却时间", + ["Count"] = nil, ["Create Profile"] = "新建配置", ["Ctrl-Click Action"] = "CTRL点击操作", ["Cursor"] = "鼠标跟随", @@ -153,6 +155,7 @@ pfUI_translation["zhCN"] = { ["Enable Timestamps"] = "启用时间戳", ["Enable URL Detection"] = "启用超链接检测", ["Enable Zone Text On Minimap Mouseover"] = "鼠标悬停时显示区域名称", + ["Exp"] = nil, ["Firstrun"] = "首次安装", ["Focus"] = "焦点目标", ["FPS & Ping"] = "帧数和延时", @@ -160,6 +163,7 @@ pfUI_translation["zhCN"] = { ["General"] = "默认", ["Global Border Size"] = "全局边框大小", ["Gold"] = "金钱", + ["Graphic Renderer"] = nil, ["Group Frames"] = "队伍框架", ["Group-Pet"] = "小队宠物", ["Group-Target"] = "小队目标", @@ -199,6 +203,8 @@ pfUI_translation["zhCN"] = { ["Left"] = "左边", ["Level"] = "等级", ["Load profile"] = "加载配置", + ["Localtime"] = nil, + ["Login"] = nil, ["Loot"] = "拾取", ["Main Actionbar (ActionMain)"] = "主动作条", ["Mana - Auto"] = "动态法力值和百分比", @@ -206,11 +212,20 @@ pfUI_translation["zhCN"] = { ["Mana - Max"] = "最大法力值", ["Mana - Missing"] = "失去的法力值", ["Mana - Percentage"] = "法力值百分比", + ["Memory Usage"] = nil, ["Minimap"] = "小地图", ["Modules"] = "高级选项", + ["Money"] = nil, + ["ms"] = nil, ["Nameplates"] = "姓名板", ["Nameplate Width"] = "姓名板高度", ["Name"] = "名字", + ["Network Down"] = nil, + ["Network Latency"] = nil, + ["Network Up"] = nil, + ["NEW TIMER"] = nil, + ["Next Memory Cleanup"] = nil, + ["Now"] = nil, ["Only Show Chat Dock On Mouseover"] = nil, ["Only Show Indicators for Dispellable Debuffs"] = "只显示可驱散的Debuff", ["Other Panel: Minimap"] = "小地图面板", @@ -228,6 +243,7 @@ pfUI_translation["zhCN"] = { ["Raid Icon Size"] = "团队图标大小", ["Raid"] = "团队", ["Range Display Color"] = "技能使用距离超限颜色", + ["Reset Timer"] = nil, ["Right Actionbar (Right)"] = "右侧动作条", ["Right Chat Height"] = "右侧聊天窗口高度", ["Right Chat Width"] = "右侧聊天窗口宽度", @@ -239,15 +255,18 @@ pfUI_translation["zhCN"] = { ["Right"] = "右边", ["Save current settings to profile"] = "将当前设置保存到配置文件", ["Save profile"] = "保存配置", + ["Screen Resolution"] = nil, ["Scrolling Combat Text Font"] = "战斗信息字体", ["Second Actionbar (BottomLeft)"] = "左下方动作条", ["Seconds Before Chat Fade"] = "淡出时间设置", ["Seconds Until Action Bars Autohide"] = "自动隐藏动作条延时", ["Select profile"] = "选择配置", + ["Servertime"] = nil, ["Settings"] = "默认设置", ["Shapeshift Bar (BarShapeShift)"] = "姿态条", ["Shift-Click Action"] = "SHIFT点击操作", ["Show Health Points"] = "显示生命值", + ["Show/Hide Timer"] = nil, ["Show Hotkey Text"] = "显示快捷键文本", ["Show Hots as Buff Indicators"] = "在框架的Buff指示器显示Hot", ["Show Hots of all Classes"] = "显示所有职业的Hot", @@ -258,18 +277,23 @@ pfUI_translation["zhCN"] = { ["Show PvP Icon"] = "显示PVP图标", ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = "有些设置需要重新加载UI生效。\n您要重新载入UI吗?", ["Soulshard Counter"] = "灵魂碎片", + ["Soulshards"] = nil, ["Spacing"] = "血条能量条间隔", ["Standard Text Font Size"] = "标准字体字号", ["Standard Text Font"] = "标准字体", + ["Systeminfo"] = nil, ["Target-Target"] = "目标的目标", ["Target"] = "目标", ["Thirdparty"] = "第三方插件接口", + ["This Session"] = nil, + ["Time"] = nil, ["Timestamp Brackets"] = "时间戳括弧", ["Timestamp Color"] = "时间戳颜色", ["Timestamp Format"] = "时间戳格式", ["Tooltip Position"] = "鼠标提示框位置", ["Tooltip"] = "鼠标提示框", ["Top"] = "顶部", + ["UI-Scale"] = nil, ["Unit Frame Border Size"] = "头像边框大小", ["Unit Frame Layout"] = "头像框架样式", ["Unit Frames"] = "头像框架", diff --git a/modules/panel.lua b/modules/panel.lua index 3c9b6fe8..6f48bdcf 100644 --- a/modules/panel.lua +++ b/modules/panel.lua @@ -81,7 +81,7 @@ pfUI:RegisterModule("panel", function () if pfUI.panel.clock.timerFrame.curTime ~= "" then pfUI.panel.clock.timerFrame.text:SetText("|c33cccccc" .. pfUI.panel.clock.timerFrame.curTime) else - pfUI.panel.clock.timerFrame.text:SetText("|cffff3333 --- NEW TIMER ---") + pfUI.panel.clock.timerFrame.text:SetText("|cffff3333 --- " .. T["NEW TIMER"] .. " ---") end end) @@ -107,12 +107,12 @@ pfUI:RegisterModule("panel", function () time = date("%H:%M") servertime = string.format("%.2d:%.2d", h, m) end - GameTooltip:AddLine("|cff555555Time") - GameTooltip:AddDoubleLine("Localtime", "|cffffffff" .. time) - GameTooltip:AddDoubleLine("Servertime", "|cffffffff".. servertime) + GameTooltip:AddLine("|cff555555" .. T["Time"]) + GameTooltip:AddDoubleLine(T["Localtime"], "|cffffffff" .. time) + GameTooltip:AddDoubleLine(T["Servertime"], "|cffffffff".. servertime) GameTooltip:AddLine(" ") - GameTooltip:AddDoubleLine("Left Click", "|cffffffffShow/Hide Timer") - GameTooltip:AddDoubleLine("Right Click", "|cffffffffReset Timer") + GameTooltip:AddDoubleLine(T["Left Click"], "|cffffffff" .. T["Show/Hide Timer"]) + GameTooltip:AddDoubleLine(T["Right Click"], "|cffffffff" .. T["Reset Timer"]) GameTooltip:Show() end @@ -141,7 +141,7 @@ pfUI:RegisterModule("panel", function () local active = 0 GameTooltip:ClearLines() GameTooltip_SetDefaultAnchor(GameTooltip, this) - GameTooltip:AddLine("|cff555555Systeminfo") + GameTooltip:AddLine("|cff555555" .. T["Systeminfo"]) for i=1, GetNumAddOns() do if IsAddOnLoaded(i) then active = active + 1 @@ -154,18 +154,18 @@ pfUI:RegisterModule("panel", function () local nin, nout, nping = GetNetStats() - GameTooltip:AddDoubleLine("Active Addons", "|cffffffff" .. active .. "|cff555555 / |cffffffff" .. GetNumAddOns()) + GameTooltip:AddDoubleLine(T["Active Addons"], "|cffffffff" .. active .. "|cff555555 / |cffffffff" .. GetNumAddOns()) GameTooltip:AddLine(" ") - GameTooltip:AddDoubleLine("Memory Usage", "|cffffffff" .. memmb .. " MB") - GameTooltip:AddDoubleLine("Next Memory Cleanup", "|cffffffff" .. gcmb .. " MB") + GameTooltip:AddDoubleLine(T["Memory Usage"], "|cffffffff" .. memmb .. " MB") + GameTooltip:AddDoubleLine(T["Next Memory Cleanup"], "|cffffffff" .. gcmb .. " MB") GameTooltip:AddLine(" ") - GameTooltip:AddDoubleLine("Network Down", "|cffffffff" .. round(nin,1) .. "KB/s") - GameTooltip:AddDoubleLine("Network Up", "|cffffffff" .. round(nout,1) .. "KB/s") - GameTooltip:AddDoubleLine("Network Latency", "|cffffffff" .. nping .. "ms") + GameTooltip:AddDoubleLine(T["Network Down"], "|cffffffff" .. round(nin,1) .. "KB/s") + GameTooltip:AddDoubleLine(T["Network Up"], "|cffffffff" .. round(nout,1) .. "KB/s") + GameTooltip:AddDoubleLine(T["Network Latency"], "|cffffffff" .. nping .. "ms") GameTooltip:AddLine(" ") - GameTooltip:AddDoubleLine("Graphic Renderer", "|cffffffff" .. GetCVar("gxApi")) - GameTooltip:AddDoubleLine("Screen Resolution", "|cffffffff" .. GetCVar("gxResolution")) - GameTooltip:AddDoubleLine("UI-Scale", "|cffffffff" .. round(UIParent:GetEffectiveScale(),2)) + GameTooltip:AddDoubleLine(T["Graphic Renderer"], "|cffffffff" .. GetCVar("gxApi")) + GameTooltip:AddDoubleLine(T["Screen Resolution"], "|cffffffff" .. GetCVar("gxResolution")) + GameTooltip:AddDoubleLine(T["UI-Scale"], "|cffffffff" .. round(UIParent:GetEffectiveScale(),2)) GameTooltip:Show() end @@ -178,7 +178,7 @@ pfUI:RegisterModule("panel", function () end local _, _, lag = GetNetStats() - pfUI.panel:OutputPanel("fps", floor(GetFramerate()) .. " fps & " .. lag .. " ms", tooltip, click) + pfUI.panel:OutputPanel("fps", floor(GetFramerate()) .. " " .. T["fps"] .. " & " .. lag .. " " .. T["ms"], tooltip, click) end end) @@ -201,7 +201,7 @@ pfUI:RegisterModule("panel", function () end elseif event == "PLAYER_ENTERING_WORLD" then - pfUI.panel:OutputPanel("combat", "Combat: N/A") + pfUI.panel:OutputPanel("combat", T["Combat"] .. ": " .. NOT_APPLICABLE) end end) @@ -230,12 +230,12 @@ pfUI:RegisterModule("panel", function () local xprested = tonumber(GetXPExhaustion()) if remstring == nil then remstring = "" end if xprested ~= nil then - pfUI.panel:OutputPanel("exp", "Exp:|cffaaaaff "..floor((a/b)*100).."%"..remstring) + pfUI.panel:OutputPanel("exp", T["Exp"] .. ": |cffaaaaff"..floor((a/b)*100).."%"..remstring) else - pfUI.panel:OutputPanel("exp", "Exp: " .. floor((a/b)*100) .. "%" .. remstring) + pfUI.panel:OutputPanel("exp", T["Exp"] .. ": " .. floor((a/b)*100) .. "%" .. remstring) end else - pfUI.panel:OutputPanel("exp", "Exp: N/A") + pfUI.panel:OutputPanel("exp", T["Exp"] .. ": " .. NOT_APPLICABLE) end end @@ -278,11 +278,11 @@ pfUI:RegisterModule("panel", function () GameTooltip_SetDefaultAnchor(GameTooltip, this) GameTooltip:ClearLines() - GameTooltip:AddLine("|cff555555Money") - GameTooltip:AddDoubleLine("Login:", CreateGoldString(pfUI.panel.initMoney)) - GameTooltip:AddDoubleLine("Now:", CreateGoldString(GetMoney())) + GameTooltip:AddLine("|cff555555" .. T["Money"]) + GameTooltip:AddDoubleLine(T["Login"] .. ":", CreateGoldString(pfUI.panel.initMoney)) + GameTooltip:AddDoubleLine(T["Now"] .. ":", CreateGoldString(GetMoney())) GameTooltip:AddDoubleLine("|cffffffff","") - GameTooltip:AddDoubleLine("This Session:", dmod .. CreateGoldString(math.abs(pfUI.panel.diffMoney))) + GameTooltip:AddDoubleLine(T["This Session"] .. ":", dmod .. CreateGoldString(math.abs(pfUI.panel.diffMoney))) GameTooltip:Show() end @@ -304,7 +304,7 @@ pfUI:RegisterModule("panel", function () end end local click = function() ToggleFriendsFrame(1) end - pfUI.panel:OutputPanel("friends", "Friends: " .. online, nil, click) + pfUI.panel:OutputPanel("friends", FRIENDS .. ": " .. online, nil, click) end -- Update "guild" @@ -314,9 +314,9 @@ pfUI:RegisterModule("panel", function () local all = GetNumGuildMembers(true) local click = function() ToggleFriendsFrame(3) end if not GetGuildInfo("player") then - pfUI.panel:OutputPanel("guild", "Guild: N/A", nil, click) + pfUI.panel:OutputPanel("guild", GUILD .. ": " .. NOT_APPLICABLE, nil, click) else - pfUI.panel:OutputPanel("guild", "Guild: "..online, nil, click) + pfUI.panel:OutputPanel("guild", GUILD .. ": " .. online, nil, click) end end @@ -380,7 +380,7 @@ pfUI:RegisterModule("panel", function () ToggleCharacter("PaperDollFrame") end - pfUI.panel:OutputPanel("durability", lowestPercent .. "% Armor", tooltip, click) + pfUI.panel:OutputPanel("durability", lowestPercent .. "% " .. ARMOR, tooltip, click) end function pfUI.panel:UpdateZone () @@ -421,7 +421,7 @@ pfUI:RegisterModule("panel", function () GameTooltip:ClearLines() GameTooltip_SetDefaultAnchor(GameTooltip, this) GameTooltip:SetInventoryItem("player", 0) - GameTooltip:AddLine("Count: " .. ammo, .3,1,.8) + GameTooltip:AddLine(T["Count"] .. ": " .. ammo, .3,1,.8) GameTooltip:Show() end end @@ -448,7 +448,7 @@ pfUI:RegisterModule("panel", function () end end - pfUI.panel:OutputPanel("soulshard", "Soulshards: " .. count, tooltip) + pfUI.panel:OutputPanel("soulshard", T["Soulshards"] .. ": " .. count, tooltip) end function pfUI.panel:OutputPanel(entry, value, tooltip, func)