368 lines
12 KiB
TypeScript
368 lines
12 KiB
TypeScript
export default {
|
|
locale: 'en-US',
|
|
common: {
|
|
ok: 'OK',
|
|
cancel: 'Cancel',
|
|
edit: 'Edit',
|
|
delete: 'Delete',
|
|
confirm: 'Confirm',
|
|
save: 'Save',
|
|
reset: 'Reset'
|
|
},
|
|
titlebar: {
|
|
minimize: 'Minimize',
|
|
maximize: 'Maximize',
|
|
restore: 'Restore Down',
|
|
close: 'Close'
|
|
},
|
|
toolbar: {
|
|
editor: {
|
|
lines: 'Ln',
|
|
characters: 'Ch',
|
|
selected: 'Sel'
|
|
},
|
|
fontSizeTooltip: 'Font Size (Ctrl+wheel to adjust)',
|
|
settings: 'Settings',
|
|
alwaysOnTop: 'Always on Top',
|
|
blockLanguage: 'Block Language',
|
|
searchLanguage: 'Search language...',
|
|
noLanguageFound: 'No language found',
|
|
formatHint: 'Click Format Block (Ctrl+Shift+F)',
|
|
previewMarkdown: 'Preview Markdown',
|
|
closePreview: 'Close Preview',
|
|
// Document selector
|
|
selectDocument: 'Select Document',
|
|
searchOrCreateDocument: 'Search or enter new document name...',
|
|
createDocument: 'Create',
|
|
noDocumentFound: 'No document found',
|
|
loading: 'Loading...',
|
|
rename: 'Rename',
|
|
delete: 'Delete',
|
|
confirm: 'Confirm',
|
|
confirmDelete: 'Click again to confirm delete',
|
|
openInNewWindow: 'Open in New Window',
|
|
alreadyOpenInNewWindow: 'Already open in another window',
|
|
},
|
|
languages: {
|
|
'zh-CN': 'Chinese',
|
|
'en-US': 'English'
|
|
},
|
|
systemTheme: {
|
|
dark: 'Dark',
|
|
light: 'Light',
|
|
auto: 'Follow System'
|
|
},
|
|
keybindings: {
|
|
keymapMode: 'Keymap Mode',
|
|
modes: {
|
|
standard: 'Standard Mode',
|
|
emacs: 'Emacs Mode'
|
|
},
|
|
headers: {
|
|
shortcut: 'Shortcut',
|
|
extension: 'Extension',
|
|
description: 'Description'
|
|
},
|
|
resetToDefault: 'Reset to Default',
|
|
confirmReset: 'Confirm Reset?',
|
|
noKeybinding: 'Not Set',
|
|
waitingForKey: 'Waiting...',
|
|
clickToSet: 'Click to set keybinding',
|
|
editKeybinding: 'Edit keybinding',
|
|
config: {
|
|
enabled: 'Enabled',
|
|
preventDefault: 'Prevent Default',
|
|
keybinding: 'Keybinding'
|
|
},
|
|
keyPlaceholder: 'Enter key, press Enter to add',
|
|
invalidFormat: 'Invalid format',
|
|
conflict: 'Conflict: {command}',
|
|
maxKeysReached: 'Maximum 4 keys allowed',
|
|
commands: {
|
|
showSearch: 'Show search panel',
|
|
hideSearch: 'Hide search panel',
|
|
searchToggleCase: 'Toggle case-sensitive matching',
|
|
searchToggleWord: 'Toggle whole word matching',
|
|
searchToggleRegex: 'Toggle regular expression matching',
|
|
searchShowReplace: 'Show replace functionality',
|
|
searchReplaceAll: 'Replace all matches',
|
|
blockSelectAll: 'Select all in block',
|
|
blockAddAfterCurrent: 'Add new block after current',
|
|
blockAddAfterLast: 'Add new block at end',
|
|
blockAddBeforeCurrent: 'Add new block before current',
|
|
blockGotoPrevious: 'Go to previous block',
|
|
blockGotoNext: 'Go to next block',
|
|
blockSelectPrevious: 'Select previous block',
|
|
blockSelectNext: 'Select next block',
|
|
blockDelete: 'Delete current block',
|
|
blockMoveUp: 'Move current block up',
|
|
blockMoveDown: 'Move current block down',
|
|
blockDeleteLine: 'Delete line',
|
|
blockMoveLineUp: 'Move line up',
|
|
blockMoveLineDown: 'Move line down',
|
|
blockTransposeChars: 'Transpose characters',
|
|
blockFormat: 'Format code block',
|
|
blockCopy: 'Copy',
|
|
blockCut: 'Cut',
|
|
blockPaste: 'Paste',
|
|
copyBlockImage: 'Copy block image',
|
|
historyUndo: 'Undo',
|
|
historyRedo: 'Redo',
|
|
historyUndoSelection: 'Undo selection',
|
|
historyRedoSelection: 'Redo selection',
|
|
foldCode: 'Fold code',
|
|
unfoldCode: 'Unfold code',
|
|
foldAll: 'Fold all',
|
|
unfoldAll: 'Unfold all',
|
|
cursorSyntaxLeft: 'Cursor syntax left',
|
|
cursorSyntaxRight: 'Cursor syntax right',
|
|
selectSyntaxLeft: 'Select syntax left',
|
|
selectSyntaxRight: 'Select syntax right',
|
|
copyLineUp: 'Copy line up',
|
|
copyLineDown: 'Copy line down',
|
|
insertBlankLine: 'Insert blank line',
|
|
selectLine: 'Select line',
|
|
selectParentSyntax: 'Select parent syntax',
|
|
simplifySelection: 'Simplify selection',
|
|
addCursorAbove: 'Add cursor above',
|
|
addCursorBelow: 'Add cursor below',
|
|
cursorGroupLeft: 'Cursor word left',
|
|
cursorGroupRight: 'Cursor word right',
|
|
selectGroupLeft: 'Select word left',
|
|
selectGroupRight: 'Select word right',
|
|
deleteToLineEnd: 'Delete to line end',
|
|
deleteToLineStart: 'Delete to line start',
|
|
cursorLineStart: 'Cursor to line start',
|
|
cursorLineEnd: 'Cursor to line end',
|
|
selectLineStart: 'Select to line start',
|
|
selectLineEnd: 'Select to line end',
|
|
cursorDocStart: 'Cursor to document start',
|
|
cursorDocEnd: 'Cursor to document end',
|
|
selectDocStart: 'Select to document start',
|
|
selectDocEnd: 'Select to document end',
|
|
selectMatchingBracket: 'Select to matching bracket',
|
|
splitLine: 'Split line',
|
|
indentLess: 'Indent less',
|
|
indentMore: 'Indent more',
|
|
indentSelection: 'Indent selection',
|
|
cursorMatchingBracket: 'Cursor matching bracket',
|
|
toggleComment: 'Toggle comment',
|
|
toggleBlockComment: 'Toggle block comment',
|
|
insertNewlineAndIndent: 'Insert newline and indent',
|
|
deleteCharBackward: 'Delete character backward',
|
|
deleteCharForward: 'Delete character forward',
|
|
deleteGroupBackward: 'Delete group backward',
|
|
deleteGroupForward: 'Delete group forward',
|
|
|
|
// Emacs mode additional basic navigation commands
|
|
cursorCharLeft: 'Cursor left one character',
|
|
cursorCharRight: 'Cursor right one character',
|
|
cursorLineUp: 'Cursor up one line',
|
|
cursorLineDown: 'Cursor down one line',
|
|
cursorPageUp: 'Page up',
|
|
cursorPageDown: 'Page down',
|
|
selectCharLeft: 'Select left one character',
|
|
selectCharRight: 'Select right one character',
|
|
selectLineUp: 'Select up one line',
|
|
selectLineDown: 'Select down one line',
|
|
}
|
|
},
|
|
tabs: {
|
|
contextMenu: {
|
|
closeTab: 'Close Tab',
|
|
closeOthers: 'Close Others',
|
|
closeLeft: 'Close Left',
|
|
closeRight: 'Close Right'
|
|
}
|
|
},
|
|
settings: {
|
|
title: 'Settings',
|
|
backToEditor: 'Back to Editor',
|
|
systemInfo: 'System Info',
|
|
general: 'General',
|
|
editing: 'Editor',
|
|
appearance: 'Appearance',
|
|
backupPage: 'Backup',
|
|
keyBindings: 'Key Bindings',
|
|
updates: 'Updates',
|
|
reset: 'Reset',
|
|
apply: 'Apply',
|
|
cancel: 'Cancel',
|
|
dangerZone: 'Danger Zone',
|
|
resetAllSettings: 'Reset All Settings',
|
|
confirmReset: 'Confirm the reset?',
|
|
globalHotkey: 'Global Keyboard Shortcuts',
|
|
enableGlobalHotkey: 'Enable Global Hotkeys',
|
|
window: 'Window/Application',
|
|
showInSystemTray: 'Show in System Tray',
|
|
enableSystemTray: 'Enable System Tray',
|
|
alwaysOnTop: 'Always on Top',
|
|
enableWindowSnap: 'Enable Window Snapping',
|
|
enableLoadingAnimation: 'Enable Loading Animation',
|
|
enableTabs: 'Enable Tabs',
|
|
enableMemoryMonitor: 'Enable Memory Monitor',
|
|
startup: 'Startup Settings',
|
|
startAtLogin: 'Start at Login',
|
|
dataStorage: 'Data Storage',
|
|
dataPath: 'Data Storage Path',
|
|
clickToSelectPath: 'Click to select path',
|
|
resetDefault: 'Reset Default',
|
|
resetToDefaultPath: 'Reset to default path',
|
|
fontSize: 'Font Size',
|
|
fontSettings: 'Font Settings',
|
|
fontFamily: 'Font Family',
|
|
fontWeight: 'Font Weight',
|
|
customThemeColors: 'Custom Theme Colors',
|
|
resetToDefault: 'Reset to Default',
|
|
colorValue: 'Color Value',
|
|
lineHeight: 'Line Height',
|
|
tabSettings: 'Tab Settings',
|
|
tabSize: 'Tab Size',
|
|
tabType: 'Tab Type',
|
|
spaces: 'Spaces',
|
|
tabs: 'Tabs',
|
|
enableTabIndent: 'Enable Tab Indent',
|
|
language: 'Interface Language',
|
|
systemTheme: 'System Theme',
|
|
presetTheme: 'Preset Theme',
|
|
saveOptions: 'Save Options',
|
|
autoSaveDelay: 'Auto Save Delay (ms)',
|
|
updateSettings: 'Update Settings',
|
|
autoCheckUpdates: 'Automatically Check Updates',
|
|
autoCheckUpdatesDescription: 'Check for updates when application starts',
|
|
manualCheck: 'Manual Update',
|
|
currentVersion: 'Current Version',
|
|
checkForUpdates: 'Check for Updates',
|
|
checking: 'Checking...',
|
|
checkFailed: 'Check Failed',
|
|
newVersionAvailable: 'New Version Available',
|
|
upToDate: 'Up to Date',
|
|
viewUpdate: 'View Update',
|
|
releaseNotes: 'Release Notes',
|
|
networkError: 'Network connection error, please check your network settings',
|
|
extensions: 'Extensions',
|
|
extensionsPage: {
|
|
loading: 'Loading',
|
|
categoryEditing: 'Editing Enhancement',
|
|
categoryUI: 'UI Enhancement',
|
|
categoryTools: 'Tools',
|
|
enabled: 'Enabled',
|
|
configuration: 'Configuration',
|
|
resetToDefault: 'Reset to Default Configuration',
|
|
},
|
|
updateNow: 'Update Now',
|
|
updating: 'Updating...',
|
|
updateSuccess: 'Update Success',
|
|
updateSuccessRestartRequired: 'Update has been successfully applied. Please restart the application.',
|
|
restartNow: 'Restart Now',
|
|
hotkeyPreview: 'Preview:',
|
|
none: 'None',
|
|
backup: {
|
|
basicSettings: 'Basic Settings',
|
|
enableBackup: 'Enable Git Backup',
|
|
autoBackup: 'Auto Backup',
|
|
backupInterval: 'Backup Interval',
|
|
intervals: {
|
|
'5min': '5 minutes',
|
|
'10min': '10 minutes',
|
|
'15min': '15 minutes',
|
|
'30min': '30 minutes',
|
|
'1hour': '1 hour'
|
|
},
|
|
repositoryConfig: 'Repository Configuration',
|
|
repoUrl: 'Repository URL',
|
|
repoUrlPlaceholder: 'Enter Git repository URL',
|
|
authConfig: 'Authentication Configuration',
|
|
authMethod: 'Authentication Method',
|
|
authMethods: {
|
|
token: 'Access Token',
|
|
sshKey: 'SSH Key',
|
|
userPass: 'Username/Password'
|
|
},
|
|
username: 'Username',
|
|
usernamePlaceholder: 'Enter username',
|
|
password: 'Password',
|
|
passwordPlaceholder: 'Enter password',
|
|
token: 'Access Token',
|
|
tokenPlaceholder: 'Enter access token',
|
|
sshKeyPath: 'SSH Key Path',
|
|
sshKeyPathPlaceholder: 'Select SSH key file',
|
|
sshKeyPassphrase: 'SSH Key Passphrase',
|
|
sshKeyPassphrasePlaceholder: 'Enter SSH key passphrase',
|
|
backupOperations: 'Backup Operations',
|
|
syncToRemote: 'Sync to Remote',
|
|
syncing: 'Syncing...',
|
|
actions: {
|
|
sync: 'Sync',
|
|
}
|
|
},
|
|
},
|
|
extensions: {
|
|
rainbowBrackets: {
|
|
name: 'Rainbow Brackets',
|
|
description: 'Display nested brackets in different colors'
|
|
},
|
|
hyperlink: {
|
|
name: 'Hyperlink',
|
|
description: 'Recognize and make hyperlinks clickable'
|
|
},
|
|
colorSelector: {
|
|
name: 'Color Selector',
|
|
description: 'CSS code block visual color picker and color value display'
|
|
},
|
|
translator: {
|
|
name: 'Text Translator',
|
|
description: 'Translate selected text with multiple translation services'
|
|
},
|
|
minimap: {
|
|
name: 'Minimap',
|
|
description: 'Display minimap overview of the document'
|
|
},
|
|
search: {
|
|
name: 'Search',
|
|
description: 'Text search and replace functionality'
|
|
},
|
|
fold: {
|
|
name: 'Code Folding',
|
|
description: 'Collapse and expand code sections for better readability'
|
|
},
|
|
markdown: {
|
|
name: 'Markdown Renderer',
|
|
description: 'Render Markdown elements, "what you see is what you get"'
|
|
},
|
|
codeblock: {
|
|
name: 'Code Block',
|
|
description: 'Code block related functionality'
|
|
},
|
|
lineNumbers: {
|
|
name: 'Line Numbers',
|
|
description: 'Display line numbers on the left side of the editor and highlight the current line'
|
|
},
|
|
contextMenu: {
|
|
name: 'Context Menu',
|
|
description: 'Show context menu when right-clicking in the editor'
|
|
},
|
|
highlightWhitespace: {
|
|
name: 'Highlight Whitespace',
|
|
description: 'Display whitespace characters such as spaces and tabs in the editor'
|
|
},
|
|
highlightTrailingWhitespace: {
|
|
name: 'Highlight Trailing Whitespace',
|
|
description: 'Highlight trailing whitespace at the end of lines'
|
|
},
|
|
httpClient: {
|
|
name: 'HTTP Client',
|
|
description: 'Send HTTP requests directly in the editor and view responses'
|
|
},
|
|
blockImage: {
|
|
name: 'Block Image Export',
|
|
description: 'Render the current code block to an image and copy it to the clipboard',
|
|
copyMenu: 'Copy block as image'
|
|
}
|
|
},
|
|
monitor: {
|
|
memory: 'Memory',
|
|
clickToClean: 'Click to clean memory'
|
|
}
|
|
};
|