mirror of
https://github.com/Eugeny/tabby.git
synced 2024-09-11 13:13:59 +03:00
added missing string
This commit is contained in:
parent
f469c91786
commit
85d0b47511
@ -626,6 +626,10 @@ msgstr ""
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: tabby-electron/src/sftpContextMenu.ts:30
|
||||
msgid "Edit locally"
|
||||
msgstr ""
|
||||
|
||||
#: locale/tmp-html/tabby-plugin-manager/src/components/pluginsSettingsTab.component.html:56
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
@ -3,7 +3,7 @@ import * as path from 'path'
|
||||
import * as fs from 'fs'
|
||||
import { Subject, debounceTime, debounce } from 'rxjs'
|
||||
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 { ElectronPlatformService } from './services/platform.service'
|
||||
|
||||
@ -14,6 +14,7 @@ export class EditSFTPContextMenu extends SFTPContextMenuItemProvider {
|
||||
weight = 0
|
||||
|
||||
constructor (
|
||||
private translate: TranslateService,
|
||||
private platform: ElectronPlatformService,
|
||||
) {
|
||||
super()
|
||||
@ -26,7 +27,7 @@ export class EditSFTPContextMenu extends SFTPContextMenuItemProvider {
|
||||
return [
|
||||
{
|
||||
click: () => this.edit(item, panel.sftp),
|
||||
label: 'Edit locally',
|
||||
label: this.translate.instant('Edit locally'),
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user