Translating "keywords" in QML files
Ask Hjorth Larsen
asklarsen at gmail.com
Thu Aug 21 10:31:09 UTC 2014
Also, in GNOME it is an error if the trailing ";" is omitted. Then
the keyword string will not work (or at least it was so at one time).
Whereas here it is apparently fine, as even the English strings omit
trailing ";". It is strange how little information can be found about
this. Here's the info from GNOME:
https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords
Doesn't contain an answer to your actual question though. :)
Best regards
Ask
2014-08-21 11:52 GMT+02:00 Simos Xenitellis <simos.lists at googlemail.com>:
> Any input about this?
>
> (also http://projects.davidplanella.org/ is down).
>
> Simos
>
>
> On Fri, Aug 8, 2014 at 4:14 PM, Simos Xenitellis
> <simos.lists at googlemail.com> wrote:
>>
>> Hi All,
>>
>> This probably is in some FAQ that I did not find. If so, please give me
>> the URL.
>>
>> In the .qml files from Unity 8 apps, there are messages like those in the
>> second line ("keywords:"):
>>
>> UnityActions.Action {
>> text: i18n.tr("Delete")
>> keywords: i18n.tr("Trash;Erase Note")
>> enabled: noteList.currentIndex !== -1
>> onTriggered: dataModel.deleteNote(noteList.currentIndex)
>> }
>>
>> What are the semantics for those when translating them? Apparently they
>> are similar to the keywords in .desktop files.
>> Shall we include both English and local language in the translated message
>> so as to get matches in both cases?
>> Are these case-insensitive? Or accent-insensitive;
>>
>> Simos
>>
>>
>
>
> --
> ubuntu-translators mailing list
> ubuntu-translators at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators
>
More information about the ubuntu-translators
mailing list