IC 特殊处理 save

This commit is contained in:
xkeyC 2023-10-15 00:41:55 +08:00
parent d5d02d933a
commit 9077441197
2 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,9 @@ function WebLocalizationUpdateReplaceWords(w) {
replaceWords.forEach(({word, replacement}) => {
SCLocalizationReplaceLocalesMap[word] = replacement;
});
if (window.location.hostname.startsWith("issue-council.robertsspaceindustries.com")) {
SCLocalizationReplaceLocalesMap["save"] = "保存";
}
allTranslate().then(_ => {
});
// console.log("WebLocalizationUpdateReplaceWords ==" + w)

View File

@ -46,6 +46,9 @@ function WebLocalizationUpdateReplaceWords(w) {
replaceWords.forEach(({word, replacement}) => {
SCLocalizationReplaceLocalesMap[word] = replacement;
});
if (window.location.hostname.startsWith("issue-council.robertsspaceindustries.com")) {
SCLocalizationReplaceLocalesMap["save"] = "保存";
}
allTranslate().then(_ => {
});
// console.log("WebLocalizationUpdateReplaceWords ==" + w)