Add an (unimplemented) label and button to the global shortcut dialog for mac
This commit is contained in:
parent
a562190bbe
commit
3fd807df31
|
@ -110,3 +110,17 @@ void GlobalShortcuts::ReloadSettings() {
|
|||
else if (system_backend_)
|
||||
system_backend_->Register();
|
||||
}
|
||||
|
||||
bool GlobalShortcuts::IsMacAccessibilityEnabled() const {
|
||||
#ifdef Q_OS_MAC
|
||||
return static_cast<MacGlobalShortcutBackend*>(system_backend_)->IsAccessibilityEnabled();
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
void GlobalShortcuts::ShowMacAccessibilityDialog() {
|
||||
#ifdef Q_OS_MAC
|
||||
static_cast<MacGlobalShortcutBackend*>(system_backend_)->ShowAccessibilityDialog();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -42,11 +42,13 @@ public:
|
|||
|
||||
QMap<QString, Shortcut> shortcuts() const { return shortcuts_; }
|
||||
bool IsGsdAvailable() const;
|
||||
bool IsMacAccessibilityEnabled() const;
|
||||
|
||||
void MacMediaKeyPressed(const QString& key);
|
||||
|
||||
public slots:
|
||||
void ReloadSettings();
|
||||
void ShowMacAccessibilityDialog();
|
||||
|
||||
signals:
|
||||
void Play();
|
||||
|
|
|
@ -34,6 +34,9 @@ public:
|
|||
MacGlobalShortcutBackend(GlobalShortcuts* parent);
|
||||
virtual ~MacGlobalShortcutBackend();
|
||||
|
||||
bool IsAccessibilityEnabled() const { return false; }
|
||||
void ShowAccessibilityDialog() {}
|
||||
|
||||
void MacMediaKeyPressed(int key);
|
||||
|
||||
protected:
|
||||
|
|
|
@ -879,21 +879,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1205,6 +1190,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -881,21 +881,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Pokročilé řazení knihoven"
|
||||
|
||||
|
@ -1209,6 +1194,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr "Otevřít..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Zkratka"
|
||||
|
||||
|
|
|
@ -884,21 +884,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Avanceret bibliotektsgruppering"
|
||||
|
||||
|
@ -1212,6 +1197,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -883,21 +883,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Benutzerdefiniertes Gruppieren"
|
||||
|
||||
|
@ -1211,6 +1196,12 @@ msgstr "Gnome Tastenkürzel verwenden"
|
|||
msgid "Open..."
|
||||
msgstr "Öffnen..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Tastenkürzel"
|
||||
|
||||
|
|
|
@ -886,21 +886,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Προχωρημένη ομαδοποίηση βιβλιοθήκης"
|
||||
|
||||
|
@ -1215,6 +1200,12 @@ msgstr "Χρήση πλήκτρων συντόμευσης του Gnome"
|
|||
msgid "Open..."
|
||||
msgstr "Άνοιγμα..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Συντόμευση"
|
||||
|
||||
|
|
|
@ -883,21 +883,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Library advanced grouping"
|
||||
|
||||
|
@ -1210,6 +1195,12 @@ msgstr "Use Gnome's shortcut keys"
|
|||
msgid "Open..."
|
||||
msgstr "Open..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Shortcut"
|
||||
|
||||
|
|
|
@ -880,21 +880,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Library advanced grouping"
|
||||
|
||||
|
@ -1207,6 +1192,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -886,21 +886,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Agrupamiento avanzado de la colección"
|
||||
|
||||
|
@ -1219,6 +1204,12 @@ msgstr "Usar las combinaciones de teclas de Gnome"
|
|||
msgid "Open..."
|
||||
msgstr "Abrir..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Acceso rápido"
|
||||
|
||||
|
|
|
@ -879,21 +879,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1205,6 +1190,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -883,21 +883,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Groupement avancé de la bibliothèque"
|
||||
|
||||
|
@ -1215,6 +1200,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -881,21 +881,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1207,6 +1192,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -886,21 +886,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Raggruppamento avanzato della raccolta"
|
||||
|
||||
|
@ -1216,6 +1201,12 @@ msgstr "Utilizza le scorciatoie di Gnome"
|
|||
msgid "Open..."
|
||||
msgstr "Apri..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Scorciatoia"
|
||||
|
||||
|
|
|
@ -881,21 +881,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1207,6 +1192,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -881,21 +881,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Avansert biblioteksgruppering"
|
||||
|
||||
|
@ -1209,6 +1194,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -879,21 +879,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1205,6 +1190,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr "Dobrir..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Acorchi"
|
||||
|
||||
|
|
|
@ -881,21 +881,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Zaawansowanie grupowanie Biblioteki"
|
||||
|
||||
|
@ -1207,6 +1192,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -884,21 +884,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Agrupamento avançado da biblioteca"
|
||||
|
||||
|
@ -1211,6 +1196,12 @@ msgstr "Usar teclas de atalho Gnome"
|
|||
msgid "Open..."
|
||||
msgstr "Abrir..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Atalho"
|
||||
|
||||
|
|
|
@ -886,21 +886,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Organização avançada de biblioteca"
|
||||
|
||||
|
@ -1215,6 +1200,12 @@ msgstr "Usar teclas de atalho do Gnome"
|
|||
msgid "Open..."
|
||||
msgstr "Abrir..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Atalho"
|
||||
|
||||
|
|
|
@ -880,21 +880,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1206,6 +1191,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -884,21 +884,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Расширенная сортировка коллекции"
|
||||
|
||||
|
@ -1211,6 +1196,12 @@ msgstr "Использовать горячие клавиши Gnome"
|
|||
msgid "Open..."
|
||||
msgstr "Открыть..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Горячая клавиша"
|
||||
|
||||
|
|
|
@ -884,21 +884,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Pokročilé zoraďovanie zbierky"
|
||||
|
||||
|
@ -1212,6 +1197,12 @@ msgstr "Použiť klávesové skratky GNOME"
|
|||
msgid "Open..."
|
||||
msgstr "Otvoriť..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Skratka"
|
||||
|
||||
|
|
|
@ -882,21 +882,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr "Bibliotek avancerad gruppering"
|
||||
|
||||
|
@ -1212,6 +1197,12 @@ msgstr "Använd Gnomes genvägar"
|
|||
msgid "Open..."
|
||||
msgstr "Öppna..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Genväg"
|
||||
|
||||
|
|
|
@ -879,21 +879,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1205,6 +1190,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr "Aç..."
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr "Kısayol"
|
||||
|
||||
|
|
|
@ -879,21 +879,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1205,6 +1190,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -879,21 +879,6 @@ msgstr ""
|
|||
msgid "Select None"
|
||||
msgstr ""
|
||||
|
||||
msgid "Accessibility API required for global shortcuts"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Would you like to launch System Preferences so that you can turn on \"Enable "
|
||||
"access for assistive devices\"?\n"
|
||||
"This is required to use global shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Open System Preferences"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue anyway"
|
||||
msgstr ""
|
||||
|
||||
msgid "Library advanced grouping"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1205,6 +1190,12 @@ msgstr ""
|
|||
msgid "Open..."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"You need to launch System Preferences and turn on \"<span style=\" font-"
|
||||
"style:italic;\">Enable access for assistive devices</span>\" to use global "
|
||||
"shortcuts in Clementine."
|
||||
msgstr ""
|
||||
|
||||
msgid "Shortcut"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -41,6 +41,10 @@ GlobalShortcutsDialog::GlobalShortcutsDialog(GlobalShortcuts* manager,
|
|||
ui_->gnome_container->hide();
|
||||
}
|
||||
|
||||
if (manager->IsMacAccessibilityEnabled()) {
|
||||
ui_->mac_container->hide();
|
||||
}
|
||||
|
||||
settings_.beginGroup(GlobalShortcuts::kSettingsGroup);
|
||||
|
||||
foreach (const GlobalShortcuts::Shortcut& s, manager_->shortcuts().values()) {
|
||||
|
@ -63,6 +67,7 @@ GlobalShortcutsDialog::GlobalShortcutsDialog(GlobalShortcuts* manager,
|
|||
connect(ui_->radio_custom, SIGNAL(clicked()), SLOT(ChangeClicked()));
|
||||
connect(ui_->change, SIGNAL(clicked()), SLOT(ChangeClicked()));
|
||||
connect(ui_->gnome_open, SIGNAL(clicked()), SLOT(OpenGnomeKeybindingProperties()));
|
||||
connect(ui_->mac_open, SIGNAL(clicked()), manager_, SLOT(ShowMacAccessibilityDialog()));
|
||||
|
||||
ItemClicked(ui_->list->topLevelItem(0));
|
||||
}
|
||||
|
|
|
@ -47,6 +47,41 @@
|
|||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="mac_container" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="mac_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>You need to launch System Preferences and turn on "<span style=" font-style:italic;">Enable access for assistive devices</span>" to use global shortcuts in Clementine.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="mac_open">
|
||||
<property name="text">
|
||||
<string>Open...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTreeWidget" name="list">
|
||||
<property name="editTriggers">
|
||||
|
|
Loading…
Reference in New Issue