Notices


Reply
Thread Tools
Posts: 19 | Thanked: 2 times | Joined on Jun 2010
#61
Thanks for looking into this Mohannad.

Originally Posted by mohannad View Post
Thank you for your offer! Umm, do you have the Qt SDK installed? My next task is to get translations working.. Ive had one crack at it before and couldnt figure out how it works, are you able to help me out with this please?
Unfortunately, not yet. Since I don't have a linux machine nearby I tried to get the SDK virtual image. For some reason, it is offline for sometime now. I'll try to see if I can find out if it'll be back online.

I had a look at Qt localization from http://doc.qt.nokia.com/qt-maemo-4.6...alization.html and http://doc.qt.nokia.com/qt-maemo-4.6...anslation.html
It is a bit confusing, but if I understand correctly,
1. you need to pass tr("hard coded string") instead of "hard coded string" for all strings in your source.
2. you also need to add supported localizations to your project file (very simple. Just file names like mPrayerTime_ar.ts).
3. you need to use the "lupdate" command line tool to process the project file and generate the source localization files mentioned in it (like mPrayerTime_ar.ts). These auto-generated files are xml files. lupdate parses all source files in your project and adds all strings inside tr() into the *.ts files. Strings not covered by tr() will not be translated.
4. use the "linguist" graphical tool to open these translation source files (*.ts) and translate the strings into the target languages then save the files again.
5. use the "lrelease" command line tool to pack the translation source files into binary *.qm files that are used by Qt at runtime for translations.

I'll try to get the virtual image and test this. Meanwhile, you can either move into something else or have a second attempt using Qt internationalization
 
Posts: 4 | Thanked: 1 time | Joined on Mar 2010
#62
Please add a silent option before and after azzan time to make N900 silent in the Masjid. It is every embarrassing in the Masjid when phone rings....May Allah SWT help you...
 

The Following User Says Thank You to unixlife For This Useful Post:
Posts: 205 | Thanked: 159 times | Joined on Oct 2009
#63
Thank you for the instructions mssusa. I will have another crack at using Qt Linguist and see if i can get it to work.

@unixlife, I will look into that as soon as I've got the basic functionality working.


Ive uploaded version 0.3-1 to extras-dev. Its supposed to have the location detection working (at least it did when I was testing in Qt Creator) but for some reason its not. So I still have some work to do there.

The nan:nan bug that mssusa mentioned has been fixed. Please test and let me know if its not working as it should
 
Posts: 19 | Thanked: 2 times | Joined on Jun 2010
#64
I can confirm that the nan:nan bug is fixed. However, tapping on auto configure does nothing (unless auto setup of location is done somewhere else).

It also still exits randomly. Happened twice after showing the times.
 
Posts: 2 | Thanked: 0 times | Joined on Apr 2010
#65
Salam aleikum.
I can't install the programm becouse of problem with package libqtm-location. Couldn't find it. Help me please. Thank you for programm.
 
Posts: 128 | Thanked: 27 times | Joined on Jun 2010
#66
after reading the comments im waiting for a stable version so i can install and appreciate your work.. there are three packages as prayertime which ones to install?/
jazakallah
 
Posts: 205 | Thanked: 159 times | Joined on Oct 2009
#67
Originally Posted by mssusa View Post
I can confirm that the nan:nan bug is fixed. However, tapping on auto configure does nothing (unless auto setup of location is done somewhere else).

It also still exits randomly. Happened twice after showing the times.
thank u for testing 0.3-1 mssusa. I uploaded 0.3-2 which should fix the non responsive auto configure button, did u get a chance to try it?

Im still looking into the sudden exitting. Will hopefully have that fixed soon.
 
Posts: 205 | Thanked: 159 times | Joined on Oct 2009
#68
Originally Posted by Azer1 View Post
Salam aleikum.
I can't install the programm becouse of problem with package libqtm-location. Couldn't find it. Help me please. Thank you for programm.
Wa'alaikum essalaam, are you trying to install it from the app manager? it should pull in libqtm-location for you. Are u on the latest firmware(PR1.2)?

Originally Posted by rebelnoob View Post
after reading the comments im waiting for a stable version so i can install and appreciate your work.. there are three packages as prayertime which ones to install?/
jazakallah
the app is called mPrayerTime. It should be stable enough to try now
 
Posts: 19 | Thanked: 2 times | Joined on Jun 2010
#69
Originally Posted by mohannad View Post
thank u for testing 0.3-1 mssusa. I uploaded 0.3-2 which should fix the non responsive auto configure button, did u get a chance to try it?

Im still looking into the sudden exitting. Will hopefully have that fixed soon.
Well done Mohannad. Auto configure worked fine for me. I am still suffering from the sudden exit, but I guess once the real cause is found it will be easy to fix.

Thanks again.

Edit: Arrgh. Computers. When they know you are watching they behave. Once you turn your head they misbehave.
I tried to run it from the command line to see if any errors are shown on sudden exit, but it refused to exit! I tried everything but it kept running fine!

Last edited by mssusa; 2010-07-06 at 20:45. Reason: Extra info
 
Posts: 2 | Thanked: 0 times | Joined on Apr 2010
#70
Mohannad thank you very much. I was able to install the program. Very pleased auto configuration. For me it is very actuality.
JazakAllah.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:54.