[Adium-devl] Compression.

Chris Forsythe chris at growl.info
Mon Jan 29 12:48:25 UTC 2007


Evan Schoenberg wrote:

>
> On Jan 29, 2007, at 3:30 AM, Colin Barrett wrote:
>
>> On Jan 28, 2007, at 4:16 AM, Peter Hosey wrote:
>>
>>
>>> On Jan 28, 2007, at 03:26:42, Colin Barrett wrote:
>>>
>>>> But if our nibs are binary, then something else in Resources/ must  
>>>>
>>>> be compressing very well, to get us to ~55%.
>>>>
>>>
>>> Only in release builds (including betas). The nibs in the source  
>>>
>>> tree are XML; the makefile uses nibtool to convert them.
>>>
>>
>> Yeah, this was done on the released copy of 1.0b24 in my /Applications.
>>
>
> The Localizable.strings files go from 188 KB to 32 KB, and there 22 of 
> them, one per language.
>
> 50% of the text of a Localizable.strings file is comments; these 
> comments are nice to have in the English file so that a new localizer 
> can begin translation, but are totally unnecessary in all the others.  
> I think I've seen a tool to remove these /* blah */ comments before, 
> but I can't find it now.  Running such a tool would be a good addition 
> to our release Makefile.


Would grep -v "/*" do the trick? Something like cat file | grep -v "/*" 
 > file

Chris




More information about the devel mailing list