forgejo/modules/translation
0ko 973ff28f44
Some checks are pending
/ release (push) Waiting to run
testing-integration / test-unit (push) Waiting to run
testing-integration / test-sqlite (push) Waiting to run
testing-integration / test-mariadb (v10.6) (push) Waiting to run
testing-integration / test-mariadb (v11.8) (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
chore(test): separate and move around i18n testing (#10539)
Closes #10534

The primary code change is that `TestMissingTranslationHandling` was converted to a unit test.

However translation unit tests were a mix of mostly unrelated old (INI) and new (JSON) code with unclear licensing. It was cleaned up with help of Git history.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10539
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2025-12-23 04:39:26 +01:00
..
i18n chore(test): separate and move around i18n testing (#10539) 2025-12-23 04:39:26 +01:00
localeiter feat(build): uniform ini parsing (#7429) 2025-04-03 08:27:02 +00:00
mock.go Replace the 'relative-time' element scripting with custom, translatable rewrite (#6154) 2025-05-03 14:11:01 +00:00
plural_rules.go frontend: generic lazy loader for webcomponents (#8510) 2025-07-23 04:10:50 +02:00
plural_rules_test.go chore(test): separate and move around i18n testing (#10539) 2025-12-23 04:39:26 +01:00
translation.go chore(test): separate and move around i18n testing (#10539) 2025-12-23 04:39:26 +01:00
translation_test.go chore(test): separate and move around i18n testing (#10539) 2025-12-23 04:39:26 +01:00