git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13148
7612ce4b-ef26-0410-bec9-
ea0150e637f0
* @since 1.5.2
*/
function fullname($firstname,$lastname) {
* @since 1.5.2
*/
function fullname($firstname,$lastname) {
- /**
- * i18n: allows to control fullname layout in address book listing
- * first %s is for first name, second %s is for last name.
- * Translate it to '%2$s %1$s', if surname must be displayed first in your language.
- * Please note that variables can be set to empty string and extra formating
- * (for example '%2$s, %1$s' as in 'Smith, John') might break. Use it only for
- * setting name and surname order. scripts will remove all prepended and appended
- * whitespace.
- */
+ // i18n: allows to control fullname layout in address book listing
+ // first %s is for first name, second %s is for last name.
+ // Translate it to '%2$s %1$s', if surname must be displayed first in your language.
+ // Please note that variables can be set to empty string and extra formating
+ // (for example '%2$s, %1$s' as in 'Smith, John') might break. Use it only for
+ // setting name and surname order. scripts will remove all prepended and appended
+ // whitespace.
return trim(sprintf(dgettext('squirrelmail',"%s %s"),$firstname,$lastname));
}
}
return trim(sprintf(dgettext('squirrelmail',"%s %s"),$firstname,$lastname));
}
}
}
/* if pclose return != 0, popen command failed. Yes, I know that it is broken when --enable-sigchild is used */
if (pclose($handle)) {
}
/* if pclose return != 0, popen command failed. Yes, I know that it is broken when --enable-sigchild is used */
if (pclose($handle)) {
- // %s shows executed fortune cookie command.
+ // i18n: %s shows executed fortune cookie command.
$fortune = sprintf(_("Unable to execute \"%s\"."),$fortune_command);
}
$fortune = sprintf(_("Unable to execute \"%s\"."),$fortune_command);
}
// remove last comma and space
$dsp_string = substr( $dsp_string, 0, -2 );
// remove last comma and space
$dsp_string = substr( $dsp_string, 0, -2 );
- /**
- * i18n: first %s is comma separated list of languages, second %s - default language.
- * Language names are translated, if they are present in squirrelmail.po file.
- * make sure that you don't use html codes in language name translations
- */
+ // i18n: first %s is comma separated list of languages, second %s - default language.
+ // Language names are translated, if they are present in squirrelmail.po file.
+ // make sure that you don't use html codes in language name translations
$msg = '<p>'
. sprintf(_("Settings adjusted to: %s with %s as default dictionary."),
'<strong>'.htmlspecialchars($dsp_string).'</strong>',
$msg = '<p>'
. sprintf(_("Settings adjusted to: %s with %s as default dictionary."),
'<strong>'.htmlspecialchars($dsp_string).'</strong>',
"Project-Id-Version: SquirrelMail DEVEL\n"
"Report-Msgid-Bugs-To: SquirrelMail Internationalization <squirrelmail-"
"i18n@lists.sourceforge.net>\n"
"Project-Id-Version: SquirrelMail DEVEL\n"
"Report-Msgid-Bugs-To: SquirrelMail Internationalization <squirrelmail-"
"i18n@lists.sourceforge.net>\n"
-"POT-Creation-Date: 2008-05-16 05:38+0200\n"
+"POT-Creation-Date: 2008-05-16 06:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <squirrelmail-i18n@lists.sourceforge.net>\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <squirrelmail-i18n@lists.sourceforge.net>\n"
msgid "Add address"
msgstr ""
msgid "Add address"
msgstr ""
-#. * To translators: %s is for author's name
+#. i18n: %s is for author's name
#, php-format
msgid "%s wrote:"
msgstr ""
#, php-format
msgid "%s wrote:"
msgstr ""
-#. * To translators:
-#. * first %s is for date string, second %s is for author's name. Date uses
-#. * formating from "D, F j, Y g:i a" and "D, F j, Y H:i" translations.
-#. * Example string:
-#. * "On Sat, December 24, 2004 23:59, Santa wrote:"
-#. * If you have to put author's name in front of date string, check comments about
-#. * argument swapping at http://www.php.net/sprintf
+#. i18n:
+#. The first %s is for date string, the second %s is for author's name.
+#. The date uses formating from "D, F j, Y g:i a" and "D, F j, Y H:i"
+#. translations.
+#. Example string:
+#. "On Sat, December 24, 2004 23:59, Santa wrote:"
+#. If you have to put author's name in front of date string, check comments about
+#. argument swapping at http://php.net/sprintf
#, php-format
msgid "On %s, %s wrote:"
msgstr ""
#, php-format
msgid "On %s, %s wrote:"
msgstr ""
msgid "Title & Org. / Dept."
msgstr ""
msgid "Title & Org. / Dept."
msgstr ""
-msgid "Personal address book"
+msgid "Personal Address Book"
msgid "Error opening file %s"
msgstr ""
msgid "Error opening file %s"
msgstr ""
-msgid "Global address book"
+msgid "Global Address Book"
msgstr ""
msgid "Error initializing global address book."
msgstr ""
msgid "Error initializing global address book."
msgid "Nickname contains illegal characters"
msgstr ""
msgid "Nickname contains illegal characters"
msgstr ""
-#. * i18n: allows to control fullname layout in address book listing
-#. * first %s is for first name, second %s is for last name.
-#. * Translate it to '%2$s %1$s', if surname must be displayed first in your language.
-#. * Please note that variables can be set to empty string and extra formating
-#. * (for example '%2$s, %1$s' as in 'Smith, John') might break. Use it only for
-#. * setting name and surname order. scripts will remove all prepended and appended
-#. * whitespace.
+#. i18n: allows to control fullname layout in address book listing
+#. first %s is for first name, second %s is for last name.
+#. Translate it to '%2$s %1$s', if surname must be displayed first in your language.
+#. Please note that variables can be set to empty string and extra formating
+#. (for example '%2$s, %1$s' as in 'Smith, John') might break. Use it only for
+#. setting name and surname order. scripts will remove all prepended and appended
+#. whitespace.
#, php-format
msgid "%s %s"
msgstr ""
#, php-format
msgid "%s %s"
msgstr ""
-#. %s shows executed fortune cookie command.
+#. i18n: %s shows executed fortune cookie command.
#, php-format
msgid "Unable to execute \"%s\"."
msgstr ""
#, php-format
msgid "Unable to execute \"%s\"."
msgstr ""
msgid "Not yet functional, currently does nothing"
msgstr ""
msgid "Not yet functional, currently does nothing"
msgstr ""
-msgid "Nickname"
-msgstr ""
-
-msgid "sort by nickname"
-msgstr ""
-
-msgid "sort by name"
-msgstr ""
-
-msgid "sort by email"
+msgid "All address books"
+msgid "Add to Address Book"
-msgid "All address books"
msgstr ""
msgid "Must be unique"
msgstr ""
msgid "Must be unique"
msgid "Add to:"
msgstr ""
msgid "Add to:"
msgstr ""
+msgid "Add Address"
+msgstr ""
+
+msgid "Info"
+msgstr ""
+
msgid "Delete Selected"
msgstr ""
msgid "Delete Selected"
msgstr ""
+msgid "Compose to Selected"
+msgstr ""
+
msgid "Toggle All"
msgstr ""
msgid "Toggle All"
msgstr ""
export LC_ALL LANG
# set common gettext options
export LC_ALL LANG
# set common gettext options
-XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location --add-comments"
+XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location --add-comments=i18n"
# Allows controlling language option
# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
# Allows controlling language option
# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
/* Otherwise, try to select the desired citation style. */
switch ($reply_citation_style) {
case 'author_said':
/* Otherwise, try to select the desired citation style. */
switch ($reply_citation_style) {
case 'author_said':
- /**
- * To translators: %s is for author's name
- */
+ // i18n: %s is for author's name
$full_reply_citation = sprintf(_("%s wrote:"),$sOrig_from);
break;
case 'quote_who':
$full_reply_citation = sprintf(_("%s wrote:"),$sOrig_from);
break;
case 'quote_who':
$full_reply_citation = $start . $sOrig_from . $end;
break;
case 'date_time_author':
$full_reply_citation = $start . $sOrig_from . $end;
break;
case 'date_time_author':
- /**
- * To translators:
- * first %s is for date string, second %s is for author's name. Date uses
- * formating from "D, F j, Y g:i a" and "D, F j, Y H:i" translations.
- * Example string:
- * "On Sat, December 24, 2004 23:59, Santa wrote:"
- * If you have to put author's name in front of date string, check comments about
- * argument swapping at http://www.php.net/sprintf
- */
+ // i18n:
+ // The first %s is for date string, the second %s is for author's name.
+ // The date uses formating from "D, F j, Y g:i a" and "D, F j, Y H:i"
+ // translations.
+ // Example string:
+ // "On Sat, December 24, 2004 23:59, Santa wrote:"
+ // If you have to put author's name in front of date string, check comments about
+ // argument swapping at http://php.net/sprintf
$full_reply_citation = sprintf(_("On %s, %s wrote:"), getLongDateString($orig_date), $sOrig_from);
break;
case 'user-defined':
$full_reply_citation = sprintf(_("On %s, %s wrote:"), getLongDateString($orig_date), $sOrig_from);
break;
case 'user-defined':