Eugene Pankov %!s(int64=4) %!d(string=hai) anos
pai
achega
eb60c3c3c6

+ 1 - 1
tabby-core/src/buttonProvider.ts

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

+ 1 - 1
tabby-core/src/components/startPage.component.pug

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

+ 20 - 20
tabby-core/src/hotkeys.ts

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

+ 1 - 1
tabby-core/src/theme.ts

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

+ 1 - 1
tabby-ssh/src/components/sshSettingsTab.component.pug

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

+ 1 - 1
tabby-ssh/src/components/sshTab.component.pug

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

+ 1 - 1
tabby-telnet/src/profiles.ts

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