diff --git a/plugin.xml b/plugin.xml
index 34059d07f..0bb584f80 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -100,6 +100,7 @@
+
diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m
index c71de0546..695b2b2f6 100644
--- a/src/ios/CDVCamera.m
+++ b/src/ios/CDVCamera.m
@@ -166,7 +166,7 @@ - (void)takePicture:(CDVInvokedUrlCommand*)command
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wtautological-pointer-compare"
NSString* settingsButton = (&UIApplicationOpenSettingsURLString != NULL)
- ? NSLocalizedString(@"Settings", nil)
+ ? NSLocalizedStringFromTable(@"camera.settings", @"Camera", nil)
: nil;
#pragma clang diagnostic pop
@@ -174,9 +174,9 @@ - (void)takePicture:(CDVInvokedUrlCommand*)command
dispatch_async(dispatch_get_main_queue(), ^{
[[[UIAlertView alloc] initWithTitle:[[NSBundle mainBundle]
objectForInfoDictionaryKey:@"CFBundleDisplayName"]
- message:NSLocalizedString(@"Access to the camera has been prohibited; please enable it in the Settings app to continue.", nil)
+ message:NSLocalizedStringFromTable(@"camera.prohibited", @"Camera", nil)
delegate:weakSelf
- cancelButtonTitle:NSLocalizedString(@"OK", nil)
+ cancelButtonTitle:NSLocalizedStringFromTable(@"camera.ok", @"Camera", nil)
otherButtonTitles:settingsButton, nil] show];
});
}
diff --git a/src/ios/Camera.strings b/src/ios/Camera.strings
new file mode 100644
index 000000000..751e49207
--- /dev/null
+++ b/src/ios/Camera.strings
@@ -0,0 +1,3 @@
+"camera.prohibited" = "Access to the camera has been prohibited; please enable it in the Settings app to continue.";
+"camera.ok" = "OK";
+"camera.settings" = "Settings";