[jifty-devel] PoDir's default seems problematic

Jesse Vincent jesse at bestpractical.com
Mon Jun 5 20:11:12 EDT 2006




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
> 

-- 


More information about the jifty-devel mailing list