more localization fixes

This commit is contained in:
Eugene Pankov
2022-01-09 11:28:14 +01:00
parent 2d9f3d8216
commit ff1e2871d4
40 changed files with 1337 additions and 5562 deletions

View File

@@ -59,7 +59,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
i.fas.fa-fw.fa-file
.ml-2.d-flex.flex-column.align-items-start
div {{cfg.name}}
small.text-muted(translate='Modified on {date}', [translateParams]='{date: cfg.modified_at|date:"medium"}')
small.text-muted {{ 'Modified on {date}'|translate:{date: cfg.modified_at|date:"medium"} }}
.mr-auto
button.btn.btn-link.ml-1(
(click)='uploadAndSync(cfg)',

View File

@@ -2,7 +2,7 @@
h3.m-0 {{profile.name}}
.modal-header(*ngIf='defaultsMode')
h3.m-0(translate='Defaults for {type}', [translateParams]='{type: profileProvider.name}')
h3.m-0 {{ 'Defaults for {type}'|translate:{type: profileProvider.name} }}
.modal-body
.row

View File

@@ -70,7 +70,7 @@
.header
.title(translate) Language
select.form-control([(ngModel)]='config.store.language', (ngModelChange)='saveConfiguration()')
option([value]='null', translate) Automatic
option([ngValue]='null', translate) Automatic
option(
[value]='lang.code',
*ngFor='let lang of locale.allLanguages'