mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-12 02:00:22 +00:00
feat: downloader update
This commit is contained in:
@@ -28,10 +28,9 @@ class S {
|
||||
static const AppLocalizationDelegate delegate = AppLocalizationDelegate();
|
||||
|
||||
static Future<S> load(Locale locale) {
|
||||
final name =
|
||||
(locale.countryCode?.isEmpty ?? false)
|
||||
? locale.languageCode
|
||||
: locale.toString();
|
||||
final name = (locale.countryCode?.isEmpty ?? false)
|
||||
? locale.languageCode
|
||||
: locale.toString();
|
||||
final localeName = Intl.canonicalizedLocale(name);
|
||||
return initializeMessages(localeName).then((_) {
|
||||
Intl.defaultLocale = localeName;
|
||||
@@ -715,6 +714,46 @@ class S {
|
||||
);
|
||||
}
|
||||
|
||||
/// `Speed limit settings saved. Will apply on next downloader start.`
|
||||
String get downloader_info_speed_limit_saved_restart_required {
|
||||
return Intl.message(
|
||||
'Speed limit settings saved. Will apply on next downloader start.',
|
||||
name: 'downloader_info_speed_limit_saved_restart_required',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Restart Now`
|
||||
String get downloader_action_restart_now {
|
||||
return Intl.message(
|
||||
'Restart Now',
|
||||
name: 'downloader_action_restart_now',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Apply Later`
|
||||
String get downloader_action_restart_later {
|
||||
return Intl.message(
|
||||
'Apply Later',
|
||||
name: 'downloader_action_restart_later',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Speed limit settings saved. Restart the download manager now to apply new settings?`
|
||||
String get downloader_info_restart_manager_to_apply {
|
||||
return Intl.message(
|
||||
'Speed limit settings saved. Restart the download manager now to apply new settings?',
|
||||
name: 'downloader_info_restart_manager_to_apply',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `One-Click Diagnosis -> {v0}`
|
||||
String doctor_title_one_click_diagnosis(Object v0) {
|
||||
return Intl.message(
|
||||
|
||||
Reference in New Issue
Block a user