[Adium-devl] Issues with translated preferences
Chris_Harms at t-online.de
Tue Apr 17 11:50:22 UTC 2007
sorry, for double-mailing, but I think this is more a bug than
something done for purpose.
The problem is, that the [[[AIObject sharedAdiumInstance]
preferenceController] paneArray]-Array (s.
AIPreferenceWindowController.m, line 69) contains the panes with
translated captions (loaded from the translated nib-files of course).
By calling setPanesOrder: the Controller doesn't know what to do,
because you are giving him the English names, which he doesn't know
(from the paneArray he only knows the German-or-whatever names).
(Hard-coded strings suck. ;-))
I don't have a fix for this by now, because I'm not sure how all the
stuff works, but as soon as I have something for this, I'm uploading
a patch to Trac.
Am 17.04.2007 um 12:56 schrieb Christopher Harms:
> Hi all,
> I'm not sure if you are aware of this and I'm not sure if this is
> sufficient to create a new bug report, since it's about the
> Whenever I compile the current Adium-source and open the Preferences-
> window I online see the "Status"-pane and no toolbar. The problem is,
> that SS_PrefsController loads only this specific pane (see debuglog
> says that there is no toolbar, because only one pane is loaded [s.
> SS_PrefsController.m, l. 479]).
> The reason is, that I'm working on a German MacOS X, so Adium loads
> the German translation of all nib-Files.
> In AIPreferenceWindowController.m, line 72 it says:
> [prefsController setPanesOrder:[NSArray arrayWithObjects:
> @"General", @"Personal", @"Appearance", @"Messages", @"Status",
> @"Events", @"File Transfer", @"Advanced", nil]];
> I guess, prefsController is now going to load Views, titled with
> "General", "Personal", etc. But though the panes and views (i.e. the
> nib-files) are translated the loader won't find anything, because
> they are now titled with "Allgemein", "Persönlich", etc. (i.e. the
> German translations).
> Is this a known issue?
> I would just go ahead to fix this bug, but I'm still diving into the
> code and I'm not finished with unterstanding it. ;-)
> Adium-devl mailing list
> Adium-devl at adiumx.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Adium-devl