diff --git a/CMakeLists.txt b/CMakeLists.txt
index 655138a..7a88b2a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(KF5 REQUIRED COMPONENTS
DBusAddons #KDBusService
)
-set(KDE_CDEMU_VERSION "0.6.1")
+set(KDE_CDEMU_VERSION "0.6.2")
add_subdirectory(src)
add_subdirectory(po)
diff --git a/ChangeLog.md b/ChangeLog.md
index 45be7e2..c0fc4b3 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -2,6 +2,12 @@
#===========================
#(C) 2009-2013 by Marcel Hasler
+## [0.6.2] - 2016-09-14
+- Russian translation by [Alexander Golikov](https://github.com/alexws54tk)
+- Fixed removing history items
+- No need to select device while using history, next free device will be taken
+- Updated *.po files for translators
+
## [0.6.1] - 2016-08-07
- Updated Spanish translation, by Gustavo Alvarez
- Moved container type images (dmg, cdr, cso, ecm, gz, gbi, daa, isz, xz) to another category in file chooser to avoid mess.
diff --git a/po/de.po b/po/de.po
index d43c8cd..57bbba5 100644
--- a/po/de.po
+++ b/po/de.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: mahasler@gmail.com\n"
-"POT-Creation-Date: 2013-01-12 23:09+0100\n"
+"POT-Creation-Date: 2016-09-14 22:49+0600\n"
"PO-Revision-Date: 2013-01-12 23:09+0100\n"
"Last-Translator: Marcel Hasler\n"
"Language-Team: German
Recently used images - click to mount
" +msgstr "" + +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "Datei" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "Abbild auswählen" +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "Gerät" + +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "..." - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "Einbinden" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "Aushängen" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +#, fuzzy +msgid "Add Device" +msgstr "Gerät" + +#: build/src/ui_mainwindow.h:138 +#, fuzzy +msgid "Remove Device" +msgstr "Gerät" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Marcel Hasler" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "mahasler@gmail.com" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "Eine KDE Oberfläche für CDEmu" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Copyright (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "Entwickler & Maintainer" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "Ein Abbild einbinden" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "Ein Abbild aushängen" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "Informationen über Geräte anzeigen" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "CDEmu-Daemon läuft." -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "CDEmu-Daemon läuft nicht." -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "Bitte wählen Sie zuerst eine Datei aus." +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "Bitte wählen Sie zuerst ein Gerät aus." -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "Fehler" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "Bitte wählen Sie zuerst ein Gerät aus." +#: src/mainwindow.cpp:169 +#, fuzzy +msgid "Select image file" +msgstr "Abbild auswählen" + +#: src/mainwindow.cpp:209 +#, fuzzy +msgid "All devices are busy." +msgstr "Alle virtuellen Geräte sind belegt." -#: src/messagebox.cpp:33 +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "Alles OK." -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 msgid "The selected virtual device is in use." msgstr "Das ausgewählte virtuelle Gerät ist belegt." -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "Das ausgewählte virtuelle Gerät ist nicht verfügbar." -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 msgid "All virtual devices are in use." msgstr "Alle virtuellen Geräte sind belegt." -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 msgid "The file doesn't exist." msgstr "Die Datei existiert nicht." -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "Es kann keine Verbindung zum CDEmu-Daemon hergestellt werden." -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 msgid "An unknown error occured." msgstr "Ein unbekannter Fehler ist aufgetreten." +#~ msgid "..." +#~ msgstr "..." + +#~ msgid "Mount" +#~ msgstr "Einbinden" + +#~ msgid "Please select a file first." +#~ msgstr "Bitte wählen Sie zuerst eine Datei aus." + #~ msgid "Drive" #~ msgstr "Laufwerk" diff --git a/po/es.po b/po/es.po index 0840142..8bd45e9 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: mahasler@gmail.com\n" -"POT-Creation-Date: 2013-01-12 23:09+0100\n" +"POT-Creation-Date: 2016-09-14 22:49+0600\n" "PO-Revision-Date: 2016-08-07 00:22+0100\n" "Last-Translator: Gustavo AlvarezRecently used images - click to mount
" +msgstr "" + +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "Archivo" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "Seleccione imagen" +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "Dispositivo" + +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "..." - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "Montar" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "Desmontar" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +#, fuzzy +msgid "Add Device" +msgstr "Dispositivo" + +#: build/src/ui_mainwindow.h:138 +#, fuzzy +msgid "Remove Device" +msgstr "Dispositivo" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Gustavo Alvarez" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "sl1pkn07@gmail.com" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "Entorno gráfico KDE de CDEmu" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Copyright (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "Desarrollo & Mantenimiento" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "Montar una imagen" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "Desmontar una imagen" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "Mostrar información acerca de los dispositivos" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "El demonio CDEmu se está ejecutando." -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "El Demonio CDEmu no se está ejecutando." -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "Por favor seleccione un archivo primero." +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "Por favor, seleccione una unidad primero." -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "Error" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "Por favor, seleccione una unidad primero." +#: src/mainwindow.cpp:169 +#, fuzzy +msgid "Select image file" +msgstr "Seleccione imagen" + +#: src/mainwindow.cpp:209 +#, fuzzy +msgid "All devices are busy." +msgstr "Todas las unidades están en uso." -#: src/messagebox.cpp:33 +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "Todo OK." -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 msgid "The selected virtual device is in use." msgstr "La unidad virtual está en uso." -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "La unidad seleccionada no está disponible." -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 msgid "All virtual devices are in use." msgstr "Todas las unidades están en uso." -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 msgid "The file doesn't exist." msgstr "El archivo no existe." -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "Imposible conectar con el demonio CDEmu." -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 msgid "An unknown error occured." msgstr "Ha ocurrido un error desconocido." +#~ msgid "..." +#~ msgstr "..." + +#~ msgid "Mount" +#~ msgstr "Montar" + +#~ msgid "Please select a file first." +#~ msgstr "Por favor seleccione un archivo primero." + #~ msgid "Drive" #~ msgstr "Unidad" diff --git a/po/kde_cdemu.pot b/po/kde_cdemu.pot index c2e3244..068bc90 100644 --- a/po/kde_cdemu.pot +++ b/po/kde_cdemu.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: mahasler@gmail.com\n" -"POT-Creation-Date: 2013-01-12 23:09+0100\n" +"POT-Creation-Date: 2016-09-14 22:49+0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAMERecently used images - click to mount
" msgstr "" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 +msgid "File" msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." +#: build/src/ui_mainwindow.h:129 +msgid "Device" msgstr "" -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" msgstr "" -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +msgid "Add Device" +msgstr "" + +#: build/src/ui_mainwindow.h:138 +msgid "Remove Device" +msgstr "" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "" -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "" -#: src/mainwindow.cpp:121 -msgid "Please select a file first." +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." msgstr "" -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." +#: src/mainwindow.cpp:169 +msgid "Select image file" +msgstr "" + +#: src/mainwindow.cpp:209 +msgid "All devices are busy." msgstr "" -#: src/messagebox.cpp:33 +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "" -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 msgid "The selected virtual device is in use." msgstr "" -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "" -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 msgid "All virtual devices are in use." msgstr "" -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 msgid "The file doesn't exist." msgstr "" -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "" -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 msgid "An unknown error occured." msgstr "" diff --git a/po/messages.sh b/po/messages.sh old mode 100644 new mode 100755 diff --git a/po/pl.po b/po/pl.po index c9e1f98..042f5ca 100644 --- a/po/pl.po +++ b/po/pl.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: mahasler@gmail.com\n" -"POT-Creation-Date: 2013-01-12 23:09+0100\n" +"POT-Creation-Date: 2016-09-14 22:49+0600\n" "PO-Revision-Date: 2013-01-12 23:10+0100\n" "Last-Translator: Marcel Hasler\n" "Language-Team: PolishRecently used images - click to mount
" msgstr "" -#. i18n: file: src/mainwindow.ui:63 -#. i18n: ectx: property (text), widget (QTreeWidget, DeviceList) -#: po/rc.cpp:9 src/mainwindow.cpp:58 rc.cpp:9 +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "Plik" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "Wybierz obraz płyty" +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "..." - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "Zamontuj" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" + +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "Odmontuj" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +msgid "Add Device" +msgstr "" + +#: build/src/ui_mainwindow.h:138 +msgid "Remove Device" +msgstr "" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Maciej Warnecki" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "maciekw5@gmail.com" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "Graficzny program zarządzający CDEmu dla KDE" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Prawa autorskie (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "Twórca i programista" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "Zamontuj obraz płyty" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "Odmontuj obraz płyty" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "Pokaż informacje o urządzeniach" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "Usługa CDEmu jest uruchomiona." -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "Usługa CDEmu nie jest uruchomiona." -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "Proszę najpierw wybrać plik." +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "Proszę najpierw wybrać napęd." -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "Błąd" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "Proszę najpierw wybrać napęd." +#: src/mainwindow.cpp:169 +#, fuzzy +msgid "Select image file" +msgstr "Wybierz obraz płyty" + +#: src/mainwindow.cpp:209 +#, fuzzy +msgid "All devices are busy." +msgstr "" +"Nie można zamontować obrazu płyty!\n" +"Wszystkie wirtualne napędy są obecnie w użyciu." -#: src/messagebox.cpp:33 +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "" -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 #, fuzzy msgid "The selected virtual device is in use." msgstr "" "Nie można zamontować obrazu płyty!\n" "Wszystkie wirtualne napędy są obecnie w użyciu." -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "" -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 #, fuzzy msgid "All virtual devices are in use." msgstr "" "Nie można zamontować obrazu płyty!\n" "Wszystkie wirtualne napędy są obecnie w użyciu." -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 #, fuzzy msgid "The file doesn't exist." msgstr "Nie można zamontować obrazu płyty! Plik obrazu nie istnieje." -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "" -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 #, fuzzy msgid "An unknown error occured." msgstr "Nie można zamontować obrazu płyty! Wystąpił nieznany błąd." +#~ msgid "..." +#~ msgstr "..." + +#~ msgid "Mount" +#~ msgstr "Zamontuj" + +#~ msgid "Please select a file first." +#~ msgstr "Proszę najpierw wybrać plik." + #~ msgid "Drive" #~ msgstr "Napęd" diff --git a/po/ro.po b/po/ro.po index 4686710..f36240c 100644 --- a/po/ro.po +++ b/po/ro.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: ro\n" "Report-Msgid-Bugs-To: mahasler@gmail.com\n" -"POT-Creation-Date: 2013-01-12 23:09+0100\n" +"POT-Creation-Date: 2016-09-14 22:49+0600\n" "PO-Revision-Date: 2013-01-12 23:10+0100\n" "Last-Translator: Marcel Hasler\n" "Language-Team: GermanRecently used images - click to mount
" msgstr "" -#. i18n: file: src/mainwindow.ui:63 -#. i18n: ectx: property (text), widget (QTreeWidget, DeviceList) -#: po/rc.cpp:9 src/mainwindow.cpp:58 rc.cpp:9 +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "Fişier" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "Selectează imaginea." +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "..." - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "Montează" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" + +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "Demontează" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +msgid "Add Device" +msgstr "" + +#: build/src/ui_mainwindow.h:138 +msgid "Remove Device" +msgstr "" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Tudor Mihu" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "tudor@tlnet.eu" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "O interfaţă KDE pt. CDEmu" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Copyright (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "Programator & Maintainer" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "Montează o imagine" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "Demontează o imagine" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "Arată informaţii despre unităţi" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "Daemon-ul CDEmu rulează" -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "Daemon-ul CDEmu nu rulează." -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "Te rog selectează un fişier prima dată" +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "Te rog selectează o unitate prima dată" -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "Eroare" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "Te rog selectează o unitate prima dată" +#: src/mainwindow.cpp:169 +#, fuzzy +msgid "Select image file" +msgstr "Selectează imaginea." -#: src/messagebox.cpp:33 +#: src/mainwindow.cpp:209 +#, fuzzy +msgid "All devices are busy." +msgstr "Nu am putut monta imaginea! Toate unităţile virtuale sunt folosite." + +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "" -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 #, fuzzy msgid "The selected virtual device is in use." msgstr "Nu am putut monta imaginea! Toate unităţile virtuale sunt folosite." -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "" -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 #, fuzzy msgid "All virtual devices are in use." msgstr "Nu am putut monta imaginea! Toate unităţile virtuale sunt folosite." -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 #, fuzzy msgid "The file doesn't exist." msgstr "Nu am putut monta imaginea! Fişierul nu există." -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "" -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 #, fuzzy msgid "An unknown error occured." msgstr "Nu am putut monta imaginea! S-a produs o eroare necunoscută." +#~ msgid "..." +#~ msgstr "..." + +#~ msgid "Mount" +#~ msgstr "Montează" + +#~ msgid "Please select a file first." +#~ msgstr "Te rog selectează un fişier prima dată" + #~ msgid "Drive" #~ msgstr "Unitate" diff --git a/po/ru.po b/po/ru.po index 78bdf66..e47309c 100644 --- a/po/ru.po +++ b/po/ru.po @@ -2,147 +2,161 @@ # This file is distributed under the same license as the KDE-CDEmu package. # # Alexander GolikovRecently used images - click to mount
" +msgstr "" +"Ранее использовавшиеся образа - щелкните чтобы " +"смонтировать
" -#. i18n: file: src/mainwindow.ui:63 -#. i18n: ectx: property (text), widget (QTreeWidget, DeviceList) -#: po/rc.cpp:9 src/mainwindow.cpp:58 rc.cpp:9 +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "Файл" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "Выбрать образ" +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "Устройство" + +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" +"Список доступных устройств , для выбора образа " +"используйте двойной щелчок
" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "…" - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "Монтировать" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "Отмонтировать" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +msgid "Add Device" +msgstr "Добавить Устройство" + +#: build/src/ui_mainwindow.h:138 +msgid "Remove Device" +msgstr "Убрать Устройство" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Alexander Golikov" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "alex@ws54.tk" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "Интерфейс KDE для CDEmu" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Copyright (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "Developer & Maintainer" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "Подключить образ" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "Отключить образ" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "Показать ниформацию об устройствах" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "CDEmu демон запущен." -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "CDEmu демон не запущен." -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "Сначала выберите файл." +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "Сначала выберите устройство." -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "Ошибка" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "Сначала выберите устройство." +#: src/mainwindow.cpp:169 +msgid "Select image file" +msgstr "Выбрать образ" + +#: src/mainwindow.cpp:209 +msgid "All devices are busy." +msgstr "Все виртуальные приводы уже используются." -#: src/messagebox.cpp:33 +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "Всё Хорошо." -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 msgid "The selected virtual device is in use." msgstr "Выбранный виртуальный привод уже используется." -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "Выбранный виртуальный привод недоступен." -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 msgid "All virtual devices are in use." msgstr "Все виртуальные приводы уже используется." -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 msgid "The file doesn't exist." msgstr "Файл не сущуствует." -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "Не удается подключиться к демону CDEmu" -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 msgid "An unknown error occured." msgstr "Произошла неизвестная ошибка." + +#~ msgid "..." +#~ msgstr "…" + +#~ msgid "Mount" +#~ msgstr "Монтировать" + +#~ msgid "Please select a file first." +#~ msgstr "Сначала выберите файл." diff --git a/po/sv.po b/po/sv.po index 8bd3d5d..390dd71 100644 --- a/po/sv.po +++ b/po/sv.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: mahasler@gmail.com\n" -"POT-Creation-Date: 2013-01-12 23:09+0100\n" +"POT-Creation-Date: 2016-09-14 22:49+0600\n" "PO-Revision-Date: 2013-01-12 23:11+0100\n" "Last-Translator: Marcel Hasler\n" "Language-Team: SwedishRecently used images - click to mount
" msgstr "" -#. i18n: file: src/mainwindow.ui:63 -#. i18n: ectx: property (text), widget (QTreeWidget, DeviceList) -#: po/rc.cpp:9 src/mainwindow.cpp:58 rc.cpp:9 +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "Fil" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "Välj Avbild" +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "..." - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "Montera" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" + +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "Avmontera" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +msgid "Add Device" +msgstr "" + +#: build/src/ui_mainwindow.h:138 +msgid "Remove Device" +msgstr "" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Dyrver Eriksson" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "dyrver.eriksson@gmail.com" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "En KDE framände till CDEmu" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Copyright (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "Utvecklare & Underhållare" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "Montera en avbild" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "Avmontera en avbild" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "Visa information om enheter" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "CDEmu bakgrundsprogram körs." -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "CDEmu bakgrundsprogram körs inte." -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "Var god välj en avbild först." +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "Var god välj en enhet först." -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "Fel" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "Var god välj en enhet först." +#: src/mainwindow.cpp:169 +#, fuzzy +msgid "Select image file" +msgstr "Välj Avbild" -#: src/messagebox.cpp:33 +#: src/mainwindow.cpp:209 +#, fuzzy +msgid "All devices are busy." +msgstr "Kunde inte montera en avbild! Alla virtuella enheter är upptagna." + +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "" -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 #, fuzzy msgid "The selected virtual device is in use." msgstr "Kunde inte montera en avbild! Alla virtuella enheter är upptagna." -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "" -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 #, fuzzy msgid "All virtual devices are in use." msgstr "Kunde inte montera en avbild! Alla virtuella enheter är upptagna." -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 #, fuzzy msgid "The file doesn't exist." msgstr "Kunde inte montera avbild! Filen existerar inte." -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "" -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 #, fuzzy msgid "An unknown error occured." msgstr "Kunde inte montera avbild! Ett okänt fel uppstod." +#~ msgid "..." +#~ msgstr "..." + +#~ msgid "Mount" +#~ msgstr "Montera" + +#~ msgid "Please select a file first." +#~ msgstr "Var god välj en avbild först." + #~ msgid "Drive" #~ msgstr "Enhet" diff --git a/po/zh_CN.po b/po/zh_CN.po index 97c8d95..466633f 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: mahasler@gmail.com\n" -"POT-Creation-Date: 2013-01-12 23:09+0100\n" +"POT-Creation-Date: 2016-09-14 22:49+0600\n" "PO-Revision-Date: 2013-01-12 23:09+0100\n" "Last-Translator: Lin ZiyunRecently used images - click to mount
" +msgstr "" + +#: build/src/ui_mainwindow.h:128 src/mainwindow.cpp:69 msgid "File" msgstr "文件" -#. i18n: file: src/mainwindow.ui:71 -#. i18n: ectx: property (title), widget (QGroupBox, SelectImageBox) -#: po/rc.cpp:12 rc.cpp:12 -msgid "Select image" -msgstr "选择镜像" +#: build/src/ui_mainwindow.h:129 +msgid "Device" +msgstr "设备" + +#: build/src/ui_mainwindow.h:131 build/src/ui_mainwindow.h:134 +msgid "" +"List of available devices , double click to select " +"image
" +msgstr "" -#. i18n: file: src/mainwindow.ui:80 -#. i18n: ectx: property (text), widget (KPushButton, SelectFileButton) -#: po/rc.cpp:15 rc.cpp:15 -msgid "..." -msgstr "..." - -#. i18n: file: src/mainwindow.ui:105 -#. i18n: ectx: property (text), widget (KPushButton, MountButton) -#: po/rc.cpp:18 rc.cpp:18 -msgid "Mount" -msgstr "挂载" - -#. i18n: file: src/mainwindow.ui:125 -#. i18n: ectx: property (text), widget (KPushButton, UnmountButton) -#: po/rc.cpp:21 rc.cpp:21 +#: build/src/ui_mainwindow.h:136 msgid "Unmount" msgstr "卸载" -#: po/rc.cpp:22 rc.cpp:22 +#: build/src/ui_mainwindow.h:137 +#, fuzzy +msgid "Add Device" +msgstr "设备" + +#: build/src/ui_mainwindow.h:138 +#, fuzzy +msgid "Remove Device" +msgstr "设备" + +#: po/rc.cpp:1 rc.cpp:1 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Lin Ziyun" -#: po/rc.cpp:23 rc.cpp:23 +#: po/rc.cpp:2 rc.cpp:2 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "ohmygod19993@gmail.com" -#: src/main.cpp:30 +#: src/main.cpp:50 msgid "A KDE Frontend to CDEmu" msgstr "CDEmu的KDE前端" -#: src/main.cpp:31 +#: src/main.cpp:52 msgid "Copyright (c) 2009-2013 Marcel Hasler" msgstr "Copyright (c) 2009-2013 Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Marcel Hasler" msgstr "Marcel Hasler" -#: src/main.cpp:32 +#: src/main.cpp:57 msgid "Developer & Maintainer" msgstr "开发者与维护者" -#: src/main.cpp:40 +#: src/main.cpp:66 msgid "Mount an image" msgstr "挂载一个镜像" -#: src/main.cpp:41 +#: src/main.cpp:67 msgid "Unmount an image" msgstr "卸载一个镜像" -#: src/main.cpp:42 +#: src/main.cpp:68 msgid "Show information about devices" msgstr "显示设备信息" -#: src/mainwindow.cpp:103 +#: src/mainwindow.cpp:114 msgid "CDEmu daemon running." msgstr "CDEmu守护进程正在运行。" -#: src/mainwindow.cpp:106 +#: src/mainwindow.cpp:117 msgid "CDEmu daemon not running." msgstr "CDEmu守护进程未运行。" -#: src/mainwindow.cpp:121 -msgid "Please select a file first." -msgstr "请先选择一个文件。" +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +msgid "Please select a device first." +msgstr "请先选择一个设备。" -#: src/mainwindow.cpp:121 src/mainwindow.cpp:128 src/mainwindow.cpp:145 -#: src/messagebox.cpp:65 +#: src/mainwindow.cpp:140 src/mainwindow.cpp:157 src/mainwindow.cpp:175 +#: src/mainwindow.cpp:209 src/messagebox.cpp:66 msgid "Error" msgstr "错误" -#: src/mainwindow.cpp:128 src/mainwindow.cpp:145 -msgid "Please select a device first." -msgstr "请先选择一个设备。" +#: src/mainwindow.cpp:169 +#, fuzzy +msgid "Select image file" +msgstr "选择镜像" + +#: src/mainwindow.cpp:209 +#, fuzzy +msgid "All devices are busy." +msgstr "所有虚拟设备均被占用。" -#: src/messagebox.cpp:33 +#: src/messagebox.cpp:34 msgid "Everything OK." msgstr "一切正常。" -#: src/messagebox.cpp:37 +#: src/messagebox.cpp:38 msgid "The selected virtual device is in use." msgstr "选中的设备被占用。" -#: src/messagebox.cpp:41 +#: src/messagebox.cpp:42 msgid "The selected virtual device is not available." msgstr "选中的设备不可用。" -#: src/messagebox.cpp:45 +#: src/messagebox.cpp:46 msgid "All virtual devices are in use." msgstr "所有虚拟设备均被占用。" -#: src/messagebox.cpp:49 +#: src/messagebox.cpp:50 msgid "The file doesn't exist." msgstr "文件不存在。" -#: src/messagebox.cpp:53 +#: src/messagebox.cpp:54 msgid "Unable to connect to the CDEmu daemon." msgstr "无法连接到CDEmu守护进程。" -#: src/messagebox.cpp:57 +#: src/messagebox.cpp:58 msgid "An unknown error occured." msgstr "未知错误。" + +#~ msgid "..." +#~ msgstr "..." + +#~ msgid "Mount" +#~ msgstr "挂载" + +#~ msgid "Please select a file first." +#~ msgstr "请先选择一个文件。" diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d02bcc9..506794b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -204,8 +204,11 @@ void MainWindow::slotHistoryClicked() int device = m_ui.deviceList->indexOfTopLevelItem(m_ui.deviceList->currentItem()); if (device < 0) { - KMessageBox::information(this, i18n("Please select a device first."), i18n("Error")); - return; + device = CDEmu::instance()->nextFreeDevice(); + if (device < 0) { + KMessageBox::information(this, i18n("All devices are busy."), i18n("Error")); + return; + } } int index = m_ui.historyList->currentRow(); @@ -230,6 +233,9 @@ void MainWindow::slotShowHistoryContextMenu(QPoint pos) { void MainWindow::slotRemoveFromHistory() { + QListWidgetItem *item = m_ui.historyList->takeItem(m_ui.historyList->currentRow()); + delete item; + QSettings settings("kde.org", "kde_cdemu"); settings.beginWriteArray("History"); for(int i = 0; i < m_ui.historyList->count(); ++i) {