Bug 512427

Summary: Most text missing in examples/FormCardTutorial/Main.qml: ReferenceError: i18nc is not defined
Product: [Frameworks and Libraries] kirigami-addons Reporter: Artem Varaksa <varaksaaa>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: examples-formcardtutorial-main-no-text.png

Description Artem Varaksa 2025-11-21 10:35:10 UTC
Created attachment 187023 [details]
examples-formcardtutorial-main-no-text.png

Steps to reproduce
==================

1. $ sudo apt-get install -y qml-qt6
2. $ git clone https://invent.kde.org/libraries/kirigami-addons
3. $ qml6 ~/kirigami-addons/examples/FormCardTutorial/Main.qml
4. Navigate through the app


Actual result
=============

A lot of the text is missing (see screenshot).

Console output:

> file:///home/test/kirigami-addons/examples/FormCardTutorial/Main.qml:33: ReferenceError: i18nc is not defined
> file:///home/test/kirigami-addons/examples/FormCardTutorial/Main.qml:45: ReferenceError: i18nc is not defined
> file:///home/test/kirigami-addons/examples/FormCardTutorial/Main.qml:57: ReferenceError: i18nc is not defined


Expected result
===============

Text is displayed.


Additional information
======================

`tests/SettingsApp.qml` and `tests/TestTextFieldDelegate.qml` show similar errors, but about `i18ndc` instead of `i18nc`, and in these qmls, the text appears to be displayed correctly.


Reproducibility
===============

Reproducible: Always
Package: https://invent.kde.org/libraries/kirigami-addons @ 8bae749b35bb0bce5c8fe7ed150b6af1cb918e6e

Linux/KDE Plasma: kde-neon-user-20251118-0743 (installed on a VM in Proxmox Virtual Environment)
System locale: ru_RU.UTF-8
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3
Comment 1 Artem Varaksa 2025-11-21 10:36:34 UTC
Typo correction: KDE neon version is kde-neon-user-20251120-0743