Re: ibtool changes non-localized properties
Re: ibtool changes non-localized properties
- Subject: Re: ibtool changes non-localized properties
- From: Christiaan Hofman <email@hidden>
- Date: Mon, 7 Jun 2010 10:51:01 +0200
I don't see this with the Xcode 3.2.2 tools.
Christiaan
On Jun 7, 2010, at 7:16, Markus Spoettl wrote:
> Hello,
>
> I'm working with Xcode 3.2.1 on Snow Leopard and just made the horrifying discovery that ibtool changes properties of an XIB when merging an English original with a translated .strings file.
>
> This is what I'm doing (current directory being in German.lproj):
>
> ibtool --strings-file ./SomePanel.strings ../English.lproj/SomePanel.xib --write ./SomePanel.xib
>
> The XIB in question is very simple, it's an NSPanel containing an NSScrollview, nothing else. The panel frame has anchors set and the merging worked well before (can't remember which version of Xcode I used, likely 3.1.x).
>
> The properties that get changed in the merged XIB are the minimum and maximum size flags turned on (the original has those turned off). Fortunately, the sizes are set up in a way that the compiler throws a warning on build time. Otherwise this would have slipped through unnoticed.
>
> What could trigger such a behavior? I can't use this if I can't trust ibtool is working correctly. This is really bad.
>
> Below is more details on the diff (besides the intended one-word translation change). Thanks for any help!
>
> Regards
> Markus
>
> Original XIB:
> <key>designableHasMaxSize</key>
> <integer>0</integer>
> <key>designableHasMinSize</key>
> <integer>0</integer>
>
> Generated XIB:
> <key>designableHasMaxSize</key>
> <integer>1</integer>
> <key>designableHasMinSize</key>
> <integer>1</integer>
>
> --
> __________________________________________
> Markus Spoettl
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden