KTouch: translations from QML files

Yuri Chornoivan yurchor at ukr.net
Sat Jan 16 10:10:56 GMT 2021


субота, 16 січня 2021 р. 12:03:45 EET Antoni Bella Pérez написано:
>   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

Hi,

First version, for sure. The domain versions (i18nd()) are for changing 
domains that is not the case.

Best regards,
Yuri





More information about the kde-i18n-doc mailing list