Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
feat(i18n): comprehensive localization across app UI, settings, onboarding, and tray menus with haptic feedback
Deepender25830b5e2c934a
diff --git a/electron/main/index.ts b/electron/main/index.tsindex 8ea5de4..0959173 100644--- a/electron/main/index.ts+++ b/electron/main/index.ts@@ -15,7 +15,7 @@ import { createWindow, getMainWindow, setInteractive, setVisible, startCursorPolimport { createTray, registerIncognitoApplier } from './tray'import { registerIpc, registerSendListeners } from './ipc'import { prewarmDragIcons } from './drag'-import { initState, getWatcher, loadSettings, pushState, stopStateTimers } from './state'+import { initState, getWatcher, loadSettings, saveSettings, pushState, stopStateTimers } from './state'import { initAutoUpdater } from './updater'import { createOnboardingWindow } from './onboardingWindow'import { startFullscreenMonitor, stopFullscreenMonitor, triggerFullscreenCheck } from './fullscreen'@@ -112,13 +112,17 @@ app.whenReady().then(() => {prewarmDragIcons()// Reflect settings immediately.- const settings = loadSettings()- setHotZoneWidth(settings.hotZoneWidth || 3)+ let settings = loadSettings()if (!settings.tutorialCompleted) {+ // When onboarding is active (initial launch or reset tutorial), reset language to system default so onboarding always begins in System Default+ if (settings.language !== 'system') {+ settings = saveSettings({ language: 'system' })+ }setTimeout(() => {createOnboardingWindow()}, 2000)}+ setHotZoneWidth(settings.hotZoneWidth || 3)if (app.isPackaged) {try {diff --git a/electron/main/state.ts b/electron/main/state.tsindex 03b84ac..12a0749 100644--- a/electron/main/state.ts+++ b/electron/main/state.ts@@ -10,9 +10,8 @@ import { ClipboardWatcher } from '../clipboard/ClipboardWatcher'import { loadSettings, saveSettings } from '../store/settings'import type { ClipboardItemDto, Settings } from '../../shared/types'import { MAX_STACK } from '../../shared/types'-import { getMainWindow } from './window'import { createId } from '../store/ids'-import { nativeImage } from 'electron'+import { nativeImage, BrowserWindow } from 'electron'import { readFileSync } from 'node:fs'import { PATHS } from '../store/paths'import { prefetchFileIcons } from './drag'@@ -81,11 +80,14 @@ export function getWatcher(): ClipboardWatcher {return watcher}-/** Push the full item list (DTO) to the renderer, if it's ready. */+/** Push updates to all open windows (main window, onboarding window, etc.). */function send(channel: string, ...args: unknown[]): void {if (runtime.quitting) return- const win = getMainWindow()- if (win && !win.isDestroyed() && !win.webContents.isDestroyed()) win.webContents.send(channel, ...args)+ for (const win of BrowserWindow.getAllWindows()) {+ if (!win.isDestroyed() && !win.webContents.isDestroyed()) {+ win.webContents.send(channel, ...args)+ }+ }}export const pushState = {diff --git a/electron/main/tray.ts b/electron/main/tray.tsindex 61f1b48..e301403 100644--- a/electron/main/tray.ts+++ b/electron/main/tray.ts@@ -13,6 +13,7 @@ import { loadSettings, saveSettings } from '../store/settings'import { getMainWindow, setVisible, repositionWindow, getDisplayListOptions, registerWindowRepositionListener, popUpAndRetract } from './window'import type { StickPosition } from '../../shared/types'import { pushState } from './state'+import { TRANSLATIONS, en } from '../../src/i18n/translations'let tray: Tray | null = null@@ -48,9 +49,10 @@ export function createTray(): Tray {if (!existsSync(PATHS.indexFile())) {try {if (Notification.isSupported()) {+ const initialSettings = loadSettings()new Notification({- title: 'Edge-Drop Clipboard Shelf',- body: 'Hover against the middle-left screen edge, or press Alt+C to slide open your shelf.',+ title: getTrayText(initialSettings.language, 'welcomeTitle'),+ body: getTrayText(initialSettings.language, 'welcomeBody'),icon: PATHS.icon()}).show()}@@ -81,8 +83,12 @@ export function createTray(): Tray {}function buildStickSubmenu(current: StickPosition): Electron.MenuItemConstructorOptions[] {- return (['left', 'right'] as StickPosition[]).map((pos) => ({- label: pos.charAt(0).toUpperCase() + pos.slice(1),+ const settings = loadSettings()+ return ([+ { pos: 'left' as const, labelKey: 'left' as const },+ { pos: 'right' as const, labelKey: 'right' as const }+ ]).map(({ pos, labelKey }) => ({+ label: getTrayText(settings.language, labelKey),type: 'radio' as const,checked: current === pos,click: () => {@@ -95,11 +101,32 @@ export function createTray(): Tray {}))}+function getTrayText(settingsLang: string | undefined, key: keyof typeof en['tray']): string {+ let langCode = settingsLang || 'system'+ if (langCode === 'system') {+ const sysLangs = app.getPreferredSystemLanguages()+ const first = (sysLangs[0] || '').toLowerCase()+ if (first.startsWith('zh-tw') || first.startsWith('zh-hk')) langCode = 'zh-TW'+ else if (first.startsWith('zh')) langCode = 'zh-CN'+ else if (first.startsWith('es')) langCode = 'es'+ else if (first.startsWith('fr')) langCode = 'fr'+ else if (first.startsWith('de')) langCode = 'de'+ else if (first.startsWith('hi')) langCode = 'hi'+ else if (first.startsWith('ja')) langCode = 'ja'+ else if (first.startsWith('ru')) langCode = 'ru'+ else langCode = 'en'+ }+ const dict = TRANSLATIONS[langCode]+ return (dict?.tray?.[key]) || en.tray[key] || key+}+const rebuild = () => {const settings = loadSettings()+ const t = (k: keyof typeof en['tray']) => getTrayText(settings.language, k)+const menu = Menu.buildFromTemplate([{- label: 'Show Clipboard',+ label: t('showClipboard'),click: () => {console.log('[Main] Context menu "Show Clipboard" clicked')setVisible(true)@@ -108,7 +135,7 @@ export function createTray(): Tray {}},{- label: 'Settings',+ label: t('settings'),click: () => {console.log('[Main] Context menu "Settings" clicked')setVisible(true)@@ -118,7 +145,7 @@ export function createTray(): Tray {},{ type: 'separator' },{- label: 'Incognito (pause capture)',+ label: t('incognito'),type: 'checkbox',checked: settings.incognito,click: (item) => {@@ -129,7 +156,7 @@ export function createTray(): Tray {}},{- label: 'Hover Trigger (open on hover)',+ label: t('hoverTrigger'),type: 'checkbox',checked: settings.hoverActivation ?? true,click: (item) => {@@ -143,16 +170,16 @@ export function createTray(): Tray {},{ type: 'separator' },{- label: 'Stick to',+ label: t('stickTo'),submenu: buildStickSubmenu(settings.stickPosition)},{- label: 'Display',+ label: t('display'),submenu: buildDisplaySubmenu()},{ type: 'separator' },{- label: 'Quit Edge-Drop',+ label: t('quit'),click: () => {app.quit()}diff --git a/electron/main/window.ts b/electron/main/window.tsindex 27a38ab..7511682 100644--- a/electron/main/window.ts+++ b/electron/main/window.ts@@ -22,12 +22,13 @@** NOTE: this module must NOT import from state.ts to avoid circular dependencies.*/-import { BrowserWindow, screen, shell, powerMonitor } from 'electron'+import { BrowserWindow, screen, shell, powerMonitor, app } from 'electron'import { join } from 'node:path'import { existsSync } from 'node:fs'import { APP_CONFIG } from './config'import { runtime } from './config'import { PATHS } from '../store/paths'+import { TRANSLATIONS, en } from '../../src/i18n/translations'import { computeStickBounds } from './geometry'import { loadSettings, saveSettings } from '../store/settings'import { isFullscreenAppActive, registerFullscreenActiveListener } from './fullscreen'@@ -614,13 +615,31 @@ export function getDisplayListOptions(): Array<{const primary = screen.getPrimaryDisplay()const activeId = getActiveDisplayId(all)+ const settings = loadSettings()+ let langCode = settings.language || 'system'+ if (langCode === 'system') {+ const sysLangs = app.getPreferredSystemLanguages()+ const first = (sysLangs[0] || '').toLowerCase()+ if (first.startsWith('zh-tw') || first.startsWith('zh-hk')) langCode = 'zh-TW'+ else if (first.startsWith('zh')) langCode = 'zh-CN'+ else if (first.startsWith('es')) langCode = 'es'+ else if (first.startsWith('fr')) langCode = 'fr'+ else if (first.startsWith('de')) langCode = 'de'+ else if (first.startsWith('hi')) langCode = 'hi'+ else if (first.startsWith('ja')) langCode = 'ja'+ else if (first.startsWith('ru')) langCode = 'ru'+ else langCode = 'en'+ }+ const dict = TRANSLATIONS[langCode]+ const primaryText = dict?.position?.primaryDisplay || en.position.primaryDisplay+return all.map((d, index) => {const isPrimary = d.id === primary.idconst rawName = (d as any).label || (d as any).name || ''- const fallbackName = isPrimary ? 'Primary Monitor' : `Display ${index + 1}`+ const fallbackName = isPrimary ? primaryText : `Display ${index + 1}`const baseName = rawName.trim() ? rawName.trim() : fallbackNameconst name = isPrimary- ? (baseName.toLowerCase().includes('primary') ? baseName : `${baseName} (Primary)`)+ ? (baseName.toLowerCase().includes('primary') || baseName === primaryText ? baseName : `${baseName} (${primaryText})`): baseNameconst scale = d.scaleFactor || 1const physW = Math.round(d.bounds.width * scale)diff --git a/electron/store/settings.ts b/electron/store/settings.tsindex eb072bd..aaafffc 100644--- a/electron/store/settings.ts+++ b/electron/store/settings.ts@@ -24,6 +24,9 @@ function merge(base: Settings, patch: Partial<Settings>): Settings {if (out.triggerAlignment !== 'top' && out.triggerAlignment !== 'center' && out.triggerAlignment !== 'bottom') {out.triggerAlignment = 'center'}+ if (typeof out.language !== 'string' || !out.language.trim()) {+ out.language = 'system'+ }return out}diff --git a/package-lock.json b/package-lock.jsonindex 8c22681..42b8300 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "edge-drop",- "version": "0.2.2",+ "version": "0.2.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "edge-drop",- "version": "0.2.2",+ "version": "0.2.1","license": "Apache-2.0","dependencies": {"@iconify-json/cuida": "^1.2.5",@@ -28,6 +28,7 @@"@types/node": "^20.11.30","@types/react": "^18.2.73","@types/react-dom": "^18.2.22",+ "@vitalets/google-translate-api": "^9.2.1","@vitejs/plugin-react": "^4.2.1","electron": "^34.2.0","electron-builder": "^26.15.3",@@ -2816,6 +2817,13 @@"dev": true,"license": "MIT"},+ "node_modules/@types/http-errors": {+ "version": "1.8.2",+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.2.tgz",+ "integrity": "sha512-EqX+YQxINb+MeXaIqYDASb6U6FCHbWjkj4a1CKDBks3d/QiB2+PqBLyO72vLDgAO1wUI4O+9gweRcQK11bTL/w==",+ "dev": true,+ "license": "MIT"+ },"node_modules/@types/keyv": {"version": "3.1.4","resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz",@@ -2892,6 +2900,21 @@"@types/node": "*"}},+ "node_modules/@vitalets/google-translate-api": {+ "version": "9.2.1",+ "resolved": "https://registry.npmjs.org/@vitalets/google-translate-api/-/google-translate-api-9.2.1.tgz",+ "integrity": "sha512-zlwQWSjXUZhbZQ6qwtIQ7GdYXFQmJ4wYqzcrYJUxtvzQQwUP+uKUb/SRJaBOQuBntjBjzcdcJoLFrpCKUbIkOg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/http-errors": "^1.8.2",+ "http-errors": "^2.0.0",+ "node-fetch": "^2.6.7"+ },+ "engines": {+ "node": ">=14"+ }+ },"node_modules/@vitejs/plugin-react": {"version": "4.7.0","resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",@@ -3911,6 +3934,16 @@"node": ">=0.4.0"}},+ "node_modules/depd": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/detect-libc": {"version": "2.1.2","resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",@@ -5110,6 +5143,27 @@"dev": true,"license": "BSD-2-Clause"},+ "node_modules/http-errors": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "depd": "~2.0.0",+ "inherits": "~2.0.4",+ "setprototypeof": "~1.2.0",+ "statuses": "~2.0.2",+ "toidentifier": "~1.0.1"+ },+ "engines": {+ "node": ">= 0.8"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },"node_modules/http-proxy-agent": {"version": "7.0.2","resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",@@ -5922,6 +5976,27 @@"node": ">=10"}},+ "node_modules/node-fetch": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",+ "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "whatwg-url": "^5.0.0"+ },+ "engines": {+ "node": "4.x || >=6.0.0"+ },+ "peerDependencies": {+ "encoding": "^0.1.0"+ },+ "peerDependenciesMeta": {+ "encoding": {+ "optional": true+ }+ }+ },"node_modules/node-gyp": {"version": "12.4.0","resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-12.4.0.tgz",@@ -6656,6 +6731,13 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/setprototypeof": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",+ "dev": true,+ "license": "ISC"+ },"node_modules/shebang-command": {"version": "2.0.0","resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",@@ -6775,6 +6857,16 @@"node": ">= 6"}},+ "node_modules/statuses": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 0.8"+ }+ },"node_modules/std-env": {"version": "4.2.0","resolved": "https://registry.npmjs.org/std-env/-/std-env-4.2.0.tgz",@@ -7051,6 +7143,23 @@"tmp": "^0.2.0"}},+ "node_modules/toidentifier": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=0.6"+ }+ },+ "node_modules/tr46": {+ "version": "0.0.3",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",+ "dev": true,+ "license": "MIT"+ },"node_modules/truncate-utf8-bytes": {"version": "1.0.2","resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz",@@ -7497,6 +7606,24 @@"tslib": "^2.8.1"}},+ "node_modules/webidl-conversions": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",+ "dev": true,+ "license": "BSD-2-Clause"+ },+ "node_modules/whatwg-url": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "tr46": "~0.0.3",+ "webidl-conversions": "^3.0.0"+ }+ },"node_modules/which": {"version": "5.0.0","resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz",diff --git a/package.json b/package.jsonindex 4c9f789..19161c5 100644--- a/package.json+++ b/package.json@@ -76,6 +76,7 @@"@types/node": "^20.11.30","@types/react": "^18.2.73","@types/react-dom": "^18.2.22",+ "@vitalets/google-translate-api": "^9.2.1","@vitejs/plugin-react": "^4.2.1","electron": "^34.2.0","electron-builder": "^26.15.3",@@ -100,4 +101,4 @@"svg-path-bbox": "^2.1.0","zustand": "^4.5.2"}-}\ No newline at end of file+}diff --git a/shared/types.ts b/shared/types.tsindex cf1dc82..4c835e5 100644--- a/shared/types.ts+++ b/shared/types.ts@@ -166,6 +166,8 @@ export interface Settings {fontSizeScale?: number/** When true, automatically checks for and downloads app updates in background. Default: true. */autoUpdates?: boolean+ /** Active UI language code ('system' | 'en' | 'es' | 'fr' | 'de' | ...). Default: 'system'. */+ language?: string}export const DEFAULT_SETTINGS: Settings = {@@ -195,7 +197,8 @@ export const DEFAULT_SETTINGS: Settings = {lastSeenChangelogVersion: undefined,hoverActivation: true,fontSizeScale: 1.0,- autoUpdates: true+ autoUpdates: true,+ language: 'system'}diff --git a/src/Onboarding.tsx b/src/Onboarding.tsxindex e5b5918..6adbb8a 100644--- a/src/Onboarding.tsx+++ b/src/Onboarding.tsx@@ -1,90 +1,101 @@-import { useState } from 'react'+import { useState, useEffect } from 'react'import { motion, AnimatePresence } from 'framer-motion'import logoUrl from './assets/logo.svg'import { Settings } from './components/Settings'--const slides = [- {- id: 'slide-1',- title: 'Welcome to Edge-Drop',- description: 'Edge-Drop lives hidden on the left edge of your screen. Simply move your mouse to the left edge to open the panel, and move away to hide it.',- videoSrc: 'welcome.webm',- placeholderColor: 'linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%)'- },- {- id: 'slide-2',- title: 'Collect Anything',- description: 'Whenever you press Ctrl+C to copy text, images, or files, Edge-Drop automatically catches and saves them in the background.',- videoSrc: 'copy.webm',- placeholderColor: 'linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%)'- },- {- id: 'slide-3',- title: 'Drag & Drop Anywhere',- description: 'Need to use an item? Just open the panel and drag the card directly into any application, folder, or document.',- videoSrc: 'drag.webm',- placeholderColor: 'linear-gradient(135deg, #43E97B 0%, #38F9D7 100%)'- },- {- id: 'slide-4',- title: 'Explore File Stacks',- description: 'Copying multiple files groups them into a stack. You can drag the entire stack, or click it to view and extract individual files.',- videoSrc: 'stack.webm',- placeholderColor: 'linear-gradient(135deg, #FA709A 0%, #FEE140 100%)'- },- {- id: 'slide-5-ungroup',- title: 'Ungroup & Split Stacks',- description: 'Want to separate items in a stack? Click to expand the stack, then drag any subitem to the left edge of the screen. A glowing coral bar will appear—drop the item on it to extract it back into a standalone card.',- videoSrc: 'ungroup.webm',- placeholderColor: 'linear-gradient(135deg, #FAD961 0%, #F76B1C 100%)'- },- {- id: 'slide-5',- title: 'Combine & Merge Items',- description: 'Combine separate file or image cards by dragging them directly onto each other. This organizes your shelf by bundling related assets into a stack.',- videoSrc: 'merge.webm',- placeholderColor: 'linear-gradient(135deg, #667EEA 0%, #764BA2 100%)'- },- {- id: 'slide-preview',- title: 'Preview Flyout',- description: 'Click the preview button on any card to open a side flyout. Inspect high-resolution images, browse file collections, read long text snippets, or drag items directly from the preview.',- videoSrc: 'preview.webm',- placeholderColor: 'linear-gradient(135deg, #A855F7 0%, #EC4899 100%)'- },- {- id: 'slide-6',- title: 'Configure Your Clipboard',- description: 'Customize how Edge-Drop works for you.',- videoSrc: '',- placeholderColor: 'transparent'- }-]+import { useTranslation } from './i18n'+import { useStore } from './store/appStore'+import { edge } from './lib/edge'export function Onboarding() {+ const { t } = useTranslation()const [currentIndex, setCurrentIndex] = useState(0)- const handleNext = () => {+ useEffect(() => {+ void useStore.getState().hydrate()+ const offSettings = edge.onSettings((next) => {+ useStore.getState().setSettings(next)+ })+ return () => {+ offSettings()+ }+ }, [])++ const slides = [+ {+ id: 'slide-1',+ title: t('onboarding.welcomeTitle'),+ description: t('onboarding.welcomeDesc'),+ videoSrc: 'welcome.webm',+ placeholderColor: 'linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%)'+ },+ {+ id: 'slide-2',+ title: t('onboarding.collectTitle'),+ description: t('onboarding.collectDesc'),+ videoSrc: 'copy.webm',+ placeholderColor: 'linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%)'+ },+ {+ id: 'slide-3',+ title: t('onboarding.dragTitle'),+ description: t('onboarding.dragDesc'),+ videoSrc: 'drag.webm',+ placeholderColor: 'linear-gradient(135deg, #43E97B 0%, #38F9D7 100%)'+ },+ {+ id: 'slide-4',+ title: t('onboarding.stacksTitle'),+ description: t('onboarding.stacksDesc'),+ videoSrc: 'stack.webm',+ placeholderColor: 'linear-gradient(135deg, #FA709A 0%, #FEE140 100%)'+ },+ {+ id: 'slide-5-ungroup',+ title: t('onboarding.ungroupTitle'),+ description: t('onboarding.ungroupDesc'),+ videoSrc: 'ungroup.webm',+ placeholderColor: 'linear-gradient(135deg, #FAD961 0%, #F76B1C 100%)'+ },+ {+ id: 'slide-5',+ title: t('onboarding.mergeTitle'),+ description: t('onboarding.mergeDesc'),+ videoSrc: 'merge.webm',+ placeholderColor: 'linear-gradient(135deg, #667EEA 0%, #764BA2 100%)'+ },+ {+ id: 'slide-preview',+ title: t('onboarding.previewTitle'),+ description: t('onboarding.previewDesc'),+ videoSrc: 'preview.webm',+ placeholderColor: 'linear-gradient(135deg, #A855F7 0%, #EC4899 100%)'+ },+ {+ id: 'slide-6',+ title: t('onboarding.configTitle'),+ description: t('onboarding.configDesc'),+ videoSrc: '',+ placeholderColor: 'transparent'+ }+ ]++ const handleNext = async () => {if (currentIndex < slides.length - 1) {setCurrentIndex(currentIndex + 1)} else {- finish()+ await useStore.getState().patchSettings({ tutorialCompleted: true })+ window.close()}}- const handleSkip = () => {- setCurrentIndex(slides.length - 1)- }-const handlePrev = () => {if (currentIndex > 0) {setCurrentIndex(currentIndex - 1)}}- const finish = async () => {- await window.edge.updateSettings({ tutorialCompleted: true })+ const handleSkip = async () => {+ await useStore.getState().patchSettings({ tutorialCompleted: true })window.close()}@@ -94,112 +105,79 @@ export function Onboarding() {<div style={{width: '100vw',height: '100vh',- display: 'flex',- flexDirection: 'column',background: '#121212',color: '#fff',- overflow: 'hidden',- fontFamily: 'system-ui, -apple-system, sans-serif'+ display: 'flex',+ flexDirection: 'column',+ userSelect: 'none',+ fontFamily: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'}}>- {/* Titlebar & Header */}+ {/* Header Bar */}<div style={{- height: '60px',+ height: '64px',+ padding: '0 32px',display: 'flex',- justifyContent: 'space-between',alignItems: 'center',- padding: '16px 24px',- boxSizing: 'border-box',- ...({ WebkitAppRegion: 'drag' } as any)+ justifyContent: 'space-between',+ borderBottom: '1px solid #262626'}}>- {/* Logo Area */}- <div style={{ display: 'flex', alignItems: 'center', gap: '0px' }}>- <img src={logoUrl} alt="Edge-Drop Logo" style={{ width: '42px', height: '42px' }} />- </div>-- {/* Header Controls */}- <div style={{ display: 'flex', alignItems: 'center', gap: '16px', ...({ WebkitAppRegion: 'no-drag' } as any) }}>- {currentIndex !== slides.length - 1 && (- <button- onClick={handleSkip}- style={{- background: 'transparent',- border: 'none',- color: '#888',- fontSize: '14px',- fontWeight: 500,- cursor: 'pointer',- padding: '6px 12px',- borderRadius: '6px',- transition: 'color 0.2s, background 0.2s'- }}- onMouseOver={(e) => { e.currentTarget.style.color = '#fff'; e.currentTarget.style.background = 'rgba(255, 255, 255, 0.08)' }}- onMouseOut={(e) => { e.currentTarget.style.color = '#888'; e.currentTarget.style.background = 'transparent' }}- >- Skip- </button>- )}- <button- onClick={() => window.edge.minimizeWindow()}- style={{- background: 'transparent',- border: 'none',- color: '#888',- width: '32px',- height: '32px',- borderRadius: '6px',- cursor: 'pointer',- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- transition: 'background 0.2s, color 0.2s'- }}- onMouseOver={(e) => { e.currentTarget.style.background = 'rgba(255, 255, 255, 0.08)'; e.currentTarget.style.color = '#fff' }}- onMouseOut={(e) => { e.currentTarget.style.background = 'transparent'; e.currentTarget.style.color = '#888' }}- title="Minimize"- >- <svg width="14" height="2" viewBox="0 0 14 2" fill="none" xmlns="http://www.w3.org/2000/svg">- <path d="M1 1H13" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />- </svg>- </button>+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px' }}>+ <img src={logoUrl} alt="Edge-Drop Logo" style={{ width: '28px', height: '28px' }} />+ <span style={{ fontWeight: 700, fontSize: '16px', letterSpacing: '-0.02em' }}>Edge-Drop</span></div>+ <button+ onClick={handleSkip}+ style={{+ background: 'transparent',+ border: 'none',+ color: '#888',+ fontSize: '14px',+ cursor: 'pointer',+ padding: '6px 12px',+ borderRadius: '6px',+ transition: 'color 0.2s, background 0.2s'+ }}+ onMouseOver={(e) => { e.currentTarget.style.color = '#fff'; e.currentTarget.style.background = '#222' }}+ onMouseOut={(e) => { e.currentTarget.style.color = '#888'; e.currentTarget.style.background = 'transparent' }}+ >+ {t('onboarding.skip')}+ </button></div>{/* Main Content Area */}{currentSlide.id === 'slide-6' ? (- <div style={{ flex: 1, display: 'flex', flexDirection: 'row', alignItems: 'stretch', padding: '16px 48px', gap: '40px', width: '100%', boxSizing: 'border-box', minHeight: 0 }}>- {/* Left Side: Textual Description */}+ <div style={{ flex: 1, display: 'flex', gap: '32px', padding: '24px 32px', boxSizing: 'border-box', overflow: 'hidden' }}><div style={{ flex: 1, display: 'flex', flexDirection: 'column', justifyContent: 'center' }}>- <h1 style={{ fontSize: '28px', margin: '0 0 16px 0', fontWeight: 700, letterSpacing: '-0.01em' }}>+ <h1 style={{ fontSize: '28px', margin: '0 0 12px 0', fontWeight: 700, letterSpacing: '-0.02em' }}>{currentSlide.title}</h1><p style={{ fontSize: '15px', lineHeight: 1.6, color: 'rgba(255,255,255,0.7)', margin: '0 0 24px 0' }}>{currentSlide.description}</p>- <div style={{ padding: '16px', background: 'rgba(255,255,255,0.05)', borderRadius: '12px', border: '1px solid rgba(255,255,255,0.1)' }}>- <div style={{ fontSize: '14px', fontWeight: 600, color: '#fff', marginBottom: '8px' }}>Quick Tips:</div>+ <div style={{ background: '#1a1a1c', padding: '16px 20px', borderRadius: '12px', border: '1px solid rgba(255,255,255,0.08)' }}>+ <div style={{ fontSize: '13px', fontWeight: 600, color: '#fff', marginBottom: '8px', textTransform: 'uppercase', letterSpacing: '0.05em' }}>+ {t('onboarding.proTips')}+ </div><ul style={{ fontSize: '14px', color: 'rgba(255,255,255,0.6)', margin: 0, paddingLeft: '20px', lineHeight: 1.6 }}>- <li>Press <strong>Alt + C</strong> to instantly toggle the shelf.</li>- <li>Access settings anytime via the gear icon (top right).</li>- <li>Drag & drop files to the left edge to add them.</li>- <li>Click a text box, then a clipboard item to auto-paste.</li>- <li>Stack files with files (e.g., zip, md, json) or images with images (max 10). Text cannot be stacked.</li>+ <li>{t('onboarding.proTip1')}</li>+ <li>{t('onboarding.proTip2')}</li>+ <li>{t('onboarding.proTip3')}</li>+ <li>{t('onboarding.proTip4')}</li></ul></div></div>- {/* Right Side: Settings */}- <div style={{ flex: 1, background: '#1a1a1c', borderRadius: '16px', border: '1px solid rgba(255, 255, 255, 0.05)', boxShadow: '0 20px 40px rgba(0,0,0,0.4)', overflow: 'hidden', display: 'flex', minHeight: 0 }}>- <div style={{ flex: 1, overflowY: 'auto', padding: '16px', boxSizing: 'border-box' }}>+ <div style={{ flex: 1, background: '#1a1a1c', borderRadius: '16px', border: '1px solid rgba(255, 255, 255, 0.05)', overflow: 'hidden', display: 'flex', minHeight: 0 }}>+ <div style={{ flex: 1, overflowY: 'auto', padding: '16px' }}><Settings inlineIndicatorStyle={true} /></div></div></div>) : (<div style={{ flex: 1, display: 'flex', flexDirection: 'column', alignItems: 'center', padding: '16px 48px' }}>- {/* Video / Placeholder Area */}<div style={{width: '100%',maxWidth: '560px',- height: '315px', // 16:9 aspect ratio+ height: '315px',background: '#1a1a1c',borderRadius: '16px',overflow: 'hidden',@@ -215,14 +193,7 @@ export function Onboarding() {animate={{ opacity: 1, x: 0 }}exit={{ opacity: 0, x: -20 }}transition={{ duration: 0.3 }}- style={{- width: '100%',- height: '100%',- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- background: currentSlide.placeholderColor- }}+ style={{ width: '100%', height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center', background: currentSlide.placeholderColor }}><videokey={currentSlide.videoSrc}@@ -231,20 +202,11 @@ export function Onboarding() {loopmutedplaysInline- onError={(e) => {- console.error("Video loading error:", currentSlide.videoSrc, e.currentTarget.error);- }}- style={{- width: '100%',- height: '100%',- objectFit: 'cover'- }}+ style={{ width: '100%', height: '100%', objectFit: 'cover' }}/></motion.div></AnimatePresence></div>-- {/* Text Area */}<div style={{ textAlign: 'center', height: '100px', maxWidth: '480px' }}><AnimatePresence mode="wait"><motion.div@@ -266,16 +228,15 @@ export function Onboarding() {</div>)}- {/* Footer Navigation */}+ {/* Footer / Navigation Bar */}<div style={{height: '80px',padding: '0 40px',display: 'grid',gridTemplateColumns: '1fr auto 1fr',alignItems: 'center',- borderTop: '1px solid #333'+ borderTop: '1px solid #262626'}}>- {/* Left Area (Previous) */}<div style={{ display: 'flex', justifyContent: 'flex-start' }}><buttononClick={handlePrev}@@ -290,17 +251,16 @@ export function Onboarding() {padding: '8px 20px',borderRadius: '6px',transition: 'background 0.2s',- opacity: currentIndex === 0 ? 0 : 1, // Hide when disabled for perfect symmetry+ opacity: currentIndex === 0 ? 0 : 1,pointerEvents: currentIndex === 0 ? 'none' : 'auto'}}onMouseOver={(e) => { if (currentIndex !== 0) e.currentTarget.style.background = '#333' }}onMouseOut={(e) => { if (currentIndex !== 0) e.currentTarget.style.background = '#2a2a2a' }}>- Previous+ {t('onboarding.back')}</button></div>- {/* Center Area (Dots) */}<div style={{ display: 'flex', gap: '8px' }}>{slides.map((_, i) => (<div@@ -316,7 +276,6 @@ export function Onboarding() {))}</div>- {/* Right Area (Next) */}<div style={{ display: 'flex', justifyContent: 'flex-end' }}><buttononClick={handleNext}@@ -337,7 +296,7 @@ export function Onboarding() {onMouseOver={(e) => e.currentTarget.style.opacity = '0.9'}onMouseOut={(e) => e.currentTarget.style.opacity = '1'}>- {currentIndex === slides.length - 1 ? "Save & Let's Go" : 'Next'}+ {currentIndex === slides.length - 1 ? t('onboarding.getStarted') : t('onboarding.next')}</button></div></div>diff --git a/src/components/ChangelogView.tsx b/src/components/ChangelogView.tsxindex 5547b93..aff739a 100644--- a/src/components/ChangelogView.tsx+++ b/src/components/ChangelogView.tsx@@ -1,5 +1,6 @@import { useEffect, useState } from 'react'import { useStore } from '../store/appStore'+import { useTranslation } from '../i18n'interface HighlightItem {title: string@@ -194,6 +195,7 @@ const CHANGELOG_DATA: ChangelogRelease[] = []export function ChangelogView() {+ const { t } = useTranslation()const currentVersion = useStore((s) => s.currentVersion)const [releases, setReleases] = useState<ChangelogRelease[]>(CHANGELOG_DATA)@@ -262,7 +264,7 @@ export function ChangelogView() {textTransform: 'uppercase',letterSpacing: '0.04em'}}>- Current+ {t('flyout.current')}</span>)}</div>diff --git a/src/components/ClipboardItem.tsx b/src/components/ClipboardItem.tsxindex 820981e..fc53324 100644--- a/src/components/ClipboardItem.tsx+++ b/src/components/ClipboardItem.tsx@@ -28,6 +28,7 @@ import { CopyIcon, FileKindIcon, ImageIcon, LinkIcon, PinIcon, PinFillIcon, Trasimport '../styles/item.css'import { tryPaste } from '../lib/tryPaste'+import { t } from '../i18n'interface Props {item: ClipboardItemDto@@ -209,7 +210,7 @@ function ClipboardItemBase({ item }: Props) {><buttonclassName={`act${item.pinned ? ' active' : ''}`}- title={item.pinned ? 'Unpin' : 'Pin'}+ title={item.pinned ? t('item.unpin') : t('item.pin')}onClick={(e) => {e.currentTarget.blur()playToggleSound(!item.pinned)@@ -220,7 +221,7 @@ function ClipboardItemBase({ item }: Props) {</button><buttonclassName={`act${isPreviewing ? ' preview-contract active' : ' preview-expand'}`}- title={isPreviewing ? 'Close Preview' : 'Expand Preview'}+ title={isPreviewing ? t('header.close') : t('item.expand')}onClick={(e) => {e.stopPropagation()e.currentTarget.blur()@@ -232,7 +233,7 @@ function ClipboardItemBase({ item }: Props) {>{isPreviewing ? <ContractIcon /> : <ExpandIcon />}</button>- <button className="act" title="Copy" onClick={(e) => {+ <button className="act" title={t('item.copy')} onClick={(e) => {e.currentTarget.blur()onCopy(e)}}>@@ -241,7 +242,7 @@ function ClipboardItemBase({ item }: Props) {{item.data.kind === 'text' && item.data.isUrl && (<buttonclassName="act"- title="Open link in default browser"+ title={t('flyout.openLink')}onClick={(e) => {e.stopPropagation()e.currentTarget.blur()@@ -255,7 +256,7 @@ function ClipboardItemBase({ item }: Props) {<div className="act-divider" /><buttonclassName="act danger"- title="Delete"+ title={t('item.delete')}onClick={(e) => {e.currentTarget.blur()playDeleteSound()@@ -370,7 +371,7 @@ function BundleFluidPreview({<div className="bundle-actions"><divclassName="bundle-collapse-zone"- title="Collapse collection"+ title={t('item.collapsePinned')}onClick={(e) => { e.stopPropagation(); onCollapse(e); }}><button className="act bundle-collapse-btn">@@ -380,15 +381,15 @@ function BundleFluidPreview({<div className="actions-pill"><buttonclassName={`act${item.pinned ? ' active' : ''}`}- title={item.pinned ? 'Unpin' : 'Pin'}+ title={item.pinned ? t('item.unpin') : t('item.pin')}onClick={(e) => { e.stopPropagation(); useStore.getState().togglePin(item.id, !item.pinned); }}>{item.pinned ? <PinFillIcon /> : <PinIcon />}</button>- <button className="act" title="Copy all" onClick={(e) => { e.stopPropagation(); onCopy(e); }}>+ <button className="act" title={t('item.copy')} onClick={(e) => { e.stopPropagation(); onCopy(e); }}><CopyIcon /></button>- <button className="act danger" title="Delete bundle" onClick={(e) => { e.stopPropagation(); onRemove(); }}>+ <button className="act danger" title={t('item.delete')} onClick={(e) => { e.stopPropagation(); onRemove(); }}><TrashIcon /></button></div>@@ -409,7 +410,7 @@ function BundleFluidPreview({/><div style={{ display: 'flex', flexDirection: 'column', gap: 4, flex: 1, minWidth: 0 }}><span style={{ fontSize: 13, color: 'rgba(255,255,255,0.9)' }}>- Image • {img.width} × {img.height}+ {t('item.imageItem')} • {img.width} × {img.height}</span><span style={{ fontSize: 11, color: 'rgba(255,255,255,0.5)' }}>{formatBytes(img.bytes)}@@ -417,7 +418,7 @@ function BundleFluidPreview({</div><buttonclassName="act subitem-delete-btn"- title="Ungroup image from collection"+ title={t('item.ungroup')}onClick={(e) => { e.stopPropagation(); window.edge.splitItem({ id: item.id, imageId: img.imageId, splitPlacement: 'after' }); }}style={{ width: 24, height: 24 }}>@@ -456,7 +457,7 @@ function BundleFluidPreview({)})}</div>- {more > 0 && <div className="bundle-more-label">+{more} more image{more > 1 ? 's' : ''}</div>}+ {more > 0 && <div className="bundle-more-label">{t('item.moreImages', { count: more })}</div>}</motion.div>)}</AnimatePresence>@@ -483,7 +484,7 @@ function BundleFluidPreview({<div className="bundle-actions"><divclassName="bundle-collapse-zone"- title="Collapse collection"+ title={t('item.collapsePinned')}onClick={(e) => { e.stopPropagation(); onCollapse(e); }}><button className="act bundle-collapse-btn">@@ -494,10 +495,10 @@ function BundleFluidPreview({{count} / {MAX_STACK}</div><div className="actions-pill">- <button className="act" title="Copy all" onClick={(e) => { e.stopPropagation(); onCopy(e); }}>+ <button className="act" title={t('item.copy')} onClick={(e) => { e.stopPropagation(); onCopy(e); }}><CopyIcon /></button>- <button className="act danger" title="Delete bundle" onClick={(e) => { e.stopPropagation(); onRemove(); }}>+ <button className="act danger" title={t('item.delete')} onClick={(e) => { e.stopPropagation(); onRemove(); }}><TrashIcon /></button></div>@@ -535,7 +536,7 @@ function BundleFluidPreview({</div><buttonclassName="act subitem-copy-btn"- title="Copy file path"+ title={t('item.copyFilePath')}onClick={(e) => { e.stopPropagation(); window.edge.copySubitem({ id: item.id, paths: [filePath] }); }}style={{ width: 24, height: 24 }}>@@ -543,7 +544,7 @@ function BundleFluidPreview({</button><buttonclassName="act subitem-delete-btn"- title="Ungroup file from collection"+ title={t('item.ungroup')}onClick={(e) => { e.stopPropagation(); window.edge.splitItem({ id: item.id, paths: [filePath], splitPlacement: 'after' }); }}style={{ width: 24, height: 24 }}>@@ -596,9 +597,9 @@ function BundleFluidPreview({})}</div>{count > 1 ? (- <div className="bundle-more-label">+{count - 1} more file{count - 1 > 1 ? 's' : ''}</div>+ <div className="bundle-more-label">{t('item.moreFiles', { count: count - 1 })}</div>) : (- <div className="bundle-more-label">1 file</div>+ <div className="bundle-more-label">{t('item.singleFile')}</div>)}</motion.div>)}@@ -636,7 +637,7 @@ function Preview({ item }: { item: ClipboardItemDto }) {draggable={false}/>) : (- <div className="preview">[image]</div>+ <div className="preview">[{t('item.imageItem')}]</div>)}</div>)@@ -704,21 +705,21 @@ function KindBadge({ item }: { item: ClipboardItemDto }) {if (item.data.isUrl)return (<span className="kind-badge url">- <LinkIcon width={11} height={11} /> link+ <LinkIcon width={11} height={11} /> {t('filters.links').toLowerCase()}</span>)- return <span className="kind-badge">text</span>+ return <span className="kind-badge">{t('filters.text').toLowerCase()}</span>case 'image':return (<span className="kind-badge">- <ImageIcon width={11} height={11} /> image+ <ImageIcon width={11} height={11} /> {t('filters.images').toLowerCase().slice(0, -1) || t('filters.images').toLowerCase()}</span>)case 'image-collection':return (<span className="kind-badge"><ImageIcon width={11} height={11} />- {item.data.images.length} images+ {item.data.images.length} {t('filters.images').toLowerCase()}</span>)case 'files': {@@ -729,11 +730,11 @@ function KindBadge({ item }: { item: ClipboardItemDto }) {if (isImage) {return (<span className="kind-badge">- <ImageIcon width={11} height={11} /> image+ <ImageIcon width={11} height={11} /> {t('filters.images').toLowerCase().slice(0, -1) || t('filters.images').toLowerCase()}</span>)}- const label = count > 1 ? `${count} files` : info.label.toLowerCase()+ const label = count > 1 ? `${count} ${t('filters.files').toLowerCase()}` : info.label.toLowerCase()return (<span className="kind-badge" style={{ color: count > 1 ? undefined : info.color }}><FileKindIcon path={firstPath} width={11} height={11} />diff --git a/src/components/EmptyState.tsx b/src/components/EmptyState.tsxindex 260ca8d..af0f235 100644--- a/src/components/EmptyState.tsx+++ b/src/components/EmptyState.tsx@@ -1,15 +1,18 @@import { useStore } from '../store/appStore'+import { useTranslation } from '../i18n'export function EmptyState({ filtered }: { filtered: boolean }) {+ const { t } = useTranslation()const typeFilter = useStore((s) => s.typeFilter)- let title = filtered ? 'No results found' : 'Shelf is empty'- let hint = filtered ? 'Try a different keyword or clear search' : 'Copy anything or drop files here to begin'+ let title = filtered ? t('emptyState.noResultsFound') : t('emptyState.shelfEmpty')+ let hint = filtered ? t('emptyState.noResultsHint') : t('emptyState.shelfEmptyHint')if (typeFilter !== 'all') {- const label = typeFilter === 'text' ? 'text clips' : typeFilter === 'links' ? 'links' : typeFilter === 'images' ? 'images' : 'files'- title = `No ${label} found`- hint = `Copy ${label} or switch back to All`+ const labelKey = typeFilter === 'text' ? 'emptyState.textClips' : typeFilter === 'links' ? 'emptyState.links' : typeFilter === 'images' ? 'emptyState.images' : 'emptyState.files'+ const label = t(labelKey)+ title = t('emptyState.noClipsFound', { type: label })+ hint = t('emptyState.copyTypeHint', { type: label })}return (diff --git a/src/components/Header.tsx b/src/components/Header.tsxindex 3bacc76..5b366fc 100644--- a/src/components/Header.tsx+++ b/src/components/Header.tsx@@ -4,7 +4,10 @@ import { useStore } from '../store/appStore'import { GearIcon, CloseIcon, InfoIcon } from './icons'import { playButtonClickSound } from '../lib/soundEffects'+import { useTranslation } from '../i18n'+export function Header() {+ const { t } = useTranslation()const setSettingsOpen = useStore((s) => s.setSettingsOpen)const settingsOpen = useStore((s) => s.settingsOpen)const updateInfo = useStore((s) => s.updateInfo)@@ -34,11 +37,11 @@ export function Header() {const setTypeFilter = useStore((s) => s.setTypeFilter)const FILTERS: { id: import('../../shared/types').TypeFilter; label: string }[] = [- { id: 'all', label: 'All' },- { id: 'text', label: 'Text' },- { id: 'links', label: 'Links' },- { id: 'images', label: 'Images' },- { id: 'files', label: 'Files' }+ { id: 'all', label: t('filters.all') },+ { id: 'text', label: t('filters.text') },+ { id: 'links', label: t('filters.links') },+ { id: 'images', label: t('filters.images') },+ { id: 'files', label: t('filters.files') }]const activeIndex = Math.max(0, FILTERS.findIndex((f) => f.id === typeFilter))@@ -48,7 +51,7 @@ export function Header() {<div style={{ display: 'flex', alignItems: 'center', gap: 4, paddingLeft: 2 }}>{settingsOpen ? (<span style={{ fontSize: 13, fontWeight: 600, color: '#8e8e93', letterSpacing: '0.01em', paddingLeft: 6 }}>- {settingsSubView === 'changelog' ? "What's New" : 'Settings'}+ {settingsSubView === 'changelog' ? t('header.whatsNew') : t('header.settings')}</span>) : (<div@@ -130,7 +133,7 @@ export function Header() {<buttontype="button"className={`icon-btn${settingsSubView === 'changelog' ? ' active' : ''}`}- title={settingsSubView === 'changelog' ? "Back to Settings" : "What's New"}+ title={settingsSubView === 'changelog' ? t('tabs.behaviour') : t('header.whatsNew')}onClick={() => {playButtonClickSound()handleOpenChangelog()@@ -174,7 +177,7 @@ export function Header() {<buttontype="button"className={`icon-btn${settingsOpen ? ' active' : ''}`}- title={settingsOpen ? 'Close Settings' : 'Settings'}+ title={settingsOpen ? t('header.close') : t('header.settings')}onClick={() => {playButtonClickSound()if (settingsOpen) {diff --git a/src/components/IndicatorStyleFlyout.tsx b/src/components/IndicatorStyleFlyout.tsxindex efd28ca..e774a25 100644--- a/src/components/IndicatorStyleFlyout.tsx+++ b/src/components/IndicatorStyleFlyout.tsx@@ -15,8 +15,10 @@ import { CloseIcon } from './icons'import { playButtonClickSound } from '../lib/soundEffects'import { createPortal } from 'react-dom'import { useAdaptiveSpring } from '../hooks/useAdaptiveSpring'+import { useTranslation } from '../i18n'export function IndicatorStyleFlyout({ isRight }: { isRight: boolean }) {+ const { t } = useTranslation()const styleFlyoutOpen = useStore((s) => s.styleFlyoutOpen)const setStyleFlyoutOpen = useStore((s) => s.setStyleFlyoutOpen)const settings = useStore((s) => s.settings)@@ -113,88 +115,88 @@ export function IndicatorStyleFlyout({ isRight }: { isRight: boolean }) {padding: 14}}>- {/* Header */}- <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12 }}>- <div style={{ fontSize: 13.5, fontWeight: 600, color: '#ffffff', letterSpacing: '-0.01em' }}>- Indicator Style+ {/* Header */}+ <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12 }}>+ <div style={{ fontSize: 13.5, fontWeight: 600, color: '#ffffff', letterSpacing: '-0.01em' }}>+ {t('flyout.copyBeaconStyleTitle')}+ </div>+ <button+ type="button"+ className="icon-btn"+ style={{+ width: 26,+ height: 26,+ borderRadius: 6,+ background: 'rgba(255,255,255,0.06)',+ border: '1px solid rgba(255,255,255,0.1)',+ color: 'rgba(255,255,255,0.7)',+ cursor: 'pointer',+ display: 'flex',+ alignItems: 'center',+ justifyContent: 'center',+ flexShrink: 0,+ transition: 'background 0.15s ease, color 0.15s ease'+ }}+ onClick={() => {+ playButtonClickSound()+ setStyleFlyoutOpen(false)+ }}+ title={t('header.close')}+ >+ <CloseIcon width={12} height={12} />+ </button></div>- <button- type="button"- className="icon-btn"- style={{- width: 26,- height: 26,- borderRadius: 6,- background: 'rgba(255,255,255,0.06)',- border: '1px solid rgba(255,255,255,0.1)',- color: 'rgba(255,255,255,0.7)',- cursor: 'pointer',- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- flexShrink: 0,- transition: 'background 0.15s ease, color 0.15s ease'- }}- onClick={() => {- playButtonClickSound()- setStyleFlyoutOpen(false)- }}- title="Close Style Panel"- >- <CloseIcon width={12} height={12} />- </button>- </div>- {/* 2-Column Grid */}- <div style={{ display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: 10, overflowY: 'auto' }}>- {/* Card 1: Logo */}- <StyleCard- active={(settings.copyIndicatorStyle || 'logo') === 'logo'}- onClick={() => {- playButtonClickSound()- patch({ copyIndicatorStyle: 'logo' })- useStore.getState().triggerCopyFlare()- }}- preview={<LiquidOctopusLoader fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" speed={1.2} />}- title="Edge-Drop Logo"- />+ {/* 2-Column Grid */}+ <div style={{ display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: 10, overflowY: 'auto' }}>+ {/* Card 1: Logo */}+ <StyleCard+ active={(settings.copyIndicatorStyle || 'logo') === 'logo'}+ onClick={() => {+ playButtonClickSound()+ patch({ copyIndicatorStyle: 'logo' })+ useStore.getState().triggerCopyFlare()+ }}+ preview={<LiquidOctopusLoader fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" speed={1.2} />}+ title={t('appearance.logoStyle')}+ />- {/* Card 2: Tick */}- <StyleCard- active={(settings.copyIndicatorStyle || 'logo') === 'check'}- onClick={() => {- playButtonClickSound()- patch({ copyIndicatorStyle: 'check' })- useStore.getState().triggerCopyFlare()- }}- preview={<TickIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={32} />}- title="Tick"- />+ {/* Card 2: Tick */}+ <StyleCard+ active={(settings.copyIndicatorStyle || 'logo') === 'check'}+ onClick={() => {+ playButtonClickSound()+ patch({ copyIndicatorStyle: 'check' })+ useStore.getState().triggerCopyFlare()+ }}+ preview={<TickIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={32} />}+ title={t('appearance.tickStyle')}+ />- {/* Card 3: Copy */}- <StyleCard- active={(settings.copyIndicatorStyle || 'logo') === 'copy'}- onClick={() => {- playButtonClickSound()- patch({ copyIndicatorStyle: 'copy' })- useStore.getState().triggerCopyFlare()- }}- preview={<CopyIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={32} />}- title="Copy"- />+ {/* Card 3: Copy */}+ <StyleCard+ active={(settings.copyIndicatorStyle || 'logo') === 'copy'}+ onClick={() => {+ playButtonClickSound()+ patch({ copyIndicatorStyle: 'copy' })+ useStore.getState().triggerCopyFlare()+ }}+ preview={<CopyIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={32} />}+ title={t('appearance.copyStyle')}+ />- {/* Card 4: Sparkle */}- <StyleCard- active={(settings.copyIndicatorStyle || 'logo') === 'sparkle'}- onClick={() => {- playButtonClickSound()- patch({ copyIndicatorStyle: 'sparkle' })- useStore.getState().triggerCopyFlare()- }}- preview={<SparkleIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={32} />}- title="Sparkle"- />- </div>+ {/* Card 4: Sparkle */}+ <StyleCard+ active={(settings.copyIndicatorStyle || 'logo') === 'sparkle'}+ onClick={() => {+ playButtonClickSound()+ patch({ copyIndicatorStyle: 'sparkle' })+ useStore.getState().triggerCopyFlare()+ }}+ preview={<SparkleIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={32} />}+ title={t('appearance.sparkleStyle')}+ />+ </div></motion.div>)}</AnimatePresence>diff --git a/src/components/ItemList.tsx b/src/components/ItemList.tsxindex 19d2f9c..4f96b17 100644--- a/src/components/ItemList.tsx+++ b/src/components/ItemList.tsx@@ -17,7 +17,10 @@ import { EmptyState } from './EmptyState'import { ChevronDownIcon, PinFillIcon } from './icons'import { playExpandSound } from '../lib/soundEffects'+import { useTranslation } from '../i18n'+export function ItemList() {+ const { t } = useTranslation()const { pinned, recent } = useFilteredItems()const query = useStore((s) => s.query)const listRef = useRef<HTMLDivElement>(null)@@ -206,11 +209,11 @@ export function ItemList() {playExpandSound(!next)setPinnedCollapsed(next)}}- title={pinnedCollapsed ? "Click to expand pinned items" : "Click to collapse pinned items"}+ title={pinnedCollapsed ? t('item.expandPinned') : t('item.collapsePinned')}><div className="pinned-header-left"><PinFillIcon width={13} height={13} style={{ opacity: 0.9, color: '#ffffff' }} />- <span>Pinned</span>+ <span>{t('item.pinned')}</span><span className="pinned-count-badge">{pinned.length}</span></div><div className="pinned-header-right">@@ -240,7 +243,7 @@ export function ItemList() {{recent.length > 0 && (<section>- {pinned.length > 0 && <div className="section-label">Recent</div>}+ {pinned.length > 0 && <div className="section-label">{t('item.recent')}</div>}<AnimatePresence initial={false}>{recent.map((it) => (<ClipboardItemCard key={it.id} item={it} />@@ -259,7 +262,7 @@ export function ItemList() {exit={{ opacity: 0, scale: 0.8, y: 20 }}className="scroll-top-btn"onClick={scrollToTop}- title="Scroll to top"+ title={t('item.scrollToTop')}><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round"><polyline points="18 15 12 9 6 15"></polyline>diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex 1584e49..2dbc88d 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -21,7 +21,10 @@ import { IndicatorStyleFlyout } from './IndicatorStyleFlyout'import { CopyIndicatorCurve } from './CopyIndicatorCurve'import { useFilteredItems } from '../hooks/useFilteredItems'+import { useTranslation } from '../i18n'+export function Panel() {+ const { t } = useTranslation()const open = useStore((s) => s.open)const { pinned, recent } = useFilteredItems()const filteredItems = useMemo(() => [...pinned, ...recent], [pinned, recent])@@ -375,18 +378,18 @@ export function Panel() {<div className="footer" style={{ position: 'relative' }}><div style={{ position: 'absolute', top: -18, left: 0, right: 0, height: 18, background: 'linear-gradient(to top, #000000, transparent)', pointerEvents: 'none', zIndex: 10 }} /><span className="count">- {filteredCount} item{filteredCount === 1 ? '' : 's'}+ {filteredCount} {t('item.items')}</span><div className="spacer" /><buttonclassName="text-btn danger"onClick={handleClear}disabled={filteredCount === 0}- title={isFiltered ? "Clear filtered items" : "Clear shelf"}+ title={isFiltered ? t('item.clear') : t('item.clear')}style={{ display: 'flex', alignItems: 'center', gap: 6 }}><TrashIcon width={14} height={14} />- <span>Clear</span>+ <span>{t('item.clear')}</span></button></div></motion.div>@@ -422,6 +425,7 @@ function getTutorialText(step: number): string {*/function DropOverlay() {+ const { t } = useTranslation()const dragActive = useStore((s) => s.dragActive)const internalDragReq = useStore((s) => s.internalDragReq)@@ -471,10 +475,10 @@ function DropOverlay() {</div><div style={{ display: 'flex', flexDirection: 'column', gap: '4px' }}><div style={{ fontSize: '15px', fontWeight: 600, color: 'rgba(255, 255, 255, 0.95)', letterSpacing: '0.01em' }}>- Drop to save+ {t('item.dropToSave')}</div><div style={{ fontSize: '12px', fontWeight: 400, color: 'rgba(255, 255, 255, 0.5)', lineHeight: 1.4 }}>- Any file, image, link, or text+ {t('item.dropToSaveDesc')}</div></div></motion.div>diff --git a/src/components/PreviewFlyout.tsx b/src/components/PreviewFlyout.tsxindex aa32a15..e88b06d 100644--- a/src/components/PreviewFlyout.tsx+++ b/src/components/PreviewFlyout.tsx@@ -10,7 +10,10 @@ import { useDragOut } from '../hooks/useDragOut'import { tryPaste } from '../lib/tryPaste'import { playButtonClickSound, playToggleSound } from '../lib/soundEffects'+import { useTranslation } from '../i18n'+export function PreviewFlyout({ isRight }: { isRight: boolean }) {+ const { t } = useTranslation()const previewItemId = useStore((s) => s.previewItemId)const items = useStore((s) => s.items)const previewItemRect = useStore((s) => s.previewItemRect)@@ -232,7 +235,7 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {gap: 6}}>- <span>+ Drop to stack into preview</span>+ <span>+ {t('onboarding.dropToExtract')}</span></div>)}{/* Content — even bezels, no header chrome */}@@ -282,7 +285,7 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {letterSpacing: '0.02em',whiteSpace: 'nowrap'}}>- {selectedKeys.size} Selected+ {t('flyout.selectedCount').replace('{count}', String(selectedKeys.size))}</div><buttononClick={handleSelectAllToggle}@@ -300,13 +303,13 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {onMouseEnter={(e) => (e.currentTarget.style.color = '#ffffff')}onMouseLeave={(e) => (e.currentTarget.style.color = 'rgba(255, 255, 255, 0.65)')}>- {selectedKeys.size === allItemKeys.length ? 'Deselect All' : 'Select All'}+ {selectedKeys.size === allItemKeys.length ? t('flyout.deselectAll') : t('flyout.selectAll')}</button></div><div style={{ display: 'flex', alignItems: 'center', gap: 6 }}><button- title="Copy Selected"+ title={t('flyout.copySelected')}onClick={handleBatchCopy}style={{display: 'flex',@@ -334,11 +337,11 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {}}><CopyIcon width={13} height={13} />- <span>Copy</span>+ <span>{t('item.copy')}</span></button><button- title="Paste Selected"+ title={t('flyout.pasteSelected')}onClick={handleBatchPaste}style={{display: 'flex',@@ -358,11 +361,11 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {transition: 'all 0.15s ease'}}>- <span>Paste</span>+ <span>{t('flyout.paste')}</span></button><button- title="Clear Selection"+ title={t('flyout.clearSelection')}onClick={() => {playButtonClickSound()setSelectedKeys(new Set())@@ -552,11 +555,12 @@ function PreviewContent({selectedKeys?: Set<string>onToggleSelectKey?: (key: string, e?: React.MouseEvent) => void}) {+ const { t } = useTranslation()const startDrag = useDragOut()if (item.data.kind === 'text') {const text: string = item.data.text.length > 20000- ? item.data.text.slice(0, 20000) + '\n\n… (content truncated)'+ ? item.data.text.slice(0, 20000) + `\n\n${t('flyout.contentTruncated')}`: item.data.textconst isCode = looksLikeCode(text)const isUrl = item.data.isUrl@@ -569,19 +573,19 @@ function PreviewContent({e.stopPropagation()tryPaste(() => useStore.getState().paste(item.id))}}- title="Click to paste"+ title={t('flyout.clickToPaste')}style={{ position: 'relative', display: 'flex', flexDirection: 'column', gap: 10, cursor: 'pointer' }}><div style={{ display: 'flex', justifyContent: 'flex-end', gap: 6, position: 'sticky', top: 0, zIndex: 2 }}>{isUrl && (<QuickActionButton- title="Open Link"+ title={t('flyout.openLink')}icon={ExternalLinkIcon}onClick={() => window.open(item.data.text, '_blank')}/>)}<QuickActionButton- title="Copy Text"+ title={t('flyout.copyText')}icon={CopyIcon}onClick={() => navigator.clipboard.writeText(item.data.text)}/>@@ -630,12 +634,12 @@ function PreviewContent({e.stopPropagation()tryPaste(() => useStore.getState().paste(item.id))}}- title="Click to paste · Drag to move"+ title={t('flyout.clickToPasteDrag')}style={{ display: 'flex', flexDirection: 'column', gap: 12, position: 'relative', cursor: 'grab' }}><div style={{ display: 'flex', justifyContent: 'flex-end', gap: 6, position: 'absolute', top: 8, right: 8, zIndex: 2 }}><QuickActionButton- title="Copy Image"+ title={t('flyout.copyImage')}icon={CopyIcon}onClick={() => window.edge.copyItem(item.id)}solidDark={true}@@ -702,7 +706,7 @@ function PreviewContent({<div style={{ display: 'flex', justifyContent: 'flex-end', gap: 6, position: 'absolute', top: 12, right: 12, zIndex: 2 }}><QuickActionButton- title="Copy Image"+ title={t('flyout.copyImage')}icon={CopyIcon}onClick={() => window.edge.copySubitem({ id: item.id, imageId: img.imageId })}solidDark={true}@@ -710,7 +714,7 @@ function PreviewContent({</div><img src={`edgelocal://${img.imageId}`} alt="" style={{ width: '100%', borderRadius: 8 }} draggable={false} /><div style={{ fontSize: 11, color: 'rgba(255,255,255,0.35)', textAlign: 'center', fontFamily: SYS_FONT, letterSpacing: '0.02em' }}>- {idx + 1} of {item.data.images.length} · {img.width} × {img.height} · {formatBytes(img.bytes)}+ {idx + 1} / {item.data.images.length} · {img.width} × {img.height} · {formatBytes(img.bytes)}</div></div>)@@ -740,18 +744,18 @@ function PreviewContent({e.stopPropagation()tryPaste(() => useStore.getState().paste(item.id))}}- title={`Click to paste "${fileName}" · Drag to move`}+ title={t('flyout.clickToPasteDrag')}style={{ display: 'flex', flexDirection: 'column', gap: 12, position: 'relative', cursor: 'grab' }}><div style={{ display: 'flex', justifyContent: 'flex-end', gap: 6, position: 'absolute', top: 8, right: 8, zIndex: 2 }}><QuickActionButton- title="Copy File"+ title={t('flyout.copyFile')}icon={CopyIcon}onClick={() => window.edge.copyItem(item.id)}solidDark={true}/><button- title="Open location in Explorer"+ title={t('flyout.openInExplorer')}onClick={(e) => {e.stopPropagation()window.edge.revealFile(p)diff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex 7fd1130..8541c78 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -7,18 +7,20 @@ import { TickIndicatorIcon, CopyIndicatorIcon, SparkleIndicatorIcon } from './Coimport { ChevronRightIcon, CloseIcon, LogOutIcon } from './icons'import { ChangelogView } from './ChangelogView'import { playDialTickSound, playToggleSound, playButtonClickSound } from '../lib/soundEffects'+import { useTranslation } from '../i18n'import '../styles/settings.css'type SettingsTab = 'behaviour' | 'position' | 'appearance'-const TABS: { id: SettingsTab; label: string }[] = [- { id: 'behaviour', label: 'Behaviour' },- { id: 'position', label: 'Position' },- { id: 'appearance', label: 'Appearance' },-]-export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolean }) {+ const { t } = useTranslation()const settings = useStore((s) => s.settings)++ const TABS: { id: SettingsTab; label: string }[] = [+ { id: 'behaviour', label: t('tabs.behaviour') },+ { id: 'position', label: t('tabs.position') },+ { id: 'appearance', label: t('tabs.appearance') },+ ]const patch = useStore((s) => s.patchSettings)const updateInfo = useStore((s) => s.updateInfo)const isStoreBuild = useStore((s) => s.isStoreBuild)@@ -147,12 +149,12 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolconst PersistentFooter = (<>{/* Community & Support */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Community & Support</div>+ <div className="setting-group-label" style={{ marginTop: 20 }}>{t('footer.communityAndSupport')}</div><div className="setting-row vertical" style={{ gap: 10 }}><div className="setting-info">- <div className="setting-title">Feedback & Issues</div>- <div className="setting-desc">Report bugs or suggest features on GitHub</div>+ <div className="setting-title">{t('footer.feedbackTitle')}</div>+ <div className="setting-desc">{t('footer.feedbackDesc')}</div></div><buttonclassName="pill display-pill"@@ -162,17 +164,17 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolwindow.open('https://github.com/Deepender25/Edge-Drop/issues/new/choose', '_blank')}}>- Submit Feedback ↗+ {t('footer.submitFeedback')}</button></div>{/* Application */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Application</div>+ <div className="setting-group-label" style={{ marginTop: 20 }}>{t('footer.applicationGroup')}</div><div className="setting-row vertical" style={{ gap: 10 }}><div className="setting-info">- <div className="setting-title">Quit Edge-Drop</div>- <div className="setting-desc">Close application and stop background process</div>+ <div className="setting-title">{t('footer.quitTitle')}</div>+ <div className="setting-desc">{t('footer.quitDesc')}</div></div><buttonclassName="quit-app-btn"@@ -182,7 +184,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool}}><LogOutIcon width={14} height={14} />- Quit Edge-Drop+ {t('tray.quit')}</button></div>@@ -191,7 +193,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="github-promo"><div className="github-promo-text">- If you like Edge-Drop, please consider starring the project on GitHub!+ {t('footer.githubPromo')}</div><buttonclassName="github-promo-btn"@@ -210,10 +212,10 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" /></svg>- Star on GitHub+ {t('footer.starOnGithub')}</button><div className="app-version-footer">- Version {currentVersion || '0.1.0'}+ {t('footer.version')} {currentVersion || '0.1.0'}</div></div></>@@ -274,12 +276,28 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: booltransition={{ duration: 0.2, ease: [0.16, 1, 0.3, 1] }}>{/* ── GROUP: Behaviour ─────────────────────────────────── */}- <div className="setting-group-label">Behaviour</div>+ <div className="setting-group-label">{t('tabs.behaviour')}</div>++ {/* ── Language Selector ── */}+ <div style={{+ display: 'flex',+ flexDirection: 'column',+ gap: 8,+ padding: '2px 0'+ }}>+ <div>+ <div className="setting-title">{t('behaviour.languageTitle')}</div>+ <div className="setting-desc" style={{ marginTop: 2 }}>{t('behaviour.languageDesc')}</div>+ </div>+ <LanguageDropdown />+ </div>++ <div className="setting-divider" /><div className="setting-row"><div className="setting-info">- <div className="setting-title">Launch at login</div>- <div className="setting-desc">Start silently in background when computer boots</div>+ <div className="setting-title">{t('behaviour.launchAtLoginTitle')}</div>+ <div className="setting-desc">{t('behaviour.launchAtLoginDesc')}</div></div><Togglechecked={settings.launchAtLogin}@@ -291,8 +309,8 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row"><div className="setting-info">- <div className="setting-title">Incognito mode</div>- <div className="setting-desc">Temporarily pause recording new clipboard items</div>+ <div className="setting-title">{t('behaviour.incognitoTitle')}</div>+ <div className="setting-desc">{t('behaviour.incognitoDesc')}</div></div><Togglechecked={settings.incognito}@@ -304,35 +322,12 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row"><div className="setting-info">- <div className="setting-title">Hover Activation</div>+ <div className="setting-title">{t('behaviour.hoverActivationTitle')}</div><div className="setting-desc" style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap', gap: '3px 5px', marginTop: 2 }}>{(settings.hoverActivation ?? true) ? (- <span>Slide open shelf when hovering cursor near screen edge</span>+ <span>{t('behaviour.hoverActivationDescOn')}</span>) : (- <>- <span>Hover trigger paused. Use</span>- <kbd- style={{- display: 'inline-flex',- alignItems: 'center',- padding: '1px 6px',- fontSize: 10.5,- fontWeight: 600,- fontFamily: 'inherit',- color: '#ffffff',- background: 'rgba(255, 255, 255, 0.14)',- border: '1px solid rgba(255, 255, 255, 0.28)',- borderRadius: 4,- boxShadow: '0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2)',- whiteSpace: 'nowrap',- letterSpacing: '0.02em',- lineHeight: '14px'- }}- >- Alt + C- </kbd>- <span>to open.</span>- </>+ <span>{t('behaviour.hoverActivationDescOff')}</span>)}</div></div>@@ -352,11 +347,11 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row" style={{ opacity: (settings.hoverActivation ?? true) ? 1 : 0.45, transition: 'opacity 0.2s ease' }}><div className="setting-info">- <div className="setting-title">Fullscreen Protection</div>+ <div className="setting-title">{t('behaviour.fullscreenProtectionTitle')}</div><div className="setting-desc">{(settings.hoverActivation ?? true)- ? 'Automatically pause edge hover while playing games or watching fullscreen videos'- : 'Disabled because Hover Activation is turned off'}+ ? t('behaviour.fullscreenProtectionDesc')+ : t('behaviour.disabledHoverOff')}</div></div><Toggle@@ -370,8 +365,8 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row"><div className="setting-info">- <div className="setting-title">Clear unpinned on restart</div>- <div className="setting-desc">Wipe unpinned items whenever the app restarts</div>+ <div className="setting-title">{t('behaviour.clearUnpinnedTitle')}</div>+ <div className="setting-desc">{t('behaviour.clearUnpinnedDesc')}</div></div><Togglechecked={settings.clearUnpinnedOnRestart}@@ -385,11 +380,11 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row"><div className="setting-info">- <div className="setting-title">Automatic updates</div>+ <div className="setting-title">{t('behaviour.autoUpdatesTitle')}</div><div className="setting-desc">{(settings.autoUpdates ?? true)- ? 'Check for and download app updates automatically in background'- : 'Background update checks paused. Check for updates manually below'}+ ? t('behaviour.autoUpdatesDescOn')+ : t('behaviour.autoUpdatesDescOff')}</div></div><Toggle@@ -414,10 +409,10 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool}}><div><div style={{ fontSize: 13.5, fontWeight: 600, color: '#ffffff', letterSpacing: '-0.01em' }}>- Update v{updateDownloaded.version} Ready+ {t('behaviour.updateReadyTitle', { version: updateDownloaded.version })}</div><div style={{ fontSize: 12, color: 'rgba(255, 255, 255, 0.7)', marginTop: 3, lineHeight: 1.45 }}>- Click to restart Edge-Drop and apply the update.+ {t('behaviour.updateReadyDesc')}</div></div><button@@ -439,7 +434,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolonMouseEnter={(e) => { e.currentTarget.style.opacity = '0.92' }}onMouseLeave={(e) => { e.currentTarget.style.opacity = '1' }}>- Restart to Update+ {t('behaviour.restartToUpdate')}</button></div>) : !autoUpdates ? (@@ -479,7 +474,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boole.currentTarget.style.borderColor = 'rgba(255, 255, 255, 0.14)'}}>- Check for updates+ {t('behaviour.checkForUpdates')}</button>)}@@ -497,14 +492,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolborderRadius: '50%'}}/>- Checking GitHub for updates...+ {t('behaviour.checkingForUpdates')}</div>)}{checkState.status === 'up-to-date' && (<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 12 }}><div style={{ fontSize: 12.5, color: '#4caf50', fontWeight: 500 }}>- ✓ Edge-Drop is up to date (v{currentVersion || '0.2.1'})+ {t('behaviour.isUpToDate')} (v{currentVersion || '0.2.1'})</div><buttononClick={handleManualCheck}@@ -517,7 +512,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: booltextDecoration: 'underline'}}>- Check again+ {t('behaviour.checkAgain')}</button></div>)}@@ -526,10 +521,10 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div style={{ display: 'flex', flexDirection: 'column', gap: 10 }}><div><div style={{ fontSize: 13.5, fontWeight: 600, color: '#ffffff', letterSpacing: '-0.01em' }}>- Edge-Drop v{checkState.version} is available!+ {t('behaviour.updateAvailableTitle', { version: checkState.version || '' })}</div><div style={{ fontSize: 12, color: 'rgba(255, 255, 255, 0.65)', marginTop: 3, lineHeight: 1.45 }}>- A newer version is ready on GitHub. Would you like to download and update now?+ {t('behaviour.updateAvailableDesc')}</div></div><div style={{ display: 'flex', alignItems: 'center', gap: 10, marginTop: 4 }}>@@ -550,7 +545,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolonMouseEnter={(e) => { e.currentTarget.style.opacity = '0.92' }}onMouseLeave={(e) => { e.currentTarget.style.opacity = '1' }}>- Download & Update+ {t('behaviour.downloadAndUpdate')}</button><buttononClick={() => useStore.getState().dismissUpdate()}@@ -568,7 +563,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolonMouseEnter={(e) => { e.currentTarget.style.background = 'rgba(255, 255, 255, 0.14)' }}onMouseLeave={(e) => { e.currentTarget.style.background = 'rgba(255, 255, 255, 0.08)' }}>- Skip+ {t('behaviour.skip')}</button></div></div>@@ -588,14 +583,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolborderRadius: '50%'}}/>- Downloading update package in background...+ {t('behaviour.downloadingUpdate')}</div>)}{checkState.status === 'error' && (<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 12 }}><div style={{ fontSize: 12, color: '#f44336' }}>- ⚠️ {checkState.error || 'Update check failed'}+ ⚠️ {checkState.error || t('behaviour.updateCheckFailed')}</div><buttononClick={handleManualCheck}@@ -609,7 +604,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolcursor: 'pointer'}}>- Try again+ {t('behaviour.tryAgain')}</button></div>)}@@ -623,12 +618,12 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Auto-delete timer</div>- <div className="setting-desc">Automatically purge copied items (preserves Pinned)</div>+ <div className="setting-title">{t('behaviour.autoDeleteTitle')}</div>+ <div className="setting-desc">{t('behaviour.autoDeleteDesc')}</div></div><div className="setting-pills">{[- { label: 'Never', val: 0 },+ { label: t('behaviour.never'), val: 0 },{ label: '1h', val: 1 },{ label: '6h', val: 6 },{ label: '24h', val: 24 },@@ -649,8 +644,8 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">History capacity</div>- <div className="setting-desc">Maximum unpinned items stored in history</div>+ <div className="setting-title">{t('behaviour.capacityTitle')}</div>+ <div className="setting-desc">{t('behaviour.capacityDesc')}</div></div><div className="setting-pills">{[@@ -684,20 +679,20 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: booltransition={{ duration: 0.2, ease: [0.16, 1, 0.3, 1] }}>{/* ── GROUP: Position ──────────────────────────────────── */}- <div className="setting-group-label">Position</div>+ <div className="setting-group-label">{t('tabs.position')}</div><div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Stick position</div>- <div className="setting-desc">Screen edge to attach the panel to</div>+ <div className="setting-title">{t('position.edgePlacementTitle')}</div>+ <div className="setting-desc">{t('position.edgePlacementDesc')}</div></div><div className="setting-pills">{[- { label: 'Left', val: 'left' as const },- { label: 'Right', val: 'right' as const }+ { label: t('position.leftEdge'), val: 'left' as const },+ { label: t('position.rightEdge'), val: 'right' as const }].map((opt) => (<button- key={opt.label}+ key={opt.val}className={`pill ${settings.stickPosition === opt.val ? 'active' : ''}`}onClick={() => {playButtonClickSound()@@ -717,8 +712,8 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical" style={{ gap: 10 }}><div className="setting-slider-header"><div className="setting-info">- <div className="setting-title">Vertical position</div>- <div className="setting-desc">Vertical alignment of the shelf along the screen edge</div>+ <div className="setting-title">{t('position.verticalPositionTitle')}</div>+ <div className="setting-desc">{t('position.verticalPositionDesc')}</div></div><div className="setting-slider-val">{`${Math.round((settings.verticalOffset ?? 0.5) * 100)}%`}@@ -803,8 +798,8 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Display</div>- <div className="setting-desc">Monitor to stick the panel to</div>+ <div className="setting-title">{t('position.displayTitle')}</div>+ <div className="setting-desc">{t('position.displayDesc')}</div></div><div className="setting-pills">{displays.length === 0 && <div className="pill disabled">Loading...</div>}@@ -814,6 +809,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool? currentDisplay.id: (settings.stickDisplayId ?? displays.find((disp) => disp.isPrimary)?.id ?? displays[0]?.id)const isActive = activeDisplayId === d.id+ const displayName = d.isPrimary ? t('position.primaryDisplay') : d.namereturn (<buttonkey={d.id}@@ -824,7 +820,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: booluseStore.getState().notifyPositionChanged()}}>- <div className="pill-name">{d.name}</div>+ <div className="pill-name">{displayName}</div><div className="pill-res">{d.resolution}</div></button>)@@ -833,12 +829,12 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool</div>{/* ── GROUP: Trigger Zone ──────────────────────────────── */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Trigger Zone</div>+ <div className="setting-group-label" style={{ marginTop: 20 }}>{t('position.triggerZone')}</div><div className="setting-row"><div className="setting-info">- <div className="setting-title">Edge location hint</div>- <div className="setting-desc">Subtly illuminate beacon on screen edge when touching edge at wrong position</div>+ <div className="setting-title">{t('position.edgeLocationHintTitle')}</div>+ <div className="setting-desc">{t('position.edgeLocationHintDesc')}</div></div><Togglechecked={settings.showEdgeLocationHint ?? true}@@ -850,14 +846,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Edge trigger position</div>- <div className="setting-desc">Placement of hover trigger strip relative to shelf</div>+ <div className="setting-title">{t('position.edgeTriggerPositionTitle')}</div>+ <div className="setting-desc">{t('position.edgeTriggerPositionDesc')}</div></div><div className="setting-pills">{[- { label: 'Top', val: 'top' as const },- { label: 'Center', val: 'center' as const },- { label: 'Bottom', val: 'bottom' as const }+ { label: t('position.top'), val: 'top' as const },+ { label: t('position.center'), val: 'center' as const },+ { label: t('position.bottom'), val: 'bottom' as const }].map((opt) => (<buttonkey={opt.label}@@ -878,14 +874,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Edge trigger height</div>- <div className="setting-desc">Hover area size on the screen edge</div>+ <div className="setting-title">{t('position.hoverAreaSizeTitle')}</div>+ <div className="setting-desc">{t('position.hoverAreaSizeDesc')}</div></div><div className="setting-pills">{[- { label: 'Small', val: 0.25 },- { label: 'Medium', val: 0.4 },- { label: 'Large', val: 0.6 }+ { label: t('appearance.small'), val: 0.25 },+ { label: t('position.medium'), val: 0.4 },+ { label: t('appearance.large'), val: 0.6 }].map((opt) => (<buttonkey={opt.label}@@ -905,14 +901,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Edge trigger thickness</div>- <div className="setting-desc">Physical thickness of the invisible trigger strip</div>+ <div className="setting-title">{t('position.edgeTriggerThicknessTitle')}</div>+ <div className="setting-desc">{t('position.edgeTriggerThicknessDesc')}</div></div><div className="setting-pills">{[- { label: 'Small', val: 3 },- { label: 'Medium', val: 6 },- { label: 'Large', val: 12 }+ { label: t('appearance.small'), val: 3 },+ { label: t('position.medium'), val: 6 },+ { label: t('appearance.large'), val: 12 }].map((opt) => (<buttonkey={opt.label}@@ -932,14 +928,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Panel height</div>- <div className="setting-desc">Vertical size of the clipboard shelf</div>+ <div className="setting-title">{t('position.panelHeightTitle')}</div>+ <div className="setting-desc">{t('position.panelHeightDesc')}</div></div><div className="setting-pills">{[- { label: 'Small', val: 0.5 },- { label: 'Medium', val: 0.65 },- { label: 'Large', val: 0.8 }+ { label: t('appearance.small'), val: 0.5 },+ { label: t('position.medium'), val: 0.65 },+ { label: t('appearance.large'), val: 0.8 }].map((opt) => (<buttonkey={opt.label}@@ -969,12 +965,12 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: booltransition={{ duration: 0.2, ease: [0.16, 1, 0.3, 1] }}>{/* ── GROUP: Copy Indicator ────────────────────────────── */}- <div className="setting-group-label">Copy Indicator</div>+ <div className="setting-group-label">{t('appearance.copyIndicatorTitle')}</div><div className="setting-row"><div className="setting-info">- <div className="setting-title">Copy indication</div>- <div className="setting-desc">Show visual morph animation when content is copied</div>+ <div className="setting-title">{t('appearance.copyIndicatorTitle')}</div>+ <div className="setting-desc">{t('appearance.copyIndicatorDesc')}</div></div><Togglechecked={settings.showCopyIndicator ?? true}@@ -988,15 +984,9 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-row"><div className="setting-info">- <div className="setting-title">Indicator style</div>+ <div className="setting-title">{t('appearance.indicatorStyleTitle')}</div><div className="setting-desc">- {settings.copyIndicatorStyle === 'check'- ? 'Active: Tick Icon'- : settings.copyIndicatorStyle === 'copy'- ? 'Active: Copy Icon'- : settings.copyIndicatorStyle === 'sparkle'- ? 'Active: Sparkle'- : 'Active: Edge-Drop Logo'}+ {t('appearance.indicatorStyleDesc')}</div></div>@@ -1053,7 +1043,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}><LiquidOctopusLoader fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" speed={1.2} /></div>- <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Logo</div>+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>{t('appearance.logoStyle')}</div></div>{/* Tick Card */}@@ -1079,7 +1069,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}><TickIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={30} /></div>- <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Tick</div>+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>{t('appearance.tickStyle')}</div></div>{/* Copy Card */}@@ -1105,7 +1095,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}><CopyIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={30} /></div>- <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Copy</div>+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>{t('appearance.copyStyle')}</div></div>{/* Sparkle Card */}@@ -1131,7 +1121,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div style={{ height: 36, display: 'flex', alignItems: 'center', justifyContent: 'center' }}><SparkleIndicatorIcon fillColor="#ffffff" glowColor="rgba(255, 255, 255, 0.85)" size={30} /></div>- <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>Sparkle</div>+ <div style={{ fontSize: 12, fontWeight: 600, color: '#ffffff' }}>{t('appearance.sparkleStyle')}</div></div></div></motion.div>@@ -1140,18 +1130,18 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool)}{/* ── GROUP: Typography ────────────────────────────────── */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Typography</div>+ <div className="setting-group-label" style={{ marginTop: 20 }}>{t('appearance.typography')}</div><div className="setting-row vertical"><div className="setting-info">- <div className="setting-title">Text size</div>- <div className="setting-desc">Adjust UI typography scale across Edge-Drop</div>+ <div className="setting-title">{t('appearance.textSizeTitle')}</div>+ <div className="setting-desc">{t('appearance.textSizeDesc')}</div></div><div className="setting-pills">{[- { label: 'Small', val: 0.85 },- { label: 'Normal', val: 1.0 },- { label: 'Large', val: 1.15 }+ { label: t('appearance.small'), val: 0.85 },+ { label: t('appearance.normal'), val: 1.0 },+ { label: t('appearance.large'), val: 1.15 }].map((opt) => (<buttonkey={opt.label}@@ -1170,12 +1160,12 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-divider" />{/* ── GROUP: Audio & Feedback ──────────────────────────── */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Audio & Feedback</div>+ <div className="setting-group-label" style={{ marginTop: 20 }}>{t('appearance.audioAndFeedback')}</div><div className="setting-row"><div className="setting-info">- <div className="setting-title">Sound effects</div>- <div className="setting-desc">Tactile audio feedback for sliders, buttons, and switches</div>+ <div className="setting-title">{t('behaviour.soundEffectsTitle')}</div>+ <div className="setting-desc">{t('behaviour.soundEffectsDesc')}</div></div><Togglechecked={settings.soundEffects ?? true}@@ -1233,7 +1223,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool}}><span style={{ display: 'inline-block', width: 6, height: 6, borderRadius: '50%', background: '#ffffff' }} />- <span>{updateDownloaded ? 'Restart to update below' : 'New update available below'}</span>+ <span>{updateDownloaded ? t('behaviour.restartToUpdateBelow') : t('behaviour.newUpdateAvailableBelow')}</span><span style={{ fontSize: 11, marginLeft: 2 }}>↓</span></motion.div>)}@@ -1306,3 +1296,139 @@ function Toggle({</button>)}++function LanguageDropdown() {+ const { language, languages } = useTranslation()+ const patch = useStore((s) => s.patchSettings)+ const [isOpen, setIsOpen] = useState(false)+ const dropdownRef = useRef<HTMLDivElement | null>(null)+ const lastScrollTick = useRef<number>(0)++ const selectedLang = languages.find((l) => l.code === (language || 'system')) || languages[0]++ useEffect(() => {+ const handleClickOutside = (e: MouseEvent) => {+ if (dropdownRef.current && !dropdownRef.current.contains(e.target as Node)) {+ setIsOpen(false)+ }+ }+ if (isOpen) {+ window.addEventListener('mousedown', handleClickOutside)+ }+ return () => window.removeEventListener('mousedown', handleClickOutside)+ }, [isOpen])++ return (+ <div ref={dropdownRef} style={{ position: 'relative', width: '100%' }}>+ <button+ type="button"+ onClick={() => {+ playButtonClickSound()+ setIsOpen(!isOpen)+ }}+ style={{+ width: '100%',+ display: 'flex',+ alignItems: 'center',+ justifyContent: 'space-between',+ background: isOpen ? 'rgba(255, 255, 255, 0.08)' : 'rgba(255, 255, 255, 0.05)',+ color: '#ffffff',+ border: isOpen ? '1px solid rgba(255, 255, 255, 0.22)' : '1px solid rgba(255, 255, 255, 0.12)',+ borderRadius: 10,+ padding: '8px 12px',+ fontSize: 12.5,+ fontWeight: 500,+ outline: 'none',+ cursor: 'pointer',+ boxShadow: '0 2px 8px rgba(0, 0, 0, 0.2)',+ transition: 'all 0.15s ease'+ }}+ >+ <span>{selectedLang.nativeName}</span>+ <motion.span+ animate={{ rotate: isOpen ? 180 : 0 }}+ transition={{ duration: 0.2 }}+ style={{ display: 'flex', alignItems: 'center', color: 'rgba(255, 255, 255, 0.6)' }}+ >+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round">+ <path d="m6 9 6 6 6-6"/>+ </svg>+ </motion.span>+ </button>++ <AnimatePresence>+ {isOpen && (+ <motion.div+ initial={{ opacity: 0, y: 6, scale: 0.98 }}+ animate={{ opacity: 1, y: 0, scale: 1 }}+ exit={{ opacity: 0, y: 6, scale: 0.98 }}+ transition={{ duration: 0.15, ease: 'easeOut' }}+ onScroll={(e) => {+ const tick = Math.floor(e.currentTarget.scrollTop / 28)+ if (tick !== lastScrollTick.current) {+ lastScrollTick.current = tick+ playDialTickSound()+ }+ }}+ style={{+ position: 'absolute',+ top: 'calc(100% + 6px)',+ left: 0,+ right: 0,+ maxHeight: 200,+ overflowY: 'auto',+ background: '#121214',+ border: '1px solid rgba(255, 255, 255, 0.14)',+ borderRadius: 10,+ padding: '4px',+ boxShadow: '0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05)',+ zIndex: 100,+ scrollbarWidth: 'none'+ }}+ >+ {languages.map((lang) => {+ const active = lang.code === (language || 'system')+ return (+ <button+ key={lang.code}+ type="button"+ onClick={() => {+ playButtonClickSound()+ patch({ language: lang.code })+ setIsOpen(false)+ }}+ style={{+ width: '100%',+ display: 'flex',+ alignItems: 'center',+ justifyContent: 'space-between',+ padding: '7px 10px',+ borderRadius: 7,+ background: active ? 'rgba(255, 255, 255, 0.12)' : 'transparent',+ color: active ? '#ffffff' : 'rgba(255, 255, 255, 0.8)',+ fontSize: 12,+ fontWeight: active ? 600 : 400,+ border: 'none',+ cursor: 'pointer',+ textAlign: 'left',+ transition: 'background 0.12s ease'+ }}+ onMouseEnter={(e) => {+ if (!active) e.currentTarget.style.background = 'rgba(255, 255, 255, 0.07)'+ playDialTickSound()+ }}+ onMouseLeave={(e) => {+ if (!active) e.currentTarget.style.background = 'transparent'+ }}+ >+ <span>{lang.nativeName}</span>+ {active && <span style={{ color: '#4caf50', fontSize: 13, fontWeight: 700 }}>✓</span>}+ </button>+ )+ })}+ </motion.div>+ )}+ </AnimatePresence>+ </div>+ )+}diff --git a/src/components/Toast.tsx b/src/components/Toast.tsxindex a3497b7..93b423c 100644--- a/src/components/Toast.tsx+++ b/src/components/Toast.tsx@@ -9,32 +9,35 @@import { AnimatePresence, motion } from 'framer-motion'import { useStore } from '../store/appStore'+import { useTranslation } from '../i18n'+export function ToastStack() {+ const { t } = useTranslation()const toasts = useStore((s) => s.toasts)const dismiss = useStore((s) => s.dismissToast)return (<div className="toast-stack"><AnimatePresence>- {toasts.map((t) => (+ {toasts.map((toastMsg) => (<motion.button- key={t.id}- className={`toast ${t.tone === 'error' ? 'toast-error' : 'toast-info'}`}+ key={toastMsg.id}+ className={`toast ${toastMsg.tone === 'error' ? 'toast-error' : 'toast-info'}`}initial={{ opacity: 0, y: 16, scale: 0.96 }}animate={{ opacity: 1, y: 0, scale: 1 }}exit={{ opacity: 0, y: 10, scale: 0.96 }}transition={{ type: 'spring', stiffness: 500, damping: 40, mass: 0.5, restDelta: 0.001, restSpeed: 0.001 }}- onClick={() => dismiss(t.id)}- title="Dismiss"+ onClick={() => dismiss(toastMsg.id)}+ title={t('header.close')}>- {t.tone === 'error' && (+ {toastMsg.tone === 'error' && (<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round" style={{ flexShrink: 0 }}><circle cx="12" cy="12" r="10" /><line x1="12" y1="8" x2="12" y2="12" /><line x1="12" y1="16" x2="12.01" y2="16" /></svg>)}- <span>{t.message}</span>+ <span>{toastMsg.message}</span></motion.button>))}</AnimatePresence>diff --git a/src/i18n/index.ts b/src/i18n/index.tsnew file mode 100644index 0000000..72a4971--- /dev/null+++ b/src/i18n/index.ts@@ -0,0 +1,96 @@+import { useStore } from '../store/appStore'+import { LANGUAGES, TRANSLATIONS, en } from './translations'++/**+ * Resolves the active language code.+ * If 'system', automatically matches navigator.language (e.g. 'es-ES' -> 'es').+ */+export function getResolvedLanguage(settingLang?: string): string {+ const code = settingLang || useStore.getState().settings.language || 'system'+ if (code !== 'system') return code++ const g = globalThis as any+ if (!g.window || !g.window.navigator) return 'en'+ const navLang = ((g.window.navigator.language as string) || '').toLowerCase()++ if (navLang.startsWith('zh-tw') || navLang.startsWith('zh-hk')) return 'zh-TW'+ if (navLang.startsWith('zh')) return 'zh-CN'+ if (navLang.startsWith('es')) return 'es'+ if (navLang.startsWith('fr')) return 'fr'+ if (navLang.startsWith('de')) return 'de'+ if (navLang.startsWith('hi')) return 'hi'+ if (navLang.startsWith('ja')) return 'ja'+ if (navLang.startsWith('ru')) return 'ru'+ if (navLang.startsWith('it')) return 'it'+ if (navLang.startsWith('pt')) return 'pt'+ if (navLang.startsWith('ko')) return 'ko'+ if (navLang.startsWith('ar')) return 'ar'+ if (navLang.startsWith('tr')) return 'tr'+ if (navLang.startsWith('vi')) return 'vi'+ if (navLang.startsWith('pl')) return 'pl'+ if (navLang.startsWith('nl')) return 'nl'+ if (navLang.startsWith('sv')) return 'sv'+ if (navLang.startsWith('id')) return 'id'+ if (navLang.startsWith('uk')) return 'uk'++ return 'en'+}++/**+ * Retrieves a nested string property safely from a translation dictionary.+ */+function getNestedProp(obj: any, path: string): string | undefined {+ const parts = path.split('.')+ let curr = obj+ for (const part of parts) {+ if (!curr || typeof curr !== 'object') return undefined+ curr = curr[part]+ }+ return typeof curr === 'string' ? curr : undefined+}++/**+ * Main translation function.+ * E.g., t('header.searchPlaceholder')+ * E.g., t('behaviour.updateAvailableTitle', { version: '0.2.2' })+ */+export function t(path: string, params?: Record<string, string | number>): string {+ const settingsLang = useStore.getState().settings.language+ const langCode = getResolvedLanguage(settingsLang)+ const dict = TRANSLATIONS[langCode]++ let val = dict ? getNestedProp(dict, path) : undefined+ if (!val) {+ val = getNestedProp(en, path) || path+ }++ if (params) {+ for (const [k, v] of Object.entries(params)) {+ val = val.replace(new RegExp(`\\{${k}\\}`, 'g'), String(v))+ }+ }++ return val+}++/**+ * Hook that subscribes to settings.language changes and returns the translation function t.+ */+export function useTranslation() {+ const language = useStore((s) => s.settings.language)+ const resolvedLang = getResolvedLanguage(language)++ // Update text direction for RTL languages like Arabic & Hebrew+ const g = globalThis as any+ if (g.document && g.document.documentElement) {+ const isRtl = resolvedLang === 'ar' || resolvedLang === 'he'+ g.document.documentElement.dir = isRtl ? 'rtl' : 'ltr'+ }++ return {+ t,+ language,+ resolvedLang,+ languages: LANGUAGES+ }+}diff --git a/src/i18n/translations.ts b/src/i18n/translations.tsnew file mode 100644index 0000000..fcfdb92--- /dev/null+++ b/src/i18n/translations.ts@@ -0,0 +1,2172 @@+export interface TranslationKeys {+ filters: {+ all: string+ text: string+ links: string+ images: string+ files: string+ }+ tabs: {+ behaviour: string+ position: string+ appearance: string+ }+ header: {+ searchPlaceholder: string+ settings: string+ close: string+ whatsNew: string+ }+ behaviour: {+ languageTitle: string+ languageDesc: string+ systemDefault: string+ launchAtLoginTitle: string+ launchAtLoginDesc: string+ incognitoTitle: string+ incognitoDesc: string+ hoverActivationTitle: string+ hoverActivationDescOn: string+ hoverActivationDescOff: string+ disabledHoverOff: string+ fullscreenProtectionTitle: string+ fullscreenProtectionDesc: string+ clearUnpinnedTitle: string+ clearUnpinnedDesc: string+ soundEffectsTitle: string+ soundEffectsDesc: string+ autoUpdatesTitle: string+ autoUpdatesDescOn: string+ autoUpdatesDescOff: string+ checkForUpdates: string+ checkingForUpdates: string+ isUpToDate: string+ checkAgain: string+ tryAgain: string+ updateCheckFailed: string+ updateAvailableTitle: string+ updateAvailableDesc: string+ downloadAndUpdate: string+ skip: string+ downloadingUpdate: string+ updateReadyTitle: string+ updateReadyDesc: string+ restartToUpdate: string+ restartToUpdateBelow: string+ newUpdateAvailableBelow: string+ autoDeleteTitle: string+ autoDeleteDesc: string+ never: string+ capacityTitle: string+ capacityDesc: string+ }+ position: {+ edgePlacementTitle: string+ edgePlacementDesc: string+ leftEdge: string+ rightEdge: string+ displayTitle: string+ displayDesc: string+ primaryDisplay: string+ verticalPositionTitle: string+ verticalPositionDesc: string+ top: string+ center: string+ bottom: string+ triggerZone: string+ edgeLocationHintTitle: string+ edgeLocationHintDesc: string+ edgeTriggerPositionTitle: string+ edgeTriggerPositionDesc: string+ hoverAreaSizeTitle: string+ hoverAreaSizeDesc: string+ medium: string+ edgeTriggerThicknessTitle: string+ edgeTriggerThicknessDesc: string+ panelHeightTitle: string+ panelHeightDesc: string+ }+ appearance: {+ copyIndicatorTitle: string+ copyIndicatorDesc: string+ indicatorStyleTitle: string+ indicatorStyleDesc: string+ typography: string+ textSizeTitle: string+ textSizeDesc: string+ audioAndFeedback: string+ small: string+ normal: string+ medium: string+ large: string+ cardViewTitle: string+ cardViewDesc: string+ modernCards: string+ compactRows: string+ logoStyle: string+ tickStyle: string+ copyStyle: string+ sparkleStyle: string+ }+ item: {+ copy: string+ pinned: string+ pin: string+ unpin: string+ delete: string+ clear: string+ dropToSave: string+ dropToSaveDesc: string+ justNow: string+ ago: string+ expand: string+ textItem: string+ imageItem: string+ fileItem: string+ linkItem: string+ items: string+ recent: string+ expandPinned: string+ collapsePinned: string+ screenshot: string+ ungroup: string+ copyFilePath: string+ moreImages: string+ moreFiles: string+ singleFile: string+ scrollToTop: string+ }+ fileKinds: {+ pdf: string+ word: string+ excel: string+ powerpoint: string+ archive: string+ text: string+ code: string+ audio: string+ video: string+ image: string+ file: string+ }+ emptyState: {+ shelfEmpty: string+ noResultsFound: string+ shelfEmptyHint: string+ noResultsHint: string+ noClipsFound: string+ copyTypeHint: string+ textClips: string+ links: string+ images: string+ files: string+ }+ onboarding: {+ welcomeTitle: string+ welcomeDesc: string+ collectTitle: string+ collectDesc: string+ dragTitle: string+ dragDesc: string+ stacksTitle: string+ stacksDesc: string+ ungroupTitle: string+ ungroupDesc: string+ mergeTitle: string+ mergeDesc: string+ previewTitle: string+ previewDesc: string+ configTitle: string+ configDesc: string+ skip: string+ back: string+ next: string+ getStarted: string+ extractedCard: string+ dropToExtract: string+ proTips: string+ proTip1: string+ proTip2: string+ proTip3: string+ proTip4: string+ }+ tray: {+ showClipboard: string+ settings: string+ incognito: string+ hoverTrigger: string+ stickTo: string+ left: string+ right: string+ display: string+ quit: string+ welcomeTitle: string+ welcomeBody: string+ }+ flyout: {+ copyBeaconStyleTitle: string+ openLink: string+ copyContent: string+ saveFile: string+ extractedFromBundle: string+ itemsCount: string+ selectedCount: string+ selectAll: string+ deselectAll: string+ copySelected: string+ pasteSelected: string+ paste: string+ clearSelection: string+ contentTruncated: string+ clickToPaste: string+ copyText: string+ copyImage: string+ copyFile: string+ clickToPasteDrag: string+ openInExplorer: string+ current: string+ }+ toast: {+ copiedToClipboard: string+ itemDeleted: string+ itemPinned: string+ itemUnpinned: string+ settingsSaved: string+ }+ footer: {+ communityAndSupport: string+ feedbackTitle: string+ feedbackDesc: string+ submitFeedback: string+ applicationGroup: string+ quitTitle: string+ quitDesc: string+ starOnGithub: string+ githubPromo: string+ version: string+ }+}++export interface LanguageMeta {+ code: string+ name: string+ nativeName: string+ rtl?: boolean+}++export const LANGUAGES: LanguageMeta[] = [+ { code: 'system', name: 'System Default', nativeName: 'System Default (Auto)' },+ { code: 'en', name: 'English', nativeName: 'English (US)' },+ { code: 'es', name: 'Spanish', nativeName: 'Español' },+ { code: 'fr', name: 'French', nativeName: 'Français' },+ { code: 'de', name: 'German', nativeName: 'Deutsch' },+ { code: 'it', name: 'Italian', nativeName: 'Italiano' },+ { code: 'pt', name: 'Portuguese', nativeName: 'Português' },+ { code: 'ru', name: 'Russian', nativeName: 'Русский' },+ { code: 'ja', name: 'Japanese', nativeName: '日本語' },+ { code: 'ko', name: 'Korean', nativeName: '한국어' },+ { code: 'zh-CN', name: 'Chinese (Simplified)', nativeName: '简体中文' },+ { code: 'zh-TW', name: 'Chinese (Traditional)', nativeName: '繁體中文' },+ { code: 'hi', name: 'Hindi', nativeName: 'हिन्दी' },+ { code: 'ar', name: 'Arabic', nativeName: 'العربية', rtl: true },+ { code: 'bn', name: 'Bengali', nativeName: 'বাংলা' },+ { code: 'tr', name: 'Turkish', nativeName: 'Türkçe' },+ { code: 'vi', name: 'Vietnamese', nativeName: 'Tiếng Việt' },+ { code: 'pl', name: 'Polish', nativeName: 'Polski' },+ { code: 'nl', name: 'Dutch', nativeName: 'Nederlands' },+ { code: 'sv', name: 'Swedish', nativeName: 'Svenska' },+ { code: 'id', name: 'Indonesian', nativeName: 'Bahasa Indonesia' },+ { code: 'uk', name: 'Ukrainian', nativeName: 'Українська' },+ { code: 'el', name: 'Greek', nativeName: 'Ελληνικά' },+ { code: 'cs', name: 'Czech', nativeName: 'Čeština' },+ { code: 'ro', name: 'Romanian', nativeName: 'Română' },+ { code: 'hu', name: 'Hungarian', nativeName: 'Magyar' },+ { code: 'da', name: 'Danish', nativeName: 'Dansk' },+ { code: 'fi', name: 'Finnish', nativeName: 'Suomi' },+ { code: 'th', name: 'Thai', nativeName: 'ไทย' },+ { code: 'he', name: 'Hebrew', nativeName: 'עברית', rtl: true },+ { code: 'no', name: 'Norwegian', nativeName: 'Norsk' }+]++export const en: TranslationKeys = {+ filters: { all: 'All', text: 'Text', links: 'Links', images: 'Images', files: 'Files' },+ tabs: { behaviour: 'Behaviour', position: 'Position', appearance: 'Appearance' },+ header: { searchPlaceholder: 'Search history...', settings: 'Settings', close: 'Close', whatsNew: "What's New" },+ behaviour: {+ languageTitle: 'Language',+ languageDesc: 'Select UI language for system menus and controls',+ systemDefault: 'System Default (Auto)',+ launchAtLoginTitle: 'Launch at login',+ launchAtLoginDesc: 'Start silently in background when computer boots',+ incognitoTitle: 'Incognito mode',+ incognitoDesc: 'Temporarily pause recording new clipboard items',+ hoverActivationTitle: 'Hover Activation',+ hoverActivationDescOn: 'Slide open shelf when hovering cursor near screen edge',+ hoverActivationDescOff: 'Hover trigger paused. Use Alt + C to open',+ disabledHoverOff: 'Disabled because Hover Activation is turned off',+ fullscreenProtectionTitle: 'Fullscreen Protection',+ fullscreenProtectionDesc: 'Automatically pause edge hover while playing games or watching fullscreen videos',+ clearUnpinnedTitle: 'Clear unpinned on restart',+ clearUnpinnedDesc: 'Wipe unpinned items whenever the app restarts',+ soundEffectsTitle: 'Sound Effects',+ soundEffectsDesc: 'Play tactile audio feedback for toggles, sliders, and button clicks',+ autoUpdatesTitle: 'Automatic updates',+ autoUpdatesDescOn: 'Check for and download app updates automatically in background',+ autoUpdatesDescOff: 'Background update checks paused. Check for updates manually below',+ checkForUpdates: 'Check for updates',+ checkingForUpdates: 'Checking GitHub for updates...',+ isUpToDate: '✓ Edge-Drop is up to date',+ checkAgain: 'Check again',+ tryAgain: 'Try again',+ updateCheckFailed: 'Update check failed',+ updateAvailableTitle: 'Edge-Drop v{version} is available!',+ updateAvailableDesc: 'A newer version is ready on GitHub. Would you like to download and update now?',+ downloadAndUpdate: 'Download & Update',+ skip: 'Skip',+ downloadingUpdate: 'Downloading update package in background...',+ updateReadyTitle: 'Update v{version} Ready',+ updateReadyDesc: 'Click to restart Edge-Drop and apply the update.',+ restartToUpdate: 'Restart to Update',+ restartToUpdateBelow: 'Restart to update below',+ newUpdateAvailableBelow: 'New update available below',+ autoDeleteTitle: 'Auto-delete timer',+ autoDeleteDesc: 'Automatically purge copied items (preserves Pinned)',+ never: 'Never',+ capacityTitle: 'History capacity',+ capacityDesc: 'Maximum unpinned items stored in history'+ },+ position: {+ edgePlacementTitle: 'Edge Placement',+ edgePlacementDesc: 'Choose which screen edge Edge-Drop anchors to',+ leftEdge: 'Left Edge',+ rightEdge: 'Right Edge',+ displayTitle: 'Display Screen',+ displayDesc: 'Choose which monitor Edge-Drop attaches to',+ primaryDisplay: 'Primary Display',+ verticalPositionTitle: 'Vertical Position',+ verticalPositionDesc: 'Adjust vertical alignment along screen edge',+ top: 'Top',+ center: 'Center',+ bottom: 'Bottom',+ triggerZone: 'Trigger Zone',+ edgeLocationHintTitle: 'Edge location hint',+ edgeLocationHintDesc: 'Subtly illuminate beacon on screen edge when touching edge at wrong position',+ edgeTriggerPositionTitle: 'Edge trigger position',+ edgeTriggerPositionDesc: 'Placement of hover trigger strip relative to shelf',+ hoverAreaSizeTitle: 'Hover area size',+ hoverAreaSizeDesc: 'Hover area size on the screen edge',+ medium: 'Medium',+ edgeTriggerThicknessTitle: 'Edge trigger thickness',+ edgeTriggerThicknessDesc: 'Physical thickness of the invisible trigger strip',+ panelHeightTitle: 'Panel height',+ panelHeightDesc: 'Vertical size of the clipboard shelf'+ },+ appearance: {+ copyIndicatorTitle: 'Copy Indicator',+ copyIndicatorDesc: 'Show subtle visual beacon on screen edge when copying',+ indicatorStyleTitle: 'Indicator Style',+ indicatorStyleDesc: 'Choose visual shape style for edge copy indicator',+ typography: 'Typography',+ textSizeTitle: 'Text size',+ textSizeDesc: 'Adjust UI typography scale across Edge-Drop',+ audioAndFeedback: 'Audio & Feedback',+ small: 'Small',+ normal: 'Normal',+ medium: 'Medium',+ large: 'Large',+ cardViewTitle: 'Card Layout',+ cardViewDesc: 'Toggle between modern cards or compact list rows',+ modernCards: 'Modern Cards',+ compactRows: 'Compact Rows',+ logoStyle: 'Logo',+ tickStyle: 'Tick',+ copyStyle: 'Copy',+ sparkleStyle: 'Sparkle'+ },+ item: {+ copy: 'Copy',+ pinned: 'PINNED',+ pin: 'Pin',+ unpin: 'Unpin',+ delete: 'Delete',+ clear: 'Clear',+ dropToSave: 'Drop to save',+ dropToSaveDesc: 'Any file, image, link, or text',+ justNow: 'just now',+ ago: 'ago',+ expand: 'Expand',+ textItem: 'Text',+ imageItem: 'Image',+ fileItem: 'File',+ linkItem: 'Link',+ items: 'items',+ recent: 'RECENT',+ expandPinned: 'Expand pinned items',+ collapsePinned: 'Collapse pinned items',+ screenshot: 'Screenshot',+ ungroup: 'Ungroup from collection',+ copyFilePath: 'Copy file path',+ moreImages: '+{count} more images',+ moreFiles: '+{count} more files',+ singleFile: '1 file',+ scrollToTop: 'Scroll to top'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'Slides',+ archive: 'Archive',+ text: 'Text',+ code: 'Code',+ audio: 'Audio',+ video: 'Video',+ image: 'Image',+ file: 'File'+ },+ emptyState: {+ shelfEmpty: 'Shelf is empty',+ noResultsFound: 'No results found',+ shelfEmptyHint: 'Copy anything or drop files here to begin',+ noResultsHint: 'Try a different keyword or clear search',+ noClipsFound: 'No {type} found',+ copyTypeHint: 'Copy {type} or switch back to All',+ textClips: 'text clips',+ links: 'links',+ images: 'images',+ files: 'files'+ },+ onboarding: {+ welcomeTitle: 'Welcome to Edge-Drop',+ welcomeDesc: 'Edge-Drop lives hidden on the left edge of your screen. Simply move your mouse to the left edge to open the panel, and move away to hide it.',+ collectTitle: 'Collect Anything',+ collectDesc: 'Whenever you press Ctrl+C to copy text, images, or files, Edge-Drop automatically catches and saves them in the background.',+ dragTitle: 'Drag & Drop Anywhere',+ dragDesc: 'Need to use an item? Just open the panel and drag the card directly into any application, folder, or document.',+ stacksTitle: 'Explore File Stacks',+ stacksDesc: 'Copying multiple files groups them into a stack. You can drag the entire stack, or click it to view and extract individual files.',+ ungroupTitle: 'Ungroup & Split Stacks',+ ungroupDesc: 'Want to separate items in a stack? Click to expand the stack, then drag any subitem to the left edge of the screen. A glowing coral bar will appear—drop the item on it to extract it back into a standalone card.',+ mergeTitle: 'Combine & Merge Items',+ mergeDesc: 'Combine separate file or image cards by dragging them directly onto each other. This organizes your shelf by bundling related assets into a stack.',+ previewTitle: 'Preview Flyout',+ previewDesc: 'Click the preview button on any card to open a side flyout. Inspect high-resolution images, browse file collections, read long text snippets, or drag items directly from the preview.',+ configTitle: 'Configure Your Clipboard',+ configDesc: 'Customize how Edge-Drop works for you.',+ skip: 'Skip',+ back: 'Back',+ next: 'Next',+ getStarted: 'Get Started',+ extractedCard: 'Extracted card',+ dropToExtract: 'Drop to extract back into a standalone card',+ proTips: 'Pro Tips',+ proTip1: 'Press Alt + C to instantly toggle the shelf.',+ proTip2: 'Access settings anytime via the gear icon (top right).',+ proTip3: 'Drag & drop files to the left edge to add them.',+ proTip4: 'Click a text box, then a clipboard item to auto-paste.'+ },+ tray: {+ showClipboard: 'Show Clipboard',+ settings: 'Settings',+ incognito: 'Incognito (pause capture)',+ hoverTrigger: 'Hover Trigger (open on hover)',+ stickTo: 'Stick to',+ left: 'Left',+ right: 'Right',+ display: 'Display',+ quit: 'Quit Edge-Drop',+ welcomeTitle: 'Edge-Drop Clipboard Shelf',+ welcomeBody: 'Hover against the middle-left screen edge, or press Alt+C to slide open your shelf.'+ },+ flyout: {+ copyBeaconStyleTitle: 'Copy Indicator Style',+ openLink: 'Open Link',+ copyContent: 'Copy Content',+ saveFile: 'Save File',+ extractedFromBundle: 'Extracted from file stack',+ itemsCount: '{count} items',+ selectedCount: '{count} Selected',+ selectAll: 'Select All',+ deselectAll: 'Deselect All',+ copySelected: 'Copy Selected',+ pasteSelected: 'Paste Selected',+ paste: 'Paste',+ clearSelection: 'Clear Selection',+ contentTruncated: '… (content truncated)',+ clickToPaste: 'Click to paste',+ copyText: 'Copy Text',+ copyImage: 'Copy Image',+ copyFile: 'Copy File',+ clickToPasteDrag: 'Click to paste · Drag to move',+ openInExplorer: 'Open location in Explorer',+ current: 'Current'+ },+ toast: {+ copiedToClipboard: 'Copied to clipboard',+ itemDeleted: 'Item deleted',+ itemPinned: 'Item pinned',+ itemUnpinned: 'Item unpinned',+ settingsSaved: 'Settings saved'+ },+ footer: {+ communityAndSupport: 'Community & Support',+ feedbackTitle: 'Feedback & Issues',+ feedbackDesc: 'Report bugs or suggest features on GitHub',+ submitFeedback: 'Submit Feedback ↗',+ applicationGroup: 'Application',+ quitTitle: 'Quit Edge-Drop',+ quitDesc: 'Close application and stop background process',+ starOnGithub: 'Star on GitHub',+ githubPromo: 'If you like Edge-Drop, please consider starring the project on GitHub!',+ version: 'Version'+ }+}++export const es: TranslationKeys = {+ filters: { all: 'Todos', text: 'Texto', links: 'Enlaces', images: 'Imágenes', files: 'Archivos' },+ tabs: { behaviour: 'Comportamiento', position: 'Posición', appearance: 'Apariencia' },+ header: { searchPlaceholder: 'Buscar historial...', settings: 'Ajustes', close: 'Cerrar', whatsNew: 'Novedades' },+ behaviour: {+ languageTitle: 'Idioma',+ languageDesc: 'Selecciona el idioma de la interfaz para controles y menús',+ systemDefault: 'Predeterminado del sistema (Auto)',+ launchAtLoginTitle: 'Iniciar al arrancar',+ launchAtLoginDesc: 'Iniciar silenciosamente en segundo plano al encender el equipo',+ incognitoTitle: 'Modo incógnito',+ incognitoDesc: 'Pausar temporalmente el registro de nuevos elementos del portapapeles',+ hoverActivationTitle: 'Activación al pasar el cursor',+ hoverActivationDescOn: 'Deslizar el panel al pasar el cursor cerca del borde',+ hoverActivationDescOff: 'Activación pausada. Usa Alt + C para abrir',+ disabledHoverOff: 'Desactivado porque la activación al pasar el cursor está apagada',+ fullscreenProtectionTitle: 'Protección en pantalla completa',+ fullscreenProtectionDesc: 'Pausar activación automática durante juegos o vídeos a pantalla completa',+ clearUnpinnedTitle: 'Borrar no fijados al reiniciar',+ clearUnpinnedDesc: 'Eliminar elementos no fijados cada vez que se reinicie la aplicación',+ soundEffectsTitle: 'Efectos de sonido',+ soundEffectsDesc: 'Reproducir respuesta táctil de audio al cambiar opciones y botones',+ autoUpdatesTitle: 'Actualizaciones automáticas',+ autoUpdatesDescOn: 'Buscar y descargar actualizaciones automáticamente en segundo plano',+ autoUpdatesDescOff: 'Búsqueda automática pausada. Comprobar manualmente abajo',+ checkForUpdates: 'Buscar actualizaciones',+ checkingForUpdates: 'Buscando actualizaciones en GitHub...',+ isUpToDate: '✓ Edge-Drop está actualizado',+ checkAgain: 'Buscar de nuevo',+ tryAgain: 'Reintentar',+ updateCheckFailed: 'Error al comprobar actualizaciones',+ updateAvailableTitle: '¡Edge-Drop v{version} está disponible!',+ updateAvailableDesc: 'Una nueva versión está lista en GitHub. ¿Deseas descargarla y actualizar ahora?',+ downloadAndUpdate: 'Descargar y actualizar',+ skip: 'Omitir',+ downloadingUpdate: 'Descargando paquete de actualización en segundo plano...',+ updateReadyTitle: 'Actualización v{version} lista',+ updateReadyDesc: 'Haz clic para reiniciar Edge-Drop y aplicar la actualización.',+ restartToUpdate: 'Reiniciar para actualizar',+ restartToUpdateBelow: 'Reinicia abajo para actualizar',+ newUpdateAvailableBelow: 'Nueva actualización disponible abajo',+ autoDeleteTitle: 'Temporizador de borrado automático',+ autoDeleteDesc: 'Eliminar automáticamente elementos copiados (conserva los fijados)',+ never: 'Nunca',+ capacityTitle: 'Capacidad del historial',+ capacityDesc: 'Máximo de elementos no fijados guardados en el historial'+ },+ position: {+ edgePlacementTitle: 'Borde de pantalla',+ edgePlacementDesc: 'Elige en qué borde de la pantalla se ancla Edge-Drop',+ leftEdge: 'Borde izquierdo',+ rightEdge: 'Borde derecho',+ displayTitle: 'Pantalla',+ displayDesc: 'Elige en qué monitor se muestra Edge-Drop',+ primaryDisplay: 'Pantalla principal',+ verticalPositionTitle: 'Posición vertical',+ verticalPositionDesc: 'Ajusta la alineación vertical a lo largo del borde',+ top: 'Arriba',+ center: 'Centro',+ bottom: 'Abajo',+ triggerZone: 'Zona de activación',+ edgeLocationHintTitle: 'Pista de ubicación del borde',+ edgeLocationHintDesc: 'Iluminar suavemente el borde de la pantalla al tocar fuera de posición',+ edgeTriggerPositionTitle: 'Posición de activación en el borde',+ edgeTriggerPositionDesc: 'Ubicación de la franja de activación respecto al panel',+ hoverAreaSizeTitle: 'Tamaño del área de activación',+ hoverAreaSizeDesc: 'Tamaño del área táctil en el borde de la pantalla',+ medium: 'Mediano',+ edgeTriggerThicknessTitle: 'Grosor de activación',+ edgeTriggerThicknessDesc: 'Grosor físico de la franja de activación invisible',+ panelHeightTitle: 'Altura del panel',+ panelHeightDesc: 'Tamaño vertical del panel de portapapeles'+ },+ appearance: {+ copyIndicatorTitle: 'Indicador de copia',+ copyIndicatorDesc: 'Mostrar señal visual sutil en el borde al copiar',+ indicatorStyleTitle: 'Estilo de indicador',+ indicatorStyleDesc: 'Elige la forma del indicador visual de copia',+ typography: 'Tipografía',+ textSizeTitle: 'Tamaño de texto',+ textSizeDesc: 'Ajusta la escala de fuente de la interfaz',+ audioAndFeedback: 'Audio y comentarios',+ small: 'Pequeño',+ normal: 'Normal',+ medium: 'Mediano',+ large: 'Grande',+ cardViewTitle: 'Diseño de tarjetas',+ cardViewDesc: 'Alternar entre tarjetas modernas o filas compactas',+ modernCards: 'Tarjetas modernas',+ compactRows: 'Filas compactas',+ logoStyle: 'Logo',+ tickStyle: 'Marca',+ copyStyle: 'Copia',+ sparkleStyle: 'Destello'+ },+ item: {+ copy: 'Copiar',+ pinned: 'FIJADOS',+ pin: 'Fijar',+ unpin: 'Desfijar',+ delete: 'Eliminar',+ clear: 'Limpiar',+ dropToSave: 'Soltar para guardar',+ dropToSaveDesc: 'Cualquier archivo, imagen, enlace o texto',+ justNow: 'hace un momento',+ ago: 'atrás',+ expand: 'Expandir',+ textItem: 'Texto',+ imageItem: 'Imagen',+ fileItem: 'Archivo',+ linkItem: 'Enlace',+ items: 'elementos',+ recent: 'RECIENTES',+ expandPinned: 'Expandir fijados',+ collapsePinned: 'Contraer fijados',+ screenshot: 'Captura de pantalla',+ ungroup: 'Desagrupar',+ copyFilePath: 'Copiar ruta del archivo',+ moreImages: '+{count} más imágenes',+ moreFiles: '+{count} más archivos',+ singleFile: '1 archivo',+ scrollToTop: 'Ir arriba'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'Presentación',+ archive: 'Archivo',+ text: 'Texto',+ code: 'Código',+ audio: 'Audio',+ video: 'Vídeo',+ image: 'Imagen',+ file: 'Archivo'+ },+ emptyState: {+ shelfEmpty: 'El panel está vacío',+ noResultsFound: 'Sin resultados',+ shelfEmptyHint: 'Copia algo o arrastra archivos aquí para empezar',+ noResultsHint: 'Intenta con otra palabra clave o limpia la búsqueda',+ noClipsFound: 'No se encontraron {type}',+ copyTypeHint: 'Copia {type} o vuelve a Todos',+ textClips: 'textos',+ links: 'enlaces',+ images: 'imágenes',+ files: 'archivos'+ },+ onboarding: {+ welcomeTitle: 'Bienvenido a Edge-Drop',+ welcomeDesc: 'Edge-Drop vive oculto en el borde izquierdo de tu pantalla. Mueve el cursor al borde para abrir el panel.',+ collectTitle: 'Colecciona cualquier cosa',+ collectDesc: 'Cada vez que copias texto, imágenes o archivos con Ctrl+C, Edge-Drop los guarda automáticamente.',+ dragTitle: 'Arrastra y suelta donde quieras',+ dragDesc: '¿Necesitas usar un elemento? Simplemente abre el panel y arrastra la tarjeta a cualquier app.',+ stacksTitle: 'Explora pilas de archivos',+ stacksDesc: 'Copiar varios archivos los agrupa en una pila. Puedes arrastrar la pila entera o verla individualmente.',+ ungroupTitle: 'Desagrupa elementos',+ ungroupDesc: 'Extrae subelementos arrastrándolos hacia la barra coral en el borde izquierdo.',+ mergeTitle: 'Combina elementos',+ mergeDesc: 'Arrastra tarjetas unas sobre otras para combinarlas en una pila.',+ previewTitle: 'Vista previa flotante',+ previewDesc: 'Abre la vista previa para inspeccionar imágenes, textos o archivos en alta resolución.',+ configTitle: 'Configura tu portapapeles',+ configDesc: 'Personaliza Edge-Drop a tu gusto.',+ skip: 'Omitir',+ back: 'Atrás',+ next: 'Siguiente',+ getStarted: 'Empezar',+ extractedCard: 'Tarjeta extraída',+ dropToExtract: 'Suelta para extraer',+ proTips: 'Consejos útiles',+ proTip1: 'Presiona Alt + C para abrir el panel instantáneamente.',+ proTip2: 'Accede a los ajustes desde el icono de engranaje.',+ proTip3: 'Arrastra y suelta archivos en el borde izquierdo.',+ proTip4: 'Haz clic en un campo de texto y luego en un elemento.'+ },+ tray: {+ showClipboard: 'Mostrar Portapapeles',+ settings: 'Ajustes',+ incognito: 'Incógnito (pausar captura)',+ hoverTrigger: 'Activación al pasar cursor',+ stickTo: 'Anclar a',+ left: 'Izquierda',+ right: 'Derecha',+ display: 'Pantalla',+ quit: 'Salir de Edge-Drop',+ welcomeTitle: 'Panel Edge-Drop',+ welcomeBody: 'Pasa el cursor por el borde izquierdo o usa Alt+C para abrir.'+ },+ flyout: {+ copyBeaconStyleTitle: 'Estilo del indicador de copia',+ openLink: 'Abrir enlace',+ copyContent: 'Copiar contenido',+ saveFile: 'Guardar archivo',+ extractedFromBundle: 'Extraído de la pila',+ itemsCount: '{count} elementos',+ selectedCount: '{count} seleccionados',+ selectAll: 'Seleccionar todo',+ deselectAll: 'Desmarcar todo',+ copySelected: 'Copiar seleccionados',+ pasteSelected: 'Pegar seleccionados',+ paste: 'Pegar',+ clearSelection: 'Limpiar selección',+ contentTruncated: '… (contenido truncado)',+ clickToPaste: 'Haz clic para pegar',+ copyText: 'Copiar texto',+ copyImage: 'Copiar imagen',+ copyFile: 'Copiar archivo',+ clickToPasteDrag: 'Haz clic para pegar · Arrastra para mover',+ openInExplorer: 'Abrir ubicación en el Explorador',+ current: 'Actual'+ },+ toast: {+ copiedToClipboard: 'Copiado al portapapeles',+ itemDeleted: 'Elemento eliminado',+ itemPinned: 'Elemento fijado',+ itemUnpinned: 'Elemento desfijado',+ settingsSaved: 'Ajustes guardados'+ },+ footer: {+ communityAndSupport: 'Comunidad y Soporte',+ feedbackTitle: 'Comentarios y Problemas',+ feedbackDesc: 'Informa de errores o sugiere funciones en GitHub',+ submitFeedback: 'Enviar Comentarios ↗',+ applicationGroup: 'Aplicación',+ quitTitle: 'Salir de Edge-Drop',+ quitDesc: 'Cerrar la aplicación y detener el proceso en segundo plano',+ starOnGithub: 'Dar estrella en GitHub',+ githubPromo: '¡Si te gusta Edge-Drop, apóyanos con una estrella en GitHub!',+ version: 'Versión'+ }+}++export const fr: TranslationKeys = {+ filters: { all: 'Tous', text: 'Texte', links: 'Liens', images: 'Images', files: 'Fichiers' },+ tabs: { behaviour: 'Comportement', position: 'Position', appearance: 'Apparence' },+ header: { searchPlaceholder: 'Rechercher...', settings: 'Paramètres', close: 'Fermer', whatsNew: 'Nouveautés' },+ behaviour: {+ languageTitle: 'Langue',+ languageDesc: 'Sélectionner la langue de l\'interface',+ systemDefault: 'Par défaut du système (Auto)',+ launchAtLoginTitle: 'Lancer au démarrage',+ launchAtLoginDesc: 'Démarrer silencieusement en arrière-plan',+ incognitoTitle: 'Mode incognito',+ incognitoDesc: 'Suspendre temporairement l\'enregistrement',+ hoverActivationTitle: 'Activation au survol',+ hoverActivationDescOn: 'Ouvrir en survolant le bord de l\'écran',+ hoverActivationDescOff: 'Survol en pause. Utilisez Alt + C',+ disabledHoverOff: 'Désactivé car l\'activation au survol est désactivée',+ fullscreenProtectionTitle: 'Protection plein écran',+ fullscreenProtectionDesc: 'Mettre en pause en mode plein écran',+ clearUnpinnedTitle: 'Effacer non épinglés au redémarrage',+ clearUnpinnedDesc: 'Effacer les éléments non épinglés à chaque redémarrage',+ soundEffectsTitle: 'Effets sonores',+ soundEffectsDesc: 'Jouer un retour sonore tactile',+ autoUpdatesTitle: 'Mises à jour automatiques',+ autoUpdatesDescOn: 'Télécharger automatiquement les mises à jour',+ autoUpdatesDescOff: 'Vérification automatique en pause',+ checkForUpdates: 'Vérifier les mises à jour',+ checkingForUpdates: 'Vérification...',+ isUpToDate: '✓ Edge-Drop est à jour',+ checkAgain: 'Revérifier',+ tryAgain: 'Réessayer',+ updateCheckFailed: 'Échec de la vérification',+ updateAvailableTitle: 'Edge-Drop v{version} disponible !',+ updateAvailableDesc: 'Une nouvelle version est disponible.',+ downloadAndUpdate: 'Télécharger & Mettre à jour',+ skip: 'Ignorer',+ downloadingUpdate: 'Téléchargement de la mise à jour...',+ updateReadyTitle: 'Mise à jour v{version} prête',+ updateReadyDesc: 'Cliquez pour redémarrer Edge-Drop.',+ restartToUpdate: 'Redémarrer pour mettre à jour',+ restartToUpdateBelow: 'Redémarrer ci-dessous',+ newUpdateAvailableBelow: 'Mise à jour disponible ci-dessous',+ autoDeleteTitle: 'Minuteur de suppression automatique',+ autoDeleteDesc: 'Purger automatiquement les éléments copiés (conserve les épinglés)',+ never: 'Jamais',+ capacityTitle: 'Capacité de l\'historique',+ capacityDesc: 'Nombre maximum d\'éléments non épinglés conservés'+ },+ position: {+ edgePlacementTitle: 'Bord d\'ancrage',+ edgePlacementDesc: 'Choisir le bord de l\'écran',+ leftEdge: 'Bord gauche',+ rightEdge: 'Bord droit',+ displayTitle: 'Écran',+ displayDesc: 'Choisir l\'écran principal',+ primaryDisplay: 'Écran principal',+ verticalPositionTitle: 'Position verticale',+ verticalPositionDesc: 'Ajuster l\'alignement vertical',+ top: 'Haut',+ center: 'Centre',+ bottom: 'Bas',+ triggerZone: 'Zone de déclenchement',+ edgeLocationHintTitle: 'Indice de position au bord',+ edgeLocationHintDesc: 'Éclairer subtilement le bord lors d\'un toucher hors zone',+ edgeTriggerPositionTitle: 'Position de déclenchement au bord',+ edgeTriggerPositionDesc: 'Emplacement de la bande de survol par rapport au volet',+ hoverAreaSizeTitle: 'Taille de la zone de survol',+ hoverAreaSizeDesc: 'Taille de la zone de survol au bord de l\'écran',+ medium: 'Moyen',+ edgeTriggerThicknessTitle: 'Épaisseur de déclenchement',+ edgeTriggerThicknessDesc: 'Épaisseur physique de la bande invisible de déclenchement',+ panelHeightTitle: 'Hauteur du volet',+ panelHeightDesc: 'Taille verticale du volet de presse-papiers'+ },+ appearance: {+ copyIndicatorTitle: 'Indicateur de copie',+ copyIndicatorDesc: 'Afficher un signal visuel lors de la copie',+ indicatorStyleTitle: 'Style d\'indicateur',+ indicatorStyleDesc: 'Choisir la forme de l\'indicateur',+ typography: 'Typographie',+ textSizeTitle: 'Taille du texte',+ textSizeDesc: 'Ajuster la taille de la police',+ audioAndFeedback: 'Audio et retours',+ small: 'Petit',+ normal: 'Normal',+ medium: 'Moyen',+ large: 'Grand',+ cardViewTitle: 'Disposition des cartes',+ cardViewDesc: 'Alterner entre cartes et liste compacte',+ modernCards: 'Cartes modernes',+ compactRows: 'Lignes compactes',+ logoStyle: 'Logo',+ tickStyle: 'Coche',+ copyStyle: 'Copie',+ sparkleStyle: 'Étoile'+ },+ item: {+ copy: 'Copier',+ pinned: 'ÉPINGLÉS',+ pin: 'Épingler',+ unpin: 'Désépingler',+ delete: 'Supprimer',+ clear: 'Vider',+ dropToSave: 'Déposer pour enregistrer',+ dropToSaveDesc: 'Tout fichier, image, lien ou texte',+ justNow: 'à l\'instant',+ ago: 'plus tôt',+ expand: 'Agrandir',+ textItem: 'Texte',+ imageItem: 'Image',+ fileItem: 'Fichier',+ linkItem: 'Lien',+ items: 'éléments',+ recent: 'RÉCENTS',+ expandPinned: 'Développer les épinglés',+ collapsePinned: 'Réduire les épinglés',+ screenshot: 'Capture d\'écran',+ ungroup: 'Dégrouper',+ copyFilePath: 'Copier le chemin du fichier',+ moreImages: '+{count} images de plus',+ moreFiles: '+{count} fichiers de plus',+ singleFile: '1 fichier',+ scrollToTop: 'Haut de page'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'Présentation',+ archive: 'Archive',+ text: 'Texte',+ code: 'Code',+ audio: 'Audio',+ video: 'Vidéo',+ image: 'Image',+ file: 'Fichier'+ },+ emptyState: {+ shelfEmpty: 'Le volet est vide',+ noResultsFound: 'Aucun résultat',+ shelfEmptyHint: 'Copiez du texte ou glissez des fichiers ici',+ noResultsHint: 'Essayez un autre mot-clé',+ noClipsFound: 'Aucun {type} trouvé',+ copyTypeHint: 'Copiez des {type} ou revenez à Tous',+ textClips: 'textes',+ links: 'liens',+ images: 'images',+ files: 'fichiers'+ },+ onboarding: {+ welcomeTitle: 'Bienvenue sur Edge-Drop',+ welcomeDesc: 'Edge-Drop reste masqué sur le bord gauche. Glissez le curseur pour l\'ouvrir.',+ collectTitle: 'Collectez tout',+ collectDesc: 'Copiez n\'importe quel contenu avec Ctrl+C, Edge-Drop le sauvegarde automatiquement.',+ dragTitle: 'Glissez-déposez',+ dragDesc: 'Glissez directement les cartes dans vos applications.',+ stacksTitle: 'Piles de fichiers',+ stacksDesc: 'Les fichiers multiples sont regroupés automatiquement.',+ ungroupTitle: 'Dégrouper les piles',+ ungroupDesc: 'Faites glisser un sous-élément vers la barre de gauche pour l\'extraire.',+ mergeTitle: 'Fusionner des éléments',+ mergeDesc: 'Déposez des cartes les unes sur les autres pour créer une pile.',+ previewTitle: 'Aperçu détaillé',+ previewDesc: 'Inspectez les images et textes dans le volet d\'aperçu.',+ configTitle: 'Configuration',+ configDesc: 'Personnalisez vos préférences.',+ skip: 'Passer',+ back: 'Retour',+ next: 'Suivant',+ getStarted: 'Commencer',+ extractedCard: 'Carte extraite',+ dropToExtract: 'Déposez pour extraire',+ proTips: 'Conseils pros',+ proTip1: 'Appuyez sur Alt + C pour afficher le volet.',+ proTip2: 'Accédez aux paramètres via l\'icône engrenage.',+ proTip3: 'Glissez-déposez des fichiers sur le bord gauche.',+ proTip4: 'Cliquez sur une zone texte puis sur un élément.'+ },+ tray: {+ showClipboard: 'Afficher le presse-papiers',+ settings: 'Paramètres',+ incognito: 'Incognito (pause)',+ hoverTrigger: 'Survol actif',+ stickTo: 'Ancrer à',+ left: 'Gauche',+ right: 'Droite',+ display: 'Écran',+ quit: 'Quitter Edge-Drop',+ welcomeTitle: 'Presse-papiers Edge-Drop',+ welcomeBody: 'Survolez le bord gauche ou utilisez Alt+C.'+ },+ flyout: {+ copyBeaconStyleTitle: 'Style de l\'indicateur',+ openLink: 'Ouvrir le lien',+ copyContent: 'Copier le contenu',+ saveFile: 'Enregistrer le fichier',+ extractedFromBundle: 'Extrait de la pile',+ itemsCount: '{count} éléments',+ selectedCount: '{count} Sélectionnés',+ selectAll: 'Tout sélectionner',+ deselectAll: 'Tout désélectionner',+ copySelected: 'Copier les éléments sélectionnés',+ pasteSelected: 'Coller les éléments sélectionnés',+ paste: 'Coller',+ clearSelection: 'Effacer la sélection',+ contentTruncated: '… (contenu tronqué)',+ clickToPaste: 'Cliquer pour coller',+ copyText: 'Copier le texte',+ copyImage: 'Copier l\'image',+ copyFile: 'Copier le fichier',+ clickToPasteDrag: 'Cliquer pour coller · Glisser pour déplacer',+ openInExplorer: 'Ouvrir dans l\'Explorateur',+ current: 'Actuel'+ },+ toast: {+ copiedToClipboard: 'Copié dans le presse-papiers',+ itemDeleted: 'Élément supprimé',+ itemPinned: 'Élément épinglé',+ itemUnpinned: 'Élément désépinglé',+ settingsSaved: 'Paramètres enregistrés'+ },+ footer: {+ communityAndSupport: 'Communauté et Support',+ feedbackTitle: 'Commentaires et Problèmes',+ feedbackDesc: 'Signaler des bugs ou suggérer des fonctionnalités sur GitHub',+ submitFeedback: 'Envoyer des Commentaires ↗',+ applicationGroup: 'Application',+ quitTitle: 'Quitter Edge-Drop',+ quitDesc: 'Fermer l\'application et arrêter le processus en arrière-plan',+ starOnGithub: 'Étoiler sur GitHub',+ githubPromo: 'Si vous aimez Edge-Drop, ajoutez une étoile sur GitHub !',+ version: 'Version'+ }+}++export const de: TranslationKeys = {+ filters: { all: 'Alle', text: 'Text', links: 'Links', images: 'Bilder', files: 'Dateien' },+ tabs: { behaviour: 'Verhalten', position: 'Position', appearance: 'Erscheinungsbild' },+ header: { searchPlaceholder: 'Verlauf durchsuchen...', settings: 'Einstellungen', close: 'Schließen', whatsNew: 'Neuheiten' },+ behaviour: {+ languageTitle: 'Sprache',+ languageDesc: 'Sprache für Steuerelemente und Menüs auswählen',+ systemDefault: 'Systemstandard (Auto)',+ launchAtLoginTitle: 'Beim Autostart starten',+ launchAtLoginDesc: 'Beim Hochfahren des Computers im Hintergrund starten',+ incognitoTitle: 'Inkognito-Modus',+ incognitoDesc: 'Zwischenablage-Aufzeichnung vorübergehend pausieren',+ hoverActivationTitle: 'Hover-Aktivierung',+ hoverActivationDescOn: 'Leiste öffnen, wenn der Zeiger den Bildschirmrand berührt',+ hoverActivationDescOff: 'Hover pausiert. Verwenden Sie Alt + C zum Öffnen',+ disabledHoverOff: 'Deaktiviert, da Hover-Aktivierung ausgeschaltet ist',+ fullscreenProtectionTitle: 'Vollbild-Schutz',+ fullscreenProtectionDesc: 'Automatisches Öffnen bei Spielen oder Vollbildvideos pausieren',+ clearUnpinnedTitle: 'Nicht angeheftete beim Neustart löschen',+ clearUnpinnedDesc: 'Nicht angeheftete Einträge bei jedem Neustart der App löschen',+ soundEffectsTitle: 'Soundeffekte',+ soundEffectsDesc: 'Taktiles Audio-Feedback bei Interaktionen abspielen',+ autoUpdatesTitle: 'Automatische Updates',+ autoUpdatesDescOn: 'Updates automatisch im Hintergrund prüfen und herunterladen',+ autoUpdatesDescOff: 'Automatische Prüfung pausiert. Manuell unten prüfen',+ checkForUpdates: 'Nach Updates suchen',+ checkingForUpdates: 'GitHub wird nach Updates durchsucht...',+ isUpToDate: '✓ Edge-Drop ist auf dem neuesten Stand',+ checkAgain: 'Erneut prüfen',+ tryAgain: 'Erneut versuchen',+ updateCheckFailed: 'Update-Prüfung fehlgeschlagen',+ updateAvailableTitle: 'Edge-Drop v{version} ist verfügbar!',+ updateAvailableDesc: 'Eine neue Version ist verfügbar. Jetzt herunterladen?',+ downloadAndUpdate: 'Herunterladen & Aktualisieren',+ skip: 'Überspringen',+ downloadingUpdate: 'Update-Paket wird im Hintergrund heruntergeladen...',+ updateReadyTitle: 'Update v{version} bereit',+ updateReadyDesc: 'Klicken zum Neustarten von Edge-Drop.',+ restartToUpdate: 'Neu starten zum Aktualisieren',+ restartToUpdateBelow: 'Unten neu starten',+ newUpdateAvailableBelow: 'Neues Update unten verfügbar',+ autoDeleteTitle: 'Automatische Lösch-Zeitschaltuhr',+ autoDeleteDesc: 'Kopierte Einträge automatisch bereinigen (Angeheftete bleiben erhalten)',+ never: 'Nie',+ capacityTitle: 'Verlaufskapazität',+ capacityDesc: 'Maximale Anzahl nicht angehefteter Einträge im Verlauf'+ },+ position: {+ edgePlacementTitle: 'Bildschirmrand',+ edgePlacementDesc: 'Wählen Sie den Verankerungsrand',+ leftEdge: 'Linker Rand',+ rightEdge: 'Rechter Rand',+ displayTitle: 'Bildschirm',+ displayDesc: 'Wählen Sie den Monitor aus',+ primaryDisplay: 'Hauptbildschirm',+ verticalPositionTitle: 'Vertikale Position',+ verticalPositionDesc: 'Vertikale Ausrichtung am Rand anpassen',+ top: 'Oben',+ center: 'Mitte',+ bottom: 'Unten',+ triggerZone: 'Auslösezone',+ edgeLocationHintTitle: 'Rand-Hinweis',+ edgeLocationHintDesc: 'Sanftes Aufleuchten am Rand bei Berührung außerhalb der Zone',+ edgeTriggerPositionTitle: 'Auslöseposition am Rand',+ edgeTriggerPositionDesc: 'Platzierung des Auslösestreifens relativ zur Ablage',+ hoverAreaSizeTitle: 'Größe des Auslösebereichs',+ hoverAreaSizeDesc: 'Größe des Hover-Bereichs am Bildschirmrand',+ medium: 'Mittel',+ edgeTriggerThicknessTitle: 'Dicke der Auslösezone',+ edgeTriggerThicknessDesc: 'Physische Dicke des unsichtbaren Auslösestreifens',+ panelHeightTitle: 'Ablagehöhe',+ panelHeightDesc: 'Vertikale Größe der Zwischenablage-Ablage'+ },+ appearance: {+ copyIndicatorTitle: 'Kopier-Indikator',+ copyIndicatorDesc: 'Visuelles Signal am Rand beim Kopieren anzeigen',+ indicatorStyleTitle: 'Indikator-Stil',+ indicatorStyleDesc: 'Form des Indikators wählen',+ typography: 'Typografie',+ textSizeTitle: 'Textgröße',+ textSizeDesc: 'Schriftgröße anpassen',+ audioAndFeedback: 'Audio & Feedback',+ small: 'Klein',+ normal: 'Normal',+ medium: 'Mittel',+ large: 'Groß',+ cardViewTitle: 'Karten-Layout',+ cardViewDesc: 'Zwischen modernen Karten und kompakter Liste wechseln',+ modernCards: 'Moderne Karten',+ compactRows: 'Kompakte Zeilen',+ logoStyle: 'Logo',+ tickStyle: 'Haken',+ copyStyle: 'Kopie',+ sparkleStyle: 'Funkeln'+ },+ item: {+ copy: 'Kopieren',+ pinned: 'ANGEHEFTET',+ pin: 'Anheften',+ unpin: 'Lösen',+ delete: 'Löschen',+ clear: 'Leeren',+ dropToSave: 'Ablegen zum Speichern',+ dropToSaveDesc: 'Jede Datei, Bild, Link oder Text',+ justNow: 'gerade eben',+ ago: 'her',+ expand: 'Erweitern',+ textItem: 'Text',+ imageItem: 'Bild',+ fileItem: 'Datei',+ linkItem: 'Link',+ items: 'Einträge',+ recent: 'ZULEZT',+ expandPinned: 'Angeheftete erweitern',+ collapsePinned: 'Angeheftete einklappen',+ screenshot: 'Screenshot',+ ungroup: 'Stapel auflösen',+ copyFilePath: 'Dateipfad kopieren',+ moreImages: '+{count} weitere Bilder',+ moreFiles: '+{count} weitere Dateien',+ singleFile: '1 Datei',+ scrollToTop: 'Nach oben scrollen'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'Präsentation',+ archive: 'Archiv',+ text: 'Text',+ code: 'Code',+ audio: 'Audio',+ video: 'Video',+ image: 'Bild',+ file: 'Datei'+ },+ emptyState: {+ shelfEmpty: 'Ablage ist leer',+ noResultsFound: 'Keine Ergebnisse',+ shelfEmptyHint: 'Kopieren Sie Inhalte oder ziehen Sie Dateien hierher',+ noResultsHint: 'Versuchen Sie ein anderes Suchwort',+ noClipsFound: 'Keine {type} gefunden',+ copyTypeHint: 'Kopieren Sie {type} oder wechseln Sie zu Alle',+ textClips: 'Texte',+ links: 'Links',+ images: 'Bilder',+ files: 'Dateien'+ },+ onboarding: {+ welcomeTitle: 'Willkommen bei Edge-Drop',+ welcomeDesc: 'Edge-Drop befindet sich am linken Bildschirmrand. Bewegen Sie die Maus dorthin zum Öffnen.',+ collectTitle: 'Alles sammeln',+ collectDesc: 'Strg+C speichert automatisch Texte, Bilder und Dateien.',+ dragTitle: 'Überall hinziehen',+ dragDesc: 'Ziehen Sie Karten direkt in beliebige Anwendungen.',+ stacksTitle: 'Dateistapel nutzen',+ stacksDesc: 'Mehrere Dateien werden automatisch zu Stapeln zusammengefasst.',+ ungroupTitle: 'Stapel auflösen',+ ungroupDesc: 'Ziehen Sie ein Element zum linken Rand, um es zu entpacken.',+ mergeTitle: 'Karten zusammenführen',+ mergeDesc: 'Ziehen Sie Karten aufeinander, um Stapel zu erstellen.',+ previewTitle: 'Vorschau-Fenster',+ previewDesc: 'Betrachten Sie Bilder und Dokumente in hoher Auflösung.',+ configTitle: 'Einstellungen',+ configDesc: 'Passen Sie Edge-Drop individuell an.',+ skip: 'Überspringen',+ back: 'Zurück',+ next: 'Weiter',+ getStarted: 'Loslegen',+ extractedCard: 'Entpackte Karte',+ dropToExtract: 'Ablegen zum Entpacken',+ proTips: 'Profi-Tipps',+ proTip1: 'Drücken Sie Alt + C, um die Leiste zu öffnen.',+ proTip2: 'Einstellungen über das Zahnrad-Symbol öffnen.',+ proTip3: 'Dateien an den linken Rand ziehen.',+ proTip4: 'Textfeld anklicken, dann auf einen Eintrag klicken.'+ },+ tray: {+ showClipboard: 'Zwischenablage anzeigen',+ settings: 'Einstellungen',+ incognito: 'Inkognito (Pause)',+ hoverTrigger: 'Hover-Aktivierung',+ stickTo: 'Anheften an',+ left: 'Links',+ right: 'Rechts',+ display: 'Bildschirm',+ quit: 'Edge-Drop beenden',+ welcomeTitle: 'Edge-Drop Ablage',+ welcomeBody: 'Fahren Sie an den linken Rand oder drücken Sie Alt+C.'+ },+ flyout: {+ copyBeaconStyleTitle: 'Kopier-Indikator Stil',+ openLink: 'Link öffnen',+ copyContent: 'Inhalt kopieren',+ saveFile: 'Datei speichern',+ extractedFromBundle: 'Aus Stapel entpackt',+ itemsCount: '{count} Einträge',+ selectedCount: '{count} Ausgewählt',+ selectAll: 'Alle auswählen',+ deselectAll: 'Auswahl aufheben',+ copySelected: 'Ausgewählte kopieren',+ pasteSelected: 'Ausgewählte einfügen',+ paste: 'Einfügen',+ clearSelection: 'Auswahl löschen',+ contentTruncated: '… (Inhalt gekürzt)',+ clickToPaste: 'Klicken zum Einfügen',+ copyText: 'Text kopieren',+ copyImage: 'Bild kopieren',+ copyFile: 'Datei kopieren',+ clickToPasteDrag: 'Klicken zum Einfügen · Ziehen zum Bewegen',+ openInExplorer: 'Im Explorer öffnen',+ current: 'Aktuell'+ },+ toast: {+ copiedToClipboard: 'In Zwischenablage kopiert',+ itemDeleted: 'Eintrag gelöscht',+ itemPinned: 'Eintrag angeheftet',+ itemUnpinned: 'Eintrag gelöst',+ settingsSaved: 'Einstellungen gespeichert'+ },+ footer: {+ communityAndSupport: 'Community & Hilfe',+ feedbackTitle: 'Feedback & Fehler',+ feedbackDesc: 'Fehler melden oder Funktionen auf GitHub vorschlagen',+ submitFeedback: 'Feedback Senden ↗',+ applicationGroup: 'Anwendung',+ quitTitle: 'Edge-Drop Beenden',+ quitDesc: 'Anwendung schließen und Hintergrundprozess stoppen',+ starOnGithub: 'Auf GitHub bewerten',+ githubPromo: 'Wenn Ihnen Edge-Drop gefällt, geben Sie uns einen Stern auf GitHub!',+ version: 'Version'+ }+}++export const hi: TranslationKeys = {+ filters: { all: 'सभी', text: 'टेक्स्ट', links: 'लिंक', images: 'इमेज', files: 'फ़ाइलें' },+ tabs: { behaviour: 'व्यवहार', position: 'स्थिति', appearance: 'रूप-रंग' },+ header: { searchPlaceholder: 'इतिहास खोजें...', settings: 'सेटिंग्स', close: 'बंद करें', whatsNew: 'नया क्या है' },+ behaviour: {+ languageTitle: 'भाषा',+ languageDesc: 'सिस्टम नियंत्रणों के लिए भाषा चुनें',+ systemDefault: 'सिस्टम डिफ़ॉल्ट (ऑटो)',+ launchAtLoginTitle: 'लॉगिन पर शुरू करें',+ launchAtLoginDesc: 'कंप्यूटर बूट होने पर बैकग्राउंड में शुरू करें',+ incognitoTitle: 'इंकॉग्निटो मोड',+ incognitoDesc: 'नया क्लिपबोर्ड डेटा रिकॉर्ड करना रोकें',+ hoverActivationTitle: 'होवर सक्रियण',+ hoverActivationDescOn: 'स्क्रीन किनारे पर कर्सर लाने पर शेल्फ़ खोलें',+ hoverActivationDescOff: 'होवर रुका हुआ है। खोलने के लिए Alt + C दबाएं',+ disabledHoverOff: 'अक्षम है क्योंकि होवर सक्रियण बंद है',+ fullscreenProtectionTitle: 'फ़ुलस्क्रीन सुरक्षा',+ fullscreenProtectionDesc: 'गेमिंग या फ़ुलस्क्रीन वीडियो के दौरान होवर रोकें',+ clearUnpinnedTitle: 'पुनारंभ पर अनपिन साफ़ करें',+ clearUnpinnedDesc: 'ऐप रीस्टार्ट होने पर अनपिन सामग्री साफ़ करें',+ soundEffectsTitle: 'ध्वनि प्रभाव',+ soundEffectsDesc: 'बटन और टॉगल पर ऑडियो प्रतिक्रिया बजाएं',+ autoUpdatesTitle: 'स्वचालित अपडेट',+ autoUpdatesDescOn: 'बैकग्राउंड में स्वचालित अपडेट जांचें और डाउनलोड करें',+ autoUpdatesDescOff: 'अपडेट जांच रुकी हुई है। नीचे मैन्युअल रूप से जांचें',+ checkForUpdates: 'अपडेट जांचें',+ checkingForUpdates: 'GitHub पर अपडेट की जांच की जा रही है...',+ isUpToDate: '✓ Edge-Drop अद्यतन है',+ checkAgain: 'पुनः जांचें',+ tryAgain: 'पुनः प्रयास करें',+ updateCheckFailed: 'अपडेट जांच विफल रही',+ updateAvailableTitle: 'Edge-Drop v{version} उपलब्ध है!',+ updateAvailableDesc: 'नया संस्करण तैयार है। क्या आप अभी डाउनलोड करना चाहते हैं?',+ downloadAndUpdate: 'डाउनलोड करें और अपडेट करें',+ skip: 'छोड़ें',+ downloadingUpdate: 'बैकग्राउंड में अपडेट पैक डाउनलोड हो रहा है...',+ updateReadyTitle: 'अपडेट v{version} तैयार है',+ updateReadyDesc: 'Edge-Drop रीस्टार्ट करने के लिए क्लिक करें।',+ restartToUpdate: 'रीस्टार्ट करके अपडेट करें',+ restartToUpdateBelow: 'अपडेट के लिए नीचे रीस्टार्ट करें',+ newUpdateAvailableBelow: 'नीचे नया अपडेट उपलब्ध है',+ autoDeleteTitle: 'स्वतः-हटाने का टाइमर',+ autoDeleteDesc: 'कॉपी की गई सामग्री स्वतः साफ़ करें (पिन की गई सुरक्षित रहेगी)',+ never: 'कभी नहीं',+ capacityTitle: 'इतिहास की क्षमता',+ capacityDesc: 'इतिहास में सहेजी जाने वाली अनपिन सामग्री की अधिकतम संख्या'+ },+ position: {+ edgePlacementTitle: 'स्क्रीन किनारा',+ edgePlacementDesc: 'चुनें कि Edge-Drop किस किनारे पर रहे',+ leftEdge: 'बायां किनारा',+ rightEdge: 'दायां किनारा',+ displayTitle: 'डिस्प्ले स्क्रीन',+ displayDesc: 'मॉनिटर चुनें',+ primaryDisplay: 'मुख्य डिस्प्ले',+ verticalPositionTitle: 'लंबवत स्थिति',+ verticalPositionDesc: 'किनारे पर लंबवत संरेखण समायोजित करें',+ top: 'ऊपर',+ center: 'बीच में',+ bottom: 'नीचे',+ triggerZone: 'ट्रिगर क्षेत्र',+ edgeLocationHintTitle: 'स्क्रीन किनारा संकेत',+ edgeLocationHintDesc: 'गलत स्थान पर छूने पर किनारे पर हल्का प्रकाश दिखाएं',+ edgeTriggerPositionTitle: 'होवर ट्रिगर की स्थिति',+ edgeTriggerPositionDesc: 'शेल्फ़ की तुलना में होवर पट्टी की स्थिति',+ hoverAreaSizeTitle: 'होवर क्षेत्र का आकार',+ hoverAreaSizeDesc: 'स्क्रीन किनारे पर होवर क्षेत्र का आकार',+ medium: 'मध्यम',+ edgeTriggerThicknessTitle: 'ट्रिगर पट्टी की मोटाई',+ edgeTriggerThicknessDesc: 'अदृश्य ट्रिगर पट्टी की भौतिक मोटाई',+ panelHeightTitle: 'शेल्फ़ की ऊंचाई',+ panelHeightDesc: 'क्लिपबोर्ड शेल्फ़ का लंबवत आकार'+ },+ appearance: {+ copyIndicatorTitle: 'कॉपी संकेतक',+ copyIndicatorDesc: 'कॉपी करते समय किनारे पर दृश्य संकेतक दिखाएं',+ indicatorStyleTitle: 'संकेतक शैली',+ indicatorStyleDesc: 'संकेतक का आकार चुनें',+ typography: 'टाइपोग्राफी (पाठ)',+ textSizeTitle: 'पाठ आकार',+ textSizeDesc: 'इंटरफ़ेस फ़ॉन्ट का आकार समायोजित करें',+ audioAndFeedback: 'ऑडियो और प्रतिक्रिया',+ small: 'छोटा',+ normal: 'सामान्य',+ medium: 'मध्यम',+ large: 'बड़ा',+ cardViewTitle: 'कार्ड लेआउट',+ cardViewDesc: 'आधुनिक कार्ड या कॉम्पैक्ट सूची में बदलें',+ modernCards: 'आधुनिक कार्ड',+ compactRows: 'कॉम्पैक्ट पंक्तियाँ',+ logoStyle: 'लोगो',+ tickStyle: 'टिक',+ copyStyle: 'कॉपी',+ sparkleStyle: 'चमक'+ },+ item: {+ copy: 'कॉपी',+ pinned: 'पिन किए गए',+ pin: 'पिन करें',+ unpin: 'अनपिन करें',+ delete: 'हटाएं',+ clear: 'साफ़ करें',+ dropToSave: 'सहेजने के लिए यहां छोड़ें',+ dropToSaveDesc: 'कोई भी फ़ाइल, इमेज, लिंक या टेक्स्ट',+ justNow: 'अभी-अभी',+ ago: 'पहले',+ expand: 'विस्तार करें',+ textItem: 'टेक्स्ट',+ imageItem: 'इमेज',+ fileItem: 'फ़ाइल',+ linkItem: 'लिंक',+ items: 'सामग्री',+ recent: 'हाल का इतिहास',+ expandPinned: 'पिन की गई सामग्री खोलें',+ collapsePinned: 'पिन की गई सामग्री बंद करें',+ screenshot: 'स्क्रीनशॉट',+ ungroup: 'अलग करें',+ copyFilePath: 'फ़ाइल पाथ कॉपी करें',+ moreImages: '+{count} अधिक इमेज',+ moreFiles: '+{count} अधिक फ़ाइलें',+ singleFile: '1 फ़ाइल',+ scrollToTop: 'ऊपर जाएं'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'स्लाइड्स',+ archive: 'आर्काइव',+ text: 'टेक्स्ट',+ code: 'कोड',+ audio: 'ऑडियो',+ video: 'वीडियो',+ image: 'इमेज',+ file: 'फ़ाइल'+ },+ emptyState: {+ shelfEmpty: 'शेल्फ़ खाली है',+ noResultsFound: 'कोई परिणाम नहीं मिला',+ shelfEmptyHint: 'शुरू करने के लिए कुछ कॉपी करें या फ़ाइलें यहां लाएं',+ noResultsHint: 'अलग शब्द खोजें या खोज साफ़ करें',+ noClipsFound: 'कोई {type} नहीं मिला',+ copyTypeHint: '{type} कॉपी करें या सभी पर वापस जाएं',+ textClips: 'टेक्स्ट क्लिप',+ links: 'लिंक',+ images: 'इमेज',+ files: 'फ़ाइलें'+ },+ onboarding: {+ welcomeTitle: 'Edge-Drop में आपका स्वागत है',+ welcomeDesc: 'Edge-Drop आपकी स्क्रीन के बाएं किनारे पर छिपा रहता है। शेल्फ़ खोलने के लिए कर्सर किनारे पर लाएं।',+ collectTitle: 'कुछ भी सहेजें',+ collectDesc: 'जब भी आप Ctrl+C दबाते हैं, Edge-Drop स्वतः सब कुछ सहेज लेता है।',+ dragTitle: 'कहीं भी ड्रैग करें',+ dragDesc: 'किसी भी सामग्री का उपयोग करने के लिए उसे सीधे ऐप या फ़ोल्डर में ड्रैग करें।',+ stacksTitle: 'फ़ाइल स्टैक',+ stacksDesc: 'एक साथ कई फ़ाइलें कॉपी करने पर वे एक स्टैक में जुड़ जाती हैं।',+ ungroupTitle: 'फ़ाइलें अलग करें',+ ungroupDesc: 'स्टैक से किसी फ़ाइल को बाहर निकालने के लिए उसे बाएं किनारे पर लाएं।',+ mergeTitle: 'कार्ड जोड़ें',+ mergeDesc: 'अलग कार्ड्स को एक-दूसरे पर ड्रैग करके एक स्टैक बनाएं।',+ previewTitle: 'पूर्वावलोकन',+ previewDesc: 'इमेज और टेक्स्ट को विस्तार से देखने के लिए प्रिव्यू खोलें।',+ configTitle: 'सेटिंग्स',+ configDesc: 'अपनी पसंद के अनुसार Edge-Drop को कस्टमाइज़ करें।',+ skip: 'छोड़ें',+ back: 'पीछे',+ next: 'आगे',+ getStarted: 'शुरू करें',+ extractedCard: 'अलग की गई फ़ाइल',+ dropToExtract: 'अलग करने के लिए यहां छोड़ें',+ proTips: 'महत्वपूर्ण सुझाव',+ proTip1: 'शेल्फ़ खोलने के लिए Alt + C दबाएं।',+ proTip2: 'गियर आइकन से सेटिंग्स खोलें।',+ proTip3: 'फ़ाइलों को जोड़ने के लिए बाएं किनारे पर ड्रैग करें।',+ proTip4: 'टेक्स्ट बॉक्स पर क्लिक करें फिर सामग्री पेस्ट करें।'+ },+ tray: {+ showClipboard: 'क्लिपबोर्ड दिखाएं',+ settings: 'सेटिंग्स',+ incognito: 'इंकॉग्निटो (कैप्चर रोकें)',+ hoverTrigger: 'होवर ट्रिगर',+ stickTo: 'किनारा चुनें',+ left: 'बायां',+ right: 'दायां',+ display: 'डिस्प्ले',+ quit: 'Edge-Drop से बाहर निकलें',+ welcomeTitle: 'Edge-Drop क्लिपबोर्ड',+ welcomeBody: 'स्क्रीन किनारे पर होवर करें या Alt+C दबाएं।'+ },+ flyout: {+ copyBeaconStyleTitle: 'कॉपी संकेतक शैली',+ openLink: 'लिंक खोलें',+ copyContent: 'सामग्री कॉपी करें',+ saveFile: 'फ़ाइल सहेजें',+ extractedFromBundle: 'स्टैक से अलग किया गया',+ itemsCount: '{count} सामग्री',+ selectedCount: '{count} चयनित',+ selectAll: 'सभी चुनें',+ deselectAll: 'चयन हटाएं',+ copySelected: 'चयनित कॉपी करें',+ pasteSelected: 'चयनित पेस्ट करें',+ paste: 'पेस्ट',+ clearSelection: 'चयन साफ़ करें',+ contentTruncated: '… (सामग्री संक्षिप्त की गई)',+ clickToPaste: 'पेस्ट करने के लिए क्लिक करें',+ copyText: 'टेक्स्ट कॉपी करें',+ copyImage: 'इमेज कॉपी करें',+ copyFile: 'फ़ाइल कॉपी करें',+ clickToPasteDrag: 'पेस्ट के लिए क्लिक करें · ले जाने के लिए ड्रैग करें',+ openInExplorer: 'फ़ोल्डर स्थान खोलें',+ current: 'वर्तमान'+ },+ toast: {+ copiedToClipboard: 'क्लिपबोर्ड पर कॉपी किया गया',+ itemDeleted: 'सामग्री हटाई गई',+ itemPinned: 'सामग्री पिन की गई',+ itemUnpinned: 'सामग्री अनपिन की गई',+ settingsSaved: 'सेटिंग्स सहेजी गईं'+ },+ footer: {+ communityAndSupport: 'समुदाय और सहायता',+ feedbackTitle: 'प्रतिक्रिया और समस्याएं',+ feedbackDesc: 'GitHub पर बग रिपोर्ट करें या सुझाव दें',+ submitFeedback: 'प्रतिक्रिया भेजें ↗',+ applicationGroup: 'एप्लिकेशन',+ quitTitle: 'Edge-Drop बंद करें',+ quitDesc: 'ऐप बंद करें और बैकग्राउंड प्रोसेस रोकें',+ starOnGithub: 'GitHub पर स्टार दें',+ githubPromo: 'यदि आपको Edge-Drop पसंद है, तो GitHub पर स्टार दें!',+ version: 'संस्करण'+ }+}++export const zhCN: TranslationKeys = {+ filters: { all: '全部', text: '文本', links: '链接', images: '图片', files: '文件' },+ tabs: { behaviour: '常规行为', position: '面板位置', appearance: '外观样式' },+ header: { searchPlaceholder: '搜索剪贴板历史...', settings: '设置', close: '关闭', whatsNew: '更新日志' },+ behaviour: {+ languageTitle: '界面语言',+ languageDesc: '选择 Edge-Drop 系统菜单和控制项语言',+ systemDefault: '跟随系统默认 (自动)',+ launchAtLoginTitle: '开机自动启动',+ launchAtLoginDesc: '开机时在后台静默启动',+ incognitoTitle: '无痕隐身模式',+ incognitoDesc: '暂停记录新的剪贴板项目',+ hoverActivationTitle: '悬停触发',+ hoverActivationDescOn: '鼠标光标接近屏幕边缘时滑出面板',+ hoverActivationDescOff: '悬停已暂停,按 Alt + C 快捷键打开',+ disabledHoverOff: '已禁用(因为悬停触发已关闭)',+ fullscreenProtectionTitle: '全屏保护',+ fullscreenProtectionDesc: '在全屏游戏或观看视频时自动暂停边缘悬停',+ clearUnpinnedTitle: '重启时清除未固定项目',+ clearUnpinnedDesc: '每次应用重启时自动清空未固定项目',+ soundEffectsTitle: '按键音效',+ soundEffectsDesc: '播放按钮和开关点击的触觉声音反馈',+ autoUpdatesTitle: '自动更新',+ autoUpdatesDescOn: '在后台自动检查并下载应用更新',+ autoUpdatesDescOff: '自动检查已暂停,可在下方手动检查',+ checkForUpdates: '检查更新',+ checkingForUpdates: '正在 GitHub 检查更新...',+ isUpToDate: '✓ Edge-Drop 已是最新版本',+ checkAgain: '重新检查',+ tryAgain: '重试',+ updateCheckFailed: '检查更新失败',+ updateAvailableTitle: 'Edge-Drop v{version} 现已可用!',+ updateAvailableDesc: 'GitHub 上有新版本,是否立即下载并更新?',+ downloadAndUpdate: '下载并更新',+ skip: '跳过',+ downloadingUpdate: '正在后台下载更新包...',+ updateReadyTitle: '更新 v{version} 已就绪',+ updateReadyDesc: '点击重启 Edge-Drop 并完成更新。',+ restartToUpdate: '重启并应用更新',+ restartToUpdateBelow: '在下方重启更新',+ newUpdateAvailableBelow: '下方有可用更新',+ autoDeleteTitle: '自动清理定时器',+ autoDeleteDesc: '自动定期清理复制的历史记录(保留已固定项目)',+ never: '从不',+ capacityTitle: '历史记录容量',+ capacityDesc: '剪贴板历史记录保存的最大未固定项目数'+ },+ position: {+ edgePlacementTitle: '屏幕边缘',+ edgePlacementDesc: '选择面板停靠的屏幕边缘',+ leftEdge: '左侧边缘',+ rightEdge: '右侧边缘',+ displayTitle: '显示器',+ displayDesc: '选择显示面板的显示器',+ primaryDisplay: '主显示器',+ verticalPositionTitle: '垂直位置',+ verticalPositionDesc: '调整面板沿边缘的垂直位置',+ top: '顶部',+ center: '居中',+ bottom: '底部',+ triggerZone: '触发区域',+ edgeLocationHintTitle: '边缘位置提示',+ edgeLocationHintDesc: '触摸非触发区域时在屏幕边缘微弱发光提示',+ edgeTriggerPositionTitle: '边缘触发位置',+ edgeTriggerPositionDesc: '悬停触发条相对于剪贴板面板的位置',+ hoverAreaSizeTitle: '悬停感应区域大小',+ hoverAreaSizeDesc: '屏幕边缘悬停触发区域的感应范围',+ medium: '中等',+ edgeTriggerThicknessTitle: '边缘触发条厚度',+ edgeTriggerThicknessDesc: '隐形边缘触发条的物理感应宽度',+ panelHeightTitle: '面板高度',+ panelHeightDesc: '剪贴板面板的垂直高度大小'+ },+ appearance: {+ copyIndicatorTitle: '复制指示器',+ copyIndicatorDesc: '复制内容时在屏幕边缘显示视觉反馈',+ indicatorStyleTitle: '指示器样式',+ indicatorStyleDesc: '选择边缘指示器的形状样式',+ typography: '字体排版',+ textSizeTitle: '文字大小',+ textSizeDesc: '调整界面字体缩放大小',+ audioAndFeedback: '声音与反馈',+ small: '小',+ normal: '标准',+ medium: '中等',+ large: '大',+ cardViewTitle: '卡片布局',+ cardViewDesc: '在现代卡片和紧凑列表之间切换',+ modernCards: '现代卡片',+ compactRows: '紧凑列表',+ logoStyle: '图标',+ tickStyle: '对勾',+ copyStyle: '复制',+ sparkleStyle: '闪烁'+ },+ item: {+ copy: '复制',+ pinned: '置顶项目',+ pin: '置顶',+ unpin: '取消置顶',+ delete: '删除',+ clear: '清空',+ dropToSave: '释放以保存',+ dropToSaveDesc: '支持任何文件、图片、链接或文本',+ justNow: '刚刚',+ ago: '前',+ expand: '展开',+ textItem: '文本',+ imageItem: '图片',+ fileItem: '文件',+ linkItem: '链接',+ items: '项',+ recent: '最近记录',+ expandPinned: '展开置顶项目',+ collapsePinned: '折叠置顶项目',+ screenshot: '截屏',+ ungroup: '拆分',+ copyFilePath: '复制文件路径',+ moreImages: '+{count} 张更多图片',+ moreFiles: '+{count} 个更多文件',+ singleFile: '1 个文件',+ scrollToTop: '回到顶部'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: '幻灯片',+ archive: '压缩包',+ text: '文本',+ code: '代码',+ audio: '音频',+ video: '视频',+ image: '图片',+ file: '文件'+ },+ emptyState: {+ shelfEmpty: '剪贴板为空',+ noResultsFound: '未找到相关结果',+ shelfEmptyHint: '复制任何内容或将文件拖放到此处即可开始',+ noResultsHint: '尝试更改关键词或清除搜索框',+ noClipsFound: '未找到{type}',+ copyTypeHint: '复制{type}或切换回全部',+ textClips: '文本项',+ links: '链接项',+ images: '图片项',+ files: '文件项'+ },+ onboarding: {+ welcomeTitle: '欢迎使用 Edge-Drop',+ welcomeDesc: 'Edge-Drop 隐藏停靠在屏幕左侧边缘。将鼠标移至左边缘即可呼出面板。',+ collectTitle: '自动收集一切',+ collectDesc: '按下 Ctrl+C 复制文本、图片或文件时,Edge-Drop 会在后台自动保存。',+ dragTitle: '随时随地拖放',+ dragDesc: '只需拖动卡片即可将其直接粘贴至任何应用程序或文件夹中。',+ stacksTitle: '文件堆栈',+ stacksDesc: '同时复制多个文件会自动合并为一个堆栈。',+ ungroupTitle: '拆分堆栈',+ ungroupDesc: '将堆栈内的文件拖至左侧边缘橙色条即可独立拆分出来。',+ mergeTitle: '合并项目',+ mergeDesc: '将文件或图片卡片互相拖放即可创建堆栈。',+ previewTitle: '大图与文本预览',+ previewDesc: '点击展开预览按钮可查看高分辨率图片或长文本。',+ configTitle: '个性化设置',+ configDesc: '根据您的习惯自定义 Edge-Drop。',+ skip: '跳过',+ back: '上一步',+ next: '下一步',+ getStarted: '开始使用',+ extractedCard: '已拆分的卡片',+ dropToExtract: '释放以拆分为独立卡片',+ proTips: '实用技巧',+ proTip1: '按 Alt + C 可即时切换剪贴板面板。',+ proTip2: '点击右上角齿轮图标随时打开设置。',+ proTip3: '将文件拖放至左侧边缘即可添加。',+ proTip4: '点击输入框,然后点击剪贴板项目即可自动粘贴。'+ },+ tray: {+ showClipboard: '显示剪贴板',+ settings: '设置',+ incognito: '无痕隐身 (暂停记录)',+ hoverTrigger: '悬停触发',+ stickTo: '停靠边缘',+ left: '左侧',+ right: '右侧',+ display: '显示器',+ quit: '退出 Edge-Drop',+ welcomeTitle: 'Edge-Drop 剪贴板',+ welcomeBody: '悬停至屏幕左侧边缘或按 Alt+C 即可呼出。'+ },+ flyout: {+ copyBeaconStyleTitle: '复制指示器样式',+ openLink: '打开链接',+ copyContent: '复制内容',+ saveFile: '保存文件',+ extractedFromBundle: '已从堆栈中拆分',+ itemsCount: '{count} 项',+ selectedCount: '已选择 {count} 项',+ selectAll: '全选',+ deselectAll: '取消全选',+ copySelected: '复制已选项',+ pasteSelected: '粘贴已选项',+ paste: '粘贴',+ clearSelection: '清除选择',+ contentTruncated: '… (内容已截断)',+ clickToPaste: '点击粘贴',+ copyText: '复制文本',+ copyImage: '复制图片',+ copyFile: '复制文件',+ clickToPasteDrag: '点击粘贴 · 拖动移动',+ openInExplorer: '在文件资源管理器中打开',+ current: '当前'+ },+ toast: {+ copiedToClipboard: '已复制到剪贴板',+ itemDeleted: '项目已删除',+ itemPinned: '项目已置顶',+ itemUnpinned: '项目已置顶',+ settingsSaved: '设置已保存'+ },+ footer: {+ communityAndSupport: '社区与支持',+ feedbackTitle: '反馈与建议',+ feedbackDesc: '在 GitHub 上提交 Bug 或功能建议',+ submitFeedback: '提交反馈 ↗',+ applicationGroup: '应用程序',+ quitTitle: '退出 Edge-Drop',+ quitDesc: '关闭应用程序并停止后台进程',+ starOnGithub: '在 GitHub 点赞',+ githubPromo: '如果您喜欢 Edge-Drop,欢迎在 GitHub 上点亮 Star!',+ version: '版本'+ }+}++export const ja: TranslationKeys = {+ filters: { all: 'すべて', text: 'テキスト', links: 'リンク', images: '画像', files: 'ファイル' },+ tabs: { behaviour: '動作設定', position: '位置設定', appearance: '外観デザイン' },+ header: { searchPlaceholder: '検索...', settings: '設定', close: '閉じる', whatsNew: '新機能' },+ behaviour: {+ languageTitle: '表示言語',+ languageDesc: 'UIおよびメニューの表示言語を選択',+ systemDefault: 'システムデフォルト (自動)',+ launchAtLoginTitle: 'ログイン時に起動',+ launchAtLoginDesc: 'PC起動時にバックグラウンドで自動起動',+ incognitoTitle: 'シークレットモード',+ incognitoDesc: '新しいクリップボードの記録を一時停止',+ hoverActivationTitle: 'ホバー起動',+ hoverActivationDescOn: 'カーソルを画面端に近づけるとシェルフを開く',+ hoverActivationDescOff: 'ホバー無効。Alt + C で開きます',+ disabledHoverOff: 'ホバー起動が無効のためOFF',+ fullscreenProtectionTitle: '全画面保護',+ fullscreenProtectionDesc: '全画面ゲームや動画再生時はホバーを自動停止',+ clearUnpinnedTitle: '再起動時に非ピン留めを削除',+ clearUnpinnedDesc: 'アプリ再起動時に非ピン留めアイテムを消去',+ soundEffectsTitle: '効果音',+ soundEffectsDesc: 'ボタンやトグル操作時に効果音を再生',+ autoUpdatesTitle: '自動アップデート',+ autoUpdatesDescOn: 'バックグラウンドで最新版を自動確認・ダウンロード',+ autoUpdatesDescOff: '自動確認は停止中。下部から手動確認可能',+ checkForUpdates: 'アップデートを確認',+ checkingForUpdates: 'GitHubで最新版を確認中...',+ isUpToDate: '✓ Edge-Drop は最新バージョンです',+ checkAgain: '再確認',+ tryAgain: '再試行',+ updateCheckFailed: '確認に失敗しました',+ updateAvailableTitle: 'Edge-Drop v{version} が利用可能です!',+ updateAvailableDesc: '新しいバージョンが用意されています。今すぐ更新しますか?',+ downloadAndUpdate: 'ダウンロードして更新',+ skip: 'スキップ',+ downloadingUpdate: 'バックグラウンドでダウンロード中...',+ updateReadyTitle: 'アップデート v{version} 準備完了',+ updateReadyDesc: 'クリックしてEdge-Dropを再起動し適用します。',+ restartToUpdate: '再起動して更新',+ restartToUpdateBelow: '下部で再起動して更新',+ newUpdateAvailableBelow: '下部に新しいアップデートがあります',+ autoDeleteTitle: '自動削除タイマー',+ autoDeleteDesc: 'コピーされた履歴を定期的に自動削除(ピン留めは保持)',+ never: 'なし',+ capacityTitle: '履歴件数制限',+ capacityDesc: '履歴に保存する非ピン留めアイテムの最大件数'+ },+ position: {+ edgePlacementTitle: '画面の端',+ edgePlacementDesc: 'Edge-Drop panelを配置する画面の端を選択',+ leftEdge: '左端',+ rightEdge: '右端',+ displayTitle: 'ディスプレイ',+ displayDesc: '表示するモニターを選択',+ primaryDisplay: 'メインディスプレイ',+ verticalPositionTitle: '垂直位置',+ verticalPositionDesc: '画面端での上下位置を調整',+ top: '上',+ center: '中央',+ bottom: '下',+ triggerZone: 'トリガーエリア',+ edgeLocationHintTitle: '画面端のヒント表示',+ edgeLocationHintDesc: 'エリア外をタッチした際に画面端をかすかに発光',+ edgeTriggerPositionTitle: 'ホバートリガー位置',+ edgeTriggerPositionDesc: 'シェルフに対するホバー反応域の位置',+ hoverAreaSizeTitle: 'ホバー反応エリアサイズ',+ hoverAreaSizeDesc: '画面端でのホバー起動エリアの広さ',+ medium: '中',+ edgeTriggerThicknessTitle: 'トリガー帯の厚み',+ edgeTriggerThicknessDesc: '画面端に配置される透明トリガー帯の厚み',+ panelHeightTitle: 'シェルフの高さ',+ panelHeightDesc: 'クリップボードシェルフの垂直方向のサイズ'+ },+ appearance: {+ copyIndicatorTitle: 'コピーインジケーター',+ copyIndicatorDesc: 'コピー時に画面端に視覚効果を表示',+ indicatorStyleTitle: 'インジケーターのスタイル',+ indicatorStyleDesc: '視覚インジケーターの形状を選択',+ typography: '文字スタイル',+ textSizeTitle: '文字サイズ',+ textSizeDesc: '全体のフォントサイズを調整',+ audioAndFeedback: 'サウンドとフィードバック',+ small: '小',+ normal: '標準',+ medium: '中',+ large: '大',+ cardViewTitle: 'カードレイアウト',+ cardViewDesc: 'モダンカードとコンパクト表示を切り替え',+ modernCards: 'モダンカード',+ compactRows: '行表示',+ logoStyle: 'ロゴ',+ tickStyle: 'チェック',+ copyStyle: 'コピー',+ sparkleStyle: 'キラキラ'+ },+ item: {+ copy: 'コピー',+ pinned: 'ピン留め済み',+ pin: 'ピン留め',+ unpin: 'ピン留め解除',+ delete: '削除',+ clear: '消去',+ dropToSave: 'ドロップして保存',+ dropToSaveDesc: 'ファイル、画像、リンク、テキスト対応',+ justNow: 'たった今',+ ago: '前',+ expand: '拡大',+ textItem: 'テキスト',+ imageItem: '画像',+ fileItem: 'ファイル',+ linkItem: 'リンク',+ items: '件',+ recent: '最近の履歴',+ expandPinned: 'ピン留めアイテムを開く',+ collapsePinned: 'ピン留めアイテムをたたむ',+ screenshot: 'スクリーンショット',+ ungroup: 'グループ解除',+ copyFilePath: 'ファイルパスをコピー',+ moreImages: '+{count} 枚の画像',+ moreFiles: '+{count} 件のファイル',+ singleFile: '1 件のファイル',+ scrollToTop: 'トップへ戻る'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'スライド',+ archive: 'アーカイブ',+ text: 'テキスト',+ code: 'コード',+ audio: 'オーディオ',+ video: 'ビデオ',+ image: '画像',+ file: 'ファイル'+ },+ emptyState: {+ shelfEmpty: 'クリップボードは空です',+ noResultsFound: '結果が見つかりません',+ shelfEmptyHint: 'コピーするかファイルをドラッグしてください',+ noResultsHint: '別のキーワードをお試しください',+ noClipsFound: '{type}が見つかりません',+ copyTypeHint: '{type}をコピーするか「すべて」に戻してください',+ textClips: 'テキスト',+ links: 'リンク',+ images: '画像',+ files: 'ファイル'+ },+ onboarding: {+ welcomeTitle: 'Edge-Dropへようこそ',+ welcomeDesc: 'Edge-Dropは画面の左端に隠れています。カーソルを近づけて開きます。',+ collectTitle: '何でも自動保存',+ collectDesc: 'Ctrl+Cでコピーした内容をバックグラウンドで自動保存します。',+ dragTitle: '自由自在にドラッグ&ドロップ',+ dragDesc: 'カードを任意のアプリやフォルダへ直接ドラッグできます。',+ stacksTitle: 'ファイルスタック',+ stacksDesc: '複数のファイルは1つのスタックにまとめられます。',+ ungroupTitle: 'スタックの解除',+ ungroupDesc: '左端のオレンジバーへドラッグして個別抽出できます。',+ mergeTitle: 'アイテムの結合',+ mergeDesc: 'カード同士を重ねてスタックを作成できます。',+ previewTitle: 'プレビュー機能',+ previewDesc: '画像や長文テキストを詳細プレビューできます。',+ configTitle: '環境設定',+ configDesc: 'お好みに合わせてカスタマイズしましょう。',+ skip: 'スキップ',+ back: '戻る',+ next: '次へ',+ getStarted: '始める',+ extractedCard: '抽出されたカード',+ dropToExtract: 'ドロップして抽出',+ proTips: 'ヒント',+ proTip1: 'Alt + C でシェルフを即座に開閉できます。',+ proTip2: '右上歯車アイコンから設定を開けます。',+ proTip3: 'ファイルを左端へドラッグして追加。',+ proTip4: 'テキストボックスをクリック後、項目をクリック。'+ },+ tray: {+ showClipboard: 'クリップボードを表示',+ settings: '設定',+ incognito: 'シークレットモード',+ hoverTrigger: 'ホバー起動',+ stickTo: '配置位置',+ left: '左端',+ right: '右端',+ display: 'ディスプレイ',+ quit: 'Edge-Dropを終了',+ welcomeTitle: 'Edge-Drop クリップボード',+ welcomeBody: '画面左端にホバーするかAlt+Cを押してください。'+ },+ flyout: {+ copyBeaconStyleTitle: 'インジケーターのスタイル',+ openLink: 'リンクを開く',+ copyContent: '内容をコピー',+ saveFile: 'ファイルを保存',+ extractedFromBundle: 'スタックから抽出済み',+ itemsCount: '{count}件',+ selectedCount: '{count}件 選択中',+ selectAll: 'すべて選択',+ deselectAll: '選択解除',+ copySelected: '選択アイテムをコピー',+ pasteSelected: '選択アイテムを貼り付け',+ paste: '貼り付け',+ clearSelection: '選択をクリア',+ contentTruncated: '… (内容が省略されました)',+ clickToPaste: 'クリックして貼り付け',+ copyText: 'テキストをコピー',+ copyImage: '画像をコピー',+ copyFile: 'ファイルをコピー',+ clickToPasteDrag: 'クリックで貼り付け · ドラッグで移動',+ openInExplorer: 'エクスプローラーで場所を開く',+ current: '現在の'+ },+ toast: {+ copiedToClipboard: 'クリップボードにコピーしました',+ itemDeleted: '削除しました',+ itemPinned: 'ピン留めしました',+ itemUnpinned: 'ピン留めを解除しました',+ settingsSaved: '設定を保存しました'+ },+ footer: {+ communityAndSupport: 'コミュニティとサポート',+ feedbackTitle: 'フィードバックと報告',+ feedbackDesc: 'バグ報告や新機能の提案(GitHub)',+ submitFeedback: 'フィードバックを送信 ↗',+ applicationGroup: 'アプリケーション',+ quitTitle: 'Edge-Drop を終了',+ quitDesc: 'アプリを終了しバックグラウンド処理を停止',+ starOnGithub: 'GitHubでStarを付ける',+ githubPromo: 'Edge-Dropを気に入っていただけたら、GitHubでのStarをお願いします!',+ version: 'バージョン'+ }+}++export const ru: TranslationKeys = {+ filters: { all: 'Все', text: 'Текст', links: 'Ссылки', images: 'Изображения', files: 'Файлы' },+ tabs: { behaviour: 'Поведение', position: 'Позиция', appearance: 'Внешний вид' },+ header: { searchPlaceholder: 'Поиск по истории...', settings: 'Настройки', close: 'Закрыть', whatsNew: 'Что нового' },+ behaviour: {+ languageTitle: 'Язык интерфейса',+ languageDesc: 'Выберите язык элементов управления и меню',+ systemDefault: 'Системный по умолчанию (Авто)',+ launchAtLoginTitle: 'Автозапуск при входе',+ launchAtLoginDesc: 'Запускать в фоновом режиме при включении ПК',+ incognitoTitle: 'Режим инкогнито',+ incognitoDesc: 'Временно приостановить запись буфера обмена',+ hoverActivationTitle: 'Активация наведением',+ hoverActivationDescOn: 'Открывать панель при наведении курсора к краю',+ hoverActivationDescOff: 'Наведение отключено. Используйте Alt + C',+ disabledHoverOff: 'Отключено, так как активация наведением выключена',+ fullscreenProtectionTitle: 'Защита в полноэкранном режиме',+ fullscreenProtectionDesc: 'Приостанавливать наведение во время игр или видео',+ clearUnpinnedTitle: 'Очищать незакрепленные при перезапуске',+ clearUnpinnedDesc: 'Удалять незакрепленные элементы при каждом перезапуске',+ soundEffectsTitle: 'Звуковые эффекты',+ soundEffectsDesc: 'Воспроизводить звуки при нажатии кнопок и переключателей',+ autoUpdatesTitle: 'Автоматические обновления',+ autoUpdatesDescOn: 'Автоматически проверять и скачивать обновления в фоне',+ autoUpdatesDescOff: 'Автопроверка отключена. Проверьте вручную ниже',+ checkForUpdates: 'Проверить обновления',+ checkingForUpdates: 'Проверка обновлений на GitHub...',+ isUpToDate: '✓ Установлена последняя версия Edge-Drop',+ checkAgain: 'Проверить снова',+ tryAgain: 'Повторить',+ updateCheckFailed: 'Ошибка проверки обновлений',+ updateAvailableTitle: 'Доступна версия Edge-Drop v{version}!',+ updateAvailableDesc: 'Новая версия готова. Скачать и установить сейчас?',+ downloadAndUpdate: 'Скачать и обновить',+ skip: 'Пропустить',+ downloadingUpdate: 'Загрузка обновления в фоновом режиме...',+ updateReadyTitle: 'Обновление v{version} готово',+ updateReadyDesc: 'Нажмите для перезапуска Edge-Drop и применения обновления.',+ restartToUpdate: 'Перезапустить для обновления',+ restartToUpdateBelow: 'Перезапустить ниже',+ newUpdateAvailableBelow: 'Доступно обновление ниже',+ autoDeleteTitle: 'Таймер автоудаления',+ autoDeleteDesc: 'Автоматически удалять скопированное (закрепленные сохраняются)',+ never: 'Никогда',+ capacityTitle: 'Емкость истории',+ capacityDesc: 'Максимальное количество незакрепленных элементов в истории'+ },+ position: {+ edgePlacementTitle: 'Край экрана',+ edgePlacementDesc: 'Выберите край экрана для прикрепления',+ leftEdge: 'Левый край',+ rightEdge: 'Правый край',+ displayTitle: 'Монитор',+ displayDesc: 'Выберите монитор для отображения',+ primaryDisplay: 'Основной монитор',+ verticalPositionTitle: 'Вертикальное положение',+ verticalPositionDesc: 'Настройте выравнивание по высоте',+ top: 'Сверху',+ center: 'По центру',+ bottom: 'Снизу',+ triggerZone: 'Зона активации',+ edgeLocationHintTitle: 'Подсказка края',+ edgeLocationHintDesc: 'Слегка подсвечивать край при касании вне зоны',+ edgeTriggerPositionTitle: 'Положение зоны активации',+ edgeTriggerPositionDesc: 'Расположение полосы активации относительно панели',+ hoverAreaSizeTitle: 'Размер зоны активации',+ hoverAreaSizeDesc: 'Размер чувствительной зоны у края экрана',+ medium: 'Средний',+ edgeTriggerThicknessTitle: 'Толщина зоны активации',+ edgeTriggerThicknessDesc: 'Физическая толщина невидимой полосы активации',+ panelHeightTitle: 'Высота панели',+ panelHeightDesc: 'Вертикальный размер панели буфера обмена'+ },+ appearance: {+ copyIndicatorTitle: 'Индикатор копирования',+ copyIndicatorDesc: 'Показывать визуальный сигнал у края при копировании',+ indicatorStyleTitle: 'Стиль индикатора',+ indicatorStyleDesc: 'Выберите форму индикатора',+ typography: 'Типографика',+ textSizeTitle: 'Размер шрифта',+ textSizeDesc: 'Настройте масштаб шрифта интерфейса',+ audioAndFeedback: 'Звук и отклик',+ small: 'Маленький',+ normal: 'Обычный',+ medium: 'Средний',+ large: 'Большой',+ cardViewTitle: 'Вид карточек',+ cardViewDesc: 'Переключение между карточками и компактным списком',+ modernCards: 'Современные карточки',+ compactRows: 'Компактные строки',+ logoStyle: 'Логотип',+ tickStyle: 'Галочка',+ copyStyle: 'Копия',+ sparkleStyle: 'Искра'+ },+ item: {+ copy: 'Копировать',+ pinned: 'ЗАКРЕПЛЕННЫЕ',+ pin: 'Закрепить',+ unpin: 'Открепить',+ delete: 'Удалить',+ clear: 'Очистить',+ dropToSave: 'Отпустите для сохранения',+ dropToSaveDesc: 'Любой файл, изображение, ссылка или текст',+ justNow: 'только что',+ ago: 'назад',+ expand: 'Развернуть',+ textItem: 'Текст',+ imageItem: 'Изображение',+ fileItem: 'Файл',+ linkItem: 'Ссылка',+ items: 'элементов',+ recent: 'НЕДАВНИЕ',+ expandPinned: 'Развернуть закрепленные',+ collapsePinned: 'Свернуть закрепленные',+ screenshot: 'Скриншот',+ ungroup: 'Извлечь',+ copyFilePath: 'Скопировать путь к файлу',+ moreImages: '+{count} доп. изображений',+ moreFiles: '+{count} доп. файлов',+ singleFile: '1 файл',+ scrollToTop: 'Наверх'+ },+ fileKinds: {+ pdf: 'PDF',+ word: 'Word',+ excel: 'Excel',+ powerpoint: 'Слайды',+ archive: 'Архив',+ text: 'Текст',+ code: 'Код',+ audio: 'Аудио',+ video: 'Видео',+ image: 'Изображение',+ file: 'Файл'+ },+ emptyState: {+ shelfEmpty: 'Панель пуста',+ noResultsFound: 'Ничего не найдено',+ shelfEmptyHint: 'Скопируйте что-нибудь или перетащите файлы сюда',+ noResultsHint: 'Попробуйте другой запрос или очистите поиск',+ noClipsFound: '{type} не найдены',+ copyTypeHint: 'Скопируйте {type} или вернитесь ко всем',+ textClips: 'тексты',+ links: 'ссылки',+ images: 'изображения',+ files: 'файлы'+ },+ onboarding: {+ welcomeTitle: 'Добро пожаловать в Edge-Drop',+ welcomeDesc: 'Edge-Drop скрыт у левого края экрана. Наведите курсор к краю, чтобы открыть.',+ collectTitle: 'Сохраняйте всё',+ collectDesc: 'Нажатие Ctrl+C автоматически сохраняет тексты, картинки и файлы.',+ dragTitle: 'Перетаскивайте куда угодно',+ dragDesc: 'Перетаскивайте карточки напрямую в любые приложения или папки.',+ stacksTitle: 'Стопки файлов',+ stacksDesc: 'Несколько файлов автоматически объединяются в стопку.',+ ungroupTitle: 'Извлечение файлов',+ ungroupDesc: 'Перетащите элемент на левую оранжевую полосу для извлечения.',+ mergeTitle: 'Объединение',+ mergeDesc: 'Перетаскивайте карточки друг на друга для создания стопок.',+ previewTitle: 'Окно просмотра',+ previewDesc: 'Просматривайте изображения и тексты в высоком разрешении.',+ configTitle: 'Настройки',+ configDesc: 'Настройте Edge-Drop под свои нужды.',+ skip: 'Пропустить',+ back: 'Назад',+ next: 'Далее',+ getStarted: 'Начать',+ extractedCard: 'Извлеченная карточка',+ dropToExtract: 'Отпустите для извлечения',+ proTips: 'Полезные советы',+ proTip1: 'Нажмите Alt + C для вызова панели.',+ proTip2: 'Открыть настройки можно через иконку шестеренки.',+ proTip3: 'Перетащите файлы к левому краю для добавления.',+ proTip4: 'Кликните на поле ввода, затем на элемент для вставки.'+ },+ tray: {+ showClipboard: 'Показать буфер обмена',+ settings: 'Настройки',+ incognito: 'Инкогнито (пауза)',+ hoverTrigger: 'Активация наведением',+ stickTo: 'Прикрепить к',+ left: 'Слева',+ right: 'Справа',+ display: 'Монитор',+ quit: 'Выйти из Edge-Drop',+ welcomeTitle: 'Буфер обмена Edge-Drop',+ welcomeBody: 'Наведите на левый край или нажмите Alt+C.'+ },+ flyout: {+ copyBeaconStyleTitle: 'Стиль индикатора копирования',+ openLink: 'Открыть ссылку',+ copyContent: 'Скопировать содержимое',+ saveFile: 'Сохранить файл',+ extractedFromBundle: 'Извлечено из стопки',+ itemsCount: '{count} элементов',+ selectedCount: 'Выбрано: {count}',+ selectAll: 'Выбрать все',+ deselectAll: 'Снять выделение',+ copySelected: 'Скопировать выбранное',+ pasteSelected: 'Вставить выбранное',+ paste: 'Вставить',+ clearSelection: 'Очистить выбор',+ contentTruncated: '… (содержимое сокращено)',+ clickToPaste: 'Нажмите для вставки',+ copyText: 'Скопировать текст',+ copyImage: 'Скопировать изображение',+ copyFile: 'Скопировать файл',+ clickToPasteDrag: 'Нажмите для вставки · Перетащите для перемещения',+ openInExplorer: 'Открыть в Проводнике',+ current: 'Текущая'+ },+ toast: {+ copiedToClipboard: 'Скопировано в буфер обмена',+ itemDeleted: 'Элемент удален',+ itemPinned: 'Элемент закреплен',+ itemUnpinned: 'Элемент откреплен',+ settingsSaved: 'Настройки сохранены'+ },+ footer: {+ communityAndSupport: 'Сообщество и поддержка',+ feedbackTitle: 'Отзывы и вопросы',+ feedbackDesc: 'Сообщить об ошибке или предложить функцию на GitHub',+ submitFeedback: 'Отправить отзыв ↗',+ applicationGroup: 'Приложение',+ quitTitle: 'Выйти из Edge-Drop',+ quitDesc: 'Закрыть приложение и остановить фоновый процесс',+ starOnGithub: 'Поставить звезду на GitHub',+ githubPromo: 'Если вам нравится Edge-Drop, поддержите проект звездой на GitHub!',+ version: 'Версия'+ }+}++export const TRANSLATIONS: Record<string, TranslationKeys> = {+ en,+ es,+ fr,+ de,+ hi,+ 'zh-CN': zhCN,+ ja,+ ru+}diff --git a/src/lib/edge.ts b/src/lib/edge.tsindex d98ad51..76e3fc4 100644--- a/src/lib/edge.ts+++ b/src/lib/edge.ts@@ -13,9 +13,14 @@ declare global {}}-/** Typed handle onto the bridge; throws early if preload didn't run. */-export const edge: EdgeApi =- (window as unknown as { edge?: EdgeApi }).edge ??- (() => {- throw new Error('window.edge is missing — preload bridge did not load')- })()+export const edge: EdgeApi = new Proxy({} as EdgeApi, {+ get(_target, prop) {+ const g = globalThis as any+ if (g.window && g.window.edge) {+ const targetApi = g.window.edge+ const val = targetApi[prop]+ return typeof val === 'function' ? val.bind(targetApi) : val+ }+ return () => {}+ }+})diff --git a/src/lib/fileType.ts b/src/lib/fileType.tsindex 5abdc4c..0419b61 100644--- a/src/lib/fileType.ts+++ b/src/lib/fileType.ts@@ -67,15 +67,51 @@ export function extOf(path: string): string {return path.slice(dot + 1).toLowerCase()}+import { t } from '../i18n'+/** Resolve a file path to its display metadata (kind / label / color). */export function getFileKind(path: string): FileKindInfo {const ext = extOf(path)const kind = EXT_MAP[ext] ?? 'file'- return KIND_INFO[kind]+ const base = KIND_INFO[kind]+ const keyMap: Record<FileKind, any> = {+ pdf: 'fileKinds.pdf',+ word: 'fileKinds.word',+ excel: 'fileKinds.excel',+ powerpoint: 'fileKinds.powerpoint',+ archive: 'fileKinds.archive',+ text: 'fileKinds.text',+ code: 'fileKinds.code',+ audio: 'fileKinds.audio',+ video: 'fileKinds.video',+ image: 'fileKinds.image',+ file: 'fileKinds.file'+ }+ return {+ ...base,+ label: t(keyMap[kind]) || base.label+ }}/** Resolve from an already-extracted extension string. */export function getFileKindByExt(ext: string): FileKindInfo {const kind = EXT_MAP[ext.toLowerCase()] ?? 'file'- return KIND_INFO[kind]+ const base = KIND_INFO[kind]+ const keyMap: Record<FileKind, any> = {+ pdf: 'fileKinds.pdf',+ word: 'fileKinds.word',+ excel: 'fileKinds.excel',+ powerpoint: 'fileKinds.powerpoint',+ archive: 'fileKinds.archive',+ text: 'fileKinds.text',+ code: 'fileKinds.code',+ audio: 'fileKinds.audio',+ video: 'fileKinds.video',+ image: 'fileKinds.image',+ file: 'fileKinds.file'+ }+ return {+ ...base,+ label: t(keyMap[kind]) || base.label+ }}diff --git a/src/lib/format.ts b/src/lib/format.tsindex fa4d298..fb4529c 100644--- a/src/lib/format.ts+++ b/src/lib/format.ts@@ -1,6 +1,7 @@/*** Small display helpers for clipboard item previews.*/+import { t } from '../i18n'/** Truncate long text for list previews. */export function previewText(text: string, max = 160): string {@@ -20,14 +21,15 @@ export function formatBytes(bytes: number): string {export function relativeTime(ts: number): string {const diff = Date.now() - tsconst s = Math.round(diff / 1000)- if (s < 5) return 'just now'- if (s < 60) return `${s}s ago`+ const agoStr = t('item.ago')+ if (s < 5) return t('item.justNow')+ if (s < 60) return `${s}s ${agoStr}`.trim()const m = Math.round(s / 60)- if (m < 60) return `${m}m ago`+ if (m < 60) return `${m}m ${agoStr}`.trim()const h = Math.round(m / 60)- if (h < 24) return `${h}h ago`+ if (h < 24) return `${h}h ${agoStr}`.trim()const d = Math.round(h / 24)- if (d < 7) return `${d}d ago`+ if (d < 7) return `${d}d ${agoStr}`.trim()return new Date(ts).toLocaleDateString()}@@ -44,13 +46,14 @@ export function formatImageDisplayName(path: string, capturedAt?: number): strinconst isInternalHash = /^[a-z0-9]{6,12}-[a-z0-9]{6,12}\.[a-z0-9]+$/i.test(name) || path.includes('edge-drop/images') || path.includes('edge-drop\\images') || path.includes('edge-drop/temp') || path.includes('edge-drop\\temp')if (isInternalHash) {+ const screenshotLabel = t('item.screenshot')if (capturedAt) {const d = new Date(capturedAt)const dateStr = d.toLocaleDateString(undefined, { month: 'short', day: 'numeric' })const timeStr = d.toLocaleTimeString(undefined, { hour: 'numeric', minute: '2-digit' })- return `Screenshot ${dateStr}, ${timeStr}`+ return `${screenshotLabel} ${dateStr}, ${timeStr}`}- return 'Screenshot'+ return screenshotLabel}return name}diff --git a/src/store/appStore.ts b/src/store/appStore.tsindex f51974a..5879093 100644--- a/src/store/appStore.ts+++ b/src/store/appStore.ts@@ -301,7 +301,7 @@ export const useStore = create<AppState>((set, get) => ({set({ toasts: [...get().toasts, toast] })// Auto-dismiss after 2.6s. Errors linger slightly longer for readability.const ttl = toast.tone === 'error' ? 3400 : 2600- window.setTimeout(() => get().dismissToast(toast.id), ttl)+ setTimeout(() => get().dismissToast(toast.id), ttl)},dismissToast: (id) => {diff --git a/src/styles/settings.css b/src/styles/settings.cssindex 75ac8ce..278ad4e 100644--- a/src/styles/settings.css+++ b/src/styles/settings.css@@ -1,7 +1,7 @@.settings-fixed-header {flex-shrink: 0;padding: 8px var(--pad) 6px;- background: #09090b;+ background: transparent;z-index: 10;}@@ -26,12 +26,13 @@display: flex;position: relative;width: 100%;- background: rgba(255, 255, 255, 0.06);+ background: rgba(255, 255, 255, 0.05);border: 1px solid rgba(255, 255, 255, 0.10);- border-radius: 10px;- padding: 3px;- gap: 3px;+ border-radius: 12px;+ padding: 4px;+ gap: 4px;flex-shrink: 0;+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);}.settings-tab-btn {@@ -41,10 +42,12 @@display: flex;align-items: center;justify-content: center;- padding: 6px 2px;- border-radius: 7px;- font-size: calc(11.5px * var(--font-scale, 1));+ padding: 7px 10px;+ min-height: 34px;+ border-radius: 8px;+ font-size: calc(12px * var(--font-scale, 1));font-weight: 500;+ line-height: 1.25;color: rgba(255, 255, 255, 0.65);background: transparent;border: none;@@ -66,15 +69,15 @@color: #000000;font-weight: 600;background: #ffffff;- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.40);+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);}.settings-tab-indicator {position: absolute;inset: 0;- border-radius: 7px;+ border-radius: 8px;background: #ffffff;- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.40);+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);z-index: 0;pointer-events: none;}@@ -82,6 +85,9 @@.settings-tab-text {position: relative;z-index: 1;+ display: inline-block;+ line-height: 1.2;+ padding: 1px 0;}.setting-row {