-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add arabic translation for slate #126
Conversation
}, | ||
{ | ||
value: "Norwegian", | ||
display: "Norsh" |
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.
Norsk
@@ -22,5 +22,6 @@ set -e | |||
$qtBinDir/lupdate \ | |||
$slateDir/app/qml/qml.qrc $slateDir/lib/filevalidator.cpp \ | |||
-ts $translationDir/slate_en_GB.ts \ | |||
$translationDir/slate_no_NB.ts | |||
$translationDir/slate_no_NB.ts \ | |||
$translationDir/slate_ar_EG.ts |
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.
Please make the indenting for $translationDir/slate_ar_EG.ts align with the previous line.
Looks good so far, just a few nitpicks. By the way, if you don't intend to add any translated strings in the .ts file yet, it would be good to change the name of the pull request to "Add beginnings of Arabic translation for Slate" or something, just to indicate that the work is ongoing. :) I think the pull request title shows up in the merge commit, that's all. |
I am willing to add arabic string. I just want to know how to switch to arabic first :D |
Oh, does it still not work? You will need to do something like:
https://github.com/mitchcurtis/slate/blob/master/app/application.cpp#L138 |
I run slate from qtcreator. |
Hmmm, that's odd. I'll have to give it a try later today. :)
Haha yeah, it is! :D |
OK, I got it working. Please apply this patch:
|
And yeah, I removed the languageName optimisation - I know it's not good to do it the way I'm currently doing it, but I'd rather be consistent and fix all of the strings in that file at once. :) |
I can not translate any more :D |
Haha, understandable! Nice work! Should I merge it as it is now and apply the patch I mentioned above afterwards? |
Let's get it in and I will fix it up afterwards. |
@mitchcurtis Sorry I forget about the patch. I will add it :) |
No worries, I already fixed it. :D |
I just want to make sure that I working on the right direction.