[Jifty-commit] r5897 - jifty/trunk/bin
Jifty commits
jifty-commit at lists.jifty.org
Thu Oct 2 13:19:24 EDT 2008
Author: clkao
Date: Thu Oct 2 13:19:23 2008
New Revision: 5897
Added:
jifty/trunk/bin/updatepo.pl
Log:
helper script for updating jifty distribution po, including plugins.
Added: jifty/trunk/bin/updatepo.pl
==============================================================================
--- (empty file)
+++ jifty/trunk/bin/updatepo.pl Thu Oct 2 13:19:23 2008
@@ -0,0 +1,15 @@
+#!/usr/bin/perl -w
+use strict;
+use warnings;
+use File::Path 'mkpath';
+
+my $perl = "$^X -Ilib";
+
+system("$perl bin/jifty po");
+
+for (glob("plugins/*")) {
+ s{plugins/}{};
+ mkpath("plugins/$_/share/po");
+ my $name = lc($_);
+ system("$perl bin/jifty po --dir plugins/$_ --podir plugins/$_/share/po --template_name jifty_plugin_$name");
+}
More information about the Jifty-commit
mailing list