From ed57ac39e2ac98aee56e4f44789e3199df11a117 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Wed, 28 Jul 2021 11:04:42 +0100 Subject: [PATCH] Convert the KPackage plugin metadata to .json --- src/plugins/kpackage/aurorae/CMakeLists.txt | 2 - .../kwin-packagestructure-aurorae.desktop | 50 ---------------- .../kwin-packagestructure-aurorae.json | 56 ++++++++++++++++++ .../kpackage/decoration/CMakeLists.txt | 2 - .../kwin-packagestructure-decoration.desktop | 51 ---------------- .../kwin-packagestructure-decoration.json | 57 ++++++++++++++++++ src/plugins/kpackage/effect/CMakeLists.txt | 2 - .../kwin-packagestructure-effect.desktop | 46 --------------- .../effect/kwin-packagestructure-effect.json | 52 +++++++++++++++++ src/plugins/kpackage/scripts/CMakeLists.txt | 2 - .../kwin-packagestructure-scripts.desktop | 52 ----------------- .../kwin-packagestructure-scripts.json | 58 +++++++++++++++++++ .../kpackage/windowswitcher/CMakeLists.txt | 2 - ...in-packagestructure-windowswitcher.desktop | 51 ---------------- .../kwin-packagestructure-windowswitcher.json | 57 ++++++++++++++++++ 15 files changed, 280 insertions(+), 260 deletions(-) delete mode 100644 src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.desktop create mode 100644 src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.json delete mode 100644 src/plugins/kpackage/decoration/kwin-packagestructure-decoration.desktop create mode 100644 src/plugins/kpackage/decoration/kwin-packagestructure-decoration.json delete mode 100644 src/plugins/kpackage/effect/kwin-packagestructure-effect.desktop create mode 100644 src/plugins/kpackage/effect/kwin-packagestructure-effect.json delete mode 100644 src/plugins/kpackage/scripts/kwin-packagestructure-scripts.desktop create mode 100644 src/plugins/kpackage/scripts/kwin-packagestructure-scripts.json delete mode 100644 src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.desktop create mode 100644 src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.json diff --git a/src/plugins/kpackage/aurorae/CMakeLists.txt b/src/plugins/kpackage/aurorae/CMakeLists.txt index 6b1ef2b221..94e9984aed 100644 --- a/src/plugins/kpackage/aurorae/CMakeLists.txt +++ b/src/plugins/kpackage/aurorae/CMakeLists.txt @@ -11,7 +11,5 @@ target_link_libraries(kwin_packagestructure_aurorae KF5::Package ) -kcoreaddons_desktop_to_json(kwin_packagestructure_aurorae kwin-packagestructure-aurorae.desktop) - install(TARGETS kwin_packagestructure_aurorae DESTINATION ${KDE_INSTALL_PLUGINDIR}/kpackage/packagestructure) diff --git a/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.desktop b/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.desktop deleted file mode 100644 index 0d3c8814cf..0000000000 --- a/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.desktop +++ /dev/null @@ -1,50 +0,0 @@ -[Desktop Entry] -Name=KWin Aurorae -Name[az]=KWin Aurorae -Name[ca]=Aurorae del KWin -Name[ca@valencia]=Aurorae de KWin -Name[cs]=KWin Aurorae -Name[da]=KWin Aurorae -Name[de]=KWin Aurorae -Name[el]=KWin Aurorae -Name[en_GB]=KWin Aurorae -Name[es]=Aurorae de KWin -Name[et]=KWin Aurorae -Name[eu]=KWin Aurorae -Name[fi]=KWin Aurorae -Name[fr]=Module Aurorae de KWin -Name[gl]=Aurorae de KWin -Name[hu]=KWin Aurorae -Name[ia]=KWin Aurorae -Name[id]=Aurorae KWin -Name[it]=Aurorae di Kwin -Name[ko]=KWin Aurorae -Name[lt]=KWin Aurorae -Name[nl]=KWin Aurorae -Name[nn]=KWin Aurorae -Name[pl]=KWin Aurorae -Name[pt]=Aurora do KWin -Name[pt_BR]=KWin Aurorae -Name[ro]=KWin Aurorae -Name[ru]=Оформление окон Aurorae для KWin -Name[sk]=KWin Aurorae -Name[sl]=KWin Aurorae -Name[sr]=К‑винова аурора -Name[sr@ijekavian]=К‑винова аурора -Name[sr@ijekavianlatin]=KWinova aurora -Name[sr@latin]=KWinova aurora -Name[sv]=Kwin Aurora -Name[tr]=KWin Aurorae -Name[uk]=KWin Aurorae -Name[vi]=KWin Aurorae -Name[x-test]=xxKWin Auroraexx -Name[zh_CN]=KWin Aurorae 极光 -Name[zh_TW]=KWin Aurorae -Type=Service -X-KDE-ServiceTypes=KPackage/PackageStructure -X-KDE-Library=kwin_packagestructure_aurorae - -X-KDE-PluginInfo-Author=Demitrius Belai -X-KDE-PluginInfo-Email=demitriusbelai@gmail.com -X-KDE-PluginInfo-Name=KWin/Aurorae -X-KDE-PluginInfo-Version=1 diff --git a/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.json b/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.json new file mode 100644 index 0000000000..3e4333fa60 --- /dev/null +++ b/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.json @@ -0,0 +1,56 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "demitriusbelai@gmail.com", + "Name": "Demitrius Belai" + } + ], + "Id": "KWin/Aurorae", + "Name": "KWin Aurorae", + "Name[az]": "KWin Aurorae", + "Name[ca@valencia]": "Aurorae de KWin", + "Name[ca]": "Aurorae del KWin", + "Name[cs]": "KWin Aurorae", + "Name[da]": "KWin Aurorae", + "Name[de]": "KWin Aurorae", + "Name[el]": "KWin Aurorae", + "Name[en_GB]": "KWin Aurorae", + "Name[es]": "Aurorae de KWin", + "Name[et]": "KWin Aurorae", + "Name[eu]": "KWin Aurorae", + "Name[fi]": "KWin Aurorae", + "Name[fr]": "Module Aurorae de KWin", + "Name[gl]": "Aurorae de KWin", + "Name[hu]": "KWin Aurorae", + "Name[ia]": "KWin Aurorae", + "Name[id]": "Aurorae KWin", + "Name[it]": "Aurorae di Kwin", + "Name[ko]": "KWin Aurorae", + "Name[lt]": "KWin Aurorae", + "Name[nl]": "KWin Aurorae", + "Name[nn]": "KWin Aurorae", + "Name[pl]": "KWin Aurorae", + "Name[pt]": "Aurora do KWin", + "Name[pt_BR]": "KWin Aurorae", + "Name[ro]": "KWin Aurorae", + "Name[ru]": "Оформление окон Aurorae для KWin", + "Name[sk]": "KWin Aurorae", + "Name[sl]": "KWin Aurorae", + "Name[sr@ijekavian]": "К‑винова аурора", + "Name[sr@ijekavianlatin]": "KWinova aurora", + "Name[sr@latin]": "KWinova aurora", + "Name[sr]": "К‑винова аурора", + "Name[sv]": "Kwin Aurora", + "Name[tr]": "KWin Aurorae", + "Name[uk]": "KWin Aurorae", + "Name[vi]": "KWin Aurorae", + "Name[x-test]": "xxKWin Auroraexx", + "Name[zh_CN]": "KWin Aurorae 极光", + "Name[zh_TW]": "KWin Aurorae", + "ServiceTypes": [ + "KPackage/PackageStructure" + ], + "Version": "1" + } +} diff --git a/src/plugins/kpackage/decoration/CMakeLists.txt b/src/plugins/kpackage/decoration/CMakeLists.txt index bfb606553b..0662615c70 100644 --- a/src/plugins/kpackage/decoration/CMakeLists.txt +++ b/src/plugins/kpackage/decoration/CMakeLists.txt @@ -11,7 +11,5 @@ target_link_libraries(kwin_packagestructure_decoration KF5::Package ) -kcoreaddons_desktop_to_json(kwin_packagestructure_decoration kwin-packagestructure-decoration.desktop) - install(TARGETS kwin_packagestructure_decoration DESTINATION ${KDE_INSTALL_PLUGINDIR}/kpackage/packagestructure) diff --git a/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.desktop b/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.desktop deleted file mode 100644 index d8e1fbe1cf..0000000000 --- a/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.desktop +++ /dev/null @@ -1,51 +0,0 @@ -[Desktop Entry] -Name=KWin Decoration -Name[az]=KWin Dekorasiyası -Name[ca]=Decoració del KWin -Name[ca@valencia]=Decoració de KWin -Name[cs]=Dekorace KWin -Name[da]=KWin-dekoration -Name[de]=KWin-Dekoration -Name[el]=Διακοσμήσεις KWin -Name[en_GB]=KWin Decoration -Name[es]=Decoración de KWin -Name[et]=KWini dekoratsioon -Name[eu]=KWin apainketa -Name[fi]=KWin-ikkunakehykset -Name[fr]=Décorations KWin -Name[gl]=Decoración de KWin -Name[hu]=KWin dekoráció -Name[ia]=Decorationes de KWin -Name[id]=Dekorasi KWin -Name[it]=Decorazioni di KWin -Name[ko]=KWin 장식 -Name[lt]=KWin dekoracijos -Name[nl]=KWin-decoraties -Name[nn]=KWin-dekorasjon -Name[pa]=KWin ਸਜਾਵਟ -Name[pl]=Wygląd KWin -Name[pt]=Decorações do KWin -Name[pt_BR]=Decoração do KWin -Name[ro]=Decorație KWin -Name[ru]=Оформление окон для KWin -Name[sk]=Dekorácie KWin -Name[sl]=Okraski KWin -Name[sr]=К‑винова декорација -Name[sr@ijekavian]=К‑винова декорација -Name[sr@ijekavianlatin]=KWinova dekoracija -Name[sr@latin]=KWinova dekoracija -Name[sv]=Kwin-dekoration -Name[tr]=KWin Dekorasyonu -Name[uk]=Обрамлення вікон KWin -Name[vi]=Trang trí KWin -Name[x-test]=xxKWin Decorationxx -Name[zh_CN]=KWin 装饰元素 -Name[zh_TW]=KWin 裝飾 -Type=Service -X-KDE-ServiceTypes=KPackage/PackageStructure -X-KDE-Library=kwin_packagestructure_decoration - -X-KDE-PluginInfo-Author=Demitrius Belai -X-KDE-PluginInfo-Email=demitriusbelai@gmail.com -X-KDE-PluginInfo-Name=KWin/Decoration -X-KDE-PluginInfo-Version=1 diff --git a/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.json b/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.json new file mode 100644 index 0000000000..a36a130f14 --- /dev/null +++ b/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.json @@ -0,0 +1,57 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "demitriusbelai@gmail.com", + "Name": "Demitrius Belai" + } + ], + "Id": "KWin/Decoration", + "Name": "KWin Decoration", + "Name[az]": "KWin Dekorasiyası", + "Name[ca@valencia]": "Decoració de KWin", + "Name[ca]": "Decoració del KWin", + "Name[cs]": "Dekorace KWin", + "Name[da]": "KWin-dekoration", + "Name[de]": "KWin-Dekoration", + "Name[el]": "Διακοσμήσεις KWin", + "Name[en_GB]": "KWin Decoration", + "Name[es]": "Decoración de KWin", + "Name[et]": "KWini dekoratsioon", + "Name[eu]": "KWin apainketa", + "Name[fi]": "KWin-ikkunakehykset", + "Name[fr]": "Décorations KWin", + "Name[gl]": "Decoración de KWin", + "Name[hu]": "KWin dekoráció", + "Name[ia]": "Decorationes de KWin", + "Name[id]": "Dekorasi KWin", + "Name[it]": "Decorazioni di KWin", + "Name[ko]": "KWin 장식", + "Name[lt]": "KWin dekoracijos", + "Name[nl]": "KWin-decoraties", + "Name[nn]": "KWin-dekorasjon", + "Name[pa]": "KWin ਸਜਾਵਟ", + "Name[pl]": "Wygląd KWin", + "Name[pt]": "Decorações do KWin", + "Name[pt_BR]": "Decoração do KWin", + "Name[ro]": "Decorație KWin", + "Name[ru]": "Оформление окон для KWin", + "Name[sk]": "Dekorácie KWin", + "Name[sl]": "Okraski KWin", + "Name[sr@ijekavian]": "К‑винова декорација", + "Name[sr@ijekavianlatin]": "KWinova dekoracija", + "Name[sr@latin]": "KWinova dekoracija", + "Name[sr]": "К‑винова декорација", + "Name[sv]": "Kwin-dekoration", + "Name[tr]": "KWin Dekorasyonu", + "Name[uk]": "Обрамлення вікон KWin", + "Name[vi]": "Trang trí KWin", + "Name[x-test]": "xxKWin Decorationxx", + "Name[zh_CN]": "KWin 装饰元素", + "Name[zh_TW]": "KWin 裝飾", + "ServiceTypes": [ + "KPackage/PackageStructure" + ], + "Version": "1" + } +} diff --git a/src/plugins/kpackage/effect/CMakeLists.txt b/src/plugins/kpackage/effect/CMakeLists.txt index cc09ec4875..797315db6a 100644 --- a/src/plugins/kpackage/effect/CMakeLists.txt +++ b/src/plugins/kpackage/effect/CMakeLists.txt @@ -11,6 +11,4 @@ target_link_libraries(kwin_packagestructure_effect KF5::Package ) -kcoreaddons_desktop_to_json(kwin_packagestructure_effect kwin-packagestructure-effect.desktop) - install(TARGETS kwin_packagestructure_effect DESTINATION ${KDE_INSTALL_PLUGINDIR}/kpackage/packagestructure) diff --git a/src/plugins/kpackage/effect/kwin-packagestructure-effect.desktop b/src/plugins/kpackage/effect/kwin-packagestructure-effect.desktop deleted file mode 100644 index 3f940e22c9..0000000000 --- a/src/plugins/kpackage/effect/kwin-packagestructure-effect.desktop +++ /dev/null @@ -1,46 +0,0 @@ -[Desktop Entry] -Name=KWin Effect -Name[ar]=تأثيرات كوين -Name[az]=KWin Effekti -Name[ca]=Efecte del KWin -Name[ca@valencia]=Efecte de KWin -Name[cs]=Efekt KWinu -Name[da]=KWin-effekt -Name[de]=KWin-Effekt -Name[el]=Εφέ KWin -Name[en_GB]=KWin Effect -Name[es]=Efecto de KWin -Name[et]=KWini efekt -Name[eu]=KWin efektua -Name[fi]=KWin-tehoste -Name[fr]=Effet KWin -Name[gl]=Efecto de KWin -Name[hu]=KWin effektus -Name[ia]=Effecto de KWin -Name[id]=Efek KWin -Name[it]=Effetto di KWin -Name[ko]=KWin 효과 -Name[lt]=KWin efektas -Name[nl]=KWin-effect -Name[nn]=KWin-effekt -Name[pl]=Efekt KWin -Name[pt]=Efeito do KWin -Name[pt_BR]=Efeito do KWin -Name[ro]=Efect KWin -Name[ru]=Эффект диспетчера окон -Name[sk]=Efekty KWin -Name[sl]=Učinek KWin -Name[sv]=Kwin-effekt -Name[uk]=Ефект KWin -Name[vi]=Hiệu ứng KWin -Name[x-test]=xxKWin Effectxx -Name[zh_CN]=KWin 特效 -Name[zh_TW]=KWin 效果 -Type=Service -X-KDE-ServiceTypes=KPackage/PackageStructure -X-KDE-Library=kwin_packagestructure_effect - -X-KDE-PluginInfo-Author=Vlad Zahorodnii -X-KDE-PluginInfo-Email=vlad.zahorodnii@kde.org -X-KDE-PluginInfo-Name=KWin/Effect -X-KDE-PluginInfo-Version=1 diff --git a/src/plugins/kpackage/effect/kwin-packagestructure-effect.json b/src/plugins/kpackage/effect/kwin-packagestructure-effect.json new file mode 100644 index 0000000000..afe1e9db96 --- /dev/null +++ b/src/plugins/kpackage/effect/kwin-packagestructure-effect.json @@ -0,0 +1,52 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "vlad.zahorodnii@kde.org", + "Name": "Vlad Zahorodnii" + } + ], + "Id": "KWin/Effect", + "Name": "KWin Effect", + "Name[ar]": "تأثيرات كوين", + "Name[az]": "KWin Effekti", + "Name[ca@valencia]": "Efecte de KWin", + "Name[ca]": "Efecte del KWin", + "Name[cs]": "Efekt KWinu", + "Name[da]": "KWin-effekt", + "Name[de]": "KWin-Effekt", + "Name[el]": "Εφέ KWin", + "Name[en_GB]": "KWin Effect", + "Name[es]": "Efecto de KWin", + "Name[et]": "KWini efekt", + "Name[eu]": "KWin efektua", + "Name[fi]": "KWin-tehoste", + "Name[fr]": "Effet KWin", + "Name[gl]": "Efecto de KWin", + "Name[hu]": "KWin effektus", + "Name[ia]": "Effecto de KWin", + "Name[id]": "Efek KWin", + "Name[it]": "Effetto di KWin", + "Name[ko]": "KWin 효과", + "Name[lt]": "KWin efektas", + "Name[nl]": "KWin-effect", + "Name[nn]": "KWin-effekt", + "Name[pl]": "Efekt KWin", + "Name[pt]": "Efeito do KWin", + "Name[pt_BR]": "Efeito do KWin", + "Name[ro]": "Efect KWin", + "Name[ru]": "Эффект диспетчера окон", + "Name[sk]": "Efekty KWin", + "Name[sl]": "Učinek KWin", + "Name[sv]": "Kwin-effekt", + "Name[uk]": "Ефект KWin", + "Name[vi]": "Hiệu ứng KWin", + "Name[x-test]": "xxKWin Effectxx", + "Name[zh_CN]": "KWin 特效", + "Name[zh_TW]": "KWin 效果", + "ServiceTypes": [ + "KPackage/PackageStructure" + ], + "Version": "1" + } +} diff --git a/src/plugins/kpackage/scripts/CMakeLists.txt b/src/plugins/kpackage/scripts/CMakeLists.txt index f0a5636c4d..1f4e9e66d7 100644 --- a/src/plugins/kpackage/scripts/CMakeLists.txt +++ b/src/plugins/kpackage/scripts/CMakeLists.txt @@ -11,6 +11,4 @@ target_link_libraries(kwin_packagestructure_scripts KF5::Package ) -kcoreaddons_desktop_to_json(kwin_packagestructure_scripts kwin-packagestructure-scripts.desktop) - install(TARGETS kwin_packagestructure_scripts DESTINATION ${KDE_INSTALL_PLUGINDIR}/kpackage/packagestructure) diff --git a/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.desktop b/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.desktop deleted file mode 100644 index 8a678da21f..0000000000 --- a/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.desktop +++ /dev/null @@ -1,52 +0,0 @@ -[Desktop Entry] -Name=KWin Script -Name[ar]=سكربت كوين -Name[az]=Kwin skripti -Name[ca]=Script del KWin -Name[ca@valencia]=Script de KWin -Name[cs]=Skript KWinu -Name[da]=KWin-script -Name[de]=KWin-Skript -Name[el]=Σενάριο KWin -Name[en_GB]=KWin Script -Name[es]=Guion de KWin -Name[et]=KWini skript -Name[eu]=KWin scripta -Name[fi]=KWin-skripti -Name[fr]=Script KWin -Name[gl]=Script de KWin -Name[hu]=KWin szkript -Name[ia]=Script de KWin -Name[id]=Skrip KWin -Name[it]=Script di KWin -Name[ko]=KWin 스크립트 -Name[lt]=KWin scenarijus -Name[nl]=KWin-script -Name[nn]=KWin-skript -Name[pa]=KWin ਸਕ੍ਰਿਪਟ -Name[pl]=Skrypt KWin -Name[pt]=Programa do KWin -Name[pt_BR]=Script do KWin -Name[ro]=Script KWin -Name[ru]=Сценарий KWin -Name[sk]=KWin skript -Name[sl]=Skript KWin -Name[sr]=К‑винова скрипта -Name[sr@ijekavian]=К‑винова скрипта -Name[sr@ijekavianlatin]=KWinova skripta -Name[sr@latin]=KWinova skripta -Name[sv]=Kwin-skript -Name[tr]=KWin Betiği -Name[uk]=Скрипт KWin -Name[vi]=Kịch bản KWin -Name[x-test]=xxKWin Scriptxx -Name[zh_CN]=KWin 脚本 -Name[zh_TW]=KWin 指令稿 -Type=Service -X-KDE-ServiceTypes=KPackage/PackageStructure -X-KDE-Library=kwin_packagestructure_scripts - -X-KDE-PluginInfo-Author=Marco Martin -X-KDE-PluginInfo-Email=notmart@gmail.com -X-KDE-PluginInfo-Name=KWin/Script -X-KDE-PluginInfo-Version=1 diff --git a/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.json b/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.json new file mode 100644 index 0000000000..190e2824dc --- /dev/null +++ b/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.json @@ -0,0 +1,58 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "notmart@gmail.com", + "Name": "Marco Martin" + } + ], + "Id": "KWin/Script", + "Name": "KWin Script", + "Name[ar]": "سكربت كوين", + "Name[az]": "Kwin skripti", + "Name[ca@valencia]": "Script de KWin", + "Name[ca]": "Script del KWin", + "Name[cs]": "Skript KWinu", + "Name[da]": "KWin-script", + "Name[de]": "KWin-Skript", + "Name[el]": "Σενάριο KWin", + "Name[en_GB]": "KWin Script", + "Name[es]": "Guion de KWin", + "Name[et]": "KWini skript", + "Name[eu]": "KWin scripta", + "Name[fi]": "KWin-skripti", + "Name[fr]": "Script KWin", + "Name[gl]": "Script de KWin", + "Name[hu]": "KWin szkript", + "Name[ia]": "Script de KWin", + "Name[id]": "Skrip KWin", + "Name[it]": "Script di KWin", + "Name[ko]": "KWin 스크립트", + "Name[lt]": "KWin scenarijus", + "Name[nl]": "KWin-script", + "Name[nn]": "KWin-skript", + "Name[pa]": "KWin ਸਕ੍ਰਿਪਟ", + "Name[pl]": "Skrypt KWin", + "Name[pt]": "Programa do KWin", + "Name[pt_BR]": "Script do KWin", + "Name[ro]": "Script KWin", + "Name[ru]": "Сценарий KWin", + "Name[sk]": "KWin skript", + "Name[sl]": "Skript KWin", + "Name[sr@ijekavian]": "К‑винова скрипта", + "Name[sr@ijekavianlatin]": "KWinova skripta", + "Name[sr@latin]": "KWinova skripta", + "Name[sr]": "К‑винова скрипта", + "Name[sv]": "Kwin-skript", + "Name[tr]": "KWin Betiği", + "Name[uk]": "Скрипт KWin", + "Name[vi]": "Kịch bản KWin", + "Name[x-test]": "xxKWin Scriptxx", + "Name[zh_CN]": "KWin 脚本", + "Name[zh_TW]": "KWin 指令稿", + "ServiceTypes": [ + "KPackage/PackageStructure" + ], + "Version": "1" + } +} diff --git a/src/plugins/kpackage/windowswitcher/CMakeLists.txt b/src/plugins/kpackage/windowswitcher/CMakeLists.txt index d0496d4ec1..5bfac3cce8 100644 --- a/src/plugins/kpackage/windowswitcher/CMakeLists.txt +++ b/src/plugins/kpackage/windowswitcher/CMakeLists.txt @@ -11,6 +11,4 @@ target_link_libraries(kwin_packagestructure_windowswitcher KF5::Package ) -kcoreaddons_desktop_to_json(kwin_packagestructure_windowswitcher kwin-packagestructure-windowswitcher.desktop) - install(TARGETS kwin_packagestructure_windowswitcher DESTINATION ${KDE_INSTALL_PLUGINDIR}/kpackage/packagestructure) diff --git a/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.desktop b/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.desktop deleted file mode 100644 index c2666290de..0000000000 --- a/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.desktop +++ /dev/null @@ -1,51 +0,0 @@ -[Desktop Entry] -Name=KWin Window Switcher -Name[az]=KWin pəncərə dəyişdiricisi -Name[ca]=Commutador de finestres del KWin -Name[ca@valencia]=Commutador de finestres de KWin -Name[cs]=Přepínač oken KWin -Name[da]=KWin vinduesskifter -Name[de]=KWin-Fensterwechsler -Name[el]=Εφαρμογή εναλλαγής παραθύρων Kwin -Name[en_GB]=KWin Window Switcher -Name[es]=Cambiador de ventanas de KWin -Name[et]=KWini aknavahetaja -Name[eu]=KWin leiho-aldatzailea -Name[fi]=KWin-ikkunanvalitsin -Name[fr]=Sélecteur de fenêtres de KWin -Name[gl]=Selector de xanela de KWin -Name[hu]=KWin ablakváltó -Name[ia]=Commutator de fenestra de KWin -Name[id]=Pengalih Window KWin -Name[it]=Scambiafinestre di KWin -Name[ko]=KWin 창 전환기 -Name[lt]=KWin langų perjungiklis -Name[nl]=KWin-vensterwisselaar -Name[nn]=KWin-vindaugsbytar -Name[pa]=KWin ਵਿੰਡੋ ਸਵਿੱਚਰ -Name[pl]=Przełącznik okien KWin -Name[pt]=Mudança de Janelas do KWin -Name[pt_BR]=Layout do seletor de janelas do KWin -Name[ro]=Comutator de ferestre KWin -Name[ru]=Переключатель окон для KWin -Name[sk]=Prepínač okien KWin -Name[sl]=Preklopnik oken KWin -Name[sr]=К‑винов мењач прозора -Name[sr@ijekavian]=К‑винов мењач прозора -Name[sr@ijekavianlatin]=KWinov menjač prozora -Name[sr@latin]=KWinov menjač prozora -Name[sv]=Kwin-fönsterbyte -Name[tr]=KWin Pencere Değiştirici -Name[uk]=Перемикач вікон KWin -Name[vi]=Trình chuyển cửa sổ KWin -Name[x-test]=xxKWin Window Switcherxx -Name[zh_CN]=KWin 窗口切换器 -Name[zh_TW]=KWin 視窗切換器 -Type=Service -X-KDE-ServiceTypes=KPackage/PackageStructure -X-KDE-Library=kwin_packagestructure_windowswitcher - -X-KDE-PluginInfo-Author=Marco Martin -X-KDE-PluginInfo-Email=notmart@gmail.com -X-KDE-PluginInfo-Name=KWin/WindowSwitcher -X-KDE-PluginInfo-Version=1 diff --git a/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.json b/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.json new file mode 100644 index 0000000000..5ae02bec02 --- /dev/null +++ b/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.json @@ -0,0 +1,57 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "notmart@gmail.com", + "Name": "Marco Martin" + } + ], + "Id": "KWin/WindowSwitcher", + "Name": "KWin Window Switcher", + "Name[az]": "KWin pəncərə dəyişdiricisi", + "Name[ca@valencia]": "Commutador de finestres de KWin", + "Name[ca]": "Commutador de finestres del KWin", + "Name[cs]": "Přepínač oken KWin", + "Name[da]": "KWin vinduesskifter", + "Name[de]": "KWin-Fensterwechsler", + "Name[el]": "Εφαρμογή εναλλαγής παραθύρων Kwin", + "Name[en_GB]": "KWin Window Switcher", + "Name[es]": "Cambiador de ventanas de KWin", + "Name[et]": "KWini aknavahetaja", + "Name[eu]": "KWin leiho-aldatzailea", + "Name[fi]": "KWin-ikkunanvalitsin", + "Name[fr]": "Sélecteur de fenêtres de KWin", + "Name[gl]": "Selector de xanela de KWin", + "Name[hu]": "KWin ablakváltó", + "Name[ia]": "Commutator de fenestra de KWin", + "Name[id]": "Pengalih Window KWin", + "Name[it]": "Scambiafinestre di KWin", + "Name[ko]": "KWin 창 전환기", + "Name[lt]": "KWin langų perjungiklis", + "Name[nl]": "KWin-vensterwisselaar", + "Name[nn]": "KWin-vindaugsbytar", + "Name[pa]": "KWin ਵਿੰਡੋ ਸਵਿੱਚਰ", + "Name[pl]": "Przełącznik okien KWin", + "Name[pt]": "Mudança de Janelas do KWin", + "Name[pt_BR]": "Layout do seletor de janelas do KWin", + "Name[ro]": "Comutator de ferestre KWin", + "Name[ru]": "Переключатель окон для KWin", + "Name[sk]": "Prepínač okien KWin", + "Name[sl]": "Preklopnik oken KWin", + "Name[sr@ijekavian]": "К‑винов мењач прозора", + "Name[sr@ijekavianlatin]": "KWinov menjač prozora", + "Name[sr@latin]": "KWinov menjač prozora", + "Name[sr]": "К‑винов мењач прозора", + "Name[sv]": "Kwin-fönsterbyte", + "Name[tr]": "KWin Pencere Değiştirici", + "Name[uk]": "Перемикач вікон KWin", + "Name[vi]": "Trình chuyển cửa sổ KWin", + "Name[x-test]": "xxKWin Window Switcherxx", + "Name[zh_CN]": "KWin 窗口切换器", + "Name[zh_TW]": "KWin 視窗切換器", + "ServiceTypes": [ + "KPackage/PackageStructure" + ], + "Version": "1" + } +}