You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/08/02 02:58:04 UTC

[GitHub] [cordova-plugin-camera] megumih opened a new issue #483: If you do not allow access to the camera, it will be in English

megumih opened a new issue #483:  If you do not allow access to the camera, it will be in English
URL: https://github.com/apache/cordova-plugin-camera/issues/483
 
 
   # Bug Report
   I use this plugin.
   I want to take picture.so,
   When I select Don't allow in modal permission,and this message 
   「"Access to the camera has been prohibited; please enable it in the Settings app to continue.」.
   
   This message is English, but I want to change Japanese.
   Plese teach me how to chage Language.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   this plugin source
   cordova-plugin-camera/src/ios/CDVCamera.m
   
   // Denied; show an alert
                        dispatch_async(dispatch_get_main_queue(), ^{
                            UIAlertController *alertController = [UIAlertController alertControllerWithTitle:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"] message:NSLocalizedString(@"Access to the camera has been prohibited; please enable it in the Settings app to continue.", nil) preferredStyle:UIAlertControllerStyleAlert];
                            [alertController addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"OK", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
                                [weakSelf sendNoPermissionResult:command.callbackId];
                            }]];
   
   
   ![IMG_60AFF44E3565-1](https://user-images.githubusercontent.com/10084100/62341037-b3194400-b51c-11e9-9a0b-4a2f68418ed7.jpeg)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org