Updated l10n script, fixed translation in admin/users template

This commit is contained in:
Jakob Sack 2011-06-21 16:19:30 +02:00
Родитель 34de2cacd1
Коммит c25474e2c5
7 изменённых файлов: 16 добавлений и 15 удалений

Просмотреть файл

@ -1,4 +1,4 @@
<h2>Users</h2>
<h2><?php echo $l->t( 'Users' ); ?></h2>
<table id="usertable">
<thead>

Просмотреть файл

@ -54,16 +54,13 @@ if( $task eq 'read' ){
pop( @temp );
my $app = pop( @temp );
chdir( $dir );
foreach my $language ( @languages ){
my $output = "${whereami}/$language/$app.po";
$output .= 't' if $language eq 'templates';
my $output = "${whereami}/templates/$app.pot";
if( -e $output ){
`xgettext --files-from=xgettextfiles --join-existing --output="$output" --keyword=t`
}
else{
`xgettext --files-from=xgettextfiles --output="$output" --keyword=t`
}
if( -e $output ){
`xgettext --files-from=xgettextfiles --join-existing --output="$output" --keyword=t`
}
else{
`xgettext --files-from=xgettextfiles --output="$output" --keyword=t`
}
chdir( $whereami );
}

Просмотреть файл

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-20 22:00+0200\n"
"POT-Creation-Date: 2011-06-21 16:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -89,3 +89,7 @@ msgstr ""
#: ../templates/users.php:109
msgid "Do you really want to delete group"
msgstr ""
#: ../templates/users.php:1
msgid "Users"
msgstr ""

Просмотреть файл

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-20 22:00+0200\n"
"POT-Creation-Date: 2011-06-21 16:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Просмотреть файл

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-20 22:00+0200\n"
"POT-Creation-Date: 2011-06-21 16:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Просмотреть файл

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-20 22:00+0200\n"
"POT-Creation-Date: 2011-06-21 16:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Просмотреть файл

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-20 22:00+0200\n"
"POT-Creation-Date: 2011-06-21 16:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"