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 696038 - Show PO heaer entry with --help options
Show PO heaer entry with --help options
Status: RESOLVED FIXED
Product: gnome-klotski
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-klotski-maint
gnome-klotski-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-18 09:33 UTC by Jiro Matsuzawa
Modified: 2013-03-19 13:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for the bug (433 bytes, patch)
2013-03-18 09:38 UTC, Jiro Matsuzawa
none Details | Review
Do not translate empty string (964 bytes, patch)
2013-03-19 07:20 UTC, Jiro Matsuzawa
none Details | Review

Description Jiro Matsuzawa 2013-03-18 09:33:27 UTC
Gnome-klotski shows a PO header entry with the --help option.
This problem is the same as #695997. Please see #695997 for more details.

Problem
=======

$ LANG=es_ES.utf8 gnome-klotski --help
Uso:
  gnome-klotski [OPCIÓN…] Project-Id-Version: gnome-games.master
Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-klotski&keywords=I18N+L10N&component=general
POT-Creation-Date: 2013-01-28 23:17+0000
PO-Revision-Date: 2013-01-30 14:15+0100
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:38:35 UTC
Created attachment 239106 [details] [review]
Patch for the bug

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

[1] https://bugzilla.gnome.org/show_bug.cgi?id=695997#c1
Comment 2 Jiro Matsuzawa 2013-03-19 07:20:01 UTC
Created attachment 239220 [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 John Cheetham 2013-03-19 12:45:16 UTC
I pushed this to master for gnome-klotski 3.7.92.
Comment 4 Jiro Matsuzawa 2013-03-19 13:06:11 UTC
Thanks!