Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Sun, 30 Mar 2014 21:51:36 UTC
Commit: f699aea96cb0f297caf8aa2feb6ba68db51ec77b
https://github.com/geany/geany-plugins/commit/f699aea96cb0f297caf8aa2feb6ba…
Log Message:
-----------
pohelper: Fallback to a sane default if line break column is too small
There is no point in breaking at a too small column, and the code don't
properly handle length smaller than 2 anyway. So, use 72 as the
default if the configured line break column has a crazily small value
(less than 8).
Modified Paths:
--------------
pohelper/src/gph-plugin.c
Modified: pohelper/src/gph-plugin.c
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -789,6 +789,11 @@ enum {
gint line_len = geany_data->editor_prefs->line_break_column;
gint msgstr_kw_len;
+ /* if line break column doesn't have a reasonable value, don't use it */
+ if (line_len < 8) {
+ line_len = 72;
+ }
+
sci_start_undo_action (sci);
scintilla_send_message (sci, SCI_DELETERANGE,
(uptr_t) start, end + 1 - start);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Sun, 30 Mar 2014 17:29:09 UTC
Commit: 310758aec348681edaa9069d09df0453450a875b
https://github.com/geany/geany-plugins/commit/310758aec348681edaa9069d09df0…
Log Message:
-----------
Update of Copyright comment on German translation
Modified Paths:
--------------
po/de.po
Modified: po/de.po
24 files changed, 14 insertions(+), 10 deletions(-)
===================================================================
@@ -1,8 +1,8 @@
# German translation for geany-plugins
-# Copyright (C) 2009-2011 THE PACKAGE'S COPYRIGHT HOLDER
+# Copyright (C) 2009-2014 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the geany-plugins package.
# Andrew Janke <a.janke(a)gmail.com>, 2009
-# Frank Lanitz <frank(a)frank.uvena.de>, 2009-2013
+# Frank Lanitz <frank(a)frank.uvena.de>, 2009-2014
# Dominic Hopf <dmaphy(a)gmail.com>, 2009
# Michael Spahn <anyone90(a)googlemail.com>, 2009
# Fabian Nowak <timystery(a)arcor.de>, 2012
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Geany-plugins 1.24\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-29 22:27+0100\n"
+"POT-Creation-Date: 2014-03-30 19:28+0200\n"
"PO-Revision-Date: 2013-10-28 12:05+0100\n"
"Last-Translator: Frank Lanitz <frank(a)frank.uvena.de>\n"
"Language-Team: German <geany-i18n(a)uvena.de>\n"
@@ -2761,7 +2761,7 @@ msgstr "Bestätigung"
msgid "Save file"
msgstr "Datei speichern"
-#: ../geanylua/glspi_dlg.c:436
+#: ../geanylua/glspi_dlg.c:438
#, c-format
msgid ""
"Error in module \"%s\" at function pickfile():\n"
@@ -2770,7 +2770,7 @@ msgstr ""
"Fehler in Modul »%s« in Funktion pickfile():\n"
"Konnte die zu filternde Zeichenkette nicht verarbeiten; Argument #3.\n"
-#: ../geanylua/glspi_dlg.c:486
+#: ../geanylua/glspi_dlg.c:489
#, c-format
msgid ""
"Error in module \"%s\" at function %s():\n"
@@ -5107,7 +5107,9 @@ msgstr "Originalstring als Übersetzung verwenden"
#: ../pohelper/data/menus.ui.h:21
msgid "Paste the original untranslated string to the translation"
-msgstr "Benutzt die unübersetze Ausgabe, um diese auch in der übersetzen Form anzuzeigen."
+msgstr ""
+"Benutzt die unübersetze Ausgabe, um diese auch in der übersetzen Form "
+"anzuzeigen."
#: ../pohelper/data/menus.ui.h:22 ../pohelper/src/gph-plugin.c:1061
msgid "Reflow the current translation string"
@@ -5122,8 +5124,8 @@ msgid ""
"Whether to update the translation headers (author, revision date, ...) upon "
"file save"
msgstr ""
-"Legt fest, ob die Metadaten der Übersetzungsdatei (Autor, Datum ... ) "
-"beim Speichern aktualisiert werden sollen."
+"Legt fest, ob die Metadaten der Übersetzungsdatei (Autor, Datum ... ) beim "
+"Speichern aktualisiert werden sollen."
#: ../pohelper/data/menus.ui.h:25
msgid "Update _Headers Upon Save"
@@ -5147,7 +5149,7 @@ msgid "Failed to load configuration file: %s"
msgstr "Konnte Konfiguration nicht laden: %s"
#: ../pohelper/src/gph-plugin.c:1124
-#, c-format
+#, c-format
msgid "Failed to create configuration directory \"%s\": %s"
msgstr "Konnte das Konfigurationsverzeichnis »%s« nicht anelgen: %s"
@@ -5170,7 +5172,9 @@ msgstr ""
msgid ""
"Cannot find widget \"%s\" in the UI definition, please check your "
"installation."
-msgstr "Konnte das Widget »%s« in der Defintion der graphischen Oberfläche nicht finden. Bitte prüfen Sie die Installation"
+msgstr ""
+"Konnte das Widget »%s« in der Defintion der graphischen Oberfläche nicht "
+"finden. Bitte prüfen Sie die Installation"
#: ../pretty-printer/src/PluginEntry.c:37
msgid "XML PrettyPrinter"
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).