mirror of
https://github.com/webxoss/webxoss-client.git
synced 2024-11-20 05:49:55 +01:00
🚧 add game text translation for WX16
This commit is contained in:
parent
744efe2b2e
commit
bf5d95c5a0
1 changed files with 9 additions and 0 deletions
|
@ -163,6 +163,7 @@ var map_zh_CN = {
|
|||
'CONFIRM_REFRESH_SELF': '我方卡组重构\n请确认废弃区',
|
||||
'CONFIRM_REFRESH_OPPONENT': '对方卡组重构\n请确认废弃区',
|
||||
'GUESS_TRAP': '持有陷阱标记?',
|
||||
'LEVEL': '等级',
|
||||
},
|
||||
'noOptions': {
|
||||
'TARGET': '没有目标'
|
||||
|
@ -541,6 +542,7 @@ var map_en = {
|
|||
'CONFIRM_REFRESH_SELF': 'Deck refesh\nConfirm your trash',
|
||||
'CONFIRM_REFRESH_OPPONENT': 'Deck refesh\nConfirm opponent\'s trash',
|
||||
'GUESS_TRAP': 'Is trap?',
|
||||
'LEVEL': 'Level',
|
||||
},
|
||||
'noOptions': {
|
||||
'TARGET': 'No targets'
|
||||
|
@ -924,6 +926,7 @@ var map_jp = {
|
|||
'CONFIRM_REFRESH_SELF': 'リフレッシュ\nあなたのトラッシュを確認',
|
||||
'CONFIRM_REFRESH_OPPONENT': 'リフレッシュ\n相手のトラッシュを確認',
|
||||
'GUESS_TRAP': 'Is trap?',
|
||||
'LEVEL': 'Level',
|
||||
},
|
||||
'noOptions': {
|
||||
// 'SPELL_CUT_IN': 'カットインできません',
|
||||
|
@ -1320,6 +1323,7 @@ var map_ru = {
|
|||
'CONFIRM_REFRESH_SELF': 'Обновление колоды\nОзнакомьтесь со сбросом',
|
||||
'CONFIRM_REFRESH_OPPONENT': 'Обновление колоды\nОзнакомьтесь со сбросом',
|
||||
'GUESS_TRAP': 'Является ли карта Ловушкой?',
|
||||
'LEVEL': 'Level',
|
||||
},
|
||||
'noOptions': {
|
||||
'TARGET': 'Нет целей'
|
||||
|
@ -1698,6 +1702,7 @@ var map_it = {
|
|||
'CONFIRM_REFRESH_SELF': 'Deck refresh\nConferma',
|
||||
'CONFIRM_REFRESH_OPPONENT': 'Deck refresh avversario\nConferma',
|
||||
'GUESS_TRAP': 'Is trap?',
|
||||
'LEVEL': 'level',
|
||||
},
|
||||
'noOptions': {
|
||||
'TARGET': 'Nessun bersaglio'
|
||||
|
@ -2081,6 +2086,7 @@ var map_ko = {
|
|||
'CONFIRM_REFRESH_SELF': '리프레시\n당신의 트래시를 확인',
|
||||
'CONFIRM_REFRESH_OPPONENT': '리프레시\n상대의 트래시를 확인',
|
||||
'GUESS_TRAP': 'Is trap?',
|
||||
'LEVEL': 'Level',
|
||||
},
|
||||
'noOptions': {
|
||||
// 'SPELL_CUT_IN': 'カットインできません',
|
||||
|
@ -2389,6 +2395,9 @@ var simplifiedStr = '皑蔼碍爱翱袄奥坝罢摆败颁办绊帮绑镑谤剥
|
|||
var traditionalStr = '皚藹礙愛翺襖奧壩罷擺敗頒辦絆幫綁鎊謗剝飽寶報鮑輩貝鋇狽備憊繃筆畢斃閉邊編貶變辯辮鼈癟瀕濱賓擯餅撥缽鉑駁蔔補參蠶殘慚慘燦蒼艙倉滄廁側冊測層詫攙摻蟬饞讒纏鏟産闡顫場嘗長償腸廠暢鈔車徹塵陳襯撐稱懲誠騁癡遲馳恥齒熾沖蟲寵疇躊籌綢醜櫥廚鋤雛礎儲觸處傳瘡闖創錘純綽辭詞賜聰蔥囪從叢湊竄錯達帶貸擔單鄲撣膽憚誕彈當擋黨蕩檔搗島禱導盜燈鄧敵滌遞締點墊電澱釣調叠諜疊釘頂錠訂東動棟凍鬥犢獨讀賭鍍鍛斷緞兌隊對噸頓鈍奪鵝額訛惡餓兒爾餌貳發罰閥琺礬釩煩範販飯訪紡飛廢費紛墳奮憤糞豐楓鋒風瘋馮縫諷鳳膚輻撫輔賦複負訃婦縛該鈣蓋幹趕稈贛岡剛鋼綱崗臯鎬擱鴿閣鉻個給龔宮鞏貢鈎溝構購夠蠱顧剮關觀館慣貫廣規矽歸龜閨軌詭櫃貴劊輥滾鍋國過駭韓漢閡鶴賀橫轟鴻紅後壺護滬戶嘩華畫劃話懷壞歡環還緩換喚瘓煥渙黃謊揮輝毀賄穢會燴彙諱誨繪葷渾夥獲貨禍擊機積饑譏雞績緝極輯級擠幾薊劑濟計記際繼紀夾莢頰賈鉀價駕殲監堅箋間艱緘繭檢堿鹼揀撿簡儉減薦檻鑒踐賤見鍵艦劍餞漸濺澗漿蔣槳獎講醬膠澆驕嬌攪鉸矯僥腳餃繳絞轎較稭階節莖驚經頸靜鏡徑痙競淨糾廄舊駒舉據鋸懼劇鵑絹傑潔結誡屆緊錦僅謹進晉燼盡勁荊覺決訣絕鈞軍駿開凱顆殼課墾懇摳庫褲誇塊儈寬礦曠況虧巋窺饋潰擴闊蠟臘萊來賴藍欄攔籃闌蘭瀾讕攬覽懶纜爛濫撈勞澇樂鐳壘類淚籬離裏鯉禮麗厲勵礫曆瀝隸倆聯蓮連鐮憐漣簾斂臉鏈戀煉練糧涼兩輛諒療遼鐐獵臨鄰鱗凜賃齡鈴淩靈嶺領餾劉龍聾嚨籠壟攏隴樓婁摟簍蘆盧顱廬爐擄鹵虜魯賂祿錄陸驢呂鋁侶屢縷慮濾綠巒攣孿灤亂掄輪倫侖淪綸論蘿羅邏鑼籮騾駱絡媽瑪碼螞馬罵嗎買麥賣邁脈瞞饅蠻滿謾貓錨鉚貿麽黴沒鎂門悶們錳夢謎彌覓綿緬廟滅憫閩鳴銘謬謀畝鈉納難撓腦惱鬧餒膩攆撚釀鳥聶齧鑷鎳檸獰甯擰濘鈕紐膿濃農瘧諾歐鷗毆嘔漚盤龐國愛賠噴鵬騙飄頻貧蘋憑評潑頗撲鋪樸譜臍齊騎豈啓氣棄訖牽扡釺鉛遷簽謙錢鉗潛淺譴塹槍嗆牆薔強搶鍬橋喬僑翹竅竊欽親輕氫傾頃請慶瓊窮趨區軀驅齲顴權勸卻鵲讓饒擾繞熱韌認紉榮絨軟銳閏潤灑薩鰓賽傘喪騷掃澀殺紗篩曬閃陝贍繕傷賞燒紹賒攝懾設紳審嬸腎滲聲繩勝聖師獅濕詩屍時蝕實識駛勢釋飾視試壽獸樞輸書贖屬術樹豎數帥雙誰稅順說碩爍絲飼聳慫頌訟誦擻蘇訴肅雖綏歲孫損筍縮瑣鎖獺撻擡攤貪癱灘壇譚談歎湯燙濤縧騰謄銻題體屜條貼鐵廳聽烴銅統頭圖塗團頹蛻脫鴕馱駝橢窪襪彎灣頑萬網韋違圍爲濰維葦偉僞緯謂衛溫聞紋穩問甕撾蝸渦窩嗚鎢烏誣無蕪吳塢霧務誤錫犧襲習銑戲細蝦轄峽俠狹廈鍁鮮纖鹹賢銜閑顯險現獻縣餡羨憲線廂鑲鄉詳響項蕭銷曉嘯蠍協挾攜脅諧寫瀉謝鋅釁興洶鏽繡虛噓須許緒續軒懸選癬絢學勳詢尋馴訓訊遜壓鴉鴨啞亞訝閹煙鹽嚴顔閻豔厭硯彥諺驗鴦楊揚瘍陽癢養樣瑤搖堯遙窯謠藥爺頁業葉醫銥頤遺儀彜蟻藝億憶義詣議誼譯異繹蔭陰銀飲櫻嬰鷹應纓瑩螢營熒蠅穎喲擁傭癰踴詠湧優憂郵鈾猶遊誘輿魚漁娛與嶼語籲禦獄譽預馭鴛淵轅園員圓緣遠願約躍鑰嶽粵悅閱雲鄖勻隕運蘊醞暈韻雜災載攢暫贊贓髒鑿棗竈責擇則澤賊贈紮劄軋鍘閘詐齋債氈盞斬輾嶄棧戰綻張漲帳賬脹趙蟄轍鍺這貞針偵診鎮陣掙睜猙幀鄭證織職執紙摯擲幟質鍾終種腫眾謅軸皺晝驟豬諸誅燭矚囑貯鑄築駐專磚轉賺樁莊裝妝壯狀錐贅墜綴諄濁茲資漬蹤綜總縱鄒詛組鑽緻鐘麼為只兇準啟闆裡靂餘鍊洩并將暱刪製捨號隨鎧';
|
||||
|
||||
function Localize (namespace,label) {
|
||||
if (namespace === 'raw') {
|
||||
return label;
|
||||
}
|
||||
var textMap = Localize.map[namespace];
|
||||
if (!textMap) {
|
||||
console.warn('no such namespace: "' + namespace + '" .');
|
||||
|
|
Loading…
Reference in a new issue