From 5c319d2e7eebe646726d30ce1f2d7628d0b982ed Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Fri, 1 May 2026 09:30:03 +0200 Subject: [PATCH] Rename look-and-feel package to org.shift.mobile Update the package ID in metadata.json, the translation catalog name in Messages.sh, the compile-time default in envmanager, and the test suite --lookandfeel flag. Rename the 41 .po files from the old org.kde.breeze.mobile catalog name. --- envmanager/config.h | 2 +- lookandfeel/Messages.sh | 2 +- lookandfeel/metadata.json | 113 ++------------------------------------ tests/README.md | 2 +- 4 files changed, 7 insertions(+), 112 deletions(-) diff --git a/envmanager/config.h b/envmanager/config.h index 32188f76..20592338 100644 --- a/envmanager/config.h +++ b/envmanager/config.h @@ -30,7 +30,7 @@ const QMap> APPLICATIONS_BLACKLIST_DEFAULT_SETT const QMap> KDEGLOBALS_DEFAULT_SETTINGS = {{"General", {{"BrowserApplication", "angelfish"}}}}; // .config/plasma-mobile/kdeglobals - immutable settings: -const QMap> KDEGLOBALS_SETTINGS = {{"KDE", {{"LookAndFeelPackage", "org.kde.breeze.mobile"}}}}; +const QMap> KDEGLOBALS_SETTINGS = {{"KDE", {{"LookAndFeelPackage", "org.shift.mobile"}}}}; // .config/plasma-mobile/kwinrc - non-immutable settings: const QMap> KWINRC_DEFAULT_SETTINGS = { diff --git a/lookandfeel/Messages.sh b/lookandfeel/Messages.sh index c4201b8c..e8fc5091 100644 --- a/lookandfeel/Messages.sh +++ b/lookandfeel/Messages.sh @@ -3,4 +3,4 @@ # SPDX-FileCopyrightText: 2023 Devin Lin # SPDX-License-Identifier: GPL-2.0-or-later -$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_lookandfeel_org.kde.breeze.mobile.pot +$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_lookandfeel_org.shift.mobile.pot diff --git a/lookandfeel/metadata.json b/lookandfeel/metadata.json index c68c2b3b..95323994 100644 --- a/lookandfeel/metadata.json +++ b/lookandfeel/metadata.json @@ -3,119 +3,14 @@ "KPlugin": { "Authors": [ { - "Email": "plasma-mobile@kde.org", - "Name": "KDE Visual Design Group", - "Name[ar]": "مجموعة التصميم المرئي لكِيدِي", - "Name[ca@valencia]": "Grup de disseny visual de KDE", - "Name[ca]": "Grup de disseny visual de KDE", - "Name[cs]": "Skupina vizuálního návrhu KDE", - "Name[de]": "KDE Visual Design Group", - "Name[en_GB]": "KDE Visual Design Group", - "Name[eo]": "KDE Vida Dezajna Grupo", - "Name[es]": "El grupo de diseño visual de KDE", - "Name[eu]": "KDE Ikus-diseinu taldea", - "Name[fi]": "KDE:n visuaalinen suunnitteluryhmä", - "Name[fr]": "Groupe de conception graphique de KDE", - "Name[gl]": "Grupo de deseño visual de KDE", - "Name[he]": "קבוצת העיצוב החזותי של KDE", - "Name[hu]": "KDE Visual Design Group", - "Name[ia]": "KDE Visual Design Group (Gruppo de Designo Visual de KDE)", - "Name[is]": "KDE-hópurinn í myndrænni hönnun", - "Name[it]": "KDE Visual Design Group", - "Name[ka]": "KDE-ის ვიზუალური დიზაინის ჯგუფი", - "Name[ko]": "KDE 시각 디자인 그룹", - "Name[lv]": "KDE vizuālā dizaina grupa", - "Name[nl]": "KDE Visuele ontwerpgroep", - "Name[nn]": "KDE Visual Design Group", - "Name[pa]": "KDE ਦਿੱਖ ਡਿਜ਼ਾਇਨ ਗਰੁੱਪ", - "Name[pl]": "Grupa oprawy graficznej KDE", - "Name[pt_BR]": "Grupo de design visual do KDE", - "Name[ru]": "Группа по визуальному дизайну KDE", - "Name[sa]": "KDE दृश्य डिजाइन समूह", - "Name[sk]": "KDE Visual Design Group", - "Name[sl]": "KDE Visual Design Group", - "Name[sv]": "KDE:s visuella designgrupp", - "Name[tr]": "KDE Görsel Tasarım Grubu", - "Name[uk]": "Група з візуального дизайну KDE", - "Name[zh_CN]": "KDE 视觉设计团队", - "Name[zh_TW]": "KDE VDG 視覺設計組" + "Name": "SHIFT Contributors" } ], "Category": "", - "Description": "Plasma for mobile devices", - "Description[ar]": "بلازما للأجهزة الجوالة", - "Description[ca@valencia]": "Plasma per a dispositius mòbils", - "Description[ca]": "Plasma per a dispositius mòbils", - "Description[cs]": "Plasma pro mobilní telefony", - "Description[de]": "Plasma-Shell für Mobilgeräte", - "Description[en_GB]": "Plasma for mobile devices", - "Description[eo]": "Plasmo por porteblaj aparatoj", - "Description[es]": "Plasma para dispositivos móviles", - "Description[eu]": "Plasma gailu mugikorretarako", - "Description[fi]": "Plasma mobiililaitteille", - "Description[fr]": "Plasma pour périphériques mobiles", - "Description[gl]": "Plasma para dispositivos móbiles.", - "Description[he]": "פלזמה למכשירים ניידים", - "Description[hu]": "Plasma mobileszközökhöz", - "Description[ia]": "Plasma per dispositivos mobile", - "Description[is]": "Plasma fyrir farsíma", - "Description[it]": "Plasma per dispositivi mobili", - "Description[ka]": "Plasma მობილური მოწყობილობებისთვის", - "Description[ko]": "모바일 장치용 Plasma", - "Description[lv]": "„Plasma“ mobilajām ierīcēm", - "Description[nl]": "Plasma voor mobiele apparaten", - "Description[nn]": "Plasma for telefonar og nettbrett", - "Description[pa]": "ਮੋਬਾਈਲ ਡਿਵਾਈਸ ਲਈ ਪਲਾਜ਼ਮਾ", - "Description[pl]": "Plazma dla urządzeń przenośnych", - "Description[pt_BR]": "Plasma para dispositivos móveis", - "Description[ru]": "Plasma для мобильных устройств", - "Description[sa]": "चलयन्त्राणां कृते प्लाज्मा", - "Description[sk]": "Plasma pre mobilné zariadenia", - "Description[sl]": "Plasma za mobilne naprave", - "Description[sv]": "Plasma för mobilapparater", - "Description[ta]": "கைபேசிகளுக்கான பிளாஸ்மா", - "Description[tr]": "Taşınabilir aygıtlar için Plasma", - "Description[uk]": "Плазма для мобільних пристроїв", - "Description[zh_CN]": "针对手机设备设计的 Plasma 环境", - "Description[zh_TW]": "適用於行動裝置的 Plasma", - "Id": "org.kde.breeze.mobile", + "Description": "SHIFT for mobile and convergent devices", + "Id": "org.shift.mobile", "License": "GPLv2+", - "Name": "Plasma Mobile Breeze", - "Name[ar]": "نسيم بلازما الجوال", - "Name[ca@valencia]": "Plasma Mobile Brisa", - "Name[ca]": "Plasma Mobile Brisa", - "Name[cs]": "Plasma Mobile Breeze", - "Name[de]": "Plasma Mobile Breeze", - "Name[en_GB]": "Plasma Mobile Breeze", - "Name[eo]": "Plasma-Poŝtelefona Breeze", - "Name[es]": "Brisa de Plasma Mobile", - "Name[eu]": "Plasma Mugikorra Breeze", - "Name[fi]": "Plasma Mobilen Breeze", - "Name[fr]": "Thème « Breeze » pour Plasma Mobile", - "Name[gl]": "Brisa para Plasma Mobile", - "Name[he]": "בריזה לפלזמה לניידים", - "Name[hu]": "Plasma Mobile Breeze", - "Name[ia]": "Breeze de Plasma Mobile", - "Name[is]": "Plasma Mobile Breeze", - "Name[it]": "Brezza per Plasma Mobile", - "Name[ka]": "Plasma მობილური ნიავი", - "Name[ko]": "Plasma 모바일 Breeze", - "Name[lv]": "„Plasma Mobile“ „Breeze“ motīvs", - "Name[nl]": "Plasma Mobile Breeze", - "Name[nn]": "Plasma Mobile Breeze", - "Name[pa]": "ਪਲਾਜ਼ਮਾ ਮੋਬਾਈਲ ਬਰੀਜ਼", - "Name[pl]": "Bryza Przenośnej Plazmy", - "Name[pt_BR]": "Breeze do Plasma Mobile", - "Name[ru]": "Breeze для Plasma Mobile", - "Name[sa]": "प्लाज्मा चल हवा", - "Name[sk]": "Vánok Plasma Mobile", - "Name[sl]": "Plasma Mobile Sapica", - "Name[sv]": "Plasma mobil Breeze", - "Name[tr]": "Plasma Cep Esinti", - "Name[uk]": "Breeze для мобільної Плазми", - "Name[zh_CN]": "Plasma Mobile Breeze 微风", - "Name[zh_TW]": "Plasma 行動 Breeze", - "Website": "https://www.kde.org" + "Name": "SHIFT Mobile" }, "Keywords": "Phone;Mobile;Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;", "X-Plasma-APIVersion": "2" diff --git a/tests/README.md b/tests/README.md index 669ee387..e0d48a68 100644 --- a/tests/README.md +++ b/tests/README.md @@ -12,5 +12,5 @@ Be sure to have the project installed on the system. To test the power menu, the following command can be used to invoke `ksmserver-logout-greeter` with the mobile look and feel in a window: ```shell -~/kde/usr/lib/libexec/ksmserver-logout-greeter --windowed --lookandfeel org.kde.breeze.mobile +~/kde/usr/lib/libexec/ksmserver-logout-greeter --windowed --lookandfeel org.shift.mobile ```