2006-06-12 [wwp] 2.3.0cvs2
[claws.git] / src / quote_fmt.c
index e974c88bc5b3718abcc79ad1791b73b81dacf11b..881f7be08c2f5a816e976f358f0c5fff3ba2ca46 100644 (file)
@@ -37,7 +37,7 @@
  * When adding new lines, remember to put 2 strings for each line
  */
 static gchar *quote_desc_strings[] = {
-       "%D{fmt}",      N_("customized date format (see man strftime)"), /* date expression */
+       "%D{fmt}",      N_("customized date format (see 'man strftime')"), /* date expression */
        "%d",           N_("Date"), /* date */
        "%f",           N_("From"), /* from */
        "%N",           N_("full name of sender"), /* full name */
@@ -55,18 +55,24 @@ static gchar *quote_desc_strings[] = {
        "%m",           N_("message body without signature"), /* message with no signature */
        "%q",           N_("quoted message body without signature"), /* quoted message with no signature */
        "%X",           N_("cursor position"), /* X marks the cursor spot */
-       "",             NULL,
-       "?x{expr}",     N_("insert expr if x is set\nx is one of the characters above after %"),
-       "",             NULL,
        "\\%",          N_("literal %"),
        "\\\\",         N_("literal backslash"),
        "\\?",          N_("literal question mark"),
+       "\\!",          N_("literal exclamation mark"),
        "\\|",          N_("literal pipe"),
        "\\{",          N_("literal opening curly brace"),
        "\\}",          N_("literal closing curly brace"),
+       "\\t",          N_("tab"),
+       "\\n",          N_("linefeed"),
+       "",             NULL,
+       "?x{expr}\n",   N_("insert expr if x is set\n(where x is one of the dfNFLIstcnri characters)"),
+       "!x{expr}\n",   N_("insert expr if x is not set\n(where x is one of the dfNFLIstcnri characters)"),
+       "|f{sub_expr}\n",       N_("insert file:\nsub_expr is evaluated as a filename to insert"), /* insert file */
+       "|p{sub_expr}\n\n",     N_("insert program output:\nsub_expr is evaluated as a command-line to get\nthe output from"), /* insert program output */
        "",             NULL,
-       "|f{file}",     N_("insert file"),
-       "|p{command}",  N_("insert program output"), /* insert program output */
+       "terms definition:",    NULL,
+       "expr",                 "text that can contain any of the symbols above",
+       "sub_expr\n",   "text that can contain any of the symbols above\nbut ?x{}, !x{}, |f{} and |p{}",
        NULL,NULL
 };