From d415e3e1259d6e06d69614d1792afd12d660b0d4 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Thu, 17 Jun 2010 22:19:29 +0000 Subject: [PATCH] Include strings from macglobalshortcutbackend.mm in translations regardless of the host OS --- src/CMakeLists.txt | 10 +++++++++- src/translations/ar.po | 15 +++++++++++++++ src/translations/cs.po | 15 +++++++++++++++ src/translations/da.po | 15 +++++++++++++++ src/translations/de.po | 15 +++++++++++++++ src/translations/el.po | 15 +++++++++++++++ src/translations/en_CA.po | 15 +++++++++++++++ src/translations/en_GB.po | 15 +++++++++++++++ src/translations/es.po | 15 +++++++++++++++ src/translations/fi.po | 15 +++++++++++++++ src/translations/fr.po | 15 +++++++++++++++ src/translations/gl.po | 15 +++++++++++++++ src/translations/it.po | 15 +++++++++++++++ src/translations/kk.po | 15 +++++++++++++++ src/translations/nb.po | 15 +++++++++++++++ src/translations/oc.po | 15 +++++++++++++++ src/translations/pl.po | 15 +++++++++++++++ src/translations/pt.po | 15 +++++++++++++++ src/translations/pt_BR.po | 15 +++++++++++++++ src/translations/ro.po | 15 +++++++++++++++ src/translations/ru.po | 15 +++++++++++++++ src/translations/sk.po | 15 +++++++++++++++ src/translations/sv.po | 15 +++++++++++++++ src/translations/tr.po | 15 +++++++++++++++ src/translations/zh_CN.po | 15 +++++++++++++++ src/translations/zh_TW.po | 15 +++++++++++++++ 26 files changed, 384 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0c0fa0359..fc1d6889f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -367,6 +367,14 @@ else(APPLE) endif(WIN32) endif(APPLE) +list(APPEND OTHER_SOURCES + core/macglobalshortcutbackend.h + core/macglobalshortcutbackend.mm + widgets/osd_mac.mm + widgets/osd_win.cpp + widgets/osd_x11.cpp +) + # MPRIS - Linux specific if(NOT APPLE AND NOT WIN32) qt4_add_dbus_adaptor(SOURCES @@ -402,7 +410,7 @@ qt4_add_resources(QRC ${RESOURCES}) add_pot( ${CMAKE_CURRENT_SOURCE_DIR}/translations/header ${CMAKE_CURRENT_SOURCE_DIR}/translations/clementine.pot - ${SOURCES} ${MOC} ${UIC} + ${SOURCES} ${MOC} ${UIC} ${OTHER_SOURCES} ) add_po(PO clementine_ POT ${CMAKE_CURRENT_SOURCE_DIR}/translations/clementine.pot diff --git a/src/translations/ar.po b/src/translations/ar.po index b5e43973d..d15459cf8 100644 --- a/src/translations/ar.po +++ b/src/translations/ar.po @@ -1532,6 +1532,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Show section" #~ msgstr "اظهر القسم" diff --git a/src/translations/cs.po b/src/translations/cs.po index b34717379..4171e13a2 100644 --- a/src/translations/cs.po +++ b/src/translations/cs.po @@ -1536,6 +1536,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Choose manual cover..." #~ msgstr "Vybrat obal ručně..." diff --git a/src/translations/da.po b/src/translations/da.po index ef9d19af4..203bcd2dd 100644 --- a/src/translations/da.po +++ b/src/translations/da.po @@ -1539,6 +1539,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Choose manual cover..." #~ msgstr "Vælg omslag manuelt..." diff --git a/src/translations/de.po b/src/translations/de.po index 55224f986..0b0e804ea 100644 --- a/src/translations/de.po +++ b/src/translations/de.po @@ -1540,6 +1540,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Musik (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/el.po b/src/translations/el.po index 64c18355d..ab34de66a 100644 --- a/src/translations/el.po +++ b/src/translations/el.po @@ -1542,6 +1542,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Μουσική (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/en_CA.po b/src/translations/en_CA.po index d02456a99..80300106a 100644 --- a/src/translations/en_CA.po +++ b/src/translations/en_CA.po @@ -1537,6 +1537,21 @@ msgstr "" msgid "Delay between visualizations" msgstr "Delay between visualisations" +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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/en_GB.po b/src/translations/en_GB.po index 2bc95ad2f..618761868 100644 --- a/src/translations/en_GB.po +++ b/src/translations/en_GB.po @@ -1534,6 +1534,21 @@ msgstr "" msgid "Delay between visualizations" msgstr "Delay between visualisations" +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 "Choose manual cover..." #~ msgstr "Choose manual cover..." diff --git a/src/translations/es.po b/src/translations/es.po index 699db8492..077d05383 100644 --- a/src/translations/es.po +++ b/src/translations/es.po @@ -1548,6 +1548,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Música (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/fi.po b/src/translations/fi.po index 26fb76a2e..6e12072a4 100644 --- a/src/translations/fi.po +++ b/src/translations/fi.po @@ -1531,3 +1531,18 @@ msgstr "" msgid "Delay between visualizations" 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 "" diff --git a/src/translations/fr.po b/src/translations/fr.po index 3b949524b..fe3d5ce7e 100644 --- a/src/translations/fr.po +++ b/src/translations/fr.po @@ -1544,6 +1544,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Choose manual cover..." #~ msgstr "Choisir une jaquette manuellement..." diff --git a/src/translations/gl.po b/src/translations/gl.po index e2b02c746..876f75830 100644 --- a/src/translations/gl.po +++ b/src/translations/gl.po @@ -1534,5 +1534,20 @@ msgstr "" msgid "Delay between visualizations" 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 "Show section" #~ msgstr "Mostrar a seczón" diff --git a/src/translations/it.po b/src/translations/it.po index a212b2a65..ee8324a86 100644 --- a/src/translations/it.po +++ b/src/translations/it.po @@ -1545,6 +1545,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Musica (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/kk.po b/src/translations/kk.po index 48ed83d5a..7ecce03f7 100644 --- a/src/translations/kk.po +++ b/src/translations/kk.po @@ -1533,3 +1533,18 @@ msgstr "" msgid "Delay between visualizations" 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 "" diff --git a/src/translations/nb.po b/src/translations/nb.po index 559e65eda..993986de0 100644 --- a/src/translations/nb.po +++ b/src/translations/nb.po @@ -1536,6 +1536,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Choose manual cover..." #~ msgstr "Velg omslag manuelt..." diff --git a/src/translations/oc.po b/src/translations/oc.po index 650bdf041..f1378af87 100644 --- a/src/translations/oc.po +++ b/src/translations/oc.po @@ -1532,5 +1532,20 @@ msgstr "" msgid "Delay between visualizations" 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 "Options" #~ msgstr "Opcions" diff --git a/src/translations/pl.po b/src/translations/pl.po index 929428198..41562362b 100644 --- a/src/translations/pl.po +++ b/src/translations/pl.po @@ -1534,6 +1534,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Choose manual cover..." #~ msgstr "Wybierz okładkę ręcznie..." diff --git a/src/translations/pt.po b/src/translations/pt.po index 4d7798e2e..d2ec0dbea 100644 --- a/src/translations/pt.po +++ b/src/translations/pt.po @@ -1539,6 +1539,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Música (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/pt_BR.po b/src/translations/pt_BR.po index 35343b27c..d337f6b26 100644 --- a/src/translations/pt_BR.po +++ b/src/translations/pt_BR.po @@ -1542,6 +1542,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Música (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/ro.po b/src/translations/ro.po index 996583ace..7e2d1a3b7 100644 --- a/src/translations/ro.po +++ b/src/translations/ro.po @@ -1533,6 +1533,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Show section" #~ msgstr "Arată secțiune" diff --git a/src/translations/ru.po b/src/translations/ru.po index c027c2b4d..94ab81030 100644 --- a/src/translations/ru.po +++ b/src/translations/ru.po @@ -1539,6 +1539,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Композиции (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/sk.po b/src/translations/sk.po index fc0fc8799..0321b1b14 100644 --- a/src/translations/sk.po +++ b/src/translations/sk.po @@ -1539,6 +1539,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Hudba (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/sv.po b/src/translations/sv.po index 9856424e0..6c3a67531 100644 --- a/src/translations/sv.po +++ b/src/translations/sv.po @@ -1539,6 +1539,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Musik (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/tr.po b/src/translations/tr.po index da2236dce..0b8c8fba4 100644 --- a/src/translations/tr.po +++ b/src/translations/tr.po @@ -1532,6 +1532,21 @@ msgstr "" msgid "Delay between visualizations" 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 "Music (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" #~ msgstr "Müzik (*.mp3 *.ogg *.flac *.mpc *.m4a *.aac *.wma)" diff --git a/src/translations/zh_CN.po b/src/translations/zh_CN.po index 7393c3d68..dc0b830e2 100644 --- a/src/translations/zh_CN.po +++ b/src/translations/zh_CN.po @@ -1532,5 +1532,20 @@ msgstr "" msgid "Delay between visualizations" 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 "Options" #~ msgstr "选项" diff --git a/src/translations/zh_TW.po b/src/translations/zh_TW.po index a977bdd08..0a1b74277 100644 --- a/src/translations/zh_TW.po +++ b/src/translations/zh_TW.po @@ -1531,3 +1531,18 @@ msgstr "" msgid "Delay between visualizations" 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 ""