#44799: Qt: "Close" and "OK" buttons not translated Open Date: 2022-06-12 01:29 Last Update: 2023-10-10 08:56 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44799 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44799 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-10-10 08:56 Updated by: Anonymous Comment: What a terrible patch. With this approach you will need to implement custom translations for keyboard shortcuts, the file dialog, "about Qt", ... Qt already ships translations for all of this, just initialize the Qt locale correctly. Strings for many languages are shipped by default, at /usr/share/qt*/translations/ on Debian-like systems. If you insist on having full control, install your own QTranslator in the QApplication. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.1.0-beta4 Component: Qt-client Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: We have no translations for Qt's default buttons. Qt would want to handle them by its own mechanisms, not through our gettext. Simplest solution would be not to use those Qt's buttons, but implement equivalents ourselves. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44799 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44799