格式化 版本号调整
This commit is contained in:
parent
a866df68f7
commit
8ea4aceb7a
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Torn翻译
|
||||
// @namespace WOOH
|
||||
// @version 0.1.1114a
|
||||
// @version 0.1.1114b
|
||||
// @description UI翻译
|
||||
// @author Woohoo-[2687093] sabrina_devil[2696209]
|
||||
// @match https://www.torn.com/*
|
||||
@ -824,7 +824,7 @@
|
||||
'Increases damage and accuracy of slashing weapons': '提高切割武器的伤害与命中',
|
||||
'Increases damage and accuracy of mechanical devices': '提高机械武器的伤害与命中',
|
||||
'Increases damage and accuracy of temporary weapons': '提高临时武器的伤害与命中',
|
||||
'Are you sure you want to spend': '确定要花费',
|
||||
'Are you sure you want to spend': '确定要花费 ',
|
||||
'on': '在',
|
||||
'upgrade?': '升级上吗?',
|
||||
'You have upgraded this merit upgrade to the maximum already.':
|
||||
@ -948,7 +948,7 @@
|
||||
miniprofTrans();
|
||||
miniprofOB.observe($('div.profile-mini-root').get(0), {attributes: true, childList: true, subtree: true});
|
||||
});
|
||||
const miniprofTrans = function miniprofTrans(){
|
||||
const miniprofTrans = function miniprofTrans() {
|
||||
// let barDescr = $('div[class^="tooltip"]').children('p[class^="bar-descr"]');
|
||||
// if (barDescr.length !== 0) {
|
||||
// barDescr[0].childNodes.forEach(i => {
|
||||
@ -964,12 +964,12 @@
|
||||
// //todo 通配符匹配
|
||||
// }
|
||||
};
|
||||
if($('div.profile-mini-root').length>0)
|
||||
if ($('div.profile-mini-root').length > 0)
|
||||
miniprofTrans();
|
||||
else {
|
||||
const intervalInit = setInterval(() => {
|
||||
const miniProfileFirst = $('div.profile-mini-root').get(0);
|
||||
if(miniProfileFirst){
|
||||
if (miniProfileFirst) {
|
||||
clearInterval(intervalInit);
|
||||
miniprofTrans();
|
||||
miniprofOB.observe(miniProfileFirst, {attributes: true, childList: true, subtree: true});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user