automatic_i18n_adjustment: It's still Element Call

This commit is contained in:
su-ex 2023-04-07 12:57:44 +02:00
parent b3516d1621
commit c5042532eb
No known key found for this signature in database
GPG Key ID: E9E9F6644110943E

View File

@ -35,7 +35,13 @@ function writeStrings(p, strings) {
let strings = readStrings(p);
for (const key of Object.keys(strings)) {
strings[key] = strings[key].replace(/Element/g, "SchildiChat").replace(/element\.io/g, "schildi.chat");
strings[key] = strings[key]
.replace(/Element/g, "SchildiChat")
.replace(/element\.io/g, "schildi.chat")
// It's still Element Call
.replace(/SchildiChat Call/g, "Element Call")
.replace(/SchildiChat-Call/g, "Element-Call");
}
if (overlayPath) {