Skip to content

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

added ar to config and added fallback to the main.ts recordingStatus

i1Zeusa0d1cfe8c800
diff --git a/electron/main.ts b/electron/main.ts
index 030a8cfd5..bace434de 100644
--- a/electron/main.ts
+++ b/electron/main.ts
@@ -285,7 +285,9 @@ function updateTrayMenu(recording: boolean = false) {
if (!tray) return;
const trayIcon = recording ? recordingTrayIcon : defaultTrayIcon;
const trayToolTip = recording
- ? mainT("common", "actions.recordingStatus", { source: selectedSourceName })
+ ? mainT("common", "actions.recordingStatus", {
+ source: selectedSourceName,
+ }) || `Recording: ${selectedSourceName}`
: "OpenScreen";
const menuTemplate = recording
? [
diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx
index 343c4cfbd..a99a6447b 100644
--- a/src/components/video-editor/SettingsPanel.tsx
+++ b/src/components/video-editor/SettingsPanel.tsx
@@ -1079,8 +1079,9 @@ export function SettingsPanel({
const turningOn = !cursorHighlight.onlyOnClicks;
if (turningOn) {
try {
- const result = await window.electronAPI.requestAccessibilityAccess();
- if (!result.granted) {
+ const result =
+ await window.electronAPI?.requestAccessibilityAccess?.();
+ if (!result?.granted) {
toast.message(
t("effects.cursorHighlight.accessibilityPermissionTitle"),
{
@@ -1089,6 +1090,7 @@ export function SettingsPanel({
),
},
);
+ return;
}
} catch (err) {
console.warn("Accessibility request failed:", err);
diff --git a/src/i18n/config.ts b/src/i18n/config.ts
index 788a3154b..cf0b34cb3 100644
--- a/src/i18n/config.ts
+++ b/src/i18n/config.ts
@@ -8,6 +8,7 @@ export const SUPPORTED_LOCALES = [
"tr",
"ko-KR",
"ja-JP",
+ "ar",
] as const;
export const I18N_NAMESPACES = [
"common",
diff --git a/src/i18n/locales/ar/settings.json b/src/i18n/locales/ar/settings.json
index e21976db9..2d250b194 100644
--- a/src/i18n/locales/ar/settings.json
+++ b/src/i18n/locales/ar/settings.json
@@ -173,7 +173,7 @@
"dialogTitle": "إضافة خط Google",
"urlLabel": "رابط استيراد خطوط Google",
"urlPlaceholder": "https://fonts.googleapis.com/css2?family=Roboto&display=swap",
- "urlHelp": "احصل على هذا من خطوط Google: حدد خطًا → انقر على \"Get font\" → انسخ رابط @import",
+ "urlHelp": "احصل على هذا من خطوط Google: حدد خطًا → انقر على \"احصل على الخط\" → انسخ رابط `@import`",
"nameLabel": "اسم العرض",
"namePlaceholder": "خطي المخصص",
"nameHelp": "هكذا سيظهر الخط في محدد الخطوط",