fix & opt

- fix docker not found regexp
- use en_US in docker cmd
-
This commit is contained in:
Junyuan Feng
2022-05-12 09:50:28 +08:00
parent 7e8e0e2efc
commit bfe7140a44
13 changed files with 114 additions and 62 deletions

View File

@@ -1141,13 +1141,13 @@ class S {
);
}
/// `Please report bugs on https://github.com/LollipopKit/flutter_server_box/issues`
String get reportBugsOnGithubIssue {
/// `Please report bugs on {url}`
String reportBugsOnGithubIssue(Object url) {
return Intl.message(
'Please report bugs on https://github.com/LollipopKit/flutter_server_box/issues',
'Please report bugs on $url',
name: 'reportBugsOnGithubIssue',
desc: '',
args: [],
args: [url],
);
}
@@ -1200,6 +1200,26 @@ class S {
args: [],
);
}
/// `Please make sure that docker is installed correctly, or that you are using a non-self-compiled version. If you don't have the above issues, please submit an issue on {url}.`
String invalidVersionHelp(Object url) {
return Intl.message(
'Please make sure that docker is installed correctly, or that you are using a non-self-compiled version. If you don\'t have the above issues, please submit an issue on $url.',
name: 'invalidVersionHelp',
desc: '',
args: [url],
);
}
/// `No interface`
String get noInterface {
return Intl.message(
'No interface',
name: 'noInterface',
desc: '',
args: [],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {