i18n: translation update
- new file Conversation.string
- update other source files
- new translations
- fix some i18n warnings in source code
Change-Id: Ic6378f7947c47cea0b36a87f5b1c52f575ee1959
diff --git a/src/AppDelegate.mm b/src/AppDelegate.mm
index 9db330c..30be3b7 100644
--- a/src/AppDelegate.mm
+++ b/src/AppDelegate.mm
@@ -106,9 +106,7 @@
NSUserNotification* notification = [[NSUserNotification alloc] init];
- NSString* localizedTitle = NSLocalizedString(([NSString stringWithFormat:@"Message from %@",
- qIdx.data((int)Media::TextRecording::Role::AuthorDisplayname).toString().toNSString()]),
- @"Text message notification title");
+ NSString* localizedTitle = [NSString stringWithFormat:NSLocalizedString(@"Message from %@", @"Message from {Name}"), qIdx.data((int)Media::TextRecording::Role::AuthorDisplayname).toString().toNSString()];
[notification setTitle:localizedTitle];
[notification setSoundName:NSUserNotificationDefaultSoundName];
@@ -120,9 +118,8 @@
- (void) showIncomingNotification:(Call*) call{
NSUserNotification *notification = [[NSUserNotification alloc] init];
- NSString* localizedTitle = NSLocalizedString(([NSString stringWithFormat:@"Incoming call from %@",
- call->peerName().toNSString()]),
- @"Call notification title");
+ NSString* localizedTitle = [NSString stringWithFormat:
+ NSLocalizedString(@"Incoming call from %@", @"Incoming call from {Name}"), call->peerName().toNSString()];
[notification setTitle:localizedTitle];
[notification setSoundName:NSUserNotificationDefaultSoundName];