Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(cs): register cs in main process and packaging, sync keys with main

EtienneLescot2fb5691eb3aa
diff --git a/electron-builder.json5 b/electron-builder.json5
index dafe8c690..adf69f819 100644
--- a/electron-builder.json5
+++ b/electron-builder.json5
@@ -405,12 +405,13 @@
// Mirrors SUPPORTED_LOCALES in src/i18n/config.ts. This list is what the Store
// shows as "supported languages" on the product page and what lets the listing
// surface in each language's Store search — declaring only en-US/fr-FR advertised
- // 2 of the 13 languages the app actually ships. Bare tags (ar, es, ...) match every
+ // 2 of the 14 languages the app actually ships. Bare tags (ar, es, ...) match every
// region of that language, which is what the renderer's locale resolution does too.
"languages": [
"en-US",
"fr-FR",
"ar",
+ "cs",
"es",
"it",
"ja-JP",
diff --git a/electron/i18n.ts b/electron/i18n.ts
index 00e013ba4..9ea7ca119 100644
--- a/electron/i18n.ts
+++ b/electron/i18n.ts
@@ -3,6 +3,8 @@
import commonAr from "../src/i18n/locales/ar/common.json";
import dialogsAr from "../src/i18n/locales/ar/dialogs.json";
+import commonCs from "../src/i18n/locales/cs/common.json";
+import dialogsCs from "../src/i18n/locales/cs/dialogs.json";
import commonEn from "../src/i18n/locales/en/common.json";
import dialogsEn from "../src/i18n/locales/en/dialogs.json";
import commonEs from "../src/i18n/locales/es/common.json";
@@ -31,6 +33,7 @@ import dialogsZhTw from "../src/i18n/locales/zh-TW/dialogs.json";
type Locale =
| "en"
| "ar"
+ | "cs"
| "es"
| "fr"
| "it"
@@ -48,6 +51,7 @@ type MessageMap = Record<string, unknown>;
const messages: Record<Locale, Record<Namespace, MessageMap>> = {
en: { common: commonEn, dialogs: dialogsEn },
ar: { common: commonAr, dialogs: dialogsAr },
+ cs: { common: commonCs, dialogs: dialogsCs },
es: { common: commonEs, dialogs: dialogsEs },
fr: { common: commonFr, dialogs: dialogsFr },
it: { common: commonIt, dialogs: dialogsIt },
@@ -67,6 +71,7 @@ export function setMainLocale(locale: string) {
if (
locale === "en" ||
locale === "ar" ||
+ locale === "cs" ||
locale === "es" ||
locale === "fr" ||
locale === "it" ||
diff --git a/src/i18n/locales/cs/editor.json b/src/i18n/locales/cs/editor.json
index 90a91314b..81afc8965 100644
--- a/src/i18n/locales/cs/editor.json
+++ b/src/i18n/locales/cs/editor.json
@@ -110,8 +110,6 @@
"microphone": "Mikrofon",
"camera": "Kamera",
"cursorHighlight": "Zvýraznění kurzoru",
- "autoZoom": "Automatické přiblížení po nahrání",
- "autoZoomNeedsEditableCursor": "Automatické přiblížení vyžaduje upravitelný kurzor. Přepněte režim kurzoru, abyste ho povolili.",
"on": "Zapnuto",
"off": "Vypnuto",
"loading": "Načítání…",
@@ -314,9 +312,9 @@
"title": "Upravit klip",
"adjustStart": "Upravit začátek klipu",
"adjustEnd": "Upravit konec klipu",
- "start": "Začátek",
- "end": "Konec",
- "duration": "Délka",
+ "originalDuration": "Původní délka",
+ "trimRange": "Rozsah oříznutí",
+ "duration": "Výsledná délka",
"reset": "Obnovit",
"apply": "Použít",
"pickClipTitle": "Vyberte klip k úpravě",
diff --git a/src/i18n/locales/cs/launch.json b/src/i18n/locales/cs/launch.json
index 8f97189c5..87dbef6c3 100644
--- a/src/i18n/locales/cs/launch.json
+++ b/src/i18n/locales/cs/launch.json
@@ -52,11 +52,6 @@
"camera": "Kamera",
"cameraDevice": "Zařízení kamery"
},
- "autoZoom": {
- "enable": "Zapnout automatické přiblížení po nahrání",
- "disable": "Vypnout automatické přiblížení po nahrání",
- "needsEditableCursor": "Automatické přiblížení vyžaduje upravitelný kurzor. Přepněte režim kurzoru, abyste ho povolili."
- },
"cursor": {
"useEditableCursor": "Použít upravitelný kurzor",
"useSystemCursor": "Použít systémový kurzor"