From 565c63cc2364bca031724722dd2a2bbe10794888 Mon Sep 17 00:00:00 2001 From: yutio888 <yutio888@qq.com> Date: Sat, 24 Oct 2020 20:38:32 +0800 Subject: [PATCH] add missing translation (_t) & adjust translation for evolution --- game/modules/tome/data/locales/zh_hans.lua | 11 ++++++----- game/modules/tome/dialogs/UberTalent.lua | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/game/modules/tome/data/locales/zh_hans.lua b/game/modules/tome/data/locales/zh_hans.lua index e861a96b9a..70efdfa96e 100644 --- a/game/modules/tome/data/locales/zh_hans.lua +++ b/game/modules/tome/data/locales/zh_hans.lua @@ -31772,7 +31772,7 @@ t([[Transcend the physical and rule over all with an iron will! Additionally, you gain +30%% mind resistance penetration, and +10%% mind damage.]], [[用钢é“般的æ„志驱使整个身体。 当æ¤æŠ€èƒ½æ¿€æ´»æ—¶ï¼Œä½ 33%% 的伤害会转化为精神伤害。 æ¤å¤–ï¼Œä½ èŽ·å¾— 30%% 精神抵抗穿é€å¹¶å¢žåŠ 10%% 精神伤害。]], "tformat") -t("Unlocked the Fallen evolution", "解é”å •è½è€…进化", "_t") +t("Unlocked the Fallen evolution", "解é”å •è½è€…进阶", "_t") t("Committed a heinous act", "干出一件æ¶è¡Œ", "_t") t("Fallen", "å •è½è€…", "_t") t("#CRIMSON#You give in to the darkness. You have fallen!", "#CRIMSON#ä½ æŠ•èº«äºŽé»‘æš—ã€‚ä½ å •è½äº†ï¼", "say") @@ -31799,7 +31799,7 @@ t([[The code of the Sun Paladins can be a heavy burden. Wouldn't you like to le ]], [[太阳骑士的行动守则也是一个é‡æ‹…ã€‚ä½ æœ‰æ²¡æœ‰æƒ³è¿‡å°†å…¶æŠ›å¼ƒï¼Ÿ #{italic}##GREY#并投身黑暗?#LAST##{normal}# - #CRIMSON#æ¤è¿›åŒ–ä¼šå®Œå…¨é¢ è¦†ä½ çš„èŒä¸šå¹¶å¤§å¹…度改å˜ä½ 的人物。ä¸è¦è½»æ˜“选择。#LAST# + #CRIMSON#æ¤è¿›é˜¶ä¼šå®Œå…¨é¢ è¦†ä½ çš„èŒä¸šå¹¶å¤§å¹…度改å˜ä½ 的人物。ä¸è¦è½»æ˜“选择。#LAST# ä½ æ‰€çŸ¥çš„æ‰€æœ‰æ”»å‡»æ€§æ ¼æ–—ç³»æˆ–å¯è§£é”çš„å¤©ç©ºç³»æŠ€èƒ½æ ‘éƒ½ä¼šè¢«æ›¿æ¢ä¸ºè¯…å’’çš„ç‰ˆæœ¬ï¼Œä½¿ä½ èƒ½å¤Ÿä¸€è¾¹æ•£å‘ç€é»‘暗的光辉一边在敌军ä¸æ€å‡ºä¸€æ¡è¡€è·¯ï¼Œå¹¶ä¸”èŽ·å¾—æ–°çš„æˆ˜æ–—é£Žæ ¼å’Œé˜²å¾¡èƒ½åŠ›ã€‚ @@ -34500,7 +34500,7 @@ Class evolutions are selected as prodigies and grant new ways to build and expan ä½œä¸ºå¤ªé˜³éª‘å£«ä½ éµå®ˆç€è¡ŒåŠ¨å‡†åˆ™ã€‚但在ç»åŽ†äº†ä¸–上的å„ç§é»‘暗之åŽï¼Œä½ 开始怀疑。 -ä½ ä¸ºå¤ªé˜³éª‘å£«è§£é”了#LIGHT_GREEN#å •è½è€…èŒä¸šè¿›åŒ–#WHITE#。 +ä½ ä¸ºå¤ªé˜³éª‘å£«è§£é”了#LIGHT_GREEN#å •è½è€…èŒä¸šè¿›é˜¶#WHITE#。 新的力é‡#YELLOW# - 血染:让敌人æµè¡€ï¼ @@ -42588,8 +42588,9 @@ All of them require at least 50 in a core stat and many also have more special d ä½ å¯ä»¥åœ¨äººç‰©ç‰çº§è¾¾åˆ°25级和42级时å„获得一个觉醒技能点。]], "_t") t("\ Evolutions are special prodigies specific to a class or race. Only one evolution can be choosen, if any are available at all.", "\ -进化是特殊的觉醒技,åªæœ‰ç‰¹å®šèŒä¸šç§æ—æ‰èƒ½å¦ä¹ 。å³ä½¿æœ‰å¤šé¡¹è¿›åŒ–å¯èƒ½ï¼Œæ¯å角色最多åªèƒ½é€‰æ‹©ä¸€é¡¹è¿›åŒ–。", "_t") - +进阶是特殊的觉醒技,åªæœ‰ç‰¹å®šèŒä¸šç§æ—æ‰èƒ½å¦ä¹ 。å³ä½¿æœ‰å¤šé¡¹è¿›é˜¶å¯èƒ½ï¼Œæ¯å角色最多åªèƒ½é€‰æ‹©ä¸€é¡¹è¿›é˜¶ã€‚", "_t") +t("#{bold}##GOLD#Prodigies#{normal}#", "#{bold}##GOLD#觉醒#{normal}#", "_t") +t("#{bold}##LIGHT_STEEL_BLUE#Evolutions#{normal}#", "#{bold}##GOLD#进阶#{normal}#", "_t") ------------------------------------------------ section "game/modules/tome/dialogs/UnlockDialog.lua" diff --git a/game/modules/tome/dialogs/UberTalent.lua b/game/modules/tome/dialogs/UberTalent.lua index 48876f146d..222fbd2d33 100644 --- a/game/modules/tome/dialogs/UberTalent.lua +++ b/game/modules/tome/dialogs/UberTalent.lua @@ -199,13 +199,13 @@ function _M:createDisplay() self.c_tut = Textzone.new{ width=self.iw, auto_height = true, text=self.regentuttext()} local vsep = Separator.new{dir="horizontal", size=self.ih - 20 - self.c_tut.h} - local listsep = Separator.new{dir="vertical", size=370, text="#{bold}##GOLD#Prodigies#{normal}#", text_shadow=1} + local listsep = Separator.new{dir="vertical", size=370, text=_t"#{bold}##GOLD#Prodigies#{normal}#", text_shadow=1} local evosep self.c_desc = TextzoneList.new{ focus_check = true, scrollbar = true, pingpong = 20, width=self.iw - 370 - vsep.w - 20, height = self.ih - self.c_tut.h, dest_area = { h = self.ih - self.c_tut.h } } if self.has_evos then - evosep = Separator.new{dir="vertical", size=370, text="#{bold}##LIGHT_STEEL_BLUE#Evolutions#{normal}#", text_shadow=1} + evosep = Separator.new{dir="vertical", size=370, text=_t"#{bold}##LIGHT_STEEL_BLUE#Evolutions#{normal}#", text_shadow=1} self.c_evo = TalentGrid.new{ font = core.display.newFont("/data/font/DroidSans.ttf", 14), tiles=game.uiset.hotkeys_display_icons, -- GitLab