On Sat, 14 Dec 2024 15:14:59 -0800 Josh Triplett wrote:
On Sun, 8 Dec 2024 12:36:56 +0100 Tobias Frost <[email protected]> wrote:
> > There is a codepath when the file is not found, so unknown horizon
> should just work fine without the file. It just won't tell in the UI
> about the translated percentage.
> > Code:
> 
https://salsa.debian.org/games-team/unknown-horizons/-/blob/master/horizons/gui/modules/settings.py?ref_type=heads#L300
> 
https://salsa.debian.org/games-team/unknown-horizons/-/blob/master/horizons/i18n/__init__.py?ref_type=heads#L168

The translation percentage is useful information; if possible, please
consider moving this file to something like
`/usr/share/locale/unknown-horizons/stats.json`. However, if that's not
feasible to do, then it sounds like removing it wouldn't do any harm.

AFAIU, the game use the file /usr/share/unknown-horizons/content/lang/stats.json
not /usr/share/locale/stats.json , the latter can be removed without consequence

Reply via email to