Revision: 1532 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1532&view=re... Author: frlan Date: 2010-08-25 23:19:46 +0000 (Wed, 25 Aug 2010)
Log Message: ----------- Updatechcker: Some codecleanup and fixing a typo
Modified Paths: -------------- trunk/geany-plugins/po/de.po trunk/geany-plugins/updatechecker/ChangeLog trunk/geany-plugins/updatechecker/src/updatechecker.c
Modified: trunk/geany-plugins/po/de.po =================================================================== --- trunk/geany-plugins/po/de.po 2010-08-25 23:19:16 UTC (rev 1531) +++ trunk/geany-plugins/po/de.po 2010-08-25 23:19:46 UTC (rev 1532) @@ -10,8 +10,8 @@ msgstr "" "Project-Id-Version: geany-plugins 0.19\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-08-26 00:57+0200\n" -"PO-Revision-Date: 2010-08-26 00:59+0100\n" +"POT-Creation-Date: 2010-08-26 01:14+0200\n" +"PO-Revision-Date: 2010-08-26 01:15+0100\n" "Last-Translator: Frank Lanitz frank@frank.uvena.de\n" "Language-Team: German geany-i18n@uvena.de\n" "Language: de\n" @@ -95,7 +95,7 @@ #: ../geanyvc/src/geanyvc.c:1776 #: ../spellcheck/src/scplugin.c:141 #: ../treebrowser/src/treebrowser.c:1446 -#: ../updatechecker/src/updatechecker.c:259 +#: ../updatechecker/src/updatechecker.c:242 msgid "Plugin configuration directory could not be created." msgstr "Das Konfigurationsverzeichnis für das Plugin konnte nicht erstellt werden."
@@ -3419,19 +3419,15 @@ msgid "A plugin which is checking whether there are updates for Geany available." msgstr "Eine Erweiterung, die überprüft, ob für Geany auf dem Server Aktualisierungen bereitliegen."
-#: ../updatechecker/src/updatechecker.c:183 -msgid "There is a more recent version availble. Please check http://www.geany.org for updates." -msgstr "Eine neue Version wurde gefunden und kann von http://www.geany.org heruntergeladen werden. " - -#: ../updatechecker/src/updatechecker.c:208 -msgid "There is a more recent version availble" +#: ../updatechecker/src/updatechecker.c:179 +msgid "There is a more recent version available" msgstr "Eine neuere Version ist verfügbar"
-#: ../updatechecker/src/updatechecker.c:213 +#: ../updatechecker/src/updatechecker.c:187 msgid "No update available" msgstr "Keine Aktualisierung verfügbar"
-#: ../updatechecker/src/updatechecker.c:219 +#: ../updatechecker/src/updatechecker.c:199 #, c-format msgid "" "Wasn't able to catch some version information.\n" @@ -3442,14 +3438,20 @@ "Error: %d \n" "Error Botschaft: »%s«"
-#: ../updatechecker/src/updatechecker.c:282 +#: ../updatechecker/src/updatechecker.c:265 msgid "Run updatecheck on startup" msgstr "Überprüfung nach Aktualisierungen beim Starten durchführen"
-#: ../updatechecker/src/updatechecker.c:324 +#: ../updatechecker/src/updatechecker.c:307 msgid "Check for Updates" msgstr "Auf mögliche Aktualisierungen prüfen"
+#~ msgid "" +#~ "There is a more recent version availble. Please check http://www.geany." +#~ "org for updates." +#~ msgstr "" +#~ "Eine neue Version wurde gefunden und kann von http://www.geany.org " +#~ "heruntergeladen werden. " #~ msgid "Starting checking for updates" #~ msgstr "Beginne mit der Prüfung auf Aktualisierungen" #~ msgid "Connection error. Code: %d; Message: %s"
Modified: trunk/geany-plugins/updatechecker/ChangeLog =================================================================== --- trunk/geany-plugins/updatechecker/ChangeLog 2010-08-25 23:19:16 UTC (rev 1531) +++ trunk/geany-plugins/updatechecker/ChangeLog 2010-08-25 23:19:46 UTC (rev 1532) @@ -1,6 +1,12 @@ +2010-08-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + + * src/updatechecker.c: Cleaning up the code and removing redundant code + as well as fixing a typo. + + 2010-08-23 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
- * src/updatechecker: Some adjustments on a couple of strings. + * src/updatechecker.c: Some adjustments on a couple of strings.
2010-08-22 Frank Lanitz frank@frank.uvena.de
Modified: trunk/geany-plugins/updatechecker/src/updatechecker.c =================================================================== --- trunk/geany-plugins/updatechecker/src/updatechecker.c 2010-08-25 23:19:16 UTC (rev 1531) +++ trunk/geany-plugins/updatechecker/src/updatechecker.c 2010-08-25 23:19:46 UTC (rev 1532) @@ -139,7 +139,7 @@
/* Returns TRUE if the version installed is < as the version found -on the * server. All other cases a causes a FALSE. */ + * on the server. All other cases a causes a FALSE. */ static gboolean version_compare(const gchar *current_version) { @@ -169,14 +169,15 @@ SoupMessage *msg, gpointer user_data) { gint type = GPOINTER_TO_INT(user_data); + /* Checking whether we did get a valid (200) result */ if (msg->status_code == 200) { if (version_compare(msg->response_body->data) == TRUE) { dialogs_show_msgbox(GTK_MESSAGE_INFO, - _("There is a more recent version availble")); - g_message("There is a more recent version availble"); + _("There is a more recent version available")); + g_message("There is a more recent version available"); } else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.