Fix i18n dump filename

Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
方而静 2023-10-07 11:57:51 +08:00
parent 291a3e420e
commit 7999bc1d7b
Signed by: szTom
GPG Key ID: 072D999D60C6473C
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ global_TranslateKeysEnUS = {
'effect-applier.on' -> 'effect-applier status: enabled.',
'effect-applier.off' -> 'effect-applier status: disabled.',
'license.header' -> 'ICollect-Alpha, Copyright (C) 2023 方而静\nICollect-Alpha comes with ABSOLUTELY NO WARRANTY;\nfor details type \'/ica-loader show w\'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type \'/ica-loader show c\' for details.'
'license.header' -> 'ICollect-Alpha, Copyright (C) 2023 %s\nICollect-Alpha comes with ABSOLUTELY NO WARRANTY;\nfor details type \'/ica-loader show w\'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type \'/ica-loader show c\' for details.'
};
getLocaleKey(keyid) -> (
@ -166,5 +166,5 @@ pendingReject() -> (
);
cmdDump() -> (
write_file('ica-i18n-keys.json', 'shared_json', global_TranslateKeysEnUS);
write_file('ica-i18n-table', 'shared_json', global_TranslateKeysEnUS);
);

View File

@ -19,7 +19,7 @@ CopyrightInfo() -> (
);
cmdLoad() -> (
print(getLocaleKey('license.header'));
print(str(getLocaleKey('license.header'), '方而静'));
run('script load ica-admin');
run('script load ica-effect-applier');
run('script load ica-spyglass');