.po metadata "leaking" in --help screen with French locale

Bug #1554618 reported by thblt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Synapse
Fix Released
High
Unassigned

Bug Description

When using the French locale, synapse --help dumps the fr.po metadata instead of the actual list of flags, rendering the help message useless. I haven't been able to test this with any other locale, so I don't know if it's specific to fr.

This is the output with the fr_FR.UTF-8 then C locales, using synapse 0.2.99.2 on ArchLinux (x86-64) stable:

 $ LANG=fr_FR.UTF-8 synapse --help
[INFO 17:59:21.270708] [synapse-main:266] Starting up...
Utilisation :
  synapse [OPTION...] - Synapse

Options de l'aide :
  -h, --help Affiche les options de l'aide
  --help-all Affiche toutes les options de l'aide
  --help-gtk Affiche les options GTK+

Options de l'application :
  -s, --startup=Project-Id-Version: synapse-project
Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>
POT-Creation-Date: 2015-11-30 14:48+0000
PO-Revision-Date: 2014-11-18 13:26+0000
Last-Translator: Matthieu JOOSSEN <email address hidden>
Language-Team: French <email address hidden>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=n > 1;
X-Launchpad-Export-Date: 2015-12-01 05:19+0000
X-Generator: Launchpad (build 17850)

                                                                                   Startup mode (hide the UI until activated).
  --display=AFFICHAGE Affichage X à utiliser

$ LANG=C synapse --help
[INFO 18:00:05.960557] [synapse-main:266] Starting up...
Usage:
  synapse [OPTION...] - Synapse

Help Options:
  -h, --help Show help options
  --help-all Show all help options
  --help-gtk Show GTK+ Options

Application Options:
  -s, --startup= Startup mode (hide the UI until activated).
  --display=DISPLAY X display to use

Related branches

Changed in synapse-project:
importance: Undecided → High
status: New → Triaged
milestone: none → 0.2.99.3
Changed in synapse-project:
status: Triaged → Fix Committed
Changed in synapse-project:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.