sorted messages, cleaned up translateParams attributes

This commit is contained in:
Eugene Pankov
2022-02-10 19:10:38 +01:00
parent fe5193d9f1
commit 7b07a67947
12 changed files with 87 additions and 29 deletions

View File

@@ -451,7 +451,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
{
type: 'warning',
detail: data,
message: this.translate.instant(`Paste multiple lines?`),
message: this.translate.instant('Paste multiple lines?'),
buttons,
defaultId: 0,
cancelId: 1,

View File

@@ -28,7 +28,10 @@ div.mt-4
.form-line
.header
.title {{ "Use {altKeyName} as the Meta key"|translate:{altKeyName: altKeyName} }}
.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',