mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-19 18:07:58 +00:00
added missing strings
This commit is contained in:
@@ -26,7 +26,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
|
||||
.input-group-prepend
|
||||
.input-group-text
|
||||
i.fas.fa-fw.fa-search
|
||||
input.form-control(type='search', placeholder='Filter', [(ngModel)]='filter')
|
||||
input.form-control(type='search', [placeholder]='"Filter"|translate', [(ngModel)]='filter')
|
||||
|
||||
button.btn.btn-primary.flex-shrink-0.ml-3((click)='newProfile()')
|
||||
i.fas.fa-fw.fa-plus
|
||||
@@ -117,6 +117,6 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
|
||||
a.list-group-item.list-group-item-action(
|
||||
(click)='editDefaults(provider)',
|
||||
*ngFor='let provider of profileProviders'
|
||||
) {{provider.name}}
|
||||
) {{provider.name|translate}}
|
||||
|
||||
div([ngbNavOutlet]='nav')
|
||||
|
@@ -14,6 +14,7 @@ interface ProfileGroup {
|
||||
collapsed: boolean
|
||||
}
|
||||
|
||||
_('Filter')
|
||||
_('Ungrouped')
|
||||
|
||||
/** @hidden */
|
||||
@@ -234,10 +235,10 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
|
||||
|
||||
getTypeLabel (profile: PartialProfile<Profile>): string {
|
||||
const name = this.profilesService.providerForProfile(profile)?.name
|
||||
if (name === this.translate.instant('Local terminal')) {
|
||||
if (name === 'Local terminal') {
|
||||
return ''
|
||||
}
|
||||
return name ?? this.translate.instant('Unknown')
|
||||
return name ? this.translate.instant(name) : this.translate.instant('Unknown')
|
||||
}
|
||||
|
||||
getTypeColorClass (profile: PartialProfile<Profile>): string {
|
||||
|
Reference in New Issue
Block a user