examples: text keys - lang/i18n (k"" and kn"" keys, == on them, a @Text Key field's derived key, @TextKey, a component's t('key', ...) and its one line of English left, en.po with a plural and descriptions, tr.po missing, fuzzy and extra) and rejected/i18n_keys (a key en.po lacks, a plural key without msgid_plural, a Key / string mix-up, a derived key en.po lacks, a template's missing t() key, hole counts and an undescribed split); their cases in ludic-dev test (added, not run)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 23:38:03 +03:00
parent 4988adb170
commit f9808e31ec
17 changed files with 243 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# Pause.ludic - i18n_ui.ludic's component: its text is keys (Pause.xml), one of them a field the
# template reads - a Key reaches a template as its marked text, for t(expr)
component Pause {
prop day: int = 1
prop caught: int = 0
back: Key = k"pause.close"
}

View file

@ -0,0 +1,8 @@
<div class="pause">
<p>{t('pause.resume')}</p>
<button title="{t('pause.close')}">{t('hud.day', day)}</button>
<button>{t(back)}</button>
<p>{t('catch.count', caught, 'trout')}</p>
<p translate="no">Maroon Lake 0.5 <b>beta</b></p>
<p>Paused</p>
</div>