mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-28 21:24:38 +00:00
added missing string
This commit is contained in:
@@ -626,6 +626,10 @@ msgstr ""
|
|||||||
msgid "Edit"
|
msgid "Edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: tabby-electron/src/sftpContextMenu.ts:30
|
||||||
|
msgid "Edit locally"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: locale/tmp-html/tabby-plugin-manager/src/components/pluginsSettingsTab.component.html:56
|
#: locale/tmp-html/tabby-plugin-manager/src/components/pluginsSettingsTab.component.html:56
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@@ -3,7 +3,7 @@ import * as path from 'path'
|
|||||||
import * as fs from 'fs'
|
import * as fs from 'fs'
|
||||||
import { Subject, debounceTime, debounce } from 'rxjs'
|
import { Subject, debounceTime, debounce } from 'rxjs'
|
||||||
import { Injectable } from '@angular/core'
|
import { Injectable } from '@angular/core'
|
||||||
import { MenuItemOptions } from 'tabby-core'
|
import { MenuItemOptions, TranslateService } from 'tabby-core'
|
||||||
import { SFTPFile, SFTPPanelComponent, SFTPContextMenuItemProvider, SFTPSession } from 'tabby-ssh'
|
import { SFTPFile, SFTPPanelComponent, SFTPContextMenuItemProvider, SFTPSession } from 'tabby-ssh'
|
||||||
import { ElectronPlatformService } from './services/platform.service'
|
import { ElectronPlatformService } from './services/platform.service'
|
||||||
|
|
||||||
@@ -14,6 +14,7 @@ export class EditSFTPContextMenu extends SFTPContextMenuItemProvider {
|
|||||||
weight = 0
|
weight = 0
|
||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
|
private translate: TranslateService,
|
||||||
private platform: ElectronPlatformService,
|
private platform: ElectronPlatformService,
|
||||||
) {
|
) {
|
||||||
super()
|
super()
|
||||||
@@ -26,7 +27,7 @@ export class EditSFTPContextMenu extends SFTPContextMenuItemProvider {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
click: () => this.edit(item, panel.sftp),
|
click: () => this.edit(item, panel.sftp),
|
||||||
label: 'Edit locally',
|
label: this.translate.instant('Edit locally'),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user