From d0b0cca94da1aad35a87257fe1c446e1b1936c2e Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sat, 16 Aug 2008 17:37:26 +0000 Subject: [PATCH] added translator comments. 2008-08-16 Sven Neumann * libgimp/gimp.c (gimp_get_pdb_error): added translator comments. svn path=/trunk/; revision=26605 --- ChangeLog | 10 ++++++++++ libgimp/gimp.c | 4 ++++ po-libgimp/ChangeLog | 2 ++ po-libgimp/de.po | 20 ++++++++++++++++++-- 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f41919fe1..ea4718222d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-08-16 Sven Neumann + + * libgimp/gimp.c (gimp_get_pdb_error): added translator comments. + +2008-08-16 Sven Neumann + + * plug-ins/pygimp/pygimp-pdb.c (pf_call): also use + gimp_get_pdb_error() here. Easier and safer than looking at the + return values to get the error message. + 2008-08-16 Sven Neumann Next step towards fixing bug #344818: diff --git a/libgimp/gimp.c b/libgimp/gimp.c index e55394e3d5..6f2c150d4c 100644 --- a/libgimp/gimp.c +++ b/libgimp/gimp.c @@ -1039,15 +1039,19 @@ gimp_get_pdb_error (void) switch (pdb_error_status) { + /* procedure executed successfully */ case GIMP_PDB_SUCCESS: return _("success"); + /* procedure execution failed */ case GIMP_PDB_EXECUTION_ERROR: return _("execution error"); + /* procedure called incorrectly */ case GIMP_PDB_CALLING_ERROR: return _("calling error"); + /* procedure cancelled */ case GIMP_PDB_CANCEL: return _("cancelled"); diff --git a/po-libgimp/ChangeLog b/po-libgimp/ChangeLog index eb300f7d19..095e26fc0c 100644 --- a/po-libgimp/ChangeLog +++ b/po-libgimp/ChangeLog @@ -2,6 +2,8 @@ * POTFILES.in: added libgimp/gimp.c with some new messages. + * de.po: updated German translation. + 2008-08-14 Takeshi AIHANA * ja.po: Updated Japanese translation by Kiyotaka Nishibori. diff --git a/po-libgimp/de.po b/po-libgimp/de.po index 0fb5c2a403..bfd094b45c 100644 --- a/po-libgimp/de.po +++ b/po-libgimp/de.po @@ -15,8 +15,8 @@ msgid "" msgstr "" "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-08-13 20:20+0200\n" -"PO-Revision-Date: 2008-08-13 20:30+0200\n" +"POT-Creation-Date: 2008-08-16 19:31+0200\n" +"PO-Revision-Date: 2008-08-16 19:34+0200\n" "Last-Translator: Sven Neumann \n" "Language-Team: Deutsch \n" "MIME-Version: 1.0\n" @@ -25,6 +25,22 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: KBabel 1.11.4\n" +#: ../libgimp/gimp.c:1043 +msgid "success" +msgstr "Erfolg" + +#: ../libgimp/gimp.c:1046 +msgid "execution error" +msgstr "Ausführungsfehler" + +#: ../libgimp/gimp.c:1049 +msgid "calling error" +msgstr "Aufruffehler" + +#: ../libgimp/gimp.c:1052 +msgid "cancelled" +msgstr "abgebrochen" + #: ../libgimp/gimpbrushselectbutton.c:170 msgid "Brush Selection" msgstr "Pinselauswahl"