[jifty-devel] PoDir's default seems problematic
Ishigaki Kenichi
ishigaki at tcool.org
Mon Jun 5 12:04:45 EDT 2006
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.
--- 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
More information about the jifty-devel
mailing list