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

Arabic translation #642

Merged
merged 8 commits into from
Jul 11, 2016
Merged

Arabic translation #642

merged 8 commits into from
Jul 11, 2016

Conversation

mhasbini
Copy link
Contributor

Added Arabic translation.

@justinclift
Copy link
Member

Excellent, this seems like a good start. 😄

One small problem with it is showing up... the flag seems to be missing in the drop down list:

screen shot 2016-07-11 at 06 26 04

Are you ok to investigate and fix that?

@vtronko
Copy link
Member

vtronko commented Jul 11, 2016

@justinclift @0xbsec I already did that. Apply following patch via git apply

 src/translations/flags/flags.qrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/translations/flags/flags.qrc b/src/translations/flags/flags.qrc
index 4d240dc..8b7615d 100644
--- a/src/translations/flags/flags.qrc
+++ b/src/translations/flags/flags.qrc
@@ -1,6 +1,6 @@
 <RCC>
     <qresource prefix="/flags">
-        <file alias="ar_AR">ar.png</file>
+        <file alias="ar_EG">ar.png</file>
         <file alias="de_DE">de.png</file>
         <file alias="es_ES">es.png</file>
         <file alias="en_US">us.png</file>
-- 
2.9.0

@mhasbini
Copy link
Contributor Author

@justinclift Thanks.
@innermous Nice catch, it's truer to be 'ar_SA' instead of 'ar_EG'.

@justinclift
Copy link
Member

@0xbsec Yep, the flag is showing up in the drop down list now:

screen shot 2016-07-11 at 19 06 48

Guessing you'll keep adding more translated strings to this issue? If that's the case, just let us know when you're happy with things, and we'll merge it. 😄

@mhasbini
Copy link
Contributor Author

@justinclift sqlb_ar.ts is done. You can merge it.

@justinclift justinclift merged commit dd32f8a into sqlitebrowser:master Jul 11, 2016
@justinclift
Copy link
Member

justinclift commented Jul 11, 2016

Thanks @0xbsec, done. 😄

(Btw, sorry team. I forgot to choose the "squash commit" option for the merge. 😦 )

@0xbsec As a thought, some of the main strings in the user interface still seem to be in English when I try it. Is that how it should be?

screen shot 2016-07-11 at 19 36 49

@mhasbini
Copy link
Contributor Author

mhasbini commented Jul 11, 2016

@justinclift Most welcome. No, they should be translated in sqlb_ar.ts. Same thing happening with French translation ( and maybe others ), example: Revert Changes should be translated ( here ), but it isn't translated in the GUI either.

@justinclift
Copy link
Member

Thanks @0xbsec. Didn't know that was happening. I've just created issue #643 about it, so we can investigate it properly. 😄

@vtronko
Copy link
Member

vtronko commented Jul 11, 2016

@justinclift oooops, latest commits are a bit messy now.

@justinclift
Copy link
Member

justinclift commented Jul 12, 2016

Yeah, sorry @innermous. I was tempted to manually merge them afterwards, then force push a single commit onto our main repo... but that's generally bad practise. So I've resisted. 😧

@vtronko
Copy link
Member

vtronko commented Jul 12, 2016

@justinclift just imo, but in this special case it would be better than a pyle of commits with similar commit messages. Especially if you brought force push immediately before anyone ever fetched changes.
But what 's done that's done 😄

@justinclift
Copy link
Member

Yeah, next time one of us forgets, it probably would be better to manually merge then force push. 😄

@vtronko
Copy link
Member

vtronko commented Jul 12, 2016

@justinclift I always check log via tig three times before push 😆

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

Successfully merging this pull request may close these issues.

3 participants