From bc89774fbcfc08f9b8eedebe3fe7e7b68658d4e6 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 1 Apr 2022 12:51:53 +0200 Subject: [PATCH] added missing strings --- locale/app.pot | 36 +++++++++++++------ .../pluginsSettingsTab.component.pug | 2 +- .../pluginsSettingsTab.component.ts | 3 ++ .../hotkeySettingsTab.component.pug | 2 +- .../components/hotkeySettingsTab.component.ts | 3 ++ .../windowSettingsTab.component.pug | 4 +-- 6 files changed, 36 insertions(+), 14 deletions(-) diff --git a/locale/app.pot b/locale/app.pot index 298e95cc..a56adc86 100644 --- a/locale/app.pot +++ b/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 "" diff --git a/tabby-plugin-manager/src/components/pluginsSettingsTab.component.pug b/tabby-plugin-manager/src/components/pluginsSettingsTab.component.pug index c9cc6e2f..2c750b05 100644 --- a/tabby-plugin-manager/src/components/pluginsSettingsTab.component.pug +++ b/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') diff --git a/tabby-plugin-manager/src/components/pluginsSettingsTab.component.ts b/tabby-plugin-manager/src/components/pluginsSettingsTab.component.ts index 539a9422..68172234 100644 --- a/tabby-plugin-manager/src/components/pluginsSettingsTab.component.ts +++ b/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'), diff --git a/tabby-settings/src/components/hotkeySettingsTab.component.pug b/tabby-settings/src/components/hotkeySettingsTab.component.pug index 2c23a09d..86dfb675 100644 --- a/tabby-settings/src/components/hotkeySettingsTab.component.pug +++ b/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') diff --git a/tabby-settings/src/components/hotkeySettingsTab.component.ts b/tabby-settings/src/components/hotkeySettingsTab.component.ts index d243b598..74b04e98 100644 --- a/tabby-settings/src/components/hotkeySettingsTab.component.ts +++ b/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', diff --git a/tabby-settings/src/components/windowSettingsTab.component.pug b/tabby-settings/src/components/windowSettingsTab.component.pug index 77040985..c62b8814 100644 --- a/tabby-settings/src/components/windowSettingsTab.component.pug +++ b/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',