Skip to content

fix(translations): add missing general.phrase.none key - #3796

Merged
bobvandevijver merged 1 commit into
bolt:6.1from
Vondry:fix/general-phrase-none
Aug 17, 2026
Merged

fix(translations): add missing general.phrase.none key#3796
bobvandevijver merged 1 commit into
bolt:6.1from
Vondry:fix/general-phrase-none

Conversation

@Vondry

@Vondry Vondry commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

follow up of #3753

Changes

general.phrase.none is used by both taxonomy link helpers but existed in no catalogue, so it rendered as the literal string general.phrase.none on the frontend skeleton theme.

Translations

en None es Sin asignar pl Brak uk Немає
bg Няма fr Aucun ru Нет zh_CN
cs Žádné hu Nincs sk Žiadne
de Keine Angabe it Nessuno tr Yok

Testing

En

en2 en1

Nl

nl1 nl2

Cs

cs1 cs2

The key is referenced by both taxonomy link helpers but existed in no
catalogue, so it leaked as the raw string "general.phrase.none" to public
visitors on any record with an empty taxonomy group.

ContentExtension::getTaxonomies() pre-seeds every taxonomy declared on the
ContentType with an empty array, so the for/else fallback is reached on
default config whenever a record has no terms for a given type.

Added to all 16 message catalogues with unit id OPxagAY, matching the id
Symfony's XliffFileDumper generates for this source.

Targets use forms that are invariant or read correctly standalone, since
the live consumer (public/theme/skeleton/partials/_sub_taxonomylinks.twig)
emits no label at all in the empty case and the bundled helper emits a
singular label of arbitrary gender.
@bobvandevijver
bobvandevijver merged commit a30ed5b into bolt:6.1 Aug 17, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants