mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
feat: add Traditional Chinese support
This commit is contained in:
@@ -206,6 +206,13 @@ class _PreferenceState extends State<Preference> {
|
||||
},
|
||||
child: const Text("简体中文")),
|
||||
const Divider(thickness: 0.5, height: 0),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
appConfiguration.language = const Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant');
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text("繁體中文")),
|
||||
const Divider(thickness: 0.5, height: 0),
|
||||
TextButton(
|
||||
child: const Text("English"),
|
||||
onPressed: () {
|
||||
|
||||
Reference in New Issue
Block a user