Tells QT not to translate shortcuts.
There is currently a problem with crowdin. It asks to translate shortcut. I assume that actually, shortcuts are intended to remain the same independtly of the language, and thus that they should not appear here. I kind of assume that crowdin gets the strings to which _ or ngettext are applied. So I wanted to ensure that none of those methods are applied to shortcut. The python file containing those shortcut are generated from .ui files, used by QTCreator. I thus changed those files to indicates that shortcuts should not be translated. I assumed that shortcuts are strings containing either only "F(digit)", a single letter, "Alt+" or "Ctrl+". I may have missed other shortcuts if they exists.
This commit is contained in:
parent
fed2f2fa3d
commit
b5b7f7ec50
@ -120,7 +120,7 @@
|
|||||||
<string>Preview</string>
|
<string>Preview</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+P</string>
|
<string notr="true">Ctrl+Shift+P</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -327,7 +327,7 @@
|
|||||||
<string>&Reschedule...</string>
|
<string>&Reschedule...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+R</string>
|
<string notr="true">Ctrl+Alt+R</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSelectAll">
|
<action name="actionSelectAll">
|
||||||
@ -335,7 +335,7 @@
|
|||||||
<string>Select &All</string>
|
<string>Select &All</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+A</string>
|
<string notr="true">Ctrl+Alt+A</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionUndo">
|
<action name="actionUndo">
|
||||||
@ -343,7 +343,7 @@
|
|||||||
<string>&Undo</string>
|
<string>&Undo</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+Z</string>
|
<string notr="true">Ctrl+Alt+Z</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionInvertSelection">
|
<action name="actionInvertSelection">
|
||||||
@ -351,7 +351,7 @@
|
|||||||
<string>&Invert Selection</string>
|
<string>&Invert Selection</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+S</string>
|
<string notr="true">Ctrl+Alt+S</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFind">
|
<action name="actionFind">
|
||||||
@ -359,7 +359,7 @@
|
|||||||
<string>&Find</string>
|
<string>&Find</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+F</string>
|
<string notr="true">Ctrl+F</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionNote">
|
<action name="actionNote">
|
||||||
@ -367,7 +367,7 @@
|
|||||||
<string>N&ote</string>
|
<string>N&ote</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+N</string>
|
<string notr="true">Ctrl+Shift+N</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionNextCard">
|
<action name="actionNextCard">
|
||||||
@ -375,7 +375,7 @@
|
|||||||
<string>&Next Card</string>
|
<string>&Next Card</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+N</string>
|
<string notr="true">Ctrl+N</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionPreviousCard">
|
<action name="actionPreviousCard">
|
||||||
@ -383,7 +383,7 @@
|
|||||||
<string>&Previous Card</string>
|
<string>&Previous Card</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+P</string>
|
<string notr="true">Ctrl+P</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGuide">
|
<action name="actionGuide">
|
||||||
@ -391,7 +391,7 @@
|
|||||||
<string>&Guide</string>
|
<string>&Guide</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>F1</string>
|
<string notr="true">F1</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionChangeModel">
|
<action name="actionChangeModel">
|
||||||
@ -399,7 +399,7 @@
|
|||||||
<string>Change Note Type...</string>
|
<string>Change Note Type...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+M</string>
|
<string notr="true">Ctrl+Shift+M</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSelectNotes">
|
<action name="actionSelectNotes">
|
||||||
@ -412,7 +412,7 @@
|
|||||||
<string>Find and Re&place...</string>
|
<string>Find and Re&place...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+F</string>
|
<string notr="true">Ctrl+Alt+F</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCram">
|
<action name="actionCram">
|
||||||
@ -425,7 +425,7 @@
|
|||||||
<string>Fil&ter</string>
|
<string>Fil&ter</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+F</string>
|
<string notr="true">Ctrl+Shift+F</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCardList">
|
<action name="actionCardList">
|
||||||
@ -433,7 +433,7 @@
|
|||||||
<string>Card List</string>
|
<string>Card List</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+L</string>
|
<string notr="true">Ctrl+Shift+L</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFindDuplicates">
|
<action name="actionFindDuplicates">
|
||||||
@ -446,7 +446,7 @@
|
|||||||
<string>Reposition...</string>
|
<string>Reposition...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+S</string>
|
<string notr="true">Ctrl+Shift+S</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFirstCard">
|
<action name="actionFirstCard">
|
||||||
@ -470,7 +470,7 @@
|
|||||||
<string>Close</string>
|
<string>Close</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+W</string>
|
<string notr="true">Ctrl+W</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_Info">
|
<action name="action_Info">
|
||||||
@ -478,7 +478,7 @@
|
|||||||
<string>&Info...</string>
|
<string>&Info...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+I</string>
|
<string notr="true">Ctrl+Shift+I</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionAdd_Tags">
|
<action name="actionAdd_Tags">
|
||||||
@ -486,7 +486,7 @@
|
|||||||
<string>Add Tags...</string>
|
<string>Add Tags...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+A</string>
|
<string notr="true">Ctrl+Shift+A</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionRemove_Tags">
|
<action name="actionRemove_Tags">
|
||||||
@ -494,7 +494,7 @@
|
|||||||
<string>Remove Tags...</string>
|
<string>Remove Tags...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+D</string>
|
<string notr="true">Ctrl+Shift+D</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionToggle_Suspend">
|
<action name="actionToggle_Suspend">
|
||||||
@ -502,7 +502,7 @@
|
|||||||
<string>Toggle Suspend</string>
|
<string>Toggle Suspend</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+J</string>
|
<string notr="true">Ctrl+J</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDelete">
|
<action name="actionDelete">
|
||||||
@ -510,7 +510,7 @@
|
|||||||
<string>Delete</string>
|
<string>Delete</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Del</string>
|
<string notr="true">Ctrl+Del</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionAdd">
|
<action name="actionAdd">
|
||||||
@ -518,7 +518,7 @@
|
|||||||
<string>Add Notes...</string>
|
<string>Add Notes...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+E</string>
|
<string notr="true">Ctrl+E</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionChange_Deck">
|
<action name="actionChange_Deck">
|
||||||
@ -526,7 +526,7 @@
|
|||||||
<string>Change Deck...</string>
|
<string>Change Deck...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+D</string>
|
<string notr="true">Ctrl+D</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionRed_Flag">
|
<action name="actionRed_Flag">
|
||||||
@ -537,7 +537,7 @@
|
|||||||
<string>Red Flag</string>
|
<string>Red Flag</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+1</string>
|
<string notr="true">Ctrl+1</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionOrange_Flag">
|
<action name="actionOrange_Flag">
|
||||||
@ -548,7 +548,7 @@
|
|||||||
<string>Orange Flag</string>
|
<string>Orange Flag</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+2</string>
|
<string notr="true">Ctrl+2</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGreen_Flag">
|
<action name="actionGreen_Flag">
|
||||||
@ -559,7 +559,7 @@
|
|||||||
<string>Green Flag</string>
|
<string>Green Flag</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+3</string>
|
<string notr="true">Ctrl+3</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionBlue_Flag">
|
<action name="actionBlue_Flag">
|
||||||
@ -570,7 +570,7 @@
|
|||||||
<string>Blue Flag</string>
|
<string>Blue Flag</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+4</string>
|
<string notr="true">Ctrl+4</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSidebar">
|
<action name="actionSidebar">
|
||||||
@ -578,7 +578,7 @@
|
|||||||
<string>Sidebar</string>
|
<string>Sidebar</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+R</string>
|
<string notr="true">Ctrl+Shift+R</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionClear_Unused_Tags">
|
<action name="actionClear_Unused_Tags">
|
||||||
@ -596,7 +596,7 @@
|
|||||||
<string>Toggle Mark</string>
|
<string>Toggle Mark</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+K</string>
|
<string notr="true">Ctrl+K</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
<string>E&xit</string>
|
<string>E&xit</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Q</string>
|
<string notr="true">Ctrl+Q</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionPreferences">
|
<action name="actionPreferences">
|
||||||
@ -112,7 +112,7 @@
|
|||||||
<string>Configure interface language and options</string>
|
<string>Configure interface language and options</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+P</string>
|
<string notr="true">Ctrl+P</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="menuRole">
|
<property name="menuRole">
|
||||||
<enum>QAction::PreferencesRole</enum>
|
<enum>QAction::PreferencesRole</enum>
|
||||||
@ -134,7 +134,7 @@
|
|||||||
<string>&Undo</string>
|
<string>&Undo</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Z</string>
|
<string notr="true">Ctrl+Z</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCheckMediaDatabase">
|
<action name="actionCheckMediaDatabase">
|
||||||
@ -173,7 +173,7 @@
|
|||||||
<string>&Guide...</string>
|
<string>&Guide...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>F1</string>
|
<string notr="true">F1</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSwitchProfile">
|
<action name="actionSwitchProfile">
|
||||||
@ -181,7 +181,7 @@
|
|||||||
<string>&Switch Profile</string>
|
<string>&Switch Profile</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+P</string>
|
<string notr="true">Ctrl+Shift+P</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionExport">
|
<action name="actionExport">
|
||||||
@ -189,7 +189,7 @@
|
|||||||
<string>&Export...</string>
|
<string>&Export...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+E</string>
|
<string notr="true">Ctrl+E</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionImport">
|
<action name="actionImport">
|
||||||
@ -197,7 +197,7 @@
|
|||||||
<string>&Import...</string>
|
<string>&Import...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+I</string>
|
<string notr="true">Ctrl+Shift+I</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionStudyDeck">
|
<action name="actionStudyDeck">
|
||||||
@ -205,7 +205,7 @@
|
|||||||
<string>Study Deck...</string>
|
<string>Study Deck...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>/</string>
|
<string notr="true">/</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEmptyCards">
|
<action name="actionEmptyCards">
|
||||||
@ -218,7 +218,7 @@
|
|||||||
<string>Create Filtered Deck...</string>
|
<string>Create Filtered Deck...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>F</string>
|
<string notr="true">F</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionNoteTypes">
|
<action name="actionNoteTypes">
|
||||||
@ -226,7 +226,7 @@
|
|||||||
<string>Manage Note Types</string>
|
<string>Manage Note Types</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+N</string>
|
<string notr="true">Ctrl+Shift+N</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionAdd_ons">
|
<action name="actionAdd_ons">
|
||||||
@ -234,7 +234,7 @@
|
|||||||
<string>Add-ons</string>
|
<string>Add-ons</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+A</string>
|
<string notr="true">Ctrl+Shift+A</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user