[SailfishDevel] Translation

Asser Lähdemäki sailfishmail at denden.pw
Sun Jun 28 05:44:51 UTC 2015


Use the same QT_TR_NOOP("Debug") as for title?

coderusinbox kirjoitti su kesäkuuta 28 08:05:22 2015 GMT+0300:
> Hi,
> 
> I like to translate a the word debug from a section how can i do that ? 
> When i use QsTR this dont work
> 
> Code:
> 
>          }
>          ListElement {
>              page: "ToolsPage.qml"
>              title: QT_TR_NOOP("Tools")
>              subtitle: "Misc. tools for testing the application"
>              section: "Debug"
>          }
>      }
> 
>      SilicaListView {
>          id: listView
>          anchors.fill: parent
>          model: pagesModel
>          header: PageHeader { title: root.title }
>          section {
>          property: 'section'
>              delegate: SectionHeader {
>              text: section
>              }
>          }
> 
> 
> ---
> Best regards!
> 
> Rudi Timmermans.
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>


More information about the Devel mailing list