]> git.draconx.ca Git - dxcommon.git/commit
gen-strtab.awk: Add a feature to disable l10n markings.
authorNick Bowler <nbowler@draconx.ca>
Tue, 3 Jan 2023 04:08:00 +0000 (23:08 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 3 Jan 2023 04:08:00 +0000 (23:08 -0500)
commitccd4df684019395c163eb3174c5e8bf2d3d8bdfc
treeafa34f8723ae3c0e47faf7c4389b70ab7b653762
parentf99c550277c5973dbd614e1a814ca79bed3afd9b
gen-strtab.awk: Add a feature to disable l10n markings.

Preceding an identifier with two ampersands now causes the output to
not include the N_ macro for that string, so xgettext won't pick it up.
This enables creating a mixed string table with some strings marked as
translatable and others not.
scripts/gen-strtab.awk
tests/scripts.at