Browse Source

add moar l10n

Felix Paul Kühne 10 years ago
parent
commit
a70b732593

+ 10 - 1
VLC for iOS WatchKit Extension/VLCDetailInterfaceController.m

@@ -21,6 +21,16 @@
 
 @implementation VLCDetailInterfaceController
 
+- (instancetype)init
+{
+    self = [super init];
+    if (self) {
+        [self.playNowButton setTitle:NSLocalizedString(@"Play now", nil)];
+        [self setTitle:NSLocalizedString(@"DETAIL", nil)];
+    }
+    return self;
+}
+
 - (void)awakeWithContext:(id)context {
     [super awakeWithContext:context];
 
@@ -53,7 +63,6 @@
     if (thumbnail) {
         self.imageView.image = thumbnail;
     }
-
 }
 
 - (IBAction)playNow {

+ 9 - 0
VLC for iOS WatchKit Extension/VLCNowPlayingInterfaceController.m

@@ -22,6 +22,15 @@
 
 @implementation VLCNowPlayingInterfaceController
 
+- (instancetype)init
+{
+    self = [super init];
+    if (self) {
+        [self setTitle:NSLocalizedString(@"PLAYING", nil)];
+    }
+    return self;
+}
+
 - (void)awakeWithContext:(id)context {
     [super awakeWithContext:context];