OLD - FET-5.23.3 snapshot for testing

Started by Liviu Lalescu, September 19, 2014, 08:38:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

I'm glad it worked out with the translations.

"qmake fet.pro" - what options would you like to give, and how, to this command, so that FET uses the system locale?

But I don't like it. Many translations are really bad and not verified. A single letter makes the difference.

I will try to do that tomorrow. Now it is late here and I am tired.

Liviu Lalescu

#31
OK, I did that. Please get the new snapshot (same location - http://lalescu.ro/liviu/fet/download/test/ ), and read the README file, or compile with <<qmake fet.pro "DEFINES+=USE_SYSTEM_LOCALE">>.

Very important: recompile from the start (unpack a the FET archive in a new place, or type "make distclean"). Also, remove the configuration file for FET from your computer, as written in the README (otherwise, FET will get the starting language from there).

Please let me know.

AlexL

interface/fet.cpp: In function 'void readSimulationParameters()':
interface/fet.cpp:244:61: error: request for member 'name' in 'QLocale::system', which is of non-class type 'QLocale()'

Liviu Lalescu

Sorry, corrected, please try again now and let me know (I have just put the new file).


Zsolt Udvari


Liviu Lalescu

Quote from: Zsolt Udvari on September 24, 2014, 05:40:40 PM
Builds fine with clang.

Thank you. Do you mean simply  <<qmake>> (the old variant), or <<qmake fet.pro "DEFINES+=USE_SYSTEM_LOCALE">> ?

Zsolt Udvari


Liviu Lalescu

Thank you! For that with USE_SYSTEM_LOCALE, it works? You can verify this as written above, or enter Settings -> Restore defaults, tell me what number 6. says, and after that the language should be your language (Hungarian, I suppose).

I cannot verify this, I have en_US as my locale.

AlexL

Builds fine, but language is English.

Liviu Lalescu

Quote from: AlexL on September 24, 2014, 07:21:10 PM
Builds fine, but language is English.

Remove the configuration file for FET from your computer, as written in the README (otherwise, FET will get the starting language from there),

or

enter Settings -> Restore defaults, tell me what number 6. says (should be "ru (system locale)"), and after that the language should be your language (Russian, I suppose).

AlexL

6. Language will be ru_RU (system locale)
but in fettimetabling.conf: language=en_US always

Liviu Lalescu

Oh, it's another bug from me. I'll try to fix this right away.

Liviu Lalescu

#42
I have just put a new snapshot. Could you please check it?

Edit: sorry, I found another mistake. I'll fix it now.

Liviu Lalescu

#43
I just have put the latest version. Alex, could you test? Compile with USE_SYSTEM_LOCALE and test in those two ways: remove the config file, and the second test is to restore the default settings. Test more kinds of changing the language, and generating on a simple file, and testing the language of the HTML result files.

Tomorrow I'll put also the Windows version. Now it is late.

Liviu Lalescu

#44
I have put a new version, with minor source cleanup. Please test as in the previous post.