locale fixes

This commit is contained in:
Eugene Pankov 2022-01-18 10:10:25 +01:00
parent f2a48fc0c0
commit eb60c3c3c6
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
7 changed files with 26 additions and 26 deletions

View file

@ -37,7 +37,7 @@ export class ButtonProvider extends ToolbarButtonProvider {
icon: this.hostApp.platform === Platform.Web
? require('./icons/plus.svg')
: require('./icons/profiles.svg'),
title: this.translate.instant('Profiles and connections'),
title: this.translate.instant('Profiles & connections'),
click: () => this.activate(),
},
...this.profilesService.getRecentProfiles().map(profile => ({

View file

@ -15,7 +15,7 @@ footer.d-flex.align-items-center
.btn-group.mr-auto
button.btn.btn-dark((click)='homeBase.openGitHub()')
i.fab.fa-github
span(translate) GitHub
span GitHub
button.btn.btn-dark((click)='homeBase.reportBug()')
i.fas.fa-bug
span(translate) Report a problem

View file

@ -58,83 +58,83 @@ export class AppHotkeyProvider extends HotkeyProvider {
},
{
id: 'tab-1',
name: this.translate.instant('Tab 1'),
name: this.translate.instant('Tab {number}', { number: 1 }),
},
{
id: 'tab-2',
name: this.translate.instant('Tab 2'),
name: this.translate.instant('Tab {number}', { number: 2 }),
},
{
id: 'tab-3',
name: this.translate.instant('Tab 3'),
name: this.translate.instant('Tab {number}', { number: 3 }),
},
{
id: 'tab-4',
name: this.translate.instant('Tab 4'),
name: this.translate.instant('Tab {number}', { number: 4 }),
},
{
id: 'tab-5',
name: this.translate.instant('Tab 5'),
name: this.translate.instant('Tab {number}', { number: 5 }),
},
{
id: 'tab-6',
name: this.translate.instant('Tab 6'),
name: this.translate.instant('Tab {number}', { number: 6 }),
},
{
id: 'tab-7',
name: this.translate.instant('Tab 7'),
name: this.translate.instant('Tab {number}', { number: 7 }),
},
{
id: 'tab-8',
name: this.translate.instant('Tab 8'),
name: this.translate.instant('Tab {number}', { number: 8 }),
},
{
id: 'tab-9',
name: this.translate.instant('Tab 9'),
name: this.translate.instant('Tab {number}', { number: 9 }),
},
{
id: 'tab-10',
name: this.translate.instant('Tab 10'),
name: this.translate.instant('Tab {number}', { number: 10 }),
},
{
id: 'tab-11',
name: this.translate.instant('Tab 11'),
name: this.translate.instant('Tab {number}', { number: 11 }),
},
{
id: 'tab-12',
name: this.translate.instant('Tab 12'),
name: this.translate.instant('Tab {number}', { number: 12 }),
},
{
id: 'tab-13',
name: this.translate.instant('Tab 13'),
name: this.translate.instant('Tab {number}', { number: 13 }),
},
{
id: 'tab-14',
name: this.translate.instant('Tab 14'),
name: this.translate.instant('Tab {number}', { number: 14 }),
},
{
id: 'tab-15',
name: this.translate.instant('Tab 15'),
name: this.translate.instant('Tab {number}', { number: 15 }),
},
{
id: 'tab-16',
name: this.translate.instant('Tab 16'),
name: this.translate.instant('Tab {number}', { number: 16 }),
},
{
id: 'tab-17',
name: this.translate.instant('Tab 17'),
name: this.translate.instant('Tab {number}', { number: 17 }),
},
{
id: 'tab-18',
name: this.translate.instant('Tab 18'),
name: this.translate.instant('Tab {number}', { number: 18 }),
},
{
id: 'tab-19',
name: this.translate.instant('Tab 19'),
name: this.translate.instant('Tab {number}', { number: 19 }),
},
{
id: 'tab-20',
name: this.translate.instant('Tab 20'),
name: this.translate.instant('Tab {number}', { number: 20 }),
},
{
id: 'split-right',

View file

@ -31,7 +31,7 @@ export class StandardCompactTheme extends Theme {
/** @hidden */
@Injectable()
export class PaperTheme extends Theme {
name = this.translate.instant('Paper')
name = 'Paper'
css = require('./theme.paper.scss')
terminalBackground = '#f7f1e0'

View file

@ -29,7 +29,7 @@ h3 SSH
)
option(value='auto', translate) Automatic
option(value='pageant') Pageant
option(value='pipe', translate) Named pipe
option(value='pipe') Named pipe
.form-line(*ngIf='config.store.ssh.agentType === "pipe"')
.header

View file

@ -27,7 +27,7 @@
button.btn.btn-sm.btn-link.mr-2((click)='openSFTP()', *ngIf='session && session.open')
i.far.fa-folder-open
span(translate) SFTP
span SFTP
button.btn.btn-sm.btn-link(
*ngIf='session && session.open && hostApp.platform !== Platform.Web',

View file

@ -7,7 +7,7 @@ import { TelnetProfile } from './session'
@Injectable({ providedIn: 'root' })
export class TelnetProfilesService extends ProfileProvider<TelnetProfile> {
id = 'telnet'
name = this.translate.instant('Telnet')
name = 'Telnet'
supportsQuickConnect = false
settingsComponent = TelnetProfileSettingsComponent
configDefaults = {