aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Auto switch to Italian ;-D  (Read 4674 times)

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Auto switch to Italian ;-D
« on: July 09, 2006, 11:59:54 AM »

Hello,

  There was no such issue till 2.1.3. My LANG env. is to US_us, aMule works in English but each time I click on Preferences and confirm the dialog (even I didn't change anything) aMule informs me that I changed the language (to Italian) and I need to restart aMule in order to work.
  However I can work fine, but all dialogs are in English except buttons -- "si", "acceptar", etc.

have a nice day
bye
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Auto switch to Italian ;-D
« Reply #1 on: July 09, 2006, 12:15:26 PM »

I can confirm that: For me everything is in German as requested, but the confirmation buttons when closing the application ("No/Yes") are sometimes (not always) in Hungarian.

It occurs with SVN HEAD.

It seems to happen only after going into the preferences window. If I start aMule and close it without going into the preferences window, everything is OK (that is, it asks "Nein/Ja" and not "Nem/Igen").
« Last Edit: July 09, 2006, 12:24:46 PM by Gerd78 »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Auto switch to Italian ;-D
« Reply #2 on: July 09, 2006, 02:10:55 PM »

you don't want me to get started on random prefs change on current SVN.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Auto switch to Italian ;-D
« Reply #3 on: July 09, 2006, 02:28:35 PM »

I don't know, but it's really the same on both 2.1.3 and SVN with a clean .aMule directory.
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: Auto switch to Italian ;-D
« Reply #4 on: July 09, 2006, 03:09:14 PM »

Quote
Originally posted by Kry
you don't want me to get started on random prefs change on current SVN.

You mean user-prefs, not code? If yes, please change your upload speed limit for example. And click ok to confirm. I get immediately message with button "aceptar".

have a nice day, bye
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Auto switch to Italian ;-D
« Reply #5 on: July 09, 2006, 03:13:54 PM »

I think Kry means something different, maybe http://forum.amule.org/thread.php?threadid=10431

=> Avoid reporting stuff against SVN tarballs. ;)
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: Auto switch to Italian ;-D
« Reply #6 on: July 09, 2006, 03:23:25 PM »

Quote
Avoid reporting stuff against SVN tarballs. ;)

Ok, but as I said before I use regular 2.1.3.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Auto switch to Italian ;-D
« Reply #7 on: July 09, 2006, 11:14:57 PM »

I know what happens. It's a wx bug.

When the Preferences dialog opened, aMule switches to each locale, to see if it's installed and message catalog available. The corresponding wxLocale objects are then deleted immediately. wxWidgets documentation says that deleting a wxLocale object restores the locale to the previously set one (the one set on aMule startup), however, the setlocale() system function is NOT called, so the operating system still thinks we're using the last succesfully tried locale.

I will commit a fix, but maybe only tomorrow.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Auto switch to Italian ;-D
« Reply #8 on: July 09, 2006, 11:30:05 PM »

No, I mean there are other prefs items changed randomly.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Auto switch to Italian ;-D
« Reply #9 on: July 10, 2006, 11:52:35 AM »

Oh, sorry, I misunderstood.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Auto switch to Italian ;-D
« Reply #10 on: July 10, 2006, 12:08:10 PM »

And it's serious.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Auto switch to Italian ;-D
« Reply #11 on: July 10, 2006, 01:35:37 PM »

Strange...
Logged
concordia cum veritate

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Auto switch to Italian ;-D
« Reply #12 on: July 11, 2006, 08:09:51 AM »

Just confirming that the locale switching problem is now indeed completely resolved with today's tarball.

Is this backported to the 2.1 branch? If not, it might be a good candidate.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Auto switch to Italian ;-D
« Reply #13 on: July 11, 2006, 08:50:19 AM »

of course.

Which actually means, I should release 2.1.4 soon being some critical fixes already there.
Logged