Skip to content

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

add new strings

rorycleara47fac92f420
diff --git a/clearcam/SettingsViewController.m b/clearcam/SettingsViewController.m
index 266d162..cc9ec2f 100644
--- a/clearcam/SettingsViewController.m
+++ b/clearcam/SettingsViewController.m
@@ -42,7 +42,7 @@
});
}];
- UIBarButtonItem *helpButton = [[UIBarButtonItem alloc] initWithTitle:@"Docs" style:UIBarButtonItemStylePlain target:self action:@selector(helpButtonTapped)];
+ UIBarButtonItem *helpButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"docs", nil) style:UIBarButtonItemStylePlain target:self action:@selector(helpButtonTapped)];
[helpButton setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor systemBlueColor]}
forState:UIControlStateNormal];
self.navigationItem.rightBarButtonItem = helpButton;
@@ -392,7 +392,7 @@
} else if (section == 2) {
return NSLocalizedString(@"viewer_settings", @"Header for viewer settings section");
} else if (section == 3) {
- return NSLocalizedString(@"advanced_settings", @"Header for advanced settings section");
+ return NSLocalizedString(@"experimental_features", @"Header for advanced settings section");
} else if (section == 4) {
BOOL isSubscribed = [[NSUserDefaults standardUserDefaults] boolForKey:@"isSubscribed"];
return isSubscribed ? NSLocalizedString(@"subscription", @"Header for subscription section when subscribed") : NSLocalizedString(@"upgrade_to_premium", @"Header for subscription section when not subscribed");
diff --git a/clearcam/en.lproj/Localizable.strings b/clearcam/en.lproj/Localizable.strings
index 520934c..0b9fd1b 100644
--- a/clearcam/en.lproj/Localizable.strings
+++ b/clearcam/en.lproj/Localizable.strings
@@ -89,4 +89,5 @@
"delete" = "Delete";
"cancel" = "Cancel";
"online" = "Online";
-"advanced_settings" = "Advanced Settings";
+"experimental_features" = "Experimental Features";
+"docs" = "Docs";
diff --git a/clearcam/zh-Hans.lproj/Localizable.strings b/clearcam/zh-Hans.lproj/Localizable.strings
index d35aa9f..7bab95c 100644
--- a/clearcam/zh-Hans.lproj/Localizable.strings
+++ b/clearcam/zh-Hans.lproj/Localizable.strings
@@ -89,7 +89,8 @@
"delete" = "删除";
"cancel" = "取消";
"online" = "在线";
-"advanced_settings" = "高级设置";
+"experimental_features" = "实验性功能";
+"docs" = "文档";
"person" = "人";
"bicycle" = "自行车";