1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Resolves #1459: Make translation files smaller by not including untranslated strings. Also add percentage translated to config screen.

This commit is contained in:
Laurent Cozic
2019-07-29 11:47:50 +02:00
parent 39ba021a79
commit 200ba2775f
3 changed files with 37 additions and 8 deletions

View File

@ -79,7 +79,7 @@ class Setting extends BaseModel {
'activeFolderId': { value: '', type: Setting.TYPE_STRING, public: false },
'firstStart': { value: true, type: Setting.TYPE_BOOL, public: false },
'locale': { value: defaultLocale(), type: Setting.TYPE_STRING, isEnum: true, public: true, label: () => _('Language'), options: () => {
return ObjectUtils.sortByValue(supportedLocalesToLanguages());
return ObjectUtils.sortByValue(supportedLocalesToLanguages({ includeStats: true }));
}},
'dateFormat': { value: Setting.DATE_FORMAT_1, type: Setting.TYPE_STRING, isEnum: true, public: true, label: () => _('Date format'), options: () => {
let options = {}