Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

more strings

roryclearea9c683a788a
diff --git a/clearcam/GalleryViewController.m b/clearcam/GalleryViewController.m
index 28f3244..b11d274 100644
--- a/clearcam/GalleryViewController.m
+++ b/clearcam/GalleryViewController.m
@@ -171,7 +171,7 @@
NSForegroundColorAttributeName: [UIColor labelColor],
NSParagraphStyleAttributeName: centeredStyle
};
- [message appendAttributedString:[[NSAttributedString alloc] initWithString:@"No Videos Available\n\n" attributes:titleAttrs]];
+ [message appendAttributedString:[[NSAttributedString alloc] initWithString:NSLocalizedString(@"no_videos_available", "no videos available") attributes:titleAttrs]];
// Left-aligned steps with hanging indent
NSMutableParagraphStyle *stepsStyle = [[NSMutableParagraphStyle alloc] init];
@@ -187,12 +187,7 @@
NSParagraphStyleAttributeName: stepsStyle
};
- NSString *stepsText =
- @"1. Install Clearcam on another phone.\n"
- "2. Upgrade to Clearcam Premium (must be using the same Apple account on both phones).\n"
- "3. Turn on \"Send Videos on Detection\" on your other phone and choose a secure password.\n"
- "4. (Optional) Configure your detection settings and schedule.\n"
- "5. Start recording.\n";
+ NSString *stepsText = NSLocalizedString(@"steps_text_clips", "steps to setup clips");
[message appendAttributedString:[[NSAttributedString alloc] initWithString:stepsText attributes:stepAttrs]];
diff --git a/clearcam/LiveViewController.m b/clearcam/LiveViewController.m
index 0c5cb1d..368894c 100644
--- a/clearcam/LiveViewController.m
+++ b/clearcam/LiveViewController.m
@@ -62,7 +62,7 @@
};
NSMutableAttributedString *message = [[NSMutableAttributedString alloc] init];
- [message appendAttributedString:[[NSAttributedString alloc] initWithString:@"No Live Devices\n\n" attributes:titleAttrs]];
+ [message appendAttributedString:[[NSAttributedString alloc] initWithString:NSLocalizedString(@"no_live_devices", "no live devices") attributes:titleAttrs]];
// Steps with hanging indent, left-aligned
NSMutableParagraphStyle *stepsStyle = [[NSMutableParagraphStyle alloc] init];
@@ -77,11 +77,7 @@
NSParagraphStyleAttributeName: stepsStyle
};
- NSString *stepsText =
- @"1. Install Clearcam on another phone.\n"
- "2. Upgrade to Clearcam Premium (must be using the same Apple account on both phones).\n"
- "3. Turn on \"Live Stream over Network\" on your other phone and choose a secure password and device name.\n"
- "4. Start recording.";
+ NSString *stepsText = NSLocalizedString(@"steps_text_live","steps on how to make live work.");
[message appendAttributedString:[[NSAttributedString alloc] initWithString:stepsText attributes:stepsAttrs]];
diff --git a/clearcam/en.lproj/Localizable.strings b/clearcam/en.lproj/Localizable.strings
index 094188c..eaf84f5 100644
--- a/clearcam/en.lproj/Localizable.strings
+++ b/clearcam/en.lproj/Localizable.strings
@@ -1 +1,4 @@
-"settings" = "Settings"; "events" = "Events"; "default_device_name" = "My Device"; "waiting_for_ip" = "Waiting for IP..."; "permission_denied" = "Permission Denied"; "notification_permission_denied" = "Notification permission was denied. You can enable it in Settings."; "ok" = "OK"; "enable_in_settings" = "Enable in Settings"; "notifications_disabled" = "Notifications are disabled. Please enable them in the Settings app."; "camera_settings" = "Camera Settings"; "live_stream_settings" = "Live Stream Settings"; "viewer_settings" = "Viewer Settings"; "subscription" = "Subscription"; "upgrade_to_premium" = "Upgrade to Premium"; "stream_via_wifi" = "Stream via Wi-Fi"; "resolution" = "Resolution"; "detect_objects" = "Detect Objects"; "manage_detection_presets" = "Manage Detection Presets"; "detection_certainty_threshold" = "Detection Certainty Threshold"; "send_videos_on_detection" = "Send Videos on Detection"; "send_videos_description" = "Enable to view events on other devices from anywhere."; "change_encryption_password" = "Change Encryption Password"; "manage_detection_schedules" = "Manage Detection Schedules"; "manage_detection_schedules_description" = "Choose when to detect objects."; "use_own_notification_server" = "Use Own Notification Server"; "use_own_notification_server_description" = "Send videos to a server that you own."; "server_address" = "Server Address"; "test_own_server" = "Test own server"; "use_own_inference_server" = "Use Own Inference Server"; "use_own_inference_server_description" = "Use a custom server for object detection."; "enter_inference_server_address" = "Enter server address: e.g http://192.168.1.1:6667"; "live_stream_network" = "Live Stream over Network"; "device_name" = "Device Name"; "receive_notifications" = "Receive Notifications"; "receive_notifications_description" = "Get notified when a camera catches an event."; "restore_purchases" = "Restore Purchases"; "terms_of_use" = "Terms of Use"; "privacy_policy" = "Privacy Policy"; "delete_encryption_keys" = "Delete Encryption Keys"; "enter_inference_server_address_title" = "Enter Inference Server Address"; "enter_inference_server_address_message" = "Please enter the address of your inference server."; "server_address_label" = "Server Address"; "save" = "Save"; "cancel" = "Cancel"; "set_threshold_title" = "Set Threshold"; "set_threshold_message" = "Enter a % value between 1 and 100 (default is 25)."; "threshold_placeholder" = "Threshold (1-100)"; "invalid_threshold_title" = "Invalid Threshold"; "invalid_threshold_message" = "Please enter a valid value between 1 and 100"; "set_device_name_title" = "Set Device Name"; "set_device_name_message" = "Enter a name for this device."; "device_name_placeholder" = "Device Name"; "delete_encryption_keys_title" = "Delete Encryption Keys"; "delete_encryption_keys_message" = "Are you sure you want to delete all keys from this device?"; "delete" = "Yes"; "price_unknown" = "Price"; "get_premium_title" = "Get Clearcam Premium"; "premium_feature_1" = "View captured events from anywhere"; "premium_feature_2" = "Receive real-time event notifications"; "premium_feature_3" = "Live stream from anywhere"; "premium_feature_4" = "End-to-end encryption on all camera data sent from your phone."; "upgrade_button" = "Upgrade for %@ per month"; "not_now" = "Not now"; "premium_disclaimer" = "Monthly limit of 5000 clip uploads and 1000 minutes or sessions of live stream viewing."; "purchase_failed" = "Purchase Failed"; "enter_notification_server_address_title" = "Enter Server Address"; "enter_notification_server_address_message" = "Please enter the address of your notification server."; "test_notification_sent_title" = "Sent"; "test_notification_sent_message" = "Test notification sent. Check your server."; "set_password_title" = "Set Password"; "set_password_message" = "Enter a password to encrypt your data"; "password_placeholder" = "Password"; "confirm_password_placeholder" = "Confirm Password"; "invalid_password_title" = "Invalid Password"; "invalid_password_message" = "Passwords do not match or are empty."; "select_resolution_title" = "Select Resolution"; "select_objects_preset_title" = "Select objects preset"; "add_preset_title" = "Add Preset"; "add_preset_message" = "Enter a name for the new preset"; "preset_name_placeholder" = "Preset Name"; "restoring_purchases_title" = "Restoring Purchases"; "restoring_purchases_message" = "Please wait while we restore your previous purchases...";
+"settings" = "Settings"; "events" = "Events"; "live"="Live"; "default_device_name" = "My Device"; "waiting_for_ip" = "Waiting for IP..."; "permission_denied" = "Permission Denied"; "notification_permission_denied" = "Notification permission was denied. You can enable it in Settings."; "ok" = "OK"; "enable_in_settings" = "Enable in Settings"; "notifications_disabled" = "Notifications are disabled. Please enable them in the Settings app."; "camera_settings" = "Camera Settings"; "live_stream_settings" = "Live Stream Settings"; "viewer_settings" = "Viewer Settings"; "subscription" = "Subscription"; "upgrade_to_premium" = "Upgrade to Premium"; "stream_via_wifi" = "Stream via Wi-Fi"; "resolution" = "Resolution"; "detect_objects" = "Detect Objects"; "manage_detection_presets" = "Manage Detection Presets"; "detection_certainty_threshold" = "Detection Certainty Threshold"; "send_videos_on_detection" = "Send Videos on Detection"; "send_videos_description" = "Enable to view events on other devices from anywhere."; "change_encryption_password" = "Change Encryption Password"; "manage_detection_schedules" = "Manage Detection Schedules"; "manage_detection_schedules_description" = "Choose when to detect objects."; "use_own_notification_server" = "Use Own Notification Server"; "use_own_notification_server_description" = "Send videos to a server that you own."; "server_address" = "Server Address"; "test_own_server" = "Test own server"; "use_own_inference_server" = "Use Own Inference Server"; "use_own_inference_server_description" = "Use a custom server for object detection."; "enter_inference_server_address" = "Enter server address: e.g http://192.168.1.1:6667"; "live_stream_network" = "Live Stream over Network"; "device_name" = "Device Name"; "receive_notifications" = "Receive Notifications"; "receive_notifications_description" = "Get notified when a camera catches an event."; "restore_purchases" = "Restore Purchases"; "terms_of_use" = "Terms of Use"; "privacy_policy" = "Privacy Policy"; "delete_encryption_keys" = "Delete Encryption Keys"; "enter_inference_server_address_title" = "Enter Inference Server Address"; "enter_inference_server_address_message" = "Please enter the address of your inference server."; "server_address_label" = "Server Address"; "save" = "Save"; "cancel" = "Cancel"; "set_threshold_title" = "Set Threshold"; "set_threshold_message" = "Enter a % value between 1 and 100 (default is 25)."; "threshold_placeholder" = "Threshold (1-100)"; "invalid_threshold_title" = "Invalid Threshold"; "invalid_threshold_message" = "Please enter a valid value between 1 and 100"; "set_device_name_title" = "Set Device Name"; "set_device_name_message" = "Enter a name for this device."; "device_name_placeholder" = "Device Name"; "delete_encryption_keys_title" = "Delete Encryption Keys"; "delete_encryption_keys_message" = "Are you sure you want to delete all keys from this device?"; "delete" = "Yes"; "price_unknown" = "Price"; "get_premium_title" = "Get Clearcam Premium"; "premium_feature_1" = "View captured events from anywhere"; "premium_feature_2" = "Receive real-time event notifications"; "premium_feature_3" = "Live stream from anywhere"; "premium_feature_4" = "End-to-end encryption on all camera data sent from your phone."; "upgrade_button" = "Upgrade for %@ per month"; "not_now" = "Not now"; "premium_disclaimer" = "Monthly limit of 5000 clip uploads and 1000 minutes or sessions of live stream viewing."; "purchase_failed" = "Purchase Failed"; "enter_notification_server_address_title" = "Enter Server Address"; "enter_notification_server_address_message" = "Please enter the address of your notification server."; "test_notification_sent_title" = "Sent"; "test_notification_sent_message" = "Test notification sent. Check your server."; "set_password_title" = "Set Password"; "set_password_message" = "Enter a password to encrypt your data"; "password_placeholder" = "Password"; "confirm_password_placeholder" = "Confirm Password"; "invalid_password_title" = "Invalid Password"; "invalid_password_message" = "Passwords do not match or are empty."; "select_resolution_title" = "Select Resolution"; "select_objects_preset_title" = "Select objects preset"; "add_preset_title" = "Add Preset"; "add_preset_message" = "Enter a name for the new preset"; "preset_name_placeholder" = "Preset Name"; "restoring_purchases_title" = "Restoring Purchases"; "restoring_purchases_message" = "Please wait while we restore your previous purchases...";
+ "steps_text_live" = "1. Install Clearcam on another phone.\n2. Upgrade to Clearcam Premium (must be using the same Apple account on both phones).\n3. Turn on \"Live Stream over Network\" on your other phone and choose a secure password and device name.\n4. Start recording.";
+ "steps_text_clips" = "1. Install Clearcam on another phone.\n2. Upgrade to Clearcam Premium (must be using the same Apple account on both phones).\n3. Turn on \"Send Videos on Detection\" on your other phone and choose a secure password.\n4. (Optional) Configure your detection settings and schedule.\n5. Start recording.\n";
+ "no_live_devices" = "No Live Devices\n"; "no_video_available" = "No Videos Available\n";
diff --git a/clearcam/zh-Hans.lproj/Localizable.strings b/clearcam/zh-Hans.lproj/Localizable.strings
index 932be9c..4b1f596 100644
--- a/clearcam/zh-Hans.lproj/Localizable.strings
+++ b/clearcam/zh-Hans.lproj/Localizable.strings
@@ -1,43 +1,36 @@
-//
-// Localizable.strings
-// clearcam
-//
-// Created by Rory Clear on 09/06/2025.
-//
-
"settings" = "设置";
"events" = "事件";
-"live" = "直播";
+"live" = "直播";
"default_device_name" = "我的设备";
-"waiting_for_ip" = "等待IP分配...";
+"waiting_for_ip" = "正在获取IP...";
"permission_denied" = "权限被拒绝";
-"notification_permission_denied" = "通知权限被拒绝。您可以在设置中启用。";
+"notification_permission_denied" = "通知权限被拒绝。您可以在设置中启用它。";
"ok" = "确定";
"enable_in_settings" = "在设置中启用";
-"notifications_disabled" = "通知功能已禁用。请在系统设置中启用。";
+"notifications_disabled" = "通知已禁用。请在设置应用中启用它们。";
"camera_settings" = "摄像头设置";
"live_stream_settings" = "直播设置";
-"viewer_settings" = "查看设置";
+"viewer_settings" = "查看器设置";
"subscription" = "订阅";
"upgrade_to_premium" = "升级至高级版";
"stream_via_wifi" = "通过Wi-Fi传输";
"resolution" = "分辨率";
-"detect_objects" = "物体检测";
+"detect_objects" = "检测物体";
"manage_detection_presets" = "管理检测预设";
"detection_certainty_threshold" = "检测置信度阈值";
"send_videos_on_detection" = "检测时发送视频";
-"send_videos_description" = "启用后可在任意设备上查看事件。";
+"send_videos_description" = "启用后可在任何设备上查看事件。";
"change_encryption_password" = "更改加密密码";
"manage_detection_schedules" = "管理检测计划";
-"manage_detection_schedules_description" = "选择何时进行物体检测。";
-"use_own_notification_server" = "使用自有通知服务器";
+"manage_detection_schedules_description" = "选择何时检测物体。";
+"use_own_notification_server" = "使用自建通知服务器";
"use_own_notification_server_description" = "将视频发送到您自己的服务器。";
"server_address" = "服务器地址";
-"test_own_server" = "测试服务器";
-"use_own_inference_server" = "使用自有推理服务器";
+"test_own_server" = "测试自建服务器";
+"use_own_inference_server" = "使用自建推理服务器";
"use_own_inference_server_description" = "使用自定义服务器进行物体检测。";
"enter_inference_server_address" = "输入服务器地址:例如 http://192.168.1.1:6667";
-"live_stream_network" = "网络直播";
+"live_stream_network" = "通过网络直播";
"device_name" = "设备名称";
"receive_notifications" = "接收通知";
"receive_notifications_description" = "当摄像头捕捉到事件时接收通知。";
@@ -52,11 +45,11 @@
"cancel" = "取消";
"set_threshold_title" = "设置阈值";
"set_threshold_message" = "输入1到100之间的百分比值(默认为25)。";
-"threshold_placeholder" = "阈值(1-100)";
+"threshold_placeholder" = "阈值 (1-100)";
"invalid_threshold_title" = "无效阈值";
"invalid_threshold_message" = "请输入1到100之间的有效值";
"set_device_name_title" = "设置设备名称";
-"set_device_name_message" = "请输入此设备的名称。";
+"set_device_name_message" = "输入此设备的名称。";
"device_name_placeholder" = "设备名称";
"delete_encryption_keys_title" = "删除加密密钥";
"delete_encryption_keys_message" = "确定要删除此设备上的所有密钥吗?";
@@ -65,9 +58,9 @@
"get_premium_title" = "获取Clearcam高级版";
"premium_feature_1" = "随时随地查看捕获的事件";
"premium_feature_2" = "接收实时事件通知";
-"premium_feature_3" = "随时随地直播观看";
-"premium_feature_4" = "手机发送的所有摄像头数据端到端加密";
-"upgrade_button" = "升级至%@/月";
+"premium_feature_3" = "随时随地直播";
+"premium_feature_4" = "手机发送的所有摄像头数据均采用端到端加密。";
+"upgrade_button" = "升级至每月%@";
"not_now" = "暂不";
"premium_disclaimer" = "每月限制5000个片段上传和1000分钟或次数的直播观看。";
"purchase_failed" = "购买失败";
@@ -79,7 +72,7 @@
"set_password_message" = "输入密码以加密您的数据";
"password_placeholder" = "密码";
"confirm_password_placeholder" = "确认密码";
-"invalid_password_title" = "无效密码";
+"invalid_password_title" = "密码无效";
"invalid_password_message" = "密码不匹配或为空。";
"select_resolution_title" = "选择分辨率";
"select_objects_preset_title" = "选择物体预设";
@@ -87,4 +80,8 @@
"add_preset_message" = "输入新预设的名称";
"preset_name_placeholder" = "预设名称";
"restoring_purchases_title" = "正在恢复购买";
-"restoring_purchases_message" = "正在恢复您的购买记录,请稍候...";
+"restoring_purchases_message" = "请稍候,我们正在恢复您之前的购买...";
+"steps_text_live" = "1. 在另一台手机上安装Clearcam。\n2. 升级至Clearcam高级版(必须在两台手机上使用相同的Apple账号)。\n3. 在另一台手机上启用“通过网络直播”并设置安全密码和设备名称。\n4. 开始录制。";
+"steps_text_clips" = "1. 在另一台手机上安装Clearcam。\n2. 升级至Clearcam高级版(必须在两台手机上使用相同的Apple账号)。\n3. 在另一台手机上启用“检测时发送视频”并设置安全密码。\n4. (可选)配置检测设置和计划。\n5. 开始录制。";
+"no_live_devices" = "无在线设备\n";
+"no_video_available" = "无可用视频\n";