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;
|
||||
@@ -425,6 +424,26 @@ class S {
|
||||
);
|
||||
}
|
||||
|
||||
/// `Clear Completed`
|
||||
String get downloader_action_clear_completed {
|
||||
return Intl.message(
|
||||
'Clear Completed',
|
||||
name: 'downloader_action_clear_completed',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Remove Record`
|
||||
String get downloader_action_remove_record {
|
||||
return Intl.message(
|
||||
'Remove Record',
|
||||
name: 'downloader_action_remove_record',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `No download tasks`
|
||||
String get downloader_info_no_download_tasks {
|
||||
return Intl.message(
|
||||
|
||||
Reference in New Issue
Block a user