From 6b7a951a64180a27589c7f2a39ad5d57f117c111 Mon Sep 17 00:00:00 2001
From: 0-don <70039285+0-don@users.noreply.github.com>
Date: Mon, 23 Dec 2024 15:14:43 +0100
Subject: [PATCH] add translations
---
package.json | 5 +-
project.inlang/.gitignore | 1 +
project.inlang/clippy.babel | 5460 +++++++++++++++++
project.inlang/project_id | 1 +
project.inlang/settings.json | 32 +
src-tauri/common/src/types/enums.rs | 18 +
src-tauri/migration/src/m000009_seed.rs | 22 +-
src/about.tsx | 21 +-
src/components/navigation/app-sidebar.tsx | 5 +-
src/components/pages/app/app.tsx | 13 +-
.../pages/app/clipboard/base-clipboard.tsx | 2 +-
.../app}/clipboard/clipboard-header.tsx | 4 +-
.../pages/app/clipboard/clipboards.tsx | 6 +-
.../pages/app/clipboard/file-clipboard.tsx | 6 +-
.../pages/app/clipboard/image-clipboard.tsx | 6 +-
.../pages/app/clipboard/text-clipboard.tsx | 6 +-
src/components/pages/app/search-bar.tsx | 4 +-
src/components/pages/app/view-more.tsx | 15 +-
.../pages/settings/settings-backup.tsx | 2 +-
.../pages/settings/settings-general.tsx | 16 +-
.../pages/settings/settings-history.tsx | 4 +-
.../pages/settings/settings-limits.tsx | 2 +-
.../settings}/settings-tabs.tsx | 11 +-
src/components/provider/language-provider.tsx | 32 +
src/components/utils/shortcut.tsx | 69 +-
src/index.tsx | 12 +-
src/{utils => lib}/colors.ts | 0
src/lib/i18n/ar.json | 83 +
src/lib/i18n/bn.json | 83 +
src/lib/i18n/de.json | 83 +
src/lib/i18n/en.json | 83 +
src/lib/i18n/es.json | 83 +
src/lib/i18n/fr.json | 83 +
src/lib/i18n/hi.json | 83 +
src/lib/i18n/index.ts | 17 +
src/lib/i18n/it.json | 83 +
src/lib/i18n/ja.json | 83 +
src/lib/i18n/ko.json | 83 +
src/lib/i18n/nl.json | 83 +
src/lib/i18n/pl.json | 83 +
src/lib/i18n/pt.json | 83 +
src/lib/i18n/ru.json | 83 +
src/lib/i18n/th.json | 83 +
src/lib/i18n/tr.json | 83 +
src/lib/i18n/ur.json | 83 +
src/lib/i18n/vi.json | 83 +
src/lib/i18n/zh.json | 83 +
src/{utils => lib}/tauri.ts | 0
src/settings.tsx | 26 +-
src/store/app-store.ts | 19 +-
src/store/clipboard-store.ts | 2 +-
src/store/hotkey-store.ts | 2 +-
src/store/settings-store.ts | 4 +-
src/types/enums.ts | 27 +
src/types/index.ts | 2 +-
src/utils/constants.ts | 26 +-
src/utils/{helpers.ts => index.ts} | 0
tsconfig.json | 2 +-
58 files changed, 7359 insertions(+), 120 deletions(-)
create mode 100644 project.inlang/.gitignore
create mode 100644 project.inlang/clippy.babel
create mode 100644 project.inlang/project_id
create mode 100644 project.inlang/settings.json
rename src/components/{utils => pages/app}/clipboard/clipboard-header.tsx (85%)
rename src/components/{navigation => pages/settings}/settings-tabs.tsx (73%)
create mode 100644 src/components/provider/language-provider.tsx
rename src/{utils => lib}/colors.ts (100%)
create mode 100644 src/lib/i18n/ar.json
create mode 100644 src/lib/i18n/bn.json
create mode 100644 src/lib/i18n/de.json
create mode 100644 src/lib/i18n/en.json
create mode 100644 src/lib/i18n/es.json
create mode 100644 src/lib/i18n/fr.json
create mode 100644 src/lib/i18n/hi.json
create mode 100644 src/lib/i18n/index.ts
create mode 100644 src/lib/i18n/it.json
create mode 100644 src/lib/i18n/ja.json
create mode 100644 src/lib/i18n/ko.json
create mode 100644 src/lib/i18n/nl.json
create mode 100644 src/lib/i18n/pl.json
create mode 100644 src/lib/i18n/pt.json
create mode 100644 src/lib/i18n/ru.json
create mode 100644 src/lib/i18n/th.json
create mode 100644 src/lib/i18n/tr.json
create mode 100644 src/lib/i18n/ur.json
create mode 100644 src/lib/i18n/vi.json
create mode 100644 src/lib/i18n/zh.json
rename src/{utils => lib}/tauri.ts (100%)
rename src/utils/{helpers.ts => index.ts} (100%)
diff --git a/package.json b/package.json
index 7a0d9316..2168023e 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
},
"dependencies": {
"@corvu/tooltip": "^0.2.1",
+ "@solid-primitives/i18n": "^2.1.1",
"@tauri-apps/api": "2.1.1",
"dayjs": "1.11.13",
"solid-icons": "1.1.0",
@@ -28,9 +29,9 @@
"postcss": "8.4.49",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "0.6.9",
- "tailwindcss": "3.4.16",
+ "tailwindcss": "3.4.17",
"typescript": "5.7.2",
- "vite": "6.0.3",
+ "vite": "6.0.5",
"vite-plugin-checker": "0.8.0",
"vite-plugin-solid": "2.11.0"
}
diff --git a/project.inlang/.gitignore b/project.inlang/.gitignore
new file mode 100644
index 00000000..5e465967
--- /dev/null
+++ b/project.inlang/.gitignore
@@ -0,0 +1 @@
+cache
\ No newline at end of file
diff --git a/project.inlang/clippy.babel b/project.inlang/clippy.babel
new file mode 100644
index 00000000..38675239
--- /dev/null
+++ b/project.inlang/clippy.babel
@@ -0,0 +1,5460 @@
+
+
+
+
+ generic-json
+ clippy.babel
+ ../
+
+
+
+
+ main
+
+
+ ABOUT
+
+
+ COPYRIGHT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DEVELOPED_BY
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NO_UPDATES_CURRENTLY_AVAILABLE
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ OFFICIAL_WEBSITE
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+ CLIPBOARD
+
+
+ NO_CLIPBOARDS_YET
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+ MAIN
+
+
+ HOTKEY
+
+
+ ABOUT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_1
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_2
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_3
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_4
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_5
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_6
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_7
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_8
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DIGIT_9
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ EXIT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ HISTORY
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_1
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_2
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_3
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_4
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_5
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_6
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_7
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_8
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NUM_9
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ RECENT_CLIPBOARDS
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ SCROLL_TO_TOP
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ SETTINGS
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ STARRED_CLIPBOARDS
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ SYNC_CLIPBOARD_HISTORY
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ TYPE_CLIPBOARD
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ VIEW_MORE
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ WINDOW_DISPLAY_TOGGLE
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+ KEYS
+
+
+ ALT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ CTRL
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ SHIFT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+ LANGUAGE
+
+
+ AR
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ BN
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ DE
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ EN
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ ES
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ FR
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ IT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ JA
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ KO
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ NL
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ PL
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ PT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ RU
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ TH
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ TR
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ UR
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ VI
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ ZH
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+
+
+ SETTINGS
+
+
+ GENERAL
+
+
+ KEYBOARD_SHORTCUT
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ START_CLIPPY_ON_STARTUP
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ SYSTEM
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+ TAB
+
+
+ BACKUP
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ GENERAL
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ HISTORY
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ HOTKEYS
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+ LIMITS
+
+
+
+
+ ar-SA
+ false
+
+
+ bn-IN
+ false
+
+
+ de-DE
+ false
+
+
+ en-US
+ false
+
+
+ es-ES
+ false
+
+
+ fr-FR
+ false
+
+
+ hi-IN
+ false
+
+
+ it-IT
+ false
+
+
+ ja-JP
+ false
+
+
+ ko-KR
+ false
+
+
+ nl-NL
+ false
+
+
+ pl-PL
+ false
+
+
+ pt-PT
+ false
+
+
+ ru-RU
+ false
+
+
+ th-TH
+ false
+
+
+ tr-TR
+ false
+
+
+ ur-PK
+ false
+
+
+ vi-VN
+ false
+
+
+ zh-CN
+ false
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+ ar-SA
+
+
+ bn-IN
+
+
+ de-DE
+
+
+ en-US
+
+
+ es-ES
+
+
+ fr-FR
+
+
+ hi-IN
+
+
+ it-IT
+
+
+ ja-JP
+
+
+ ko-KR
+
+
+ nl-NL
+
+
+ pl-PL
+
+
+ pt-PT
+
+
+ ru-RU
+
+
+ th-TH
+
+
+ tr-TR
+
+
+ ur-PK
+
+
+ vi-VN
+
+
+ zh-CN
+
+
+
+
+ main
+
+
+ ../src/lib/i18n/ar.json
+ ar-SA
+
+
+ ../src/lib/i18n/bn.json
+ bn-IN
+
+
+ ../src/lib/i18n/de.json
+ de-DE
+
+
+ ../src/lib/i18n/en.json
+ en-US
+
+
+ ../src/lib/i18n/es.json
+ es-ES
+
+
+ ../src/lib/i18n/fr.json
+ fr-FR
+
+
+ ../src/lib/i18n/hi.json
+ hi-IN
+
+
+ ../src/lib/i18n/it.json
+ it-IT
+
+
+ ../src/lib/i18n/ja.json
+ ja-JP
+
+
+ ../src/lib/i18n/ko.json
+ ko-KR
+
+
+ ../src/lib/i18n/nl.json
+ nl-NL
+
+
+ ../src/lib/i18n/pl.json
+ pl-PL
+
+
+ ../src/lib/i18n/pt.json
+ pt-PT
+
+
+ ../src/lib/i18n/ru.json
+ ru-RU
+
+
+ ../src/lib/i18n/th.json
+ th-TH
+
+
+ ../src/lib/i18n/tr.json
+ tr-TR
+
+
+ ../src/lib/i18n/ur.json
+ ur-PK
+
+
+ ../src/lib/i18n/vi.json
+ vi-VN
+
+
+ ../src/lib/i18n/zh.json
+ zh-CN
+
+
+
+
+
+ true
+ alphabetically
+
+ '%1'
+
+
+
+
+
+
+ en-US
+
+ tab
+ namespaced-json
+ true
+
+
diff --git a/project.inlang/project_id b/project.inlang/project_id
new file mode 100644
index 00000000..5f1a73d7
--- /dev/null
+++ b/project.inlang/project_id
@@ -0,0 +1 @@
+6c836d0da57ed27f8a93f682a667fbbb3e4c12336073632bfe8c587e155653ab
\ No newline at end of file
diff --git a/project.inlang/settings.json b/project.inlang/settings.json
new file mode 100644
index 00000000..523d4a47
--- /dev/null
+++ b/project.inlang/settings.json
@@ -0,0 +1,32 @@
+{
+ "$schema": "https://inlang.com/schema/project-settings",
+ "sourceLanguageTag": "en",
+ "languageTags": [
+ "en",
+ "zh",
+ "hi",
+ "es",
+ "fr",
+ "ar",
+ "bn",
+ "pt",
+ "ru",
+ "ur",
+ "ja",
+ "de",
+ "ko",
+ "vi",
+ "tr",
+ "it",
+ "th",
+ "pl",
+ "nl"
+ ],
+ "modules": [
+ "https://cdn.jsdelivr.net/npm/@inlang/plugin-json@latest/dist/index.js",
+ "https://cdn.jsdelivr.net/npm/@inlang/plugin-t-function-matcher@latest/dist/index.js"
+ ],
+ "plugin.inlang.json": {
+ "pathPattern": "./src/lib/i18n/{languageTag}.json"
+ }
+}
diff --git a/src-tauri/common/src/types/enums.rs b/src-tauri/common/src/types/enums.rs
index 265358bf..a7c35eb0 100644
--- a/src-tauri/common/src/types/enums.rs
+++ b/src-tauri/common/src/types/enums.rs
@@ -72,6 +72,24 @@ pub enum Language {
Russian,
#[iden = "ur"]
Urdu,
+ #[iden = "ja"]
+ Japanese,
+ #[iden = "de"]
+ German,
+ #[iden = "ko"]
+ Korean,
+ #[iden = "vi"]
+ Vietnamese,
+ #[iden = "tr"]
+ Turkish,
+ #[iden = "it"]
+ Italian,
+ #[iden = "th"]
+ Thai,
+ #[iden = "pl"]
+ Polish,
+ #[iden = "nl"]
+ Dutch,
}
#[derive(Iden, EnumIter, PartialEq, Serialize, Deserialize, Debug, Clone)]
diff --git a/src-tauri/migration/src/m000009_seed.rs b/src-tauri/migration/src/m000009_seed.rs
index 05e5e111..424108bc 100644
--- a/src-tauri/migration/src/m000009_seed.rs
+++ b/src-tauri/migration/src/m000009_seed.rs
@@ -31,7 +31,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set(key.to_string()),
status: Set(true),
- name: Set("Clippy Display Toggle".to_string()),
+ name: Set("MAIN.HOTKEY.WINDOW_DISPLAY_TOGGLE".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -45,7 +45,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("E".to_string()),
status: Set(true),
- name: Set("Scroll to Top".to_string()),
+ name: Set("MAIN.HOTKEY.SCROLL_TO_TOP".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -59,7 +59,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("R".to_string()),
status: Set(true),
- name: Set("Recent Clipboards".to_string()),
+ name: Set("MAIN.HOTKEY.RECENT_CLIPBOARDS".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -73,7 +73,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("T".to_string()),
status: Set(true),
- name: Set("Starred Clipboards".to_string()),
+ name: Set("MAIN.HOTKEY.STARRED_CLIPBOARDS".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -87,7 +87,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("H".to_string()),
status: Set(true),
- name: Set("History".to_string()),
+ name: Set("MAIN.HOTKEY.HISTORY".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -101,7 +101,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("M".to_string()),
status: Set(true),
- name: Set("View more".to_string()),
+ name: Set("MAIN.HOTKEY.VIEW_MORE".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -115,7 +115,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("P".to_string()),
status: Set(true),
- name: Set("Sync Clipboard History".to_string()),
+ name: Set("MAIN.HOTKEY.SYNC_CLIPBOARD_HISTORY".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -129,7 +129,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("O".to_string()),
status: Set(true),
- name: Set("Settings".to_string()),
+ name: Set("MAIN.HOTKEY.SETTINGS".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -143,7 +143,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("I".to_string()),
status: Set(true),
- name: Set("About".to_string()),
+ name: Set("MAIN.HOTKEY.ABOUT".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -157,7 +157,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("X".to_string()),
status: Set(true),
- name: Set("Exit".to_string()),
+ name: Set("MAIN.HOTKEY.EXIT".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
@@ -171,7 +171,7 @@ impl MigrationTrait for Migration {
shift: Set(false),
key: Set("B".to_string()),
status: Set(true),
- name: Set("Type Clipboard".to_string()),
+ name: Set("MAIN.HOTKEY.TYPE_CLIPBOARD".to_string()),
icon: Set("\"\"".to_string()),
..Default::default()
}
diff --git a/src/about.tsx b/src/about.tsx
index a7fe085c..d6274fc3 100644
--- a/src/about.tsx
+++ b/src/about.tsx
@@ -1,11 +1,13 @@
import { createSignal, onMount } from "solid-js";
import { render } from "solid-js/web";
import icon from "./assets/clippy.png";
+import LanguageProvider, { useLanguage } from "./components/provider/language-provider";
+import { invokeCommand } from "./lib/tauri";
import "./styles.css";
import { InvokeCommand } from "./types/tauri-invoke";
-import { invokeCommand } from "./utils/tauri";
const About = () => {
+ const { t } = useLanguage();
const [version, setVersion] = createSignal("0.0.0");
onMount(async () => setVersion(await invokeCommand(InvokeCommand.GetAppVersion)));
@@ -14,7 +16,7 @@ const About = () => {
);
};
-render(() => , document.getElementById("root") as HTMLElement);
+render(
+ () => (
+
+
+
+ ),
+ document.getElementById("root") as HTMLElement
+);
diff --git a/src/components/navigation/app-sidebar.tsx b/src/components/navigation/app-sidebar.tsx
index 797ab642..1e5003fc 100644
--- a/src/components/navigation/app-sidebar.tsx
+++ b/src/components/navigation/app-sidebar.tsx
@@ -1,10 +1,13 @@
import { Component, For, Show } from "solid-js";
import { AppStore } from "../../store/app-store";
import { HotkeyStore } from "../../store/hotkey-store";
+import { useLanguage } from "../provider/language-provider";
interface AppSidebarProps {}
export const AppSidebar: Component = ({}) => {
+ const { t } = useLanguage();
+
return (
@@ -19,7 +22,7 @@ export const AppSidebar: Component = ({}) => {
title={currentHotkey?.name}
onClick={() => AppStore.changeTab(id)}
>
-
+
@@ -18,26 +21,26 @@ function App() {
- {AppStore.getCurrentTab()?.name?.toUpperCase()}
+ {t(AppStore.getCurrentTab().name)}
}>
-
+
-
+
-
+
-
+
diff --git a/src/components/pages/app/clipboard/base-clipboard.tsx b/src/components/pages/app/clipboard/base-clipboard.tsx
index df7d3e8e..acbd37b1 100644
--- a/src/components/pages/app/clipboard/base-clipboard.tsx
+++ b/src/components/pages/app/clipboard/base-clipboard.tsx
@@ -3,11 +3,11 @@ import { IoTrashOutline } from "solid-icons/io";
import { TbSourceCode } from "solid-icons/tb";
import { VsStarFull } from "solid-icons/vs";
import { Component } from "solid-js";
+import { invokeCommand } from "../../../../lib/tauri";
import { ClipboardStore } from "../../../../store/clipboard-store";
import { ClipboardModel, ClipboardWithRelations } from "../../../../types";
import { ClipboardType } from "../../../../types/enums";
import { InvokeCommand } from "../../../../types/tauri-invoke";
-import { invokeCommand } from "../../../../utils/tauri";
import { FileClipboard } from "./file-clipboard";
import { ImageClipboard } from "./image-clipboard";
import { TextClipboard } from "./text-clipboard";
diff --git a/src/components/utils/clipboard/clipboard-header.tsx b/src/components/pages/app/clipboard/clipboard-header.tsx
similarity index 85%
rename from src/components/utils/clipboard/clipboard-header.tsx
rename to src/components/pages/app/clipboard/clipboard-header.tsx
index 9af35fd1..730b4f39 100644
--- a/src/components/utils/clipboard/clipboard-header.tsx
+++ b/src/components/pages/app/clipboard/clipboard-header.tsx
@@ -1,7 +1,7 @@
import { IconTypes } from "solid-icons";
import { Component, Show } from "solid-js";
-import { HotkeyStore } from "../../../store/hotkey-store";
-import { ClipboardWithRelations } from "../../../types";
+import { HotkeyStore } from "../../../../store/hotkey-store";
+import { ClipboardWithRelations } from "../../../../types";
interface ClipboardHeaderProps {
data: ClipboardWithRelations;
diff --git a/src/components/pages/app/clipboard/clipboards.tsx b/src/components/pages/app/clipboard/clipboards.tsx
index d42d48aa..3a1914ee 100644
--- a/src/components/pages/app/clipboard/clipboards.tsx
+++ b/src/components/pages/app/clipboard/clipboards.tsx
@@ -4,18 +4,20 @@ import utc from "dayjs/plugin/utc";
import { FiArrowUp } from "solid-icons/fi";
import { Component, For, Show, createSignal, onMount } from "solid-js";
import clippy from "../../../../assets/clippy.png";
+import { listenEvent } from "../../../../lib/tauri";
import { AppStore } from "../../../../store/app-store";
import { ClipboardStore } from "../../../../store/clipboard-store";
import { HotkeyStore } from "../../../../store/hotkey-store";
import { HotkeyEvent } from "../../../../types/enums";
import { ListenEvent } from "../../../../types/tauri-listen";
-import { listenEvent } from "../../../../utils/tauri";
+import { useLanguage } from "../../../provider/language-provider";
import { BaseClipboard } from "./base-clipboard";
dayjs.extend(utc);
dayjs.extend(relativeTime);
export const Clipboards: Component = () => {
+ const { t } = useLanguage();
const { globalHotkeyEvent, hotkeys } = HotkeyStore;
const [scrollToTop, setScrollToTop] = createSignal(false);
@@ -49,7 +51,7 @@ export const Clipboards: Component = () => {
fallback={
-
No Clipboards yet...
+
{t("CLIPBOARD.NO_CLIPBOARDS_YET")}
}
>
diff --git a/src/components/pages/app/clipboard/file-clipboard.tsx b/src/components/pages/app/clipboard/file-clipboard.tsx
index f035c350..12c7f677 100644
--- a/src/components/pages/app/clipboard/file-clipboard.tsx
+++ b/src/components/pages/app/clipboard/file-clipboard.tsx
@@ -1,12 +1,12 @@
import dayjs from "dayjs";
import { VsFileBinary } from "solid-icons/vs";
import { Component } from "solid-js";
+import { invokeCommand } from "../../../../lib/tauri";
import { ClipboardFileModel, ClipboardWithRelations } from "../../../../types";
import { ClipboardType } from "../../../../types/enums";
import { InvokeCommand } from "../../../../types/tauri-invoke";
-import { formatBytes } from "../../../../utils/helpers";
-import { invokeCommand } from "../../../../utils/tauri";
-import { ClipboardHeader } from "../../../utils/clipboard/clipboard-header";
+import { formatBytes } from "../../../../utils";
+import { ClipboardHeader } from "./clipboard-header";
interface FileClipboardProps {
data: ClipboardWithRelations;
diff --git a/src/components/pages/app/clipboard/image-clipboard.tsx b/src/components/pages/app/clipboard/image-clipboard.tsx
index 0d307725..775dd8e9 100644
--- a/src/components/pages/app/clipboard/image-clipboard.tsx
+++ b/src/components/pages/app/clipboard/image-clipboard.tsx
@@ -1,12 +1,12 @@
import dayjs from "dayjs";
import { BsImages } from "solid-icons/bs";
import { Component } from "solid-js";
+import { invokeCommand } from "../../../../lib/tauri";
import { ClipboardWithRelations } from "../../../../types";
import { ClipboardType } from "../../../../types/enums";
import { InvokeCommand } from "../../../../types/tauri-invoke";
-import { formatBytes } from "../../../../utils/helpers";
-import { invokeCommand } from "../../../../utils/tauri";
-import { ClipboardHeader } from "../../../utils/clipboard/clipboard-header";
+import { formatBytes } from "../../../../utils";
+import { ClipboardHeader } from "./clipboard-header";
interface ImageClipboardProps {
data: ClipboardWithRelations;
diff --git a/src/components/pages/app/clipboard/text-clipboard.tsx b/src/components/pages/app/clipboard/text-clipboard.tsx
index 250a496c..add15101 100644
--- a/src/components/pages/app/clipboard/text-clipboard.tsx
+++ b/src/components/pages/app/clipboard/text-clipboard.tsx
@@ -3,13 +3,13 @@ import dayjs from "dayjs";
import { BsFiletypeHtml, BsJournalRichtext } from "solid-icons/bs";
import { FiFileText, FiLink } from "solid-icons/fi";
import { Component } from "solid-js";
+import { rgbCompatible } from "../../../../lib/colors";
+import { invokeCommand } from "../../../../lib/tauri";
import { SettingsStore } from "../../../../store/settings-store";
import { ClipboardWithRelations } from "../../../../types";
import { ClipboardTextType, ClipboardType } from "../../../../types/enums";
import { InvokeCommand } from "../../../../types/tauri-invoke";
-import { rgbCompatible } from "../../../../utils/colors";
-import { invokeCommand } from "../../../../utils/tauri";
-import { ClipboardHeader } from "../../../utils/clipboard/clipboard-header";
+import { ClipboardHeader } from "./clipboard-header";
interface TextClipboardProps {
data: ClipboardWithRelations;
diff --git a/src/components/pages/app/search-bar.tsx b/src/components/pages/app/search-bar.tsx
index 040bad04..eea38cbb 100644
--- a/src/components/pages/app/search-bar.tsx
+++ b/src/components/pages/app/search-bar.tsx
@@ -1,11 +1,11 @@
import { FaRegularImage } from "solid-icons/fa";
import { FiSearch } from "solid-icons/fi";
import { Component, createEffect, createSignal, onCleanup, onMount } from "solid-js";
+import { invokeCommand } from "../../../lib/tauri";
import { AppStore } from "../../../store/app-store";
import { ClipboardStore, initialWhere } from "../../../store/clipboard-store";
import { HotkeyStore } from "../../../store/hotkey-store";
import { InvokeCommand } from "../../../types/tauri-invoke";
-import { invokeCommand } from "../../../utils/tauri";
interface SearchBarProps {}
@@ -32,7 +32,7 @@ export const SearchBar: Component
= ({}) => {
...initialWhere,
search: text.length && !img ? text : undefined,
img: img || undefined,
- star: getCurrentTab()?.name === "Starred Clipboards" ? true : undefined,
+ star: getCurrentTab()?.name === "MAIN.HOTKEY.STARRED_CLIPBOARDS" ? true : undefined,
}));
const clipboards = await getClipboards();
setClipboards(clipboards);
diff --git a/src/components/pages/app/view-more.tsx b/src/components/pages/app/view-more.tsx
index fc6f0225..475bd414 100644
--- a/src/components/pages/app/view-more.tsx
+++ b/src/components/pages/app/view-more.tsx
@@ -5,10 +5,13 @@ import { Hotkey } from "../../../types";
import { WebWindow } from "../../../types/enums";
import { ViewMoreName } from "../../../utils/constants";
import { Toggle } from "../../elements/toggle";
+import { useLanguage } from "../../provider/language-provider";
interface ViewMoreProps {}
export const ViewMore: Component = ({}) => {
+ const { t } = useLanguage();
+
const createButton = (name: ViewMoreName, callback: () => void) => {
const hotkey = HotkeyStore.hotkeys().find((key) => key.name === name) as Hotkey;
@@ -32,9 +35,9 @@ export const ViewMore: Component = ({}) => {
- {name}
+ {t(name)}
- {name === "Sync Clipboard History" && (
+ {name === "MAIN.HOTKEY.SYNC_CLIPBOARD_HISTORY" && (
{}} />
)}
@@ -46,13 +49,13 @@ export const ViewMore: Component = ({}) => {
return (
<>
{/* Sync Clipboard History */}
- {createButton("Sync Clipboard History", SettingsStore.syncClipboard)}
+ {createButton("MAIN.HOTKEY.SYNC_CLIPBOARD_HISTORY", SettingsStore.syncClipboard)}
{/* Settings */}
- {createButton("Settings", () => SettingsStore.openWindow(WebWindow.Settings))}
+ {createButton("MAIN.HOTKEY.SETTINGS", () => SettingsStore.openWindow(WebWindow.Settings))}
{/* About */}
- {createButton("About", () => SettingsStore.openWindow(WebWindow.About))}
+ {createButton("MAIN.HOTKEY.ABOUT", () => SettingsStore.openWindow(WebWindow.About))}
{/* Exit */}
- {createButton("Exit", SettingsStore.exitApp)}
+ {createButton("MAIN.HOTKEY.EXIT", SettingsStore.exitApp)}
>
);
};
diff --git a/src/components/pages/settings/settings-backup.tsx b/src/components/pages/settings/settings-backup.tsx
index e40f7b86..29883441 100644
--- a/src/components/pages/settings/settings-backup.tsx
+++ b/src/components/pages/settings/settings-backup.tsx
@@ -4,10 +4,10 @@ import { RiDeviceSave3Fill } from "solid-icons/ri";
import { SiSqlite } from "solid-icons/si";
import { TbDatabaseStar } from "solid-icons/tb";
import { Component, createResource } from "solid-js";
+import { invokeCommand } from "../../../lib/tauri";
import { SettingsStore } from "../../../store/settings-store";
import { FolderLocation } from "../../../types/enums";
import { InvokeCommand } from "../../../types/tauri-invoke";
-import { invokeCommand } from "../../../utils/tauri";
import { TextBlock } from "../../elements/text-block";
import { Toggle } from "../../elements/toggle";
diff --git a/src/components/pages/settings/settings-general.tsx b/src/components/pages/settings/settings-general.tsx
index adcbcc17..7c6364b1 100644
--- a/src/components/pages/settings/settings-general.tsx
+++ b/src/components/pages/settings/settings-general.tsx
@@ -3,27 +3,29 @@ import { FiMoon } from "solid-icons/fi";
import { HiOutlineWindow, HiSolidCog8Tooth } from "solid-icons/hi";
import { IoLanguageOutline } from "solid-icons/io";
import { RiDeviceKeyboardFill } from "solid-icons/ri";
+import { TbTooltip } from "solid-icons/tb";
import { VsRocket } from "solid-icons/vs";
import { Component, Show } from "solid-js";
+import { invokeCommand } from "../../../lib/tauri";
import { HotkeyStore } from "../../../store/hotkey-store";
import { SettingsStore } from "../../../store/settings-store";
import { ClippyPosition, HotkeyEvent, Language, WebWindow } from "../../../types/enums";
import { InvokeCommand } from "../../../types/tauri-invoke";
-import { invokeCommand } from "../../../utils/tauri";
import { Dropdown } from "../../elements/dropdown";
import { Input } from "../../elements/input";
import { TextBlock } from "../../elements/text-block";
import { Toggle } from "../../elements/toggle";
+import { useLanguage } from "../../provider/language-provider";
import { DarkMode } from "../../utils/dark-mode";
import { Shortcut } from "../../utils/shortcut";
-import { TbTooltip } from "solid-icons/tb";
interface SettingsGeneralProps {}
export const SettingsGeneral: Component = ({}) => {
+ const { t } = useLanguage();
return (
-
+
{(hotkey) => }
@@ -31,11 +33,11 @@ export const SettingsGeneral: Component = ({}) => {
-
+
-
Start Clippy on system startup.
+ {t("SETTINGS.GENERAL.START_CLIPPY_ON_STARTUP")}
= ({}) => {
({ value: value, label: key }))}
value={SettingsStore.settings()!.language}
- onChange={(language) => {
- SettingsStore.updateSettings({ ...SettingsStore.settings()!, language: language as Language });
+ onChange={async (language) => {
+ await SettingsStore.updateSettings({ ...SettingsStore.settings()!, language: language as Language });
}}
/>
diff --git a/src/components/pages/settings/settings-history.tsx b/src/components/pages/settings/settings-history.tsx
index 6d82bfff..c9abc0e6 100644
--- a/src/components/pages/settings/settings-history.tsx
+++ b/src/components/pages/settings/settings-history.tsx
@@ -2,10 +2,10 @@ import { BsDeviceHdd } from "solid-icons/bs";
import { FiTrash2 } from "solid-icons/fi";
import { SiSqlite } from "solid-icons/si";
import { Component, createResource } from "solid-js";
+import { invokeCommand } from "../../../lib/tauri";
import { ClipboardType } from "../../../types/enums";
import { InvokeCommand } from "../../../types/tauri-invoke";
-import { formatBytes } from "../../../utils/helpers";
-import { invokeCommand } from "../../../utils/tauri";
+import { formatBytes } from "../../../utils";
import { TextBlock } from "../../elements/text-block";
const CLIPBOARD_TYPES: { type: ClipboardType | null; label: string }[] = [
diff --git a/src/components/pages/settings/settings-limits.tsx b/src/components/pages/settings/settings-limits.tsx
index dbb2791e..19ba58fb 100644
--- a/src/components/pages/settings/settings-limits.tsx
+++ b/src/components/pages/settings/settings-limits.tsx
@@ -4,7 +4,7 @@ import { HiSolidCog8Tooth } from "solid-icons/hi";
import { VsFileBinary } from "solid-icons/vs";
import { Component, Show } from "solid-js";
import { SettingsStore } from "../../../store/settings-store";
-import { formatBytes } from "../../../utils/helpers";
+import { formatBytes } from "../../../utils";
import { Input } from "../../elements/input";
import { TextBlock } from "../../elements/text-block";
diff --git a/src/components/navigation/settings-tabs.tsx b/src/components/pages/settings/settings-tabs.tsx
similarity index 73%
rename from src/components/navigation/settings-tabs.tsx
rename to src/components/pages/settings/settings-tabs.tsx
index 32d23213..58cf732a 100644
--- a/src/components/navigation/settings-tabs.tsx
+++ b/src/components/pages/settings/settings-tabs.tsx
@@ -1,15 +1,16 @@
import { Component, For } from "solid-js";
-import { SettingsStore } from "../../store/settings-store";
+import { SettingsStore } from "../../../store/settings-store";
+import { useLanguage } from "../../provider/language-provider";
interface TabsProps {}
export const Tabs: Component
= ({}) => {
- const { tabs, setCurrentTab } = SettingsStore;
+ const { t } = useLanguage();
return (