Skip to content

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

localize

roryclear60cca7a9c6d3
diff --git a/clearcam/SettingsViewController.m b/clearcam/SettingsViewController.m
index 3271f8c..1320b50 100644
--- a/clearcam/SettingsViewController.m
+++ b/clearcam/SettingsViewController.m
@@ -566,12 +566,12 @@
cell.accessoryType = UITableViewCellAccessoryNone;
cell.userInteractionEnabled = YES;
} else if (isSubscribed && indexPath.row == 1) {
- cell.textLabel.text = @"UserID";
+ cell.textLabel.text = NSLocalizedString(@"userid", nil);
cell.textLabel.textColor = [UIColor labelColor];
cell.textLabel.textAlignment = NSTextAlignmentLeft;
if (self.isUserIDVisible) {
NSString *sessionToken = [[StoreManager sharedInstance] retrieveSessionTokenFromKeychain];
- cell.detailTextLabel.text = sessionToken ?: @"UserID";
+ cell.detailTextLabel.text = sessionToken ?: NSLocalizedString(@"userid", nil);;
// Add copy button
UIButton *copyButton = [UIButton buttonWithType:UIButtonTypeSystem];
@@ -591,7 +591,7 @@
[cell.contentView addSubview:copyButton];
} else {
- cell.detailTextLabel.text = @"Tap to reveal your user ID, do not share this.";
+ cell.detailTextLabel.text = NSLocalizedString(@"tap_for_userid", nil);
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
// Remove copy button if it exists
@@ -654,8 +654,8 @@
NSString *sessionToken = [[StoreManager sharedInstance] retrieveSessionTokenFromKeychain];
if (sessionToken) {
UIPasteboard.generalPasteboard.string = sessionToken;
- UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Copied"
- message:@"User ID copied to clipboard."
+ UIAlertController *alert = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"copied", nil)
+ message:NSLocalizedString(@"id_copied", nil)
preferredStyle:UIAlertControllerStyleAlert];
[self presentViewController:alert animated:YES completion:^{
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
diff --git a/clearcam/en.lproj/Localizable.strings b/clearcam/en.lproj/Localizable.strings
index 48d6054..96dca38 100644
--- a/clearcam/en.lproj/Localizable.strings
+++ b/clearcam/en.lproj/Localizable.strings
@@ -99,3 +99,9 @@
"settings_desc" = "Configure cameras and detection";
"all" = "all";
"people+vehicles" = "people+vehicles";
+
+"authenticate_to_view_user_id" = "authenticate to view your userID.";
+"tap_for_userid" = "Tap to reveal your user ID, do not share this.";
+"id_copied" = "UserID copied to clipboard.";
+"copied" = "Copied";
+"userid" = "UserID";
diff --git a/clearcam/es.lproj/Localizable.strings b/clearcam/es.lproj/Localizable.strings
index 3cbf810..4efdf65 100644
--- a/clearcam/es.lproj/Localizable.strings
+++ b/clearcam/es.lproj/Localizable.strings
@@ -100,6 +100,12 @@
"all" = "todos";
"people+vehicles" = "personas+vehículos";
+"authenticate_to_view_user_id" = "Autentícate para ver tu ID de usuario.";
+"tap_for_userid" = "Toca para revelar tu ID de usuario, no lo compartas.";
+"id_copied" = "ID de usuario copiado al portapapeles.";
+"copied" = "Copiado";
+"userid" = "ID de usuario";
+
"person" = "persona";
"bicycle" = "bicicleta";
"car" = "coche";
diff --git a/clearcam/hi.lproj/Localizable.strings b/clearcam/hi.lproj/Localizable.strings
index a77b394..9b2a064 100644
--- a/clearcam/hi.lproj/Localizable.strings
+++ b/clearcam/hi.lproj/Localizable.strings
@@ -100,6 +100,12 @@
"all" = "सभी";
"people+vehicles" = "लोग+वाहन";
+"authenticate_to_view_user_id" = "अपना यूज़र ID देखने के लिए प्रमाणित करें।";
+"tap_for_userid" = "अपना यूज़र ID देखने के लिए टैप करें, इसे साझा न करें।";
+"id_copied" = "यूज़र ID क्लिपबोर्ड पर कॉपी किया गया।";
+"copied" = "कॉपी किया गया";
+"userid" = "यूज़र ID";
+
"person" = "व्यक्ति";
"bicycle" = "साइकिल";
"car" = "कार";
diff --git a/clearcam/ja.lproj/Localizable.strings b/clearcam/ja.lproj/Localizable.strings
index bbac2c0..94c42f4 100644
--- a/clearcam/ja.lproj/Localizable.strings
+++ b/clearcam/ja.lproj/Localizable.strings
@@ -100,6 +100,12 @@
"all" = "すべて";
"people+vehicles" = "人+車両";
+"authenticate_to_view_user_id" = "ユーザーIDを表示するには認証が必要です。";
+"tap_for_userid" = "タップしてユーザーIDを表示、共有しないでください。";
+"id_copied" = "ユーザーIDがクリップボードにコピーされました。";
+"copied" = "コピーしました";
+"userid" = "ユーザーID";
+
"person" = "人";
"bicycle" = "自転車";
"car" = "車";
diff --git a/clearcam/ko.lproj/Localizable.strings b/clearcam/ko.lproj/Localizable.strings
index 813ca15..32e45e2 100644
--- a/clearcam/ko.lproj/Localizable.strings
+++ b/clearcam/ko.lproj/Localizable.strings
@@ -100,6 +100,12 @@
"all" = "전체";
"people+vehicles" = "사람+차량";
+"authenticate_to_view_user_id" = "사용자 ID를 보려면 인증하세요.";
+"tap_for_userid" = "사용자 ID를 보려면 탭하세요, 공유하지 마세요.";
+"id_copied" = "사용자 ID가 클립보드에 복사되었습니다.";
+"copied" = "복사됨";
+"userid" = "사용자 ID";
+
"person" = "사람";
"bicycle" = "자전거";
"car" = "자동차";
diff --git a/clearcam/zh-Hans.lproj/Localizable.strings b/clearcam/zh-Hans.lproj/Localizable.strings
index 5a188ea..df76c3b 100644
--- a/clearcam/zh-Hans.lproj/Localizable.strings
+++ b/clearcam/zh-Hans.lproj/Localizable.strings
@@ -100,6 +100,12 @@
"all" = "全部";
"people+vehicles" = "人+车辆";
+"authenticate_to_view_user_id" = "验证以查看您的用户ID。";
+"tap_for_userid" = "点击显示您的用户ID,请勿分享。";
+"id_copied" = "用户ID已复制到剪贴板。";
+"copied" = "已复制";
+"userid" = "用户ID";
+
"person" = "人";
"bicycle" = "自行车";
"car" = "汽车";