And those "strings" are not even part of the Sigil source tree. So there is nothing to collect or pass to Transifex that we can grab.
Qt has what it calls "standard buttons" and a "standard button box". It has a selection of button "types" to choose from.
This was done because not all operating system allows modifications of some of its native warning, info, and error dialog boxes and because not every OS supports every language. In addition some operating systems include their own specific images in these style of boxes.
So in the code, the developer of a Qt program need not worry about cross platform differences and instead can just focus on function or role of the buttons they want and Qt handles the remainder.
Quote:
QDialogButtonBox::Ok 0x00000400 An "OK" button defined with the AcceptRole.
QDialogButtonBox::Open 0x00002000 An "Open" button defined with the AcceptRole.
QDialogButtonBox::Save 0x00000800 A "Save" button defined with the AcceptRole.
QDialogButtonBox::Cancel 0x00400000 A "Cancel" button defined with the RejectRole.
QDialogButtonBox::Close 0x00200000 A "Close" button defined with the RejectRole.
QDialogButtonBox::Discard 0x00800000 A "Discard" or "Don't Save" button, depending on the platform, defined with the DestructiveRole.
QDialogButtonBox::Apply 0x02000000 An "Apply" button defined with the ApplyRole.
QDialogButtonBox::Reset 0x04000000 A "Reset" button defined with the ResetRole.
QDialogButtonBox::RestoreDefaults 0x08000000 A "Restore Defaults" button defined with the ResetRole.
QDialogButtonBox::Help 0x01000000 A "Help" button defined with the HelpRole.
QDialogButtonBox::SaveAll 0x00001000 A "Save All" button defined with the AcceptRole.
QDialogButtonBox::Yes 0x00004000 A "Yes" button defined with the YesRole.
QDialogButtonBox::YesToAll 0x00008000 A "Yes to All" button defined with the YesRole.
QDialogButtonBox::No 0x00010000 A "No" button defined with the NoRole.
QDialogButtonBox::NoToAll 0x00020000 A "No to All" button defined with the NoRole.
QDialogButtonBox::Abort 0x00040000 An "Abort" button defined with the RejectRole.
QDialogButtonBox::Retry 0x00080000 A "Retry" button defined with the AcceptRole.
QDialogButtonBox::Ignore 0x00100000 An "Ignore" button defined with the AcceptRole.
QDialogButtonBox::NoButton 0x00000000 An invalid button.
|
Sigil, like most GUI programs makes heavy use of message and dialog boxes.
It would require a lot of work to find all use of standard buttons, and then recreate any native images and things that are OS specific with little to no gain and much loss of OS specific look and feel and extra work by translators.
So Qt is the correct place to make Qt:Base translation changes. You should file an issue with Qt that points out that some translations for those buttons should technically be changed depending on what the context of the prompt is.
But in all honesty, good luck with that.
Instead why not just grab the ukranian qtbase ts file from its github site and modify it till your heart is content and use it to replace the version we ship.