SVN_SILENT made messages (.desktop file)
[kdepim.git] / templateparser / defaulttemplates.cpp
blob1b9f923902fe0d7ce1c660f263dc34bf87b8c1b3
1 /*
2 * Copyright (C) 2006 Dmitry Morozhnikov <dmiceman@mail.ru>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #include "defaulttemplates.h"
22 #include <KLocale>
24 using namespace TemplateParser;
26 QString DefaultTemplates::defaultNewMessage()
28 return
29 QLatin1String("%REM=\"") + i18n( "Default new message template" ) + QLatin1String("\"%-\n") + QLatin1String("%BLANK");
32 QString DefaultTemplates::defaultReply()
34 return
35 QLatin1String("%REM=\"") + i18n( "Default reply template" ) + QLatin1String("\"%-\n") +
36 i18nc( "Default reply template."
37 "%1: date of original message, %2: time of original message, "
38 "%3: quoted text of original message, %4: cursor Position",
39 "On %1 %2 you wrote:\n"
40 "%3\n"
41 "%4", QLatin1String("%ODATE"), QLatin1String("%OTIMELONG"), QLatin1String("%QUOTE"), QLatin1String("%CURSOR") );
44 QString DefaultTemplates::defaultReplyAll()
46 return
47 QLatin1String("%REM=\"") + i18n( "Default reply all template" ) + QLatin1String("\"%-\n") +
48 i18nc( "Default reply all template: %1: date, %2: time, %3: name of original sender, "
49 "%4: quoted text of original message, %5: cursor position",
50 "On %1 %2 %3 wrote:\n"
51 "%4\n"
52 "%5",
53 QLatin1String("%ODATE"), QLatin1String("%OTIMELONG"), QLatin1String("%OFROMNAME"), QLatin1String("%QUOTE"), QLatin1String("%CURSOR") );
56 QString DefaultTemplates::defaultForward()
58 return
59 QLatin1String("%REM=\"") + i18n( "Default forward template" ) + QLatin1String("\"%-\n") +
60 i18nc( "Default forward template: %1: subject of original message, "
61 "%2: date of original message, "
62 "%3: time of original message, "
63 "%4: mail address of original sender, "
64 "%5: original message text",
65 "\n"
66 "---------- Forwarded Message ----------\n"
67 "\n"
68 "Subject: %1\n"
69 "Date: %2, %3\n"
70 "From: %4\n"
71 "%OADDRESSEESADDR\n"
72 "\n"
73 "%5\n"
74 "-----------------------------------------",
75 QLatin1String("%OFULLSUBJECT"), QLatin1String("%ODATE"), QLatin1String("%OTIMELONG"), QLatin1String("%OFROMADDR"), QLatin1String("%TEXT") );
78 QString DefaultTemplates::defaultQuoteString()
80 return QLatin1String("> ");