# HG changeset patch # User rejo # Date 1206894069 0 # Node ID 04cf478997f239a0d2fa696deb664b01fb522a81 # Parent cc09385a62aa8436cd963e95ea3ae82f5bac23e9 [feladat @ 220] Update of 'edit user' window and i18n related files. All text in 'edit user' window is now translatable. diff -r cc09385a62aa -r 04cf478997f2 docs/i18n-template-php.pot --- a/docs/i18n-template-php.pot Sun Mar 30 15:33:55 2008 +0000 +++ b/docs/i18n-template-php.pot Sun Mar 30 16:21:09 2008 +0000 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-30 12:50+0200\n" +"POT-Creation-Date: 2008-03-30 17:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -33,6 +33,10 @@ msgid "Description" msgstr "" +#: add_perm_templ.php:59 edit_perm_templ.php:80 edit_user.php:151 +msgid "descr" +msgstr "" + #: add_perm_templ.php:63 add_user.php:72 delete_user.php:101 #: edit_perm_templ.php:84 edit.php:135 edit_record.php:105 edit_user.php:138 #: users.php:104 @@ -283,6 +287,19 @@ msgid "Edit user" msgstr "" +#: edit_user.php:143 +#, php-format +msgid "This user has been assigned the permission template \"%s\"." +msgstr "" + +#: edit_user.php:145 +msgid "The description for this template is" +msgstr "" + +#: edit_user.php:147 +msgid "Based on this template, this user has the following permissions" +msgstr "" + #: index.php:26 msgid "Welcome" msgstr "" @@ -653,6 +670,6 @@ msgid "Active" msgstr "" -#: inc/users.inc.php:365 +#: inc/users.inc.php:368 msgid "Password has been changed, please login." msgstr "" diff -r cc09385a62aa -r 04cf478997f2 edit_user.php --- a/edit_user.php Sun Mar 30 15:33:55 2008 +0000 +++ b/edit_user.php Sun Mar 30 16:21:09 2008 +0000 @@ -140,11 +140,11 @@ echo " \n"; echo "

\n"; - printf(" This user has been assigned the \"%s\" permission template.", $user['tpl_name']); + printf(_('This user has been assigned the permission template "%s".'), $user['tpl_name']); if ($user['tpl_descr'] != "") { - echo " The description for this template is: \"" . $user['tpl_descr'] . "\"."; + echo " " . _('The description for this template is') . ": \"" . $user['tpl_descr'] . "\"."; } - echo " Based on this template, this user has the following permissions:"; + echo " " . _('Based on this template, this user has the following permissions') . ":"; echo "

\n"; echo "