SF.net SVN: geany-plugins:[296] trunk/geanylatex
frlan at users.sourceforge.net
frlan at xxxxx
Fri Nov 14 00:04:51 UTC 2008
Revision: 296
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=296&view=rev
Author: frlan
Date: 2008-11-14 00:04:51 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
GeanyLaTeX: Applied a patch by Enrico which corrects some spelling mistakes and cleans up code a bit.
Modified Paths:
--------------
trunk/geanylatex/ChangeLog
trunk/geanylatex/po/de.po
trunk/geanylatex/po/geanylatex.pot
trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/ChangeLog
===================================================================
--- trunk/geanylatex/ChangeLog 2008-11-13 09:37:54 UTC (rev 295)
+++ trunk/geanylatex/ChangeLog 2008-11-14 00:04:51 UTC (rev 296)
@@ -1,3 +1,9 @@
+2008-11-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * Applied a patch by Enrico which corrects some spelling
+ mistakes and cleans up code a bit.
+
+
2008-11-02 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Make usage of Geany API v104 by using of Geany's plugin init
Modified: trunk/geanylatex/po/de.po
===================================================================
--- trunk/geanylatex/po/de.po 2008-11-13 09:37:54 UTC (rev 295)
+++ trunk/geanylatex/po/de.po 2008-11-14 00:04:51 UTC (rev 296)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: GeanyLaTeX\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-11-09 22:46+0100\n"
+"POT-Creation-Date: 2008-11-14 01:00+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Frank Lanitz <frank at frank.uvena.de>\n"
"Language-Team: geany-118n <geany-118n at uvena.de>\n"
@@ -18,7 +18,7 @@
msgstr "LaTeX"
#: src/geanylatex.c:54
-msgid "Plugin to make Geany better support LaTeX"
+msgid "Plugin to provide better LaTeX support"
msgstr "Plugin zum Verbessern des LaTeX-Support für Geany"
#: src/geanylatex.c:135
@@ -83,7 +83,8 @@
#: src/geanylatex.c:517
msgid ""
-"Sets the entry of \\author command. In most cases here should stay your name"
+"Sets the value of the \\author command. In most cases this should be your "
+"name"
msgstr ""
"Setzt den Eintrag für den \\author Befehl. Meist sollte hier Ihr Name stehen."
@@ -94,7 +95,7 @@
#: src/geanylatex.c:531
msgid ""
-"Sets the entry of the \\date command inside header of your newly created "
+"Sets the value of the \\date command inside header of your newly created "
"LaTeX-document. Keeping it at \\today is a good decision if you don't need "
"any fixed date."
msgstr ""
@@ -107,7 +108,7 @@
msgstr "Titel:"
#: src/geanylatex.c:540
-msgid "Sets the title of your newly document."
+msgid "Sets the title of your new document."
msgstr "Setzt den Titel für das neue Dokument."
#. Papersize
@@ -116,12 +117,12 @@
msgstr "Papiergröße:"
#: src/geanylatex.c:550
-msgid "Chooce the paper format for the new created document"
+msgid "Choose the paper format for the newly created document"
msgstr ""
"Setzt das Papierformat als Argument der Dokumentenklasse für das neue "
"Dokument"
-#. Buidling the wizard-dialog and showing it
+#. Building the wizard-dialog and showing it
#: src/geanylatex.c:565
msgid "LaTeX-Wizard"
msgstr "LaTeX-Assistent"
@@ -133,7 +134,7 @@
#: src/geanylatex.c:578
msgid ""
"Uses the KOMA-script classes by Markus Kohm.\n"
-"Keep in mind: To compile your document these classes have to been installed "
+"Keep in mind: To compile your document these classes have to be installed "
"before."
msgstr ""
"Wenn diese Option aktiviert ist, werden die KOMA-Skript-Klassen von Markus "
@@ -151,54 +152,55 @@
"Setzt die Option draft für die Dokumentenklasse um das neue Dokument mit "
"einer Nummer von kleinen Korrekturhinweisen zu versehen."
-#: src/geanylatex.c:786
-msgid "Insert \\label"
-msgstr "\\label einfügen"
-
-#: src/geanylatex.c:787
-msgid "Insert \\ref"
-msgstr "\\ref einfügen"
-
-#: src/geanylatex.c:788
-msgid "Run LaTeX-Wizard"
-msgstr "LaTeX-Assistent starten"
-
-#: src/geanylatex.c:796
+#: src/geanylatex.c:794
msgid "_LaTeX"
msgstr "_LaTeX"
-#: src/geanylatex.c:802
+#: src/geanylatex.c:800
msgid "LaTeX-_Wizard"
msgstr "LaTeX-_Assistent"
-#: src/geanylatex.c:805
-msgid "Starts a Wizard to create easily LaTeX-dokuments"
-msgstr "Öffnen einen Assistenten, um einfach LaTeX-Dokumente zu erstellen."
+#: src/geanylatex.c:803
+msgid "Starts a Wizard to easily create LaTeX-documents"
+msgstr "Öffnet einen Assistenten, um einfache LaTeX-Dokumente zu erstellen."
-#: src/geanylatex.c:810
+#: src/geanylatex.c:808
msgid "Insert _Special Character"
msgstr "_Sonderzeichen einfügen"
-#: src/geanylatex.c:812
+#: src/geanylatex.c:810
msgid "Helps to use some not very common letters and signs"
msgstr "Unterstützt bei der Verwendung von seltenen Sonderzeichen"
-#: src/geanylatex.c:819
+#: src/geanylatex.c:817
msgid "Insert _Reference"
msgstr "_Verweis einfügen"
-#: src/geanylatex.c:821
+#: src/geanylatex.c:819
msgid "Inserting references to the document"
msgstr "Eine Referenz in das Dokument einfügen"
-#: src/geanylatex.c:825
+#: src/geanylatex.c:823
msgid "Insert _Label"
msgstr "_Lesezeichen einfügen"
-#: src/geanylatex.c:827
-msgid "Helps at inserting labels to a docuemnt"
+#: src/geanylatex.c:825
+msgid "Helps at inserting labels to a document"
msgstr "Untersützt bei dem Einfügen von Lesezeichen in ein Dokument"
+#. init keybindins
+#: src/geanylatex.c:830
+msgid "Insert \\label"
+msgstr "\\label einfügen"
+
+#: src/geanylatex.c:831
+msgid "Insert \\ref"
+msgstr "\\ref einfügen"
+
+#: src/geanylatex.c:832
+msgid "Run LaTeX-Wizard"
+msgstr "LaTeX-Assistent starten"
+
#: src/latexencodings.c:37
msgid "UTF-8"
msgstr "UTF-8"
Modified: trunk/geanylatex/po/geanylatex.pot
===================================================================
--- trunk/geanylatex/po/geanylatex.pot 2008-11-13 09:37:54 UTC (rev 295)
+++ trunk/geanylatex/po/geanylatex.pot 2008-11-14 00:04:51 UTC (rev 296)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-11-09 22:46+0100\n"
+"POT-Creation-Date: 2008-11-14 01:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -21,7 +21,7 @@
msgstr ""
#: src/geanylatex.c:54
-msgid "Plugin to make Geany better support LaTeX"
+msgid "Plugin to provide better LaTeX support"
msgstr ""
#: src/geanylatex.c:135
@@ -86,7 +86,8 @@
#: src/geanylatex.c:517
msgid ""
-"Sets the entry of \\author command. In most cases here should stay your name"
+"Sets the value of the \\author command. In most cases this should be your "
+"name"
msgstr ""
#. Date
@@ -96,7 +97,7 @@
#: src/geanylatex.c:531
msgid ""
-"Sets the entry of the \\date command inside header of your newly created "
+"Sets the value of the \\date command inside header of your newly created "
"LaTeX-document. Keeping it at \\today is a good decision if you don't need "
"any fixed date."
msgstr ""
@@ -107,7 +108,7 @@
msgstr ""
#: src/geanylatex.c:540
-msgid "Sets the title of your newly document."
+msgid "Sets the title of your new document."
msgstr ""
#. Papersize
@@ -116,10 +117,10 @@
msgstr ""
#: src/geanylatex.c:550
-msgid "Chooce the paper format for the new created document"
+msgid "Choose the paper format for the newly created document"
msgstr ""
-#. Buidling the wizard-dialog and showing it
+#. Building the wizard-dialog and showing it
#: src/geanylatex.c:565
msgid "LaTeX-Wizard"
msgstr ""
@@ -131,7 +132,7 @@
#: src/geanylatex.c:578
msgid ""
"Uses the KOMA-script classes by Markus Kohm.\n"
-"Keep in mind: To compile your document these classes have to been installed "
+"Keep in mind: To compile your document these classes have to be installed "
"before."
msgstr ""
@@ -145,54 +146,55 @@
"number of debugging helpers"
msgstr ""
-#: src/geanylatex.c:786
-msgid "Insert \\label"
-msgstr ""
-
-#: src/geanylatex.c:787
-msgid "Insert \\ref"
-msgstr ""
-
-#: src/geanylatex.c:788
-msgid "Run LaTeX-Wizard"
-msgstr ""
-
-#: src/geanylatex.c:796
+#: src/geanylatex.c:794
msgid "_LaTeX"
msgstr ""
-#: src/geanylatex.c:802
+#: src/geanylatex.c:800
msgid "LaTeX-_Wizard"
msgstr ""
-#: src/geanylatex.c:805
-msgid "Starts a Wizard to create easily LaTeX-dokuments"
+#: src/geanylatex.c:803
+msgid "Starts a Wizard to easily create LaTeX-documents"
msgstr ""
-#: src/geanylatex.c:810
+#: src/geanylatex.c:808
msgid "Insert _Special Character"
msgstr ""
-#: src/geanylatex.c:812
+#: src/geanylatex.c:810
msgid "Helps to use some not very common letters and signs"
msgstr ""
-#: src/geanylatex.c:819
+#: src/geanylatex.c:817
msgid "Insert _Reference"
msgstr ""
-#: src/geanylatex.c:821
+#: src/geanylatex.c:819
msgid "Inserting references to the document"
msgstr ""
-#: src/geanylatex.c:825
+#: src/geanylatex.c:823
msgid "Insert _Label"
msgstr ""
-#: src/geanylatex.c:827
-msgid "Helps at inserting labels to a docuemnt"
+#: src/geanylatex.c:825
+msgid "Helps at inserting labels to a document"
msgstr ""
+#. init keybindins
+#: src/geanylatex.c:830
+msgid "Insert \\label"
+msgstr ""
+
+#: src/geanylatex.c:831
+msgid "Insert \\ref"
+msgstr ""
+
+#: src/geanylatex.c:832
+msgid "Run LaTeX-Wizard"
+msgstr ""
+
#: src/latexencodings.c:37
msgid "UTF-8"
msgstr ""
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2008-11-13 09:37:54 UTC (rev 295)
+++ trunk/geanylatex/src/geanylatex.c 2008-11-14 00:04:51 UTC (rev 296)
@@ -51,7 +51,7 @@
PLUGIN_VERSION_CHECK(104)
-PLUGIN_SET_INFO(_("LaTeX"), _("Plugin to make Geany better support LaTeX"), "0.2",
+PLUGIN_SET_INFO(_("LaTeX"), _("Plugin to provide better LaTeX support"), "0.2",
"Frank Lanitz <frank at frank.uvena.de>")
GtkWidget *menu_latex = NULL;
@@ -254,7 +254,7 @@
gint
count_menu_entries(SubMenuTemplate *tmp, gint categorie)
{
- // TODO: Reset max value for to stop before it's too late
+ // TODO: Reset max value to stop before it's too late
gint i;
gint count = 0;
if (categorie == -1)
@@ -330,10 +330,10 @@
split = TRUE;
}
- // Setting active sub menu to sub menu of catagorie
+ // Setting active sub menu to sub menu of category
sub_menu = sub_menu_cat[i][0];
active_submenu = sub_menu;
- // Finding entries for each categorie
+ // Finding entries for each category
for (j = 0; menu_template[j].latex != NULL; j++)
{
@@ -454,7 +454,7 @@
GtkTooltips *tooltip = gtk_tooltips_new();
- // Creating and formating table
+ // Creating and formatting table
table = gtk_table_new(2, 6, FALSE);
gtk_table_set_col_spacings(GTK_TABLE(table), 6);
gtk_table_set_row_spacings(GTK_TABLE(table), 6);
@@ -514,7 +514,7 @@
label_author = gtk_label_new(_("Author:"));
author_textbox = gtk_entry_new();
gtk_tooltips_set_tip(tooltip, author_textbox,
- _("Sets the entry of \\author command. In most cases here should stay your name"), NULL);
+ _("Sets the value of the \\author command. In most cases this should be your name"), NULL);
if (geany_data->template_prefs->developer != NULL)
{
author = geany_data->template_prefs->developer;
@@ -528,7 +528,7 @@
label_date = gtk_label_new(_("Date:"));
date_textbox = gtk_entry_new();
gtk_tooltips_set_tip(tooltip, date_textbox,
- _("Sets the entry of the \\date command inside header of your newly created LaTeX-document. Keeping it at \\today is a good decision if you don't need any fixed date."), NULL);
+ _("Sets the value of the \\date command inside header of your newly created LaTeX-document. Keeping it at \\today is a good decision if you don't need any fixed date."), NULL);
gtk_entry_set_text(GTK_ENTRY(date_textbox), "\\today");
gtk_misc_set_alignment(GTK_MISC(label_date), 0, 0.5);
gtk_table_attach_defaults(GTK_TABLE(table), label_date, 0, 1, 4, 5);
@@ -537,7 +537,7 @@
// Title of the new document
label_title = gtk_label_new(_("Title:"));
title_textbox = gtk_entry_new();
- gtk_tooltips_set_tip(tooltip, title_textbox, _("Sets the title of your newly document."),
+ gtk_tooltips_set_tip(tooltip, title_textbox, _("Sets the title of your new document."),
NULL);
gtk_misc_set_alignment(GTK_MISC(label_title), 0, 0.5);
gtk_table_attach_defaults(GTK_TABLE(table), label_title, 0, 1, 5, 6);
@@ -547,7 +547,7 @@
label_papersize = gtk_label_new(_("Paper size:"));
papersize_combobox = gtk_combo_box_new_text();
gtk_tooltips_set_tip(tooltip, papersize_combobox,
- _("Chooce the paper format for the new created document"), NULL);
+ _("Choose the paper format for the newly created document"), NULL);
gtk_combo_box_insert_text(GTK_COMBO_BOX(papersize_combobox), 0, "A4");
gtk_combo_box_insert_text(GTK_COMBO_BOX(papersize_combobox), 1, "A5");
gtk_combo_box_insert_text(GTK_COMBO_BOX(papersize_combobox), 2, "A6");
@@ -561,7 +561,7 @@
gtk_widget_show_all(table);
- // Buidling the wizard-dialog and showing it
+ // Building the wizard-dialog and showing it
dialog = gtk_dialog_new_with_buttons(_("LaTeX-Wizard"),
GTK_WINDOW(geany->main_widgets->window),
GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL,
@@ -575,7 +575,7 @@
checkbox_KOMA = gtk_check_button_new_with_label(_("Use KOMA-script classes if possible"));
gtk_tooltips_set_tip(tooltip, checkbox_KOMA,
_
- ("Uses the KOMA-script classes by Markus Kohm.\nKeep in mind: To compile your document these classes have to been installed before."),
+ ("Uses the KOMA-script classes by Markus Kohm.\nKeep in mind: To compile your document these classes have to be installed before."),
NULL);
gtk_button_set_focus_on_click(GTK_BUTTON(checkbox_KOMA), FALSE);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbox_KOMA), KOMA_active);
@@ -783,9 +783,7 @@
{
GtkTooltips *tooltips = NULL;
- gchar *kblabel_insert_label = _("Insert \\label");
- gchar *kblabel_insert_ref = _("Insert \\ref");
- gchar *kblabel_wizard = _("Run LaTeX-Wizard");
+ gchar *kblabel_insert_label, *kblabel_insert_ref, *kblabel_wizard;
p_main->locale_init(LOCALEDIR, GETTEXT_PACKAGE);
@@ -802,7 +800,7 @@
menu_latex_wizzard = gtk_menu_item_new_with_mnemonic(_("LaTeX-_Wizard"));
gtk_container_add(GTK_CONTAINER(menu_latex_menu), menu_latex_wizzard);
gtk_tooltips_set_tip(tooltips, menu_latex_wizzard,
- _("Starts a Wizard to create easily LaTeX-dokuments"), NULL);
+ _("Starts a Wizard to easily create LaTeX-documents"), NULL);
g_signal_connect((gpointer) menu_latex_wizzard, "activate",
G_CALLBACK(wizard_activated), NULL);
@@ -824,11 +822,14 @@
menu_latex_label = gtk_menu_item_new_with_mnemonic(_("Insert _Label"));
gtk_tooltips_set_tip(tooltips, menu_latex_label,
- _("Helps at inserting labels to a docuemnt"), NULL);
+ _("Helps at inserting labels to a document"), NULL);
gtk_container_add(GTK_CONTAINER(menu_latex_menu), menu_latex_label);
g_signal_connect((gpointer) menu_latex_label, "activate", G_CALLBACK(insert_label_activated), NULL);
/* init keybindins */
+ kblabel_insert_label = _("Insert \\label");
+ kblabel_insert_ref = _("Insert \\ref");
+ kblabel_wizard = _("Run LaTeX-Wizard");
p_keybindings->set_item(plugin_key_group, LATEX_WIZZARD_KB, kbwizard,
0, 0, "run_latex_wizard", kblabel_wizard, menu_latex_wizzard);
p_keybindings->set_item(plugin_key_group, LATEX_INSERT_LABEL_KB, kblabel_insert,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list