[RFC] [PATCH] Make CSV account import table header translatable

Aurimas Fišeras aurimas at members.fsf.org
Thu Jul 25 03:33:56 EDT 2013

I noticed that CSV account import table header had untranslatable text.
I made it translatable but ran into a problem with mnemonics ('_' needs
to be escaped as "__").
At first I tried to find a way to disable mnemonics in GtkTreeViewColumn
since they are not needed here at all.
Failing that I tried to find some glib utility function to escape the
string as needed. Failed to do that too.
Finally, I had to create a function mnemonic_escape  (like g_strescape)
to make it work.

Does anyone know a better solution?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Make-CSV-account-import-table-header-translatable.patch
Type: text/x-patch
Size: 4148 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20130725/61342e59/attachment.bin>

More information about the gnucash-devel mailing list