l10n: 自定义汉化文件

This commit is contained in:
2024-05-05 21:03:11 +08:00
parent 2c744cc5bd
commit 9af96a2061
6 changed files with 59 additions and 8 deletions

View File

@ -570,6 +570,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Install custom file"),
"home_localization_action_rsi_launcher_localization":
MessageLookupByLibrary.simpleMessage("RSILauncher Localization"),
"home_localization_action_select_customize_file":
MessageLookupByLibrary.simpleMessage("Click to select INI file"),
"home_localization_advanced_action_install":
MessageLookupByLibrary.simpleMessage(
"Installation of Localization"),
@ -632,6 +634,11 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage(
"Localization has a new version!"),
"home_localization_new_version_installed": m34,
"home_localization_select_customize_file":
MessageLookupByLibrary.simpleMessage(
"Please select custom Localization file"),
"home_localization_select_customize_file_ini":
MessageLookupByLibrary.simpleMessage("Please select INI file"),
"home_localization_title_localization_tools":
MessageLookupByLibrary.simpleMessage("Localization tool"),
"home_login_action_title_box_one_click_launch":

View File

@ -512,6 +512,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("安装自定义文件"),
"home_localization_action_rsi_launcher_localization":
MessageLookupByLibrary.simpleMessage("RSI 启动器汉化"),
"home_localization_action_select_customize_file":
MessageLookupByLibrary.simpleMessage("点击选择 ini 文件"),
"home_localization_advanced_action_install":
MessageLookupByLibrary.simpleMessage("安装汉化"),
"home_localization_advanced_action_mod_change":
@ -569,6 +571,10 @@ class MessageLookup extends MessageLookupByLibrary {
"home_localization_new_version_available":
MessageLookupByLibrary.simpleMessage("汉化有新版本!"),
"home_localization_new_version_installed": m34,
"home_localization_select_customize_file":
MessageLookupByLibrary.simpleMessage("请选择自定义汉化文件"),
"home_localization_select_customize_file_ini":
MessageLookupByLibrary.simpleMessage("请选择 ini 文件"),
"home_localization_title_localization_tools":
MessageLookupByLibrary.simpleMessage("汉化工具"),
"home_login_action_title_box_one_click_launch":

View File

@ -4753,6 +4753,36 @@ class S {
args: [v0],
);
}
/// `Please select INI file`
String get home_localization_select_customize_file_ini {
return Intl.message(
'Please select INI file',
name: 'home_localization_select_customize_file_ini',
desc: '',
args: [],
);
}
/// `Please select custom Localization file`
String get home_localization_select_customize_file {
return Intl.message(
'Please select custom Localization file',
name: 'home_localization_select_customize_file',
desc: '',
args: [],
);
}
/// `Click to select INI file`
String get home_localization_action_select_customize_file {
return Intl.message(
'Click to select INI file',
name: 'home_localization_action_select_customize_file',
desc: '',
args: [],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {