-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
fixed Hindi localization #429
Conversation
Fixed broken braces in the body of the upgrade message. improved translations for other messages.
lib/src/upgrade_messages.dart
Outdated
@@ -153,7 +153,7 @@ class UpgraderMessages { | |||
break; | |||
case 'hi': | |||
message = | |||
'{app name} का एक नया संस्करण उपलब्ध है। संस्करण {{currentAppStoreVersion}} अब उपलब्ध है-आपके पास है {{currentInstalledVersion}}.'; | |||
'{{app name}} का एक नया संस्करण उपलब्ध है। आपके पास संस्करण {{currentInstalledVersion}} है, लेकिन अब {{currentAppStoreVersion}} उपलब्ध है।'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I like the change for the incorrect braces around app name. However, I do not like the other changes for the language text. The intent of these messages has been changed, not just simple syntax. I don't want to accept these changes unless I hear from some other Hindi speakers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the missing braces for app name in the code so there is no need for this PR now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing the braces. Would you like me to submit a new PR for just the Hindi text change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aruhant I would like to better understand the proposed changes first, which seem to change the meaning of the existing text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, no problem! Those proposed changes merely use precise, more appropriate wording and do not alter the intended meaning. Though, feel free to double-check with other Hindi speakers. I am happy to clarify anything that may be unclear.
Came here looking for the braces bug. It changes the voice of the message from passive to active, and sounds much better as a native Hindi speaker. |
@aruhant I'll accept these changes now, but there is a small conflict that needs to be resolved first. |
I have resolved those conflicts. |
Thanks @aruhant - changes have been merged. |
Changes: The {{app name}} parameter of the upgrade message in Hindi had a missing set of braces around it, which was preventing it from substituting correctly. I also improved a few incorrect Hindi translations based on my proficiency as a native Hindi speaker.
Testing: Locally tested each changed string