Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. MessageDialog buttons localization
Forum Updated to NodeBB v4.3 + New Features

MessageDialog buttons localization

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 164 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dmitriano
    wrote on last edited by Dmitriano
    #1

    What is right way to localize MessageDialog's Yes and No buttons? I tried adding the following to my translation file, but with no success:

    <context>
        <name>DefaultMessageDialog</name>
        <message>
            <source>Yes</source>
            <translation type="Да"></translation>
        </message>
        <message>
            <source>No</source>
            <translation type="Нет"></translation>
        </message>
    </context>
    

    I use QuickControls2, QT 5.13

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved