use languages' native names

This commit is contained in:
Eugene Pankov
2022-02-10 18:03:26 +01:00
parent b6a3af80fa
commit fe5193d9f1
7 changed files with 51 additions and 99 deletions

View File

@@ -73,7 +73,7 @@
option([ngValue]='null', translate) Automatic
option(
[value]='lang.code',
*ngFor='let lang of locale.allLanguages'
*ngFor='let lang of allLanguages'
) {{lang.name|translate}}
.form-line(*ngIf='platform.isShellIntegrationSupported()')

View File

@@ -37,6 +37,7 @@ export class SettingsTabComponent extends BaseTabComponent {
checkingForUpdate = false
updateAvailable = false
showConfigDefaults = false
allLanguages = LocaleService.allLanguages
@HostBinding('class.pad-window-controls') padWindowControls = false
constructor (