aardappel / treesheets

TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
zlib License
2.58k stars 193 forks source link

Replace special accelerators for wxGTK #695

Closed tobiolo closed 1 month ago

tobiolo commented 1 month ago

I guess that this is the simpler solution for the Gettext utility to extract the strings.

aardappel commented 1 month ago

But do the translation files now need to translate each of these strings twice?

tobiolo commented 1 month ago

But do the translation files now need to translate each of these strings twice?

Yes, but given the small amount of additional strings that are not likely to be changed I think this is bearable. Otherwise we also have to change the existing strings, too if we split them and we have to manually add the accelerator translation where its strings cannot be automatically extracted by the Gettext utilities (I do not think that Gettext will consider any preprocessor directives). I don't think that the alternative makes good and simple code. Any ideas?