Add IT translation in theme command
This commit is contained in:
parent
ad92f5fd9d
commit
378c6622c8
|
@ -55,6 +55,7 @@ EOF
|
|||
my $makefile = <<EOF;
|
||||
EN=lib/Lufi/I18N/en.po
|
||||
FR=lib/Lufi/I18N/fr.po
|
||||
IT=lib/Lufi/I18N/it.po
|
||||
SEDOPTS=-e "s\@SOME DESCRIPTIVE TITLE\@Lufi language file\@" \\
|
||||
-e "s\@YEAR THE PACKAGE'S COPYRIGHT HOLDER\@2015 Luc Didry\@" \\
|
||||
-e "s\@CHARSET\@utf8\@" \\
|
||||
|
@ -68,10 +69,13 @@ CARTON=carton exec
|
|||
locales:
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(EN) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(FR) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(IT) 2>/dev/null
|
||||
sed \$(SEDOPTS) -i \$(EN)
|
||||
sed \$(SEDOPTS2) -i \$(EN)
|
||||
sed \$(SEDOPTS) -i \$(FR)
|
||||
sed \$(SEDOPTS2) -i \$(FR)
|
||||
sed \$(SEDOPTS) -i \$(IT)
|
||||
sed \$(SEDOPTS2) -i \$(IT)
|
||||
EOF
|
||||
|
||||
open $f, '>', File::Spec->catfile($home, 'Makefile') or die "Unable to open $home/Makefile: $!";
|
||||
|
|
Loading…
Reference in New Issue