Skip to content

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

more strings

rorycleard3241dd0e464
diff --git a/clearcam/GalleryViewController.m b/clearcam/GalleryViewController.m
index 2105de7..28f3244 100644
--- a/clearcam/GalleryViewController.m
+++ b/clearcam/GalleryViewController.m
@@ -91,14 +91,14 @@
// Initialize view controllers for tabs
self.eventsViewController = [[UIViewController alloc] init];
- self.eventsViewController.title = @"Events";
- self.eventsViewController.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"Events"
+ self.eventsViewController.title = NSLocalizedString(@"events", @"Title for events screen");
+ self.eventsViewController.tabBarItem = [[UITabBarItem alloc] initWithTitle:NSLocalizedString(@"events", @"Title for events screen")
image:[UIImage systemImageNamed:@"photo.on.rectangle"]
tag:0];
self.liveViewController = [[LiveViewController alloc] init];
self.liveViewController.title = @"Live Cameras";
- self.liveViewController.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"Live"
+ self.liveViewController.tabBarItem = [[UITabBarItem alloc] initWithTitle:NSLocalizedString(@"live", @"Title for live screen")
image:[UIImage systemImageNamed:@"video"]
tag:1];
diff --git a/clearcam/en.lproj/Localizable.strings b/clearcam/en.lproj/Localizable.strings
index 54185af..7431eef 100644
--- a/clearcam/en.lproj/Localizable.strings
+++ b/clearcam/en.lproj/Localizable.strings
@@ -6,3 +6,4 @@
//
"settings" = "Settings";
+"events" = "Events";
diff --git a/clearcam/zh-Hans.lproj/Localizable.strings b/clearcam/zh-Hans.lproj/Localizable.strings
index 096ec34..e0d15fa 100644
--- a/clearcam/zh-Hans.lproj/Localizable.strings
+++ b/clearcam/zh-Hans.lproj/Localizable.strings
@@ -6,3 +6,5 @@
//
"settings" = "设置";
+"events" = "事件";
+"live" = "直播";