KTouch: translations from QML files

Antoni Bella Pérez antonibella5 at yahoo.com
Sat Jan 16 10:03:45 GMT 2021


  Hi

  I need to separate two translations inside QML files, but I can't find how to 
do it correctly. Can you help me?

This way

-        title: i18n("Manage Profiles")
+        title: i18nc("@title:window", "Manage Profiles")

or (TRANSLATION_DOMAIN) this way

Load translations
https://invent.kde.org/network/kaccounts-integration/-/merge_requests/19

  Regards
  Toni
-- 
Dubta que les estrelles siguin foc.
Dubta que el Sol es mogui.
Dubta que la veritat sigui mentida.
Però no dubtis mai que t'estimo.
	- William Shakespeare

No se n'ha de posar massa
	- A grandmother on the TV show "Las recetas de Julie"




More information about the kde-i18n-doc mailing list