mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/StarCitizenBoxBrowserEx.git
synced 2024-12-22 19:33:43 +08:00
fix
This commit is contained in:
parent
c75e6e22e3
commit
974f196869
@ -152,7 +152,7 @@ function GetSCLocalizationTranslateString(txtSrc) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
txtSrc = nodeValue
|
txtSrc = nodeValue
|
||||||
} else if (key.includes("starter pack") || key.includes("starter package")) {
|
} else if (key.endsWith("starter pack") || key.endsWith("starter package")) {
|
||||||
let shipName = key.replace("starter package", "").replace("starter pack", "").trim()
|
let shipName = key.replace("starter package", "").replace("starter pack", "").trim()
|
||||||
if (SCLocalizationReplaceLocalesMap[shipName.toLowerCase()]) {
|
if (SCLocalizationReplaceLocalesMap[shipName.toLowerCase()]) {
|
||||||
shipName = SCLocalizationReplaceLocalesMap[shipName.toLowerCase()];
|
shipName = SCLocalizationReplaceLocalesMap[shipName.toLowerCase()];
|
||||||
|
@ -152,7 +152,7 @@ function GetSCLocalizationTranslateString(txtSrc) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
txtSrc = nodeValue
|
txtSrc = nodeValue
|
||||||
} else if (key.includes("starter pack") || key.includes("starter package")) {
|
} else if (key.endsWith("starter pack") || key.endsWith("starter package")) {
|
||||||
let shipName = key.replace("starter package", "").replace("starter pack", "").trim()
|
let shipName = key.replace("starter package", "").replace("starter pack", "").trim()
|
||||||
if (SCLocalizationReplaceLocalesMap[shipName.toLowerCase()]) {
|
if (SCLocalizationReplaceLocalesMap[shipName.toLowerCase()]) {
|
||||||
shipName = SCLocalizationReplaceLocalesMap[shipName.toLowerCase()];
|
shipName = SCLocalizationReplaceLocalesMap[shipName.toLowerCase()];
|
||||||
|
Loading…
Reference in New Issue
Block a user