Revision: 324 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=324&view=rev Author: frlan Date: 2008-12-03 21:14:30 +0000 (Wed, 03 Dec 2008)
Log Message: ----------- GeanyLaTeX: Extend letter template by opening and closing as well as set some translatable common default (compile time) values for.
Modified Paths: -------------- trunk/geanylatex/po/de.po trunk/geanylatex/po/geanylatex.pot trunk/geanylatex/src/geanylatex.c trunk/geanylatex/src/geanylatex.h
Modified: trunk/geanylatex/po/de.po =================================================================== --- trunk/geanylatex/po/de.po 2008-12-03 21:13:57 UTC (rev 323) +++ trunk/geanylatex/po/de.po 2008-12-03 21:14:30 UTC (rev 324) @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: GeanyLaTeX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-12-03 00:11+0100\n" +"POT-Creation-Date: 2008-12-03 21:29+0100\n" "PO-Revision-Date: \n" "Last-Translator: Frank Lanitz frank@frank.uvena.de\n" "Language-Team: geany-118n geany-118n@uvena.de\n" @@ -168,55 +168,63 @@ "Setzt die Option draft für die Dokumentenklasse um das neue Dokument mit " "einer Nummer von kleinen Korrekturhinweisen zu versehen."
-#: src/geanylatex.c:771 +#: src/geanylatex.c:766 +msgid "Dear Sir or Madame" +msgstr "Sehr geehrte Damen und Herren" + +#: src/geanylatex.c:767 +msgid "With kind regards" +msgstr "Mit freundlichen Grüßen" + +#: src/geanylatex.c:809 msgid "_LaTeX" msgstr "_LaTeX"
-#: src/geanylatex.c:778 +#: src/geanylatex.c:816 msgid "LaTeX-_Wizard" msgstr "LaTeX-_Assistent"
-#: src/geanylatex.c:781 +#: src/geanylatex.c:819 msgid "Starts a Wizard to easily create LaTeX-documents" msgstr "Öffnet einen Assistenten, um einfache LaTeX-Dokumente zu erstellen."
-#: src/geanylatex.c:786 +#: src/geanylatex.c:824 msgid "Insert _Special Character" msgstr "_Sonderzeichen einfügen"
-#: src/geanylatex.c:788 +#: src/geanylatex.c:826 msgid "Helps to use some not very common letters and signs" msgstr "Unterstützt bei der Verwendung von seltenen Sonderzeichen"
-#: src/geanylatex.c:795 +#: src/geanylatex.c:833 msgid "Insert _Reference" msgstr "_Verweis einfügen"
-#: src/geanylatex.c:797 +#: src/geanylatex.c:835 msgid "Inserting references to the document" msgstr "Eine Referenz in das Dokument einfügen"
-#: src/geanylatex.c:801 +#: src/geanylatex.c:839 msgid "Insert _Label" msgstr "_Lesezeichen einfügen"
-#: src/geanylatex.c:803 +#: src/geanylatex.c:841 msgid "Helps at inserting labels to a document" msgstr "Untersützt bei dem Einfügen von Lesezeichen in ein Dokument"
-#: src/geanylatex.c:807 +#: src/geanylatex.c:845 msgid "BibTeX" msgstr "BibTeX"
-#: src/geanylatex.c:824 +#: src/geanylatex.c:862 msgid "Run LaTeX-Wizard" msgstr "LaTeX-Assistent starten"
-#: src/geanylatex.c:826 +#: src/geanylatex.c:864 msgid "Insert \label" msgstr "\label einfügen"
-#: src/geanylatex.c:828 +#: src/geanylatex.c:866 msgid "Insert \ref" msgstr "\ref einfügen"
Modified: trunk/geanylatex/po/geanylatex.pot =================================================================== --- trunk/geanylatex/po/geanylatex.pot 2008-12-03 21:13:57 UTC (rev 323) +++ trunk/geanylatex/po/geanylatex.pot 2008-12-03 21:14:30 UTC (rev 324) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-12-03 00:11+0100\n" +"POT-Creation-Date: 2008-12-03 21:29+0100\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" @@ -162,55 +162,63 @@ "number of debugging helpers" msgstr ""
-#: src/geanylatex.c:771 +#: src/geanylatex.c:766 +msgid "Dear Sir or Madame" +msgstr "" + +#: src/geanylatex.c:767 +msgid "With kind regards" +msgstr "" + +#: src/geanylatex.c:809 msgid "_LaTeX" msgstr ""
-#: src/geanylatex.c:778 +#: src/geanylatex.c:816 msgid "LaTeX-_Wizard" msgstr ""
-#: src/geanylatex.c:781 +#: src/geanylatex.c:819 msgid "Starts a Wizard to easily create LaTeX-documents" msgstr ""
-#: src/geanylatex.c:786 +#: src/geanylatex.c:824 msgid "Insert _Special Character" msgstr ""
-#: src/geanylatex.c:788 +#: src/geanylatex.c:826 msgid "Helps to use some not very common letters and signs" msgstr ""
-#: src/geanylatex.c:795 +#: src/geanylatex.c:833 msgid "Insert _Reference" msgstr ""
-#: src/geanylatex.c:797 +#: src/geanylatex.c:835 msgid "Inserting references to the document" msgstr ""
-#: src/geanylatex.c:801 +#: src/geanylatex.c:839 msgid "Insert _Label" msgstr ""
-#: src/geanylatex.c:803 +#: src/geanylatex.c:841 msgid "Helps at inserting labels to a document" msgstr ""
-#: src/geanylatex.c:807 +#: src/geanylatex.c:845 msgid "BibTeX" msgstr ""
-#: src/geanylatex.c:824 +#: src/geanylatex.c:862 msgid "Run LaTeX-Wizard" msgstr ""
-#: src/geanylatex.c:826 +#: src/geanylatex.c:864 msgid "Insert \label" msgstr ""
-#: src/geanylatex.c:828 +#: src/geanylatex.c:866 msgid "Insert \ref" msgstr ""
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2008-12-03 21:13:57 UTC (rev 323) +++ trunk/geanylatex/src/geanylatex.c 2008-12-03 21:14:30 UTC (rev 324) @@ -762,6 +762,10 @@
g_free(title); } + + p_utils->string_replace_all(code, "{OPENING}", _("Dear Sir or Madame")); + p_utils->string_replace_all(code, "{CLOSING}", _("With kind regards")); + output = g_string_free(code, FALSE); show_output(output, NULL, encoding_int); }
Modified: trunk/geanylatex/src/geanylatex.h =================================================================== --- trunk/geanylatex/src/geanylatex.h 2008-12-03 21:13:57 UTC (rev 323) +++ trunk/geanylatex/src/geanylatex.h 2008-12-03 21:14:30 UTC (rev 324) @@ -76,7 +76,8 @@ {AUTHOR}\ \begin{document}\n\ \begin{letter}{}\n\ -\opening{}\n\ +\opening{{OPENING}}\n\n\ +\closing{{CLOSING}}\n\ \end{document}\n"
#define create_sub_menu(base_menu, menu, item, title) \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org