mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Fix the Chinese translation switching issue
This commit is contained in:
@@ -64,6 +64,8 @@ class LocalePreferences {
|
|||||||
return 'Italiano';
|
return 'Italiano';
|
||||||
case 'el':
|
case 'el':
|
||||||
return 'Greek';
|
return 'Greek';
|
||||||
|
case 'cn':
|
||||||
|
return '简体中文';
|
||||||
default:
|
default:
|
||||||
return locale.languageCode;
|
return locale.languageCode;
|
||||||
}
|
}
|
||||||
@@ -88,6 +90,8 @@ class LocalePreferences {
|
|||||||
return 'Italiano';
|
return 'Italiano';
|
||||||
case 'el':
|
case 'el':
|
||||||
return 'Ελληνικά';
|
return 'Ελληνικά';
|
||||||
|
case 'cn':
|
||||||
|
return '简体中文';
|
||||||
default:
|
default:
|
||||||
return locale.languageCode;
|
return locale.languageCode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user