You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
shortcut Strg + Enter doesn't work in 64-bit version #2178
Interesting. Haven't tested this to confirm, but first potential guesses (without checking) are:
Something to do with the Qt versions for our 32 and 64 bit builds being different?
Probably. Or maybe missing translation files. @horst-p-w-neubauer are the general button labels in dialogue translated? How is the Control key translated in standard entries like in standard contextual menus.
Possibly some key combination thing messed up in the German translation (?). Not sure why it would only be on the 64-bit version though. 😦
What we have seen at other issues is: if you translate the key names, you have to match the translation used by Qt. And Spanish, at least once they've changed the abbreviated translation for the Shift key.
@justinclift, is there a way I can contribute to this project. It seems not to be open for everybody - but maybe I just have some troubles with the security stuff.
@horst-p-w-neubauer - hop on gitter and we can find someone to walk you through details/roadblocks. Sounds like your multilingual skills could be most useful.
I found the same behavior in 6 other languages
in these 7 languages Ctrl+Return doesn't work in the sql-tab:
Arabic, Chinese(China), Frensh, German, Italian, Korean, Portuguese
in these 10 languages Ctrl+Return works proper in the sql-tab
Chinese(Taiwan), Czech, 2xEnglish, Japanese, Polish, Russian, Spanish, Turkish, Ukrainian
<message>
<location filename="../MainWindow.ui" line="1497"/>
<source>Ctrl+Return</source>
<translation>Ctrl+Return</translation>
</message>
```If checked the complete list. All those who don't work translate the shortcut. the working ones don't transalte.
the same with other translated shortcuts.
e.g. Ctrl+P in TableBrowser.ui
translated in German to Strp+P - doesn't work
There is no difference in Shortcuts comming from .ui files to those, comming fom .cpp file
if the shortcut gets translated - it doesn't work
e.g. Ctrl+W in MainWindow.cpp
translated in German to Ctrl+P - doesn't work
thx for analyzing, @mgrojo
As there are remappings - I'd vote for clearing .ts files from all non regular key-expressions and resetting them. And explainig it on wiki/Translations.
@horst-p-w-neubauer, can we close this? The only remaining step is merging it to the 3.12.x branch, but this can be done at the same time including everything we want to release, if they haven't resulted in any issue.
Activity
justinclift commentedon Apr 7, 2020
That's a bit unclear. Which key is "Strg"? 😄
chrisjlocke commentedon Apr 7, 2020
Strg is German for Ctrl (or more technically, Steuerung means control)
justinclift commentedon Apr 7, 2020
Interesting. Haven't tested this to confirm, but first potential guesses (without checking) are:
mgrojo commentedon Apr 7, 2020
Probably. Or maybe missing translation files. @horst-p-w-neubauer are the general button labels in dialogue translated? How is the Control key translated in standard entries like in standard contextual menus.
What we have seen at other issues is: if you translate the key names, you have to match the translation used by Qt. And Spanish, at least once they've changed the abbreviated translation for the Shift key.
horst-p-w-neubauer commentedon Apr 8, 2020
It's all translated zu German.
horst-p-w-neubauer commentedon Apr 8, 2020
Funny, If I Change the setting to English Ctrl+Enter works fine. Thx for this idea!
justinclift commentedon Apr 10, 2020
No worries @horst-p-w-neubauer. It probably means there's something with our german translation strings that needs looking at. 😄
It might be something @FriedrichFroebel has time to investigate at some point. 🙏
horst-p-w-neubauer commentedon Apr 17, 2020
@justinclift, is there a way I can contribute to this project. It seems not to be open for everybody - but maybe I just have some troubles with the security stuff.
scottfurry commentedon Apr 17, 2020
@horst-p-w-neubauer - hop on gitter and we can find someone to walk you through details/roadblocks. Sounds like your multilingual skills could be most useful.
horst-p-w-neubauer commentedon Apr 17, 2020
thanks I seem to have found a way to fork and create a pull request
horst-p-w-neubauer commentedon Apr 22, 2020
I found the same behavior in 6 other languages
in these 7 languages Ctrl+Return doesn't work in the sql-tab:
Arabic, Chinese(China), Frensh, German, Italian, Korean, Portuguese
in these 10 languages Ctrl+Return works proper in the sql-tab
Chinese(Taiwan), Czech, 2xEnglish, Japanese, Polish, Russian, Spanish, Turkish, Ukrainian
horst-p-w-neubauer commentedon Apr 22, 2020
this may help locate the issue:
Chinese(China) translates in sqlb-zh.ts to
as Chinese(Taiwan) doesn't
horst-p-w-neubauer commentedon Apr 22, 2020
the same with other translated shortcuts.
e.g. Ctrl+P in TableBrowser.ui
translated in German to Strp+P - doesn't work
There is no difference in Shortcuts comming from .ui files to those, comming fom .cpp file
if the shortcut gets translated - it doesn't work
e.g. Ctrl+W in MainWindow.cpp
translated in German to Ctrl+P - doesn't work
horst-p-w-neubauer commentedon Apr 23, 2020
Shortcuts working without explicit translation but show translated on UI:

justinclift commentedon Apr 26, 2020
Good work! 😄
We'll need to get this fixed (as much as practical) for the 3.12.0 release.
10 remaining items
mgrojo commentedon May 9, 2020
Agreed and made into a pull request #2235.
Removed all translations of key shortcuts.
Avoid unchanged translation of keyboard shortcuts to work around prob…
Removed all translations of key shortcuts.
mgrojo commentedon May 24, 2020
@horst-p-w-neubauer, can we close this? The only remaining step is merging it to the 3.12.x branch, but this can be done at the same time including everything we want to release, if they haven't resulted in any issue.
Removed all translations of key shortcuts.
justinclift commentedon Jun 8, 2020
Closing this as I'm pretty sure it's complete. 😄
Removed all translations of key shortcuts.