mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-19 18:07:58 +00:00
sorted messages, cleaned up translateParams attributes
This commit is contained in:
@@ -59,7 +59,10 @@ 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 {{ 'Modified on {date}'|translate:{date: cfg.modified_at|date:"medium"} }}
|
||||
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)',
|
||||
|
@@ -2,7 +2,10 @@
|
||||
h3.m-0 {{profile.name}}
|
||||
|
||||
.modal-header(*ngIf='defaultsMode')
|
||||
h3.m-0 {{ 'Defaults for {type}'|translate:{type: profileProvider.name} }}
|
||||
h3.m-0(
|
||||
translate='Defaults for {type}',
|
||||
[translateParams]='{type: profileProvider.name}'
|
||||
)
|
||||
|
||||
.modal-body
|
||||
.row
|
||||
|
@@ -197,7 +197,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
|
||||
if ((await this.platform.showMessageBox(
|
||||
{
|
||||
type: 'warning',
|
||||
message: this.translate.instant(`Delete the group's profiles?`),
|
||||
message: this.translate.instant('Delete the group\'s profiles?'),
|
||||
buttons: [
|
||||
this.translate.instant('Move to "Ungrouped"'),
|
||||
this.translate.instant('Delete'),
|
||||
|
@@ -74,7 +74,7 @@
|
||||
option(
|
||||
[value]='lang.code',
|
||||
*ngFor='let lang of allLanguages'
|
||||
) {{lang.name|translate}}
|
||||
) {{lang.name}}
|
||||
|
||||
.form-line(*ngIf='platform.isShellIntegrationSupported()')
|
||||
.header
|
||||
|
Reference in New Issue
Block a user