diff --git a/src/gui/partwidget.cpp b/src/gui/partwidget.cpp index c73a1e1..49b252f 100644 --- a/src/gui/partwidget.cpp +++ b/src/gui/partwidget.cpp @@ -30,7 +30,7 @@ @param parent pointer to the parent widget @param p pointer to the Partition this widget will show. must not be nullptr. */ -PartWidget::PartWidget(QWidget* parent, const Partition* p) : +PartWidget::PartWidget(QWidget* parent, Partition* p) : PartWidgetBase(parent), m_Partition(nullptr), m_Active(false) @@ -40,7 +40,7 @@ PartWidget::PartWidget(QWidget* parent, const Partition* p) : m_fileSystemColorCode = FileSystem::defaultColorCode; } -void PartWidget::init(const Partition* p) +void PartWidget::init(Partition* p) { m_Partition = p; diff --git a/src/gui/partwidget.h b/src/gui/partwidget.h index ee86f2d..452aa69 100644 --- a/src/gui/partwidget.h +++ b/src/gui/partwidget.h @@ -44,9 +44,9 @@ class LIBKPMCORE_EXPORT PartWidget : public PartWidgetBase Q_OBJECT public: - explicit PartWidget(QWidget* parent, const Partition* p = nullptr); + explicit PartWidget(QWidget* parent, Partition* p = nullptr); - void init(const Partition* p); + void init(Partition* p); void setActive(bool b) { m_Active = b; } @@ -55,6 +55,10 @@ public: } void updateChildren(); + Partition* partition() { + return m_Partition; /**< @return the widget's Partition */ + } + const Partition* partition() const { return m_Partition; /**< @return the widget's Partition */ } @@ -70,7 +74,7 @@ protected: void drawGradient(QPainter* painter, const QColor& color, const QRect& rect, bool active = false) const; private: - const Partition* m_Partition; + Partition* m_Partition; bool m_Active; std::array< QColor, FileSystem::__lastType > m_fileSystemColorCode; }; diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index fb5186f..a819359 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -15,7 +15,6 @@ ############################################ -install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}) #option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON) diff --git a/src/plugins/dummy/CMakeLists.txt b/src/plugins/dummy/CMakeLists.txt index e4895ff..f5b2a26 100644 --- a/src/plugins/dummy/CMakeLists.txt +++ b/src/plugins/dummy/CMakeLists.txt @@ -25,6 +25,3 @@ add_library(pmdummybackendplugin SHARED ${pmdummybackendplugin_SRCS}) target_link_libraries(pmdummybackendplugin kpmcore) install(TARGETS pmdummybackendplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}) -kcoreaddons_desktop_to_json(pmdummybackendplugin pmdummybackendplugin.desktop DEFAULT_SERVICE_TYPE) -install(FILES pmdummybackendplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}) - diff --git a/src/plugins/dummy/pmdummybackendplugin.desktop b/src/plugins/dummy/pmdummybackendplugin.desktop deleted file mode 100644 index 8d69fff..0000000 --- a/src/plugins/dummy/pmdummybackendplugin.desktop +++ /dev/null @@ -1,105 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=KDE Partition Manager Dummy Backend -Name[ar]=سند دمية ل‍«مدير كدي للأقسام» -Name[ast]=Backend maniquín del xestor KDE de particiones -Name[bg]=Празно ядро за управление на дялове в KDE -Name[bs]=Prazna pozadina za KDE‑ov menadžer particija -Name[ca]=Dorsal fals del gestor de particions del KDE -Name[ca@valencia]=Dorsal fals del gestor de particions del KDE -Name[cs]=Podpůrná vrstva pro správce diskových oddílů pro KDE -Name[da]=Attrap-backend til KDE partitionshåndtering -Name[de]=KDE-Partitionsverwaltung Dummy-Backend -Name[el]=Ψευδο-σύστημα υποστήριξης για τον διαχειριστή κατατμήσεων του KDE -Name[en_GB]=KDE Partition Manager Dummy Backend -Name[es]=Motor de prueba para el gestor de particiones de KDE -Name[et]=KDE partitsioonihalduri libataustaprogramm -Name[fi]=KDE:n osionhallinnan valetaustaosa -Name[fr]=Moteur de test pour le gestionnaire de partitions de KDE -Name[gl]=Infraestrutura de test do xestor de particións de KDE -Name[hu]=KDE partíciószerkesztő hamis háttérprogram -Name[id]=Backend Tiruan Manajer Partisi KDE -Name[it]=Motore fittizio del gestore delle partizioni di KDE -Name[ko]=KDE 파티션 관리자 더미 백엔드 -Name[lt]=KDE skaidinių tvarkyklės fiktyvi galinė sąsaja -Name[mr]=केडीई विभाजन व्यवस्थापक डमी बॅकएन्ड -Name[nb]=Attrapp-motor for KDE partisjonsbehandler -Name[nds]=Platzholler-Hülpprogramm för KDE-Partitschonenpleger -Name[nl]=Dummy backend van KDE-partitiebeheerder -Name[pa]=ਕੇਡੀਈ ਪਾਰਟੀਸ਼ਨ ਮੈਨੇਜਰ ਫ਼ਰਜ਼ੀ ਬੈਕਐਂਡ -Name[pl]=Fikcyjny silnik zarządzania partycjami -Name[pt]=Infra-Estrutura de Testes do Gestor de Partições do KDE -Name[pt_BR]=Infraestrutura de testes do gerenciador de partições do KDE -Name[ro]=Machetă de platformă pentru Gestionarul de partiții KDE -Name[ru]=Пустой механизм -Name[sk]=Testovací program v pozadí KDE Správcu partícií -Name[sl]=Preizkusno zaledje za upravljalnik razdelkov za KDE -Name[sr]=Лажна позадина за КДЕ‑ов менаџер партиција -Name[sr@ijekavian]=Лажна позадина за КДЕ‑ов менаџер партиција -Name[sr@ijekavianlatin]=Lažna pozadina za KDE‑ov menadžer particija -Name[sr@latin]=Lažna pozadina za KDE‑ov menadžer particija -Name[sv]=KDE:s partitionshanterare testbakgrundsprogram -Name[tr]=KDE Disk Bölümü Yöneticisi için Sahte Arka Uç -Name[ug]=KDE رايون باشقۇرغۇچ مەۋھۇم ئارقا ئۇچى -Name[uk]=Тестовий додаток сервера Керування розділами KDE -Name[x-test]=xxKDE Partition Manager Dummy Backendxx -Name[zh_CN]=KDE 分区管理器虚拟后端 -Name[zh_TW]=KDE 磁碟分割區管理員空白後端介面 -Comment=A KDE Partition Manager dummy backend for testing purposes. -Comment[ar]=سند دمية ل‍«مدير كدي للأقسام» لأغراض اختباريّة. -Comment[ast]=Un backend maniquín del xestor KDE de particiones pa propósitos de pruebes. -Comment[bg]=Празно тестово ядро за управление на дялове в KDE -Comment[bs]=Lažna pozadina za KDE‑ov menadžer particija, za probne namjene. -Comment[ca]=Un dorsal fals del gestor de particions del KDE amb la finalitat de fer proves. -Comment[ca@valencia]=Un dorsal fals del gestor de particions del KDE amb la finalitat de fer proves. -Comment[cs]=Falešná podpůrná vrstva pro správce diskových oddílů KDE pro testovací účely. -Comment[da]=En attrap-backend til KDE partitionshåndtering til testformål. -Comment[de]=Ein Dummy-Backend für die KDE-Partitionsverwaltung zu Testzwecken. -Comment[el]=Ψευδο-σύστημα υποστήριξης διαχειριστή κατατμήσεων του KDE για δοκιμές. -Comment[en_GB]=A KDE Partition Manager dummy backend for testing purposes. -Comment[es]=Un motor para el gestor de particiones de KDE con propósitos de prueba. -Comment[et]=KDE partitsioonihaldur libataustaprogramm testimiseks. -Comment[fi]=KDE:n osionhallinnan valetaustaosa testaustarkoituksiin -Comment[fr]=Un moteur de test pour le gestionnaire de partitions de KDE pour faire des essais. -Comment[gl]=Infraestrutura de test para o xestor de particións de KDE con fins de proba. -Comment[hu]=KDE partíciószerkesztő hamis háttérprogram a célok teszteléséhez. -Comment[id]=Sebuah backend tiruan Manajer Partisi KDE untuk tujuan pengujian. -Comment[it]=Motore fittizio del gestore delle partizioni di KDE per scopi di prova. -Comment[ko]=테스트를 위한 KDE 파티션 관리자 더미 백엔드입니다. -Comment[lt]=KDE skaidinių tvarkyklės fiktyvi galinė sąsaja testavimo tikslais. -Comment[mr]=चाचणी करिता केडीई विभाजन व्यवस्थापक डमी बॅकएन्ड. -Comment[nb]=KDE partisjonsbehandler, attrapp bakgrunnsmotor for testing. -Comment[nds]=En Platzholler-Hülpprogramm för KDE-Partitschonenpleger, testwies -Comment[nl]=Dummy backend van KDE-partitiebeheerder voor testdoeleinden -Comment[pa]=ਟੈਸਟ ਕਰਨ ਲਈ KDE ਪਾਰਟੀਸ਼ਨ ਮੈਨੇਜਰ ਫ਼ਰਜ਼ੀ ਬੈਕਐਂਡ -Comment[pl]=Fikcyjny silnik zarządzania partycjami do prób. -Comment[pt]=Uma infra-estrutura de testes do Gestor de Partições do KDE. -Comment[pt_BR]=Uma infraestrutura de testes do gerenciador de partições do KDE. -Comment[ro]=Machetă de platformă pentru Gestionarul de partiții KDE, destinată testelor. -Comment[ru]=Проверочный механизм для диспетчера разделов для KDE. -Comment[sk]=Testovací program v pozadí KDE Správcu partícií -Comment[sl]=Preizkusno zaledje za upravljalnik razdelkov za KDE, ki je namenjeno preizkušanju. -Comment[sr]=Лажна позадина за КДЕ‑ов менаџер партиција, за пробне намене. -Comment[sr@ijekavian]=Лажна позадина за КДЕ‑ов менаџер партиција, за пробне намјене. -Comment[sr@ijekavianlatin]=Lažna pozadina za KDE‑ov menadžer particija, za probne namjene. -Comment[sr@latin]=Lažna pozadina za KDE‑ov menadžer particija, za probne namene. -Comment[sv]=Ett bakgrundsprogram för KDE:s partitionshanterare i testsyfte. -Comment[tr]=KDE Disk Bölümü Yöneticisi için Sahte Test Arka Ucu -Comment[ug]=سىناشقا ئىشلىتىدىغان KDE رايون باشقۇرغۇچنىڭ مەۋھۇم ئارقا ئۇچى -Comment[uk]=Тестовий додаток сервера Керування розділами KDE. -Comment[x-test]=xxA KDE Partition Manager dummy backend for testing purposes.xx -Comment[zh_CN]=测试用的 KDE 分区管理器的虚拟后端 -Comment[zh_TW]=KDE 磁碟分割區管理員空白後端介面,測試用 -Type=Service -ServiceTypes=PartitionManager/Plugin -Icon=preferences-plugin - -X-KDE-Library=pmdummybackendplugin -X-KDE-PluginInfo-Name=pmdummybackendplugin -X-KDE-PluginInfo-Author=Volker Lanz -X-KDE-PluginInfo-Email=vl@fidra.de -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-Category=BackendPlugin -X-KDE-PluginInfo-EnabledByDefault=true -X-KDE-PluginInfo-Version=1 -X-KDE-PluginInfo-Website=http://www.partitionmanager.org diff --git a/src/plugins/dummy/pmdummybackendplugin.json b/src/plugins/dummy/pmdummybackendplugin.json new file mode 100644 index 0000000..c230985 --- /dev/null +++ b/src/plugins/dummy/pmdummybackendplugin.json @@ -0,0 +1,46 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "vl@fidra.de", + "Name": "Volker Lanz", + "Name[x-test]": "xxVolker Lanzxx" + } + ], + "Category": "BackendPlugin", + "Description": "A KDE Partition Manager dummy backend for testing purposes.", + "Description[ca@valencia]": "Un dorsal fals del gestor de particions del KDE amb la finalitat de fer proves.", + "Description[ca]": "Un dorsal fals del gestor de particions del KDE amb la finalitat de fer proves.", + "Description[de]": "Ein Dummy-Backend für die KDE-Partitionsverwaltung zu Testzwecken.", + "Description[nl]": "Dummy backend van KDE-partitiebeheerder voor testdoeleinden", + "Description[pt]": "Uma infra-estrutura de testes para o Gestor de Partições do KDE.", + "Description[sk]": "Testovací program v pozadí KDE Správcu partícií", + "Description[sv]": "Ett bakgrundsprogram till KDE:s partitionshanterare i testsyfte.", + "Description[uk]": "Тестовий додаток сервера Керування розділами KDE.", + "Description[x-test]": "xxA KDE Partition Manager dummy backend for testing purposes.xx", + "EnabledByDefault": true, + "Icon": "preferences-plugin", + "Id": "pmdummybackendplugin", + "License": "GPL", + "Name": "KDE Partition Manager Dummy Backend", + "Name[ca@valencia]": "Dorsal fals del gestor de particions del KDE", + "Name[ca]": "Dorsal fals del gestor de particions del KDE", + "Name[de]": "KDE-Partitionsverwaltung Dummy-Backend", + "Name[fi]": "KDE:n osionhallinnan valetaustaosa", + "Name[fr]": "Moteur de test pour le gestionnaire de partitions de KDE", + "Name[id]": "Backend Tiruan Pengelola Partisi KDE", + "Name[it]": "Motore fittizio del gestore delle partizioni di KDE", + "Name[nb]": "Attrapp-motor for KDE partisjonsbehandler", + "Name[nl]": "Dummy backend van KDE-partitiebeheerder", + "Name[pt]": "Infra-Estrutura de Testes para o Gestor de Partições do KDE", + "Name[sk]": "Testovací program v pozadí KDE Správcu partícií", + "Name[sv]": "KDE:s partitionshanterare bakgrundsprogram för test", + "Name[uk]": "Тестовий додаток сервера Керування розділами KDE", + "Name[x-test]": "xxKDE Partition Manager Dummy Backendxx", + "ServiceTypes": [ + "PartitionManager/Plugin" + ], + "Version": "1", + "Website": "http://www.partitionmanager.org" + } +} diff --git a/src/plugins/libparted/CMakeLists.txt b/src/plugins/libparted/CMakeLists.txt index 6e21439..abe9d81 100644 --- a/src/plugins/libparted/CMakeLists.txt +++ b/src/plugins/libparted/CMakeLists.txt @@ -37,5 +37,3 @@ add_library(pmlibpartedbackendplugin SHARED ${pmlibpartedbackendplugin_SRCS}) target_link_libraries(pmlibpartedbackendplugin kpmcore ${LIBPARTED_LIBS} KF5::I18n) install(TARGETS pmlibpartedbackendplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}) -kcoreaddons_desktop_to_json(pmlibpartedbackendplugin pmlibpartedbackendplugin.desktop DEFAULT_SERVICE_TYPE) -install(FILES pmlibpartedbackendplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}) diff --git a/src/plugins/libparted/pmlibpartedbackendplugin.desktop b/src/plugins/libparted/pmlibpartedbackendplugin.desktop deleted file mode 100644 index 0ef89a8..0000000 --- a/src/plugins/libparted/pmlibpartedbackendplugin.desktop +++ /dev/null @@ -1,105 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=KDE Partition Manager LibParted Backend -Name[ar]=سند LibParted ل‍«مدير كدي للأقسام» -Name[ast]=Backend LibParted del xestor KDE de particiones -Name[bg]=Ядро LibParted за управление на дялове в KDE -Name[bs]=LibParted pozadina za KDE‑ov menadžer particija -Name[ca]=Dorsal pel LibParted del gestor de particions del KDE -Name[ca@valencia]=Dorsal pel LibParted del gestor de particions del KDE -Name[cs]=Podpůrná vrstva LibParted pro správce diskových oddílů pro KDE -Name[da]=LibParted-backend til KDE partitionshåndtering -Name[de]=KDE-Partitionsverwaltung LibParted-Backend -Name[el]=Σύστημα υποστήριξης LibParted για τον διαχειριστή κατατμήσεων του KDE -Name[en_GB]=KDE Partition Manager LibParted Backend -Name[es]=Motor LibParted para el gestor de particiones de KDE -Name[et]=KDE partitsioonihalduri LibPartedi taustaprogramm -Name[fi]=KDE:n osionhallinnan LibParted-taustaosa -Name[fr]=Moteur LibParted pour le gestionnaire de partitions de KDE -Name[gl]=Infraestrutura LibParted para o xestor de particións de KDE -Name[hu]=KDE partíciószerkesztő LibParted háttérprogram -Name[id]=Backend LibParted Manajer Parisi KDE -Name[it]=Motore LibParted del gestore delle partizioni di KDE -Name[ko]=KDE 파티션 관리자 LibParted 백엔드 -Name[lt]=KDE skaidinių tvarkyklės LibParted galinė sąsaja -Name[mr]=केडीई विभाजन व्यवस्थापक लिबपार्टेड बॅकएन्ड -Name[nb]=KDE partisjonsbehandler, bakgrunnsmotor for libparted -Name[nds]=LibParted-Hülpprogramm för KDE-Partitschonenpleger -Name[nl]=KDE-partitiebeheerder LibParted-backend -Name[pa]=ਕੇਡੀਈ ਪਾਰਟੀਸ਼ਨ ਮੈਨੇਜਰ LibParted ਬੈਕਐਂਡ -Name[pl]=Silnik LibParted zarządzania partycjami -Name[pt]=Infra-Estrutura da LibParted para o Gestor de Partições do KDE -Name[pt_BR]=Infraestrutura LibParted do gerenciador de partições do KDE -Name[ro]=Platformă LibParted pentru Gestionarul de partiții KDE -Name[ru]=Механизм LibParted -Name[sk]=LibParted - program v pozadí pre KDE Správcu partícií -Name[sl]=Zaledje LibParted za upravljalnik razdelkov za KDE -Name[sr]=Позадина Либпартеда за КДЕ‑ов менаџер партиција -Name[sr@ijekavian]=Позадина Либпартеда за КДЕ‑ов менаџер партиција -Name[sr@ijekavianlatin]=Pozadina LibParteda za KDE‑ov menadžer particija -Name[sr@latin]=Pozadina LibParteda za KDE‑ov menadžer particija -Name[sv]=KDE:s partitionshanterare LibParted bakgrundsprogram -Name[tr]=KDE Disk Bölümü Yöneticisi LibParted arka ucu -Name[ug]=KDE رايون باشقۇرغۇچنىڭ LibParted ئارقا ئۇچى -Name[uk]=Сервер LibParted Керування розділами KDE -Name[x-test]=xxKDE Partition Manager LibParted Backendxx -Name[zh_CN]=KDE 分区管理器 LibParted 后端 -Name[zh_TW]=KDE 磁碟分割區管理員 LibParted 後端介面 -Comment=The LibParted backend for KDE Partition Manager -Comment[ar]=سند LibParted ل‍«مدير كدي للأقسام» -Comment[ast]=El backend LibParted pal xestor KDE de particiones -Comment[bg]=Ядро LibParted за управление на дялове в KDE -Comment[bs]=Pozadina Libparteda za KDE‑ov menadžer particija -Comment[ca]=Un dorsal pel LibParted del gestor de particions del KDE -Comment[ca@valencia]=Un dorsal pel LibParted del gestor de particions del KDE -Comment[cs]=Podpůrná vrstva LibParted pro správce diskových oddílů pro KDE -Comment[da]=LibParted-backend til KDE partitionshåndtering -Comment[de]=Das LibParted-Backend für die KDE-Partitionsverwaltung -Comment[el]=Το σύστημα υποστήριξης LibParted για τον διαχειριστή κατατμήσεων του KDE -Comment[en_GB]=The LibParted backend for KDE Partition Manager -Comment[es]=El motor LibParted para el gestor de particiones de KDE -Comment[et]=KDE partitsioonihalduri LibPartedi taustaprogramm -Comment[fi]=KDE:n osionhallinnan LibParted-taustaosa -Comment[fr]=Le moteur LibParted pour le gestionnaire de partitions de KDE -Comment[gl]=A infraestrutura LibParted para o xestor de particións de KDE -Comment[hu]=LibParted háttérprogram a KDE partíciószerkesztőhöz -Comment[id]=Backend LibParted untuk Manajer Partisi KDE -Comment[it]=Il motore LibParted del gestore delle partizioni di KDE -Comment[ko]=KDE 파티션 관리자를 위한 LibParted 백엔드 -Comment[lt]=LibParted galinė sąsaja KDE skaidinių tvarkyklei -Comment[mr]=केडीई विभाजन व्यवस्थापक करिता लिबपार्टेड बॅकएन्ड -Comment[nb]=LibParted bakgrunnsmogtoren for KDE partisjonsbehandler. -Comment[nds]=Dat LibParted-Hülpprogramm för KDE-Partitschonenpleger -Comment[nl]=De LibParted-backend voor de KDE-partitiebeheerder -Comment[pa]=ਕੇਡੀਈ ਪਾਰਟੀਸ਼ਨ ਮੈਨੇਜਰ ਲਈ LibParted ਬੈਕਐਂਡ -Comment[pl]=Silnik LibParted dla zarządzania partycjami -Comment[pt]=A infra-estrutura da LibParted para o Gestor de Partições do KDE -Comment[pt_BR]=Uma infraestrutura LibParted para o gerenciador de partições do KDE -Comment[ro]=Platforma LibParted pentru Gestionarul de partiții KDE -Comment[ru]=Механизм LibParted для диспетчера разделов для KDE -Comment[sk]=LibParted - program v pozadí pre KDE Správcu partícií -Comment[sl]=Zaledje LibParted za upravljalnik razdelkov za KDE -Comment[sr]=Позадина Либпартеда за КДЕ‑ов менаџер партиција -Comment[sr@ijekavian]=Позадина Либпартеда за КДЕ‑ов менаџер партиција -Comment[sr@ijekavianlatin]=Pozadina LibParteda za KDE‑ov menadžer particija -Comment[sr@latin]=Pozadina LibParteda za KDE‑ov menadžer particija -Comment[sv]=LibParted bakgrundsprogram för KDE:s partitionshanterare -Comment[tr]=KDE Disk Bölümü Yöneticisi LibParted arka ucu -Comment[ug]=KDE رايون باشقۇرغۇچنىڭ LibParted ئارقا ئۇچى -Comment[uk]=Сервер LibParted для Керування розділами KDE -Comment[x-test]=xxThe LibParted backend for KDE Partition Managerxx -Comment[zh_CN]=KDE 分区管理器的 LibParted 后端 -Comment[zh_TW]=KDE 磁碟分割區管理員的 LibParted 後端介面 -Type=Service -ServiceTypes=PartitionManager/Plugin -Icon=preferences-plugin - -X-KDE-Library=pmlibpartedbackendplugin -X-KDE-PluginInfo-Name=pmlibpartedbackendplugin -X-KDE-PluginInfo-Author=Volker Lanz -X-KDE-PluginInfo-Email=vl@fidra.de -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-Category=BackendPlugin -X-KDE-PluginInfo-EnabledByDefault=true -X-KDE-PluginInfo-Version=1 -X-KDE-PluginInfo-Website=http://www.partitionmanager.org diff --git a/src/plugins/libparted/pmlibpartedbackendplugin.json b/src/plugins/libparted/pmlibpartedbackendplugin.json new file mode 100644 index 0000000..2593eef --- /dev/null +++ b/src/plugins/libparted/pmlibpartedbackendplugin.json @@ -0,0 +1,48 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "vl@fidra.de", + "Name": "Volker Lanz", + "Name[x-test]": "xxVolker Lanzxx" + } + ], + "Category": "BackendPlugin", + "Description": "The LibParted backend for KDE Partition Manager", + "Description[ca@valencia]": "Un dorsal pel LibParted del gestor de particions del KDE", + "Description[ca]": "Un dorsal pel LibParted del gestor de particions del KDE", + "Description[de]": "Das LibParted-Backend für die KDE-Partitionsverwaltung", + "Description[es]": "El motor LibParted para el gestor de particiones de KDE", + "Description[nl]": "De LibParted-backend voor de KDE-partitiebeheerder", + "Description[pt]": "A infra-estrutura da LibParted para o Gestor de Partições do KDE", + "Description[sk]": "LibParted - program v pozadí pre KDE Správcu partícií", + "Description[sv]": "LibParted bakgrundsprogrammet till KDE:s partitionshanterare", + "Description[uk]": "Сервер LibParted для Керування розділами KDE", + "Description[x-test]": "xxThe LibParted backend for KDE Partition Managerxx", + "EnabledByDefault": true, + "Icon": "preferences-plugin", + "Id": "pmlibpartedbackendplugin", + "License": "GPL", + "Name": "KDE Partition Manager LibParted Backend", + "Name[ca@valencia]": "Dorsal pel LibParted del gestor de particions del KDE", + "Name[ca]": "Dorsal pel LibParted del gestor de particions del KDE", + "Name[de]": "KDE-Partitionsverwaltung LibParted-Backend", + "Name[es]": "Motor LibParted para el gestor de particiones de KDE", + "Name[fi]": "KDE:n osionhallinnan LibParted-taustaosa", + "Name[fr]": "Moteur LibParted pour le gestionnaire de partitions de KDE", + "Name[id]": "Backend LibParted Pengelola Parisi KDE", + "Name[it]": "Motore LibParted del gestore delle partizioni di KDE", + "Name[nb]": "KDE partisjonsbehandler, bakgrunnsmotor for libparted", + "Name[nl]": "KDE-partitiebeheerder LibParted-backend", + "Name[pt]": "Infra-Estrutura da LibParted para o Gestor de Partições do KDE", + "Name[sk]": "LibParted - program v pozadí pre KDE Správcu partícií", + "Name[sv]": "KDE:s partitionshanterare LibParted bakgrundsprogram", + "Name[uk]": "Сервер LibParted Керування розділами KDE", + "Name[x-test]": "xxKDE Partition Manager LibParted Backendxx", + "ServiceTypes": [ + "PartitionManager/Plugin" + ], + "Version": "1", + "Website": "http://www.partitionmanager.org" + } +} diff --git a/src/plugins/pmcorebackendplugin.desktop b/src/plugins/pmcorebackendplugin.desktop deleted file mode 100644 index e9bcb21..0000000 --- a/src/plugins/pmcorebackendplugin.desktop +++ /dev/null @@ -1,49 +0,0 @@ -[Desktop Entry] -Type=ServiceType -X-KDE-ServiceType=PartitionManager/Plugin -Name=KDE Partition Manager Plugin -Name[ar]=ملحقة «مدير كدي للأقسام» -Name[ast]=Complementu del xestor KDE de particiones -Name[bg]=Приставка за управление на дялове в KDE -Name[bs]=Dodatak za KDE‑ov menadžer particija -Name[ca]=Connector del gestor de particions del KDE -Name[ca@valencia]=Connector del gestor de particions del KDE -Name[cs]=Modul do správce diskových oddílů pro KDE -Name[da]=Plugin til KDE partitionshåndtering -Name[de]=Modul für die KDE-Partitionsverwaltung -Name[el]=Πρόσθετο για τον διαχειριστή κατατμήσεων του KDE -Name[en_GB]=KDE Partition Manager Plugin -Name[es]=Complemento del gestor de particiones de KDE -Name[et]=KDE partitsioonihalduri plugin -Name[fi]=KDE:n osionhallintaliitännäinen -Name[fr]=Module externe pour le gestionnaire de partitions de KDE -Name[ga]=Breiseán Bhainisteoir Deighiltí KDE -Name[gl]=Complemento de xestión de particións de KDE -Name[hu]=KDE partíciószerkesztő bővítmény -Name[id]=Plugin Manajer Partisi KDE -Name[it]=Estensione del gestore delle partizioni di KDE -Name[ko]=KDE 파티션 관리자 플러그인 -Name[lt]=KDE skaidinių tvarkyklės papildinys -Name[mr]=केडीई विभाजन व्यवस्थापक प्लगइन -Name[nb]=KDE partisjonsbehandler programtillegg -Name[nds]=Partitschonenpleger-Moduul för KDE -Name[nl]=Plugin voor KDE-partitiebeheerder -Name[pa]=ਕੇਡੀਈ ਪਾਰਟੀਸ਼ਨ ਮੈਨੇਜਰ ਪਲੱਗਇਨ -Name[pl]=Wtyczka zarządzania partycjami -Name[pt]='Plugin' do Gestor de Partições do KDE -Name[pt_BR]=Plugin do gerenciador de partições do KDE -Name[ro]=Modul pentru gestionarul de partiții KDE -Name[ru]=Расширения диспетчера разделов для KDE -Name[sk]=Zásuvný modul KDE Správcu partícií -Name[sl]=Vstavek Upravljalnika razdelkov za KDE -Name[sr]=Прикључак за КДЕ‑ов менаџер партиција -Name[sr@ijekavian]=Прикључак за КДЕ‑ов менаџер партиција -Name[sr@ijekavianlatin]=Priključak za KDE‑ov menadžer particija -Name[sr@latin]=Priključak za KDE‑ov menadžer particija -Name[sv]=KDE:s partitionshanterare insticksprogram -Name[tr]=KDE Disk Bölümü Yöneticisi Eklentisi -Name[ug]=KDE رايون باشقۇرغۇچ قىستۇرمىسى -Name[uk]=Додаток Керування розділами KDE -Name[x-test]=xxKDE Partition Manager Pluginxx -Name[zh_CN]=KDE 分区管理器插件 -Name[zh_TW]=KDE 磁碟分割區管理員外掛程式 diff --git a/src/plugins/sfdisk/CMakeLists.txt b/src/plugins/sfdisk/CMakeLists.txt index 7c03787..6b7df1a 100644 --- a/src/plugins/sfdisk/CMakeLists.txt +++ b/src/plugins/sfdisk/CMakeLists.txt @@ -25,5 +25,3 @@ add_library(pmsfdiskbackendplugin SHARED ${pmsfdiskbackendplugin_SRCS}) target_link_libraries(pmsfdiskbackendplugin kpmcore) install(TARGETS pmsfdiskbackendplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}) -kcoreaddons_desktop_to_json(pmsfdiskbackendplugin pmsfdiskbackendplugin.desktop) -install(FILES pmsfdiskbackendplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}) diff --git a/src/plugins/sfdisk/pmsfdiskbackendplugin.desktop b/src/plugins/sfdisk/pmsfdiskbackendplugin.desktop deleted file mode 100644 index 10857d0..0000000 --- a/src/plugins/sfdisk/pmsfdiskbackendplugin.desktop +++ /dev/null @@ -1,49 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=KDE Partition Manager sfdisk Backend -Name[ca]=Dorsal «sfdisk» del gestor de particions del KDE -Name[ca@valencia]=Dorsal «sfdisk» del gestor de particions del KDE -Name[de]=KDE-Partitionsverwaltung sfdisk-Backend -Name[es]=Motor sfdisk para el gestor de particiones de KDE -Name[gl]=Infraestrutura de sfdisk do xestor de particións de KDE -Name[nl]=Sfdisk-backend van KDE-partitiebeheerder -Name[pl]=Silnik sfdisk zarządzania partycjami KDE -Name[pt]=Infra-Estrutura do 'sfdisk' do Gestor de Partições do KDE -Name[sl]=Zaledje sfdisk za upravljalnik razdelkov za KDE -Name[sr]=Позадина sfdisk‑а за КДЕ‑ов менаџер партиција -Name[sr@ijekavian]=Позадина sfdisk‑а за КДЕ‑ов менаџер партиција -Name[sr@ijekavianlatin]=Pozadina sfdisk‑a za KDE‑ov menadžer particija -Name[sr@latin]=Pozadina sfdisk‑a za KDE‑ov menadžer particija -Name[sv]=KDE:s partitionshanterare sfdisk bakgrundsprogram -Name[uk]=Додаток sfdisk сервера Керування розділами KDE -Name[x-test]=xxKDE Partition Manager sfdisk Backendxx -Comment=A KDE Partition Manager sfdisk backend. -Comment[ca]=Un dorsal «sfdisk» del gestor de particions del KDE. -Comment[ca@valencia]=Un dorsal «sfdisk» del gestor de particions del KDE. -Comment[de]=Ein sfdisk-Backend für die KDE-Partitionsverwaltung. -Comment[es]=Motor sfdisk para el gestor de particiones de KDE. -Comment[gl]=Unha infraestrutura de sfdisk do xestor de particións de KDE. -Comment[nl]=Sfdisk-backend van KDE-partitiebeheerder -Comment[pl]=Silnik sfdisk zarządzania partycjami KDE. -Comment[pt]=A infra-estrutura do 'sfdisk' do Gestor de Partições do KDE. -Comment[sl]=Zaledje sfdisk za upravljalnik razdelkov za KDE -Comment[sr]=Позадина sfdisk‑а за КДЕ‑ов менаџер партиција -Comment[sr@ijekavian]=Позадина sfdisk‑а за КДЕ‑ов менаџер партиција -Comment[sr@ijekavianlatin]=Pozadina sfdisk‑a za KDE‑ov menadžer particija -Comment[sr@latin]=Pozadina sfdisk‑a za KDE‑ov menadžer particija -Comment[sv]=KDE:s partitionshanterare sfdisk bakgrundsprogram -Comment[uk]=Додаток sfdisk сервера Керування розділами KDE. -Comment[x-test]=xxA KDE Partition Manager sfdisk backend.xx -Type=Service -ServiceTypes=PartitionManager/Plugin -Icon=preferences-plugin - -X-KDE-Library=pmsfdiskbackendplugin -X-KDE-PluginInfo-Name=pmsfdiskbackendplugin -X-KDE-PluginInfo-Author=Andrius Štikonas -X-KDE-PluginInfo-Email=andrius@stikonas.eu -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-Category=BackendPlugin -X-KDE-PluginInfo-EnabledByDefault=true -X-KDE-PluginInfo-Version=1 -X-KDE-PluginInfo-Website=http://www.partitionmanager.org diff --git a/src/plugins/sfdisk/pmsfdiskbackendplugin.json b/src/plugins/sfdisk/pmsfdiskbackendplugin.json new file mode 100644 index 0000000..94274dd --- /dev/null +++ b/src/plugins/sfdisk/pmsfdiskbackendplugin.json @@ -0,0 +1,44 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "andrius@stikonas.eu", + "Name": "Andrius Štikonas", + "Name[x-test]": "xxAndrius Štikonasxx" + } + ], + "Category": "BackendPlugin", + "Description": "A KDE Partition Manager sfdisk backend.", + "Description[ca@valencia]": "Un dorsal «sfdisk» del gestor de particions del KDE.", + "Description[ca]": "Un dorsal «sfdisk» del gestor de particions del KDE.", + "Description[de]": "Ein sfdisk-Backend für die KDE-Partitionsverwaltung.", + "Description[es]": "Motor sfdisk para el gestor de particiones de KDE.", + "Description[nl]": "Een sfdisk backend van KDE-partitiebeheerder.", + "Description[pt]": "A infra-estrutura do 'sfdisk' para o Gestor de Partições do KDE.", + "Description[sk]": "Backend KDE správcu partícií sfdisk.", + "Description[sv]": "Ett sfdisk bakgrundsprogram till KDE:s partitionshanterare", + "Description[uk]": "Додаток sfdisk сервера Керування розділами KDE.", + "Description[x-test]": "xxA KDE Partition Manager sfdisk backend.xx", + "EnabledByDefault": true, + "Icon": "preferences-plugin", + "Id": "pmsfdiskbackendplugin", + "License": "GPL", + "Name": "KDE Partition Manager sfdisk Backend", + "Name[ca@valencia]": "Dorsal «sfdisk» del gestor de particions del KDE", + "Name[ca]": "Dorsal «sfdisk» del gestor de particions del KDE", + "Name[de]": "KDE-Partitionsverwaltung sfdisk-Backend", + "Name[es]": "Motor sfdisk para el gestor de particiones de KDE", + "Name[it]": "Motore sfdisk del gestore delle partizioni di KDE", + "Name[nl]": "Sfdisk backend van KDE-partitiebeheerder", + "Name[pt]": "Infra-Estrutura do Sfdisk para o Gestor de Partições do KDE", + "Name[sk]": "Backend KDE správcu partícií sfdisk", + "Name[sv]": "KDE:s partitionshanterare sfdisk bakgrundsprogram", + "Name[uk]": "Додаток sfdisk сервера Керування розділами KDE", + "Name[x-test]": "xxKDE Partition Manager sfdisk Backendxx", + "ServiceTypes": [ + "PartitionManager/Plugin" + ], + "Version": "1", + "Website": "http://www.partitionmanager.org" + } +}