Bug 512427 - Most text missing in examples/FormCardTutorial/Main.qml: ReferenceError: i18nc is not defined
Summary: Most text missing in examples/FormCardTutorial/Main.qml: ReferenceError: i18n...
Status: REPORTED
Alias: None
Product: kirigami-addons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-21 10:35 UTC by Artem Varaksa
Modified: 2025-11-21 10:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
examples-formcardtutorial-main-no-text.png (19.79 KB, image/png)
2025-11-21 10:35 UTC, Artem Varaksa
Details

Note You need to log in before you can comment on or make changes to this bug.
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