diff options
| author | Johannes Sixt <j6t@kdbg.org> | 2026-03-02 09:14:48 +0100 |
|---|---|---|
| committer | Johannes Sixt <j6t@kdbg.org> | 2026-03-03 22:04:08 +0100 |
| commit | e7db0670ee0f66f7c975cd1ec3bd0f6898287b0c (patch) | |
| tree | 8247fedbc1a012e6d472d046ec786961443c64e7 /gitk-git/gitk | |
| parent | de4201af7d57b2da6981884e969fe1e6d327108c (diff) | |
| download | git-e7db0670ee0f66f7c975cd1ec3bd0f6898287b0c.tar.xz | |
gitk: commit translation files without file information
File information in the translation files is only helpful for the
translators, but is not needed to compile the message catalogs. On top
of that, file information is rather volatile and leads to large patches
that do not carry essential information. For this reason, Git project
has opted to remove the file information from its translation files.
Let's do that in this project, too.
Rewrite the update-po target to generate *.po files that do contain
file information for the benefit of translators. Configure a clean
filter under the name "gettext-no-location", which is the same that
the Git project uses. It is expected that translators have already
configured their repository suitably. Nevertheless, write a reminder
as part of the update-po target.
Apply the clean-filter to the translation files.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 'gitk-git/gitk')
0 files changed, 0 insertions, 0 deletions
