After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696042 - Show PO heaer entry with --help options
Show PO heaer entry with --help options
Status: RESOLVED FIXED
Product: iagno
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: iagno-maint
iagno-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-18 09:41 UTC by Jiro Matsuzawa
Modified: 2013-03-19 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for the bug (399 bytes, patch)
2013-03-18 09:43 UTC, Jiro Matsuzawa
none Details | Review
Do not translate empty string (922 bytes, patch)
2013-03-19 07:21 UTC, Jiro Matsuzawa
committed Details | Review

Description Jiro Matsuzawa 2013-03-18 09:41:23 UTC
Iagno shows a PO header entry with the --help option.
This problem is the same as the Bug 695997. Please see it for more details.

Problem
=======

$ LANG=es_ES.utf8 iagno --help
Uso:
  iagno [OPCIÓN…] Project-Id-Version: gnome-games.master
Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-games&keywords=I18N+L10N&component=general
POT-Creation-Date: 2012-09-06 15:55+0000
PO-Revision-Date: 2012-08-29 16:43+0200
Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>
Language-Team: Español <gnome-es-list@gnome.org>
Language: es
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n!=1);
X-Generator: Gtranslator 2.91.5
X-Project-Style: gnome


Opciones de ayuda:
  -h, --help                  Mostrar opciones de ayuda
  --help-all                  Muestra todas las opciones de ayuda
  --help-gtk                  Mostrar opciones GTK+

Opciones de la aplicación:
  --display=VISOR             Visor [display] X que usar
Comment 1 Jiro Matsuzawa 2013-03-18 09:43:24 UTC
Created attachment 239107 [details] [review]
Patch for the bug

I've attached a patch for the bug. Please see the Bug 695997#c1 for more details about the patch.

https://bugzilla.gnome.org/show_bug.cgi?id=695997#c1
Comment 2 Jiro Matsuzawa 2013-03-19 07:21:27 UTC
Created attachment 239221 [details] [review]
Do not translate empty string

I reworked my patch to pass null instead of an empty string.
See also Bug 695997.
Comment 3 Jiro Matsuzawa 2013-03-19 13:06:52 UTC
Review of attachment 239221 [details] [review]:

Commited:
22a9cf3fb86081f41c4843d82a96b897d4e7d4f4