plasma-desktop (Currently on the pagure repo for plasma 6 unstable) has some extra javascript files used in translations.
Prior to plasma 6, we would simply delete those, but it's probably not the best way to handle this according to @nicolasfella
%find_lang isn't picking those up either, is there a specific way to handle this properly?
(For now I simply added them to %files)
If you add them to %files manually, you can also tag them for languages manually by prefixing the entry with %lang() with the language code inside the parenthesis.
%files
%lang()
Metadata Update from @timaeos: - Issue set to the milestone: KDE Plasma 6.2 (was: KDE Plasma 6.0)
Metadata Update from @farchord: - Issue assigned to farchord
I'll look into this
@ngompa Is that essentially how? I'm building in copr, but just making sure I did it right:
# How to include these in the .lang file? %lang(sr) %{_kf6_datadir}/locale/sr/LC_SCRIPTS/kfontinst/kfontinst.js %lang(sr@ijekavian) %{_kf6_datadir}/locale/sr@ijekavian/LC_SCRIPTS/kfontinst/kfontinst.js %lang(sr@ijekavianlatin) %{_kf6_datadir}/locale/sr@ijekavianlatin/LC_SCRIPTS/kfontinst/kfontinst.js %lang(sr@latin) %{_kf6_datadir}/locale/sr@latin/LC_SCRIPTS/kfontinst/kfontinst.js
(I will remove the comment once I verify it's accurate)
Metadata Update from @siosm: - Issue set to the milestone: Future Release (was: KDE Plasma 6.2)