[jifty-devel] PoDir's default seems problematic

Ishigaki Kenichi ishigaki at tcool.org
Mon Jun 5 21:44:07 EDT 2006


Sorry, my post was inconsistent and misleading.
I myself was confused, thought twice and was going to
repatch to make the path relative, after a nap.
I may need more sleep after all.

Thanks

Kenichi

#btw, when should I translate a po/ja.po? ;)

On Mon, 5 Jun 2006 20:11:12 -0400, Jesse Vincent wrote:
>On Tue, Jun 06, 2006 at 01:04:45AM +0900, Ishigaki Kenichi wrote:
>> If you run "jifty app --name TestApp" in /home/foobar,
>> you'll get:
>> 
>>   L10N:
>>     PoDir: /home/foobar/share/po
>> 
>> but this should be "/home/foobar/TestApp/share/po" or
>> simply "share/po". Below is a patch for Jifty/Config.pm
>> to fix.
>
>Yeah. I was totally wrong when I said I preferred the latter. Please
>accept my apologies. Thanks for catching it, sean. I'll make the change
>now.
>
>> 
>> --- Config.pm	Fri May 12 04:11:18 2006
>> +++ Config.pm.patched	Tue Jun  6 00:33:36 2006
>> @@ -228,7 +228,7 @@
>>              Mailer     => 'Sendmail',
>>              MailerArgs => [],
>>              L10N       => {
>> -                PoDir => "%share/po%",
>> +                PoDir => "share/po",
>>              },
>>              Plugins    => [],
>>              Web        => {
>> 
>> Or, 
>> 
>> --- Config.pm	Fri May 12 04:11:18 2006
>> +++ Config.pm.patched	Tue Jun  6 00:33:36 2006
>> @@ -228,7 +228,7 @@
>>              Mailer     => 'Sendmail',
>>              MailerArgs => [],
>>              L10N       => {
>> -                PoDir => "%share/po%",
>> +                PoDir => "%$app_name/share/po%",
>>              },
>>              Plugins    => [],
>>              Web        => {
>> 
>> if you prefer.
>> 
>> Kenichi
>> _______________________________________________
>> jifty-devel mailing list
>> jifty-devel at lists.jifty.org
>> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>> 
>
>-- 
>_______________________________________________
>jifty-devel mailing list
>jifty-devel at lists.jifty.org
>http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
>


More information about the jifty-devel mailing list