Re: Translating keywords in QML files
Any input about this? (also http://projects.davidplanella.org/ is down). Simos On Fri, Aug 8, 2014 at 4:14 PM, Simos Xenitellis simos.li...@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@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators
Re: Translating keywords in QML files
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.li...@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.li...@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@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators -- ubuntu-translators mailing list ubuntu-translators@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators
Translating keywords in QML files
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@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators