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:
parent
4988adb170
commit
f9808e31ec
17 changed files with 243 additions and 0 deletions
9
examples/lang/i18n/i18n_ui.ludic
Normal file
9
examples/lang/i18n/i18n_ui.ludic
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# i18n_ui.ludic — a component's template against lang/en.po: every t('key', ...) in a {hole} names
|
||||
# a key en.po has, and gives as many values as its English has holes. Words a player would read that
|
||||
# are not a key are "English left" (a warning, counted by ludic deps as english_left) - here the
|
||||
# "Paused" line; an element with translate="no" is left alone. `ludicc --check` reports both.
|
||||
import "ludic.ui"
|
||||
program I18nUi {
|
||||
import "parts/Pause.ludic"
|
||||
entry { print(1) }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue