Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeviceAgent can not dismiss Permissions Alerts in Portuguese #1226

Closed
oscartanner opened this issue Nov 21, 2016 · 5 comments
Closed

DeviceAgent can not dismiss Permissions Alerts in Portuguese #1226

oscartanner opened this issue Nov 21, 2016 · 5 comments

Comments

@oscartanner
Copy link

oscartanner commented Nov 21, 2016

Calabash can not dismiss Permissions Alerts (spring-board) in Portuguese.
To solve these problems in older versions of iOS SDK, I created a Pull Request for run_loop, #563, with these translations.
The messages are:

{"title"=>"Permitir que “Permissions” tenha acesso à sua localização enquanto você usa o aplicativo?", "buttons"=>["Não Permitir", "Permitir"]"}
{"title"=>"Permitir que “Permissions” tenha acesso à sua localização mesmo quando você não estiver usando o aplicativo?", "buttons"=>["Não Permitir", "Permitir"]}
{"title"=>"“Permissions” Deseja Ter Acesso aos Seus Contatos", "buttons"=>["Não Permitir", "OK"]}
{"title"=>"“Permissions” Deseja Ter Acesso ao Seu Calendário", "buttons"=>["Não Permitir", "OK"]}
{"title"=>"“Permissions” Deseja Ter Acesso aos Seus Lembretes", "buttons"=>["Não Permitir", "OK"]}
{"title"=>"“Permissions” Deseja Ter Acesso às Suas Fotos", "buttons"=>["Não Permitir", "OK"]}
{"title"=>"“Permissions” Deseja Ter Acesso à Câmera", "buttons"=>["Não Permitir", "OK"]}
{"title"=>"“Permissions” Deseja Enviar Notificações", "buttons"=>["Não Permitir", "Permitir"]}

All messages came from executions of the Permissions.app in an iPhone 7 simulator, running iOS 10.1. I could not run Permissions.app in a device. Ruby version 2.3.1p112 and calabash-ios 0.20.3.

@jmoody
Copy link
Contributor

jmoody commented Nov 22, 2016

I added the localizations to DeviceAgent. Thank you very much.

@jmoody jmoody added this to the 0.20.4 milestone Nov 22, 2016
@oscartanner
Copy link
Author

Thank you very much.

@oscartanner
Copy link
Author

@jmoody Sorry, my bad! I forgot to add one localization.
For iOS <= 9.3, the push notification alert is different

{"title"=>"“Permissions” Deseja Enviar-lhe Notificações", "buttons"=>["Não Permitir", "OK"]}

I added this localization in the run_loop PR, but forgot to add it here.

Thank you very much.

@jmoody
Copy link
Contributor

jmoody commented Nov 25, 2016

Captured.

@oscartanner
Copy link
Author

Thank's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants