Przeglądaj źródła

added missing strings

Eugene Pankov 3 lat temu
rodzic
commit
bc89774fbc

+ 26 - 10
locale/app.pot

@@ -190,7 +190,7 @@ msgid "Bracketed paste (requires shell support)"
 msgstr ""
 
 #: locale/tmp-html/tabby-plugin-manager/src/components/pluginsSettingsTab.component.html:48
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:164
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:165
 msgid "Built-in"
 msgstr ""
 
@@ -435,8 +435,8 @@ msgstr ""
 #: locale/tmp-html/tabby-settings/src/components/vaultSettingsTab.component.html:28
 #: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:9
 #: tabby-settings/src/components/profilesSettingsTab.component.ts:129
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:191
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:204
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:194
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:207
 #: tabby-settings/src/components/vaultSettingsTab.component.ts:49
 #: tabby-ssh/src/sftpContextMenu.ts:33
 #: tabby-ssh/src/sftpContextMenu.ts:41
@@ -446,7 +446,7 @@ msgid "Delete"
 msgstr ""
 
 #: tabby-settings/src/components/profilesSettingsTab.component.ts:127
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:189
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:192
 #: tabby-terminal/src/components/colorSchemeSettingsTab.component.ts:87
 msgid "Delete \"{name}\"?"
 msgstr ""
@@ -463,7 +463,7 @@ msgstr ""
 msgid "Delete previous word"
 msgstr ""
 
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:201
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:204
 msgid "Delete the group's profiles?"
 msgstr ""
 
@@ -495,6 +495,10 @@ msgstr ""
 msgid "Disable dynamic tab title"
 msgstr ""
 
+#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:189
+msgid "Disable fluent background while dragging"
+msgstr ""
+
 #: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:182
 msgid "Disable GPU acceleration"
 msgstr ""
@@ -658,6 +662,10 @@ msgstr ""
 msgid "Fixed"
 msgstr ""
 
+#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:190
+msgid "Fluent background sometimes causes drag lag"
+msgstr ""
+
 #: tabby-local/src/tabContextMenu.ts:136
 msgid "Focus all panes"
 msgstr ""
@@ -897,7 +905,7 @@ msgid "Jump to previous word"
 msgstr ""
 
 #: tabby-settings/src/components/profilesSettingsTab.component.ts:130
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:192
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:195
 #: tabby-settings/src/components/vaultSettingsTab.component.ts:50
 #: tabby-terminal/src/components/colorSchemeSettingsTab.component.ts:90
 #: tabby-terminal/src/components/loginScriptsSettings.component.ts:33
@@ -994,7 +1002,7 @@ msgid "Local echo"
 msgstr ""
 
 #: tabby-local/src/profiles.ts:11
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:234
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:237
 msgid "Local terminal"
 msgstr ""
 
@@ -1036,7 +1044,7 @@ msgstr ""
 msgid "Move tab to the right"
 msgstr ""
 
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:203
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:206
 msgid "Move to \"Ungrouped\""
 msgstr ""
 
@@ -1065,7 +1073,7 @@ msgstr ""
 msgid "New item"
 msgstr ""
 
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:173
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:176
 #: tabby-settings/src/components/vaultSettingsTab.component.ts:118
 msgid "New name"
 msgstr ""
@@ -1536,6 +1544,14 @@ msgstr ""
 msgid "Search color schemes"
 msgstr ""
 
+#: tabby-settings/src/components/hotkeySettingsTab.component.ts:11
+msgid "Search hotkeys"
+msgstr ""
+
+#: tabby-plugin-manager/src/components/pluginsSettingsTab.component.ts:14
+msgid "Search plugins"
+msgstr ""
+
 #: locale/tmp-html/tabby-settings/src/components/configSyncSettingsTab.component.html:19
 msgid "Secret sync token"
 msgstr ""
@@ -1937,7 +1953,7 @@ msgstr ""
 msgid "Uninstall"
 msgstr ""
 
-#: tabby-settings/src/components/profilesSettingsTab.component.ts:237
+#: tabby-settings/src/components/profilesSettingsTab.component.ts:240
 msgid "Unknown"
 msgstr ""
 

+ 1 - 1
tabby-plugin-manager/src/components/pluginsSettingsTab.component.pug

@@ -24,7 +24,7 @@ ul.nav-tabs.mb-2(ngbNav, #nav='ngbNav')
                     type='text',
                     [(ngModel)]='_1',
                     (ngModelChange)='searchAvailable(_1)',
-                    placeholder='Search plugins'
+                    [placeholder]='"Search plugins"|translate'
                 )
 
             ngb-accordion.mb-4(*ngIf='availablePlugins$', [closeOthers]='true')

+ 3 - 0
tabby-plugin-manager/src/components/pluginsSettingsTab.component.ts

@@ -1,4 +1,5 @@
 /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
+import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import { BehaviorSubject, Observable, debounceTime, distinctUntilChanged, first, tap, flatMap, map } from 'rxjs'
 import semverGt from 'semver/functions/gt'
 
@@ -10,6 +11,8 @@ enum BusyState { Installing = 'Installing', Uninstalling = 'Uninstalling' }
 
 const FORCE_ENABLE = ['tabby-core', 'tabby-settings', 'tabby-electron', 'tabby-web', 'tabby-plugin-manager']
 
+_('Search plugins')
+
 /** @hidden */
 @Component({
     template: require('./pluginsSettingsTab.component.pug'),

+ 1 - 1
tabby-settings/src/components/hotkeySettingsTab.component.pug

@@ -4,7 +4,7 @@ h3.mb-3(translate) Hotkeys
     .input-group-prepend
         .input-group-text
             i.fas.fa-fw.fa-search
-    input.form-control(type='search', placeholder='Search hotkeys', [(ngModel)]='hotkeyFilter')
+    input.form-control(type='search', [placeholder]='"Search hotkeys"|translate', [(ngModel)]='hotkeyFilter')
 
 .form-group.hotkeys-table
     ng-container(*ngFor='let hotkey of hotkeyDescriptions')

+ 3 - 0
tabby-settings/src/components/hotkeySettingsTab.component.ts

@@ -1,4 +1,5 @@
 /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
+import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
 import { Component, NgZone } from '@angular/core'
 import {
     ConfigService,
@@ -7,6 +8,8 @@ import {
     HostAppService,
 } from 'tabby-core'
 
+_('Search hotkeys')
+
 /** @hidden */
 @Component({
     selector: 'hotkey-settings-tab',

+ 2 - 2
tabby-settings/src/components/windowSettingsTab.component.pug

@@ -318,8 +318,8 @@ h3.mt-4(translate) Hacks
 
 .form-line(*ngIf='hostApp.platform === Platform.Windows')
     .header
-        .title Disable fluent background while dragging
-        .description Fluent background sometimes causes drag lag
+        .title(translate) Disable fluent background while dragging
+        .description(translate) Fluent background sometimes causes drag lag
 
     toggle(
         [(ngModel)]='config.store.hacks.disableVibrancyWhileDragging',