2000-02-01 Juergen Vigna <jug@sad.it>
+ * src/lyxfunc.C lyxrc.C: changed from insert-date to date-insert
+
* po/it.po: updated a bit the italian po file and also changed the
'file nuovo' for newfile to 'filenuovo' without a space, this did
annoy me a lot :)
# This accepts the normal strftime formats have a look at man strftime
# for nowing exactly what the formats are for and how to use them.
#
-#\insert_date_format "%A, %B %d %Y"
+#\date_insert_format "%A, %e. %B %Y"
{ LFUN_WORDRIGHTSEL, "word-forward-select", "", ReadOnly },
{ LFUN_LOWCASE_WORD, "word-lowcase", "", Noop },
{ LFUN_UPCASE_WORD, "word-upcase", "", Noop },
- { LFUN_INSERT_DATE, "insert-date", "", Noop },
+ { LFUN_DATE_INSERT, "date-insert", "", Noop },
{ LFUN_NOACTION, "", "", Noop }
};
LFUN_MENU_SEPARATOR, // Asger 990220
LFUN_SEQUENCE, // Andre' 991111
LFUN_SAVEPREFERENCES, // Lgb 991127
- LFUN_INSERT_DATE, // jdblair 20000131
+ LFUN_DATE_INSERT, // jdblair 20000131
LFUN_LASTACTION /* this marks the end of the table */
};
}
break;
- case LFUN_INSERT_DATE: // jdblair: insert-date cmd
+ case LFUN_DATE_INSERT: // jdblair: date-insert cmd
{
char datetmp[32];
int datetmp_len;
if (!argument.empty())
arg = argument;
else if (arg.empty())
- arg = lyxrc->insert_date_format;
+ arg = lyxrc->date_insert_format;
datetmp_len = (int) strftime(datetmp, 32, arg.c_str(), now_tm);
for (int i = 0; i < datetmp_len; i++) {
owner->view()->text->InsertChar(datetmp[i]);
RC_VIEWPDF_COMMAND,
RC_PDF_TO_PS_COMMAND,
RC_DVI_TO_PS_COMMAND,
- RC_INSERT_DATE_FORMAT,
+ RC_DATE_INSERT_FORMAT,
RC_LAST
};
{ "\\font_encoding", RC_FONT_ENCODING },
{ "\\html_command", RC_HTML_COMMAND },
{ "\\input", RC_INPUT },
- { "\\insert_date_format", RC_INSERT_DATE_FORMAT },
+ { "\\date_insert_format", RC_DATE_INSERT_FORMAT },
{ "\\kbmap", RC_KBMAP },
{ "\\kbmap_primary", RC_KBMAP_PRIMARY },
{ "\\kbmap_secondary", RC_KBMAP_SECONDARY },
hasBindFile = false;
defaultKeyBindings();
///
- insert_date_format = "%A, %B %d %Y";
+ date_insert_format = "%A, %e. %B %Y";
}
if (lexrc.next())
make_backup = lexrc.GetBool();
break;
- case RC_INSERT_DATE_FORMAT:
+ case RC_DATE_INSERT_FORMAT:
if (lexrc.next())
- insert_date_format = lexrc.GetString();
+ date_insert_format = lexrc.GetString();
break;
case RC_LAST: break; // this is just a dummy
}
///
string lyxpipes;
///
- string insert_date_format;
+ string date_insert_format;
private:
///