b5b7f7ec50
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.
246 lines
6.5 KiB
XML
246 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>412</width>
|
|
<height>301</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Anki</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="icons.qrc">
|
|
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>412</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuHelp">
|
|
<property name="title">
|
|
<string>&Help</string>
|
|
</property>
|
|
<addaction name="actionDocumentation"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionDonate"/>
|
|
<addaction name="actionAbout"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuEdit">
|
|
<property name="title">
|
|
<string>&Edit</string>
|
|
</property>
|
|
<addaction name="actionUndo"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuCol">
|
|
<property name="title">
|
|
<string>&File</string>
|
|
</property>
|
|
<addaction name="actionSwitchProfile"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionImport"/>
|
|
<addaction name="actionExport"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionExit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuTools">
|
|
<property name="title">
|
|
<string>&Tools</string>
|
|
</property>
|
|
<addaction name="actionStudyDeck"/>
|
|
<addaction name="actionCreateFiltered"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFullDatabaseCheck"/>
|
|
<addaction name="actionCheckMediaDatabase"/>
|
|
<addaction name="actionEmptyCards"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionAdd_ons"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionNoteTypes"/>
|
|
<addaction name="actionPreferences"/>
|
|
</widget>
|
|
<addaction name="menuCol"/>
|
|
<addaction name="menuEdit"/>
|
|
<addaction name="menuTools"/>
|
|
<addaction name="menuHelp"/>
|
|
</widget>
|
|
<action name="actionExit">
|
|
<property name="text">
|
|
<string>E&xit</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Q</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPreferences">
|
|
<property name="text">
|
|
<string>&Preferences...</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Configure interface language and options</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+P</string>
|
|
</property>
|
|
<property name="menuRole">
|
|
<enum>QAction::PreferencesRole</enum>
|
|
</property>
|
|
</action>
|
|
<action name="actionAbout">
|
|
<property name="text">
|
|
<string>&About...</string>
|
|
</property>
|
|
<property name="menuRole">
|
|
<enum>QAction::AboutRole</enum>
|
|
</property>
|
|
</action>
|
|
<action name="actionUndo">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Undo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCheckMediaDatabase">
|
|
<property name="text">
|
|
<string>Check &Media...</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Check the files in the media directory</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOpenPluginFolder">
|
|
<property name="text">
|
|
<string>&Open Add-ons Folder...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDonate">
|
|
<property name="text">
|
|
<string>&Support Anki...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDownloadSharedPlugin">
|
|
<property name="text">
|
|
<string>&Browse and Install...</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string/>
|
|
</property>
|
|
</action>
|
|
<action name="actionFullDatabaseCheck">
|
|
<property name="text">
|
|
<string>&Check Database</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDocumentation">
|
|
<property name="text">
|
|
<string>&Guide...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">F1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSwitchProfile">
|
|
<property name="text">
|
|
<string>&Switch Profile</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport">
|
|
<property name="text">
|
|
<string>&Export...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+E</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImport">
|
|
<property name="text">
|
|
<string>&Import...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+I</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStudyDeck">
|
|
<property name="text">
|
|
<string>Study Deck...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">/</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEmptyCards">
|
|
<property name="text">
|
|
<string>Empty Cards...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCreateFiltered">
|
|
<property name="text">
|
|
<string>Create Filtered Deck...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">F</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNoteTypes">
|
|
<property name="text">
|
|
<string>Manage Note Types</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAdd_ons">
|
|
<property name="text">
|
|
<string>Add-ons</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string notr="true">Ctrl+Shift+A</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources>
|
|
<include location="icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|