[feladat @ 220]
authorrejo
Sun, 30 Mar 2008 16:21:09 +0000
changeset 117 04cf478997f2
parent 116 cc09385a62aa
child 118 839a18931017
[feladat @ 220] Update of 'edit user' window and i18n related files. All text in 'edit user' window is now translatable.
docs/i18n-template-php.pot
edit_user.php
locale/nl_NL/LC_MESSAGES/messages.mo
locale/nl_NL/LC_MESSAGES/nl.po
--- 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 <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\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 ""
--- 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 "     </form>\n";
 
 		echo "     <p>\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 "     </p>\n";
 		echo "     <ul>\n";
 		foreach (get_permissions_by_template_id($user['tpl_id']) as $item) {
Binary file locale/nl_NL/LC_MESSAGES/messages.mo has changed
--- a/locale/nl_NL/LC_MESSAGES/nl.po	Sun Mar 30 15:33:55 2008 +0000
+++ b/locale/nl_NL/LC_MESSAGES/nl.po	Sun Mar 30 16:21:09 2008 +0000
@@ -282,6 +282,19 @@
 msgid "Edit user"
 msgstr "Wijzigen gebruiker"
 
+#: edit_user.php:143
+#, php-format
+msgid "This user has been assigned the permission template \"%s\"."
+msgstr "Aan deze gebruiker is permissie template \"%s\" toegewezen."
+
+#: edit_user.php:145
+msgid "The description for this template is"
+msgstr "De omschrijving van dit template is"
+
+#: edit_user.php:147
+msgid "Based on this template, this user has the following permissions"
+msgstr "Gebaseerd op dit template heeft de gebruiker de volgende rechten"
+
 #: index.php:26
 msgid "Welcome"
 msgstr "Welkom"