more localization fixes

This commit is contained in:
Eugene Pankov 2022-01-08 19:13:07 +01:00
parent 70a12e36e1
commit ab8622c9fd
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
5 changed files with 8 additions and 8 deletions

View file

@ -5,9 +5,9 @@
button.btn.btn-link(ngbDropdownToggle, (click)='$event.stopPropagation()')
span(
*ngIf='rememberFor',
translate,
translate='Remember for {time}',
[translateParams]='{time: getRememberForDisplay(rememberFor)}'
) Remember for {time}
)
span(*ngIf='!rememberFor', translate) Do not remember
div(ngbDropdownMenu)
button.dropdown-item(

View file

@ -5,7 +5,7 @@
span(translate) Plugins folder
.alert.alert-danger(*ngIf='errorMessage')
strong(translate, [translateParams]='{plugin: erroredPlugin}') Error in {plugin}:
strong(translate='Error in {plugin}:', [translateParams]='{plugin: erroredPlugin}')
pre {{errorMessage}}
ul.nav-tabs.mb-2(ngbNav, #nav='ngbNav')
@ -75,7 +75,7 @@ ul.nav-tabs.mb-2(ngbNav, #nav='ngbNav')
)
i.fas.fa-fw.fa-arrow-up(*ngIf='busy.get(plugin.name) != BusyState.Installing')
i.fas.fa-fw.fa-circle-notch.fa-spin(*ngIf='busy.get(plugin.name) == BusyState.Installing')
span(translate, [translateParams]='{version: knownUpgrades[plugin.name].version}') Upgrade to {version}
span(translate='Upgrade to {version}', [translateParams]='{version: knownUpgrades[plugin.name].version}')
ng-template(ngbPanelContent)
.row

View file

@ -38,7 +38,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
ng-container(*ngIf='config.store.configSync.token')
.alert.alert-danger(*ngIf='connectionSuccessful === false')
i.fas.fa-exclamation-triangle
span.ml-2(translate, [translateParams]='{error: connectionError}') Connection failed: {error}
span.ml-2(translate='Connection failed: {error}', [translateParams]='{error: connectionError}')
ng-container(*ngIf='connectionSuccessful')
.form-line
@ -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, [translateParams]='{date: cfg.modified_at|date:"medium"}') Modified on {date}
small.text-muted(translate='Modified on {date}', [translateParams]='{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, [translateParams]='{type: profileProvider.name}') Defaults for {type}
h3.m-0(translate='Defaults for {type}', [translateParams]='{type: profileProvider.name}')
.modal-body
.row

View file

@ -28,7 +28,7 @@ div.mt-4
.form-line
.header
.title(translate, [translateParams]='{altKeyName: altKeyName}') Use {altKeyName} as the Meta key
.title(translate='Use {altKeyName} as the Meta key', [translateParams]='{altKeyName: altKeyName}')
.description(translate) Lets the shell handle Meta key instead of OS
toggle(
[(ngModel)]='config.store.terminal.altIsMeta',