![]() |
Re: [Announce] PrayerTime app for N900
Thanks for looking into this Mohannad.
Quote:
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 |
Re: [Announce] PrayerTime app for N900
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...
|
Re: [Announce] PrayerTime app for N900
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 :) |
Re: [Announce] PrayerTime app for N900
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. |
Re: [Announce] PrayerTime app for N900
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. |
Re: [Announce] PrayerTime app for N900
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 |
Re: [Announce] PrayerTime app for N900
Quote:
Im still looking into the sudden exitting. Will hopefully have that fixed soon. |
Re: [Announce] PrayerTime app for N900
Quote:
Quote:
|
Re: [Announce] PrayerTime app for N900
Quote:
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! |
Re: [Announce] PrayerTime app for N900
Mohannad thank you very much. I was able to install the program. Very pleased auto configuration. For me it is very actuality.
JazakAllah. |
All times are GMT. The time now is 16:02. |
vBulletin® Version 3.8.8