Files
fish-shell/build_tools
Daniel Rainer a86a4dfabf Remove source locations from translations
Source locations (file name and line number) where a string originates is not
required by gettext tooling. It can help translators to identify context,
but the value of this is reduced by our lack of context support, meaning that
all occurrences of a string will receive the same translation.
Translators can use `rg` or similar tools to find the source locations.
For further details see this thread:
https://github.com/fish-shell/fish-shell/pull/11463#discussion_r2079378627

The main advantage is that updates to the PO files are now only necessary when
the source strings change, which greatly reduces the diff noise.

A secondary benefit is that the string extraction logic is simplified.
We can now directly extract the strings from fish scripts,
and several issues are fixed alongside, mostly related to quoting.
The regex for extracting implicit messages from fish scripts has been tweaked to
ignore commented-out lines, and properly support lines starting with `and`/`or`.
2025-05-11 21:10:03 +02:00
..
2025-04-30 19:41:45 +02:00
2025-04-29 10:14:06 +02:00
2025-03-18 22:25:55 +01:00
2025-04-29 10:14:06 +02:00
2025-04-29 10:14:06 +02:00
2025-04-29 10:14:06 +02:00
2024-01-07 15:12:21 +01:00