Support for underscores in Desktop/INI-style keys

Bug #1330088 reported by Colomban Wendling
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intltool
New
Undecided
Unassigned

Bug Description

Currently, the Desktop parser doesn't accept underscores in key names. Although this follows the FreeDesktop standard, it is a problem because this parser is also used for INI-style files through gettext/ini, which commonly accept underscores in key names.

For example I stumbled upon this trying to translate some keys from an configuration file using the GLib format, which does allow underscores (and the keys I wanted to translate did use them).

Attached is the trivial patch enabling support for underscores in Desktop and INI keys names.

Tags: desktop ini
Revision history for this message
Colomban Wendling (banw) wrote :

Ping. Updated version of the patch against current trunk, and with tests.

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.