From 299e7527a0ac770285525b689211689fc063d02c Mon Sep 17 00:00:00 2001 From: Shouko Date: Sun, 12 Feb 2023 14:20:01 -0800 Subject: [PATCH] Update for focal --- README.md | 2 +- clickable.json | 6 ++++-- manifest.json.in | 6 +++--- po/fr.po | 8 ++++---- po/nl.po | 8 ++++---- po/switch-my-slot.shouko.pot | 6 +++--- qml/Main.qml | 8 ++++---- switch-my-slot.apparmor | 2 +- 8 files changed, 24 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index f2d4531..f7b7047 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,6 @@ If you use this app on another device, please let me know. ## License -Copyright (C) 2020 - 2021 Shou +Copyright (C) 2020 - 2023 Shoko Licensed under the MIT license diff --git a/clickable.json b/clickable.json index ee92242..a355a21 100644 --- a/clickable.json +++ b/clickable.json @@ -1,5 +1,7 @@ { - "clickable_minimum_required": "6.12.2", + "kill": "qmlscene", + "clickable_minimum_required": "7", "builder": "pure-qml-cmake", - "kill": "qmlscene" + "framework": "ubuntu-sdk-20.04", + "ignore_review_warnings": true } diff --git a/manifest.json.in b/manifest.json.in index 766988a..ab77bae 100644 --- a/manifest.json.in +++ b/manifest.json.in @@ -9,7 +9,7 @@ "desktop": "switch-my-slot.desktop" } }, - "version": "0.4", - "maintainer": "Shou ", - "framework" : "ubuntu-sdk-16.04.5" + "version": "0.5", + "maintainer": "Shoko ", + "framework" : "ubuntu-sdk-20.04" } diff --git a/po/fr.po b/po/fr.po index 7f9c75e..3b51ca1 100644 --- a/po/fr.po +++ b/po/fr.po @@ -25,8 +25,8 @@ msgid "HAL Version: " msgstr "Version de HAL: " #: ../qml/Main.qml:37 -msgid "App Version: v0.4" -msgstr "Version de l'application: v0.4" +msgid "App Version: v0.5" +msgstr "Version de l'application: v0.5" #: ../qml/Main.qml:45 msgid "Number of slots: " @@ -45,5 +45,5 @@ msgid "Current slot: " msgstr "Partition actuelle: " #: ../qml/Main.qml:86 -msgid "Developed by Shou" -msgstr "Développé par Shou" +msgid "Developed by Shoko" +msgstr "Développé par Shoko" diff --git a/po/nl.po b/po/nl.po index 0e8078a..1901d61 100644 --- a/po/nl.po +++ b/po/nl.po @@ -27,8 +27,8 @@ msgid "HAL Version: " msgstr "HAL-versie: " #: ../qml/Main.qml:37 -msgid "App Version: v0.4" -msgstr "Appversie: 0.4" +msgid "App Version: v0.5" +msgstr "Appversie: 0.5" #: ../qml/Main.qml:45 msgid "Number of slots: " @@ -47,5 +47,5 @@ msgid "Current slot: " msgstr "Huidige sleuf:" #: ../qml/Main.qml:86 -msgid "Developed by Shou" -msgstr "Ontwikkeld door Shou" +msgid "Developed by Shoko" +msgstr "Ontwikkeld door Shoko" diff --git a/po/switch-my-slot.shouko.pot b/po/switch-my-slot.shouko.pot index c4eae4d..a4a394a 100644 --- a/po/switch-my-slot.shouko.pot +++ b/po/switch-my-slot.shouko.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: switch-my-slot.shouko\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-22 16:41+0000\n" +"POT-Creation-Date: 2023-02-12 22:58+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,7 +26,7 @@ msgid "HAL Version: " msgstr "" #: ../qml/Main.qml:37 -msgid "App Version: v0.4" +msgid "App Version: v0.5" msgstr "" #: ../qml/Main.qml:45 @@ -46,5 +46,5 @@ msgid "Current slot: " msgstr "" #: ../qml/Main.qml:86 -msgid "Developed by Shou" +msgid "Developed by Shoko" msgstr "" diff --git a/qml/Main.qml b/qml/Main.qml index 71eaa85..d473379 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -1,5 +1,5 @@ import QtQuick 2.7 -import Ubuntu.Components 1.3 +import Lomiri.Components 1.3 //import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 import Qt.labs.settings 1.0 @@ -34,7 +34,7 @@ MainView { top: halVersionLabel.bottom } id: appVersionLabel - text: i18n.tr('App Version: v0.4') + text: i18n.tr('App Version: v0.5') } Label { @@ -60,7 +60,7 @@ MainView { } id: switchSlotButton text: i18n.tr('Switch Slot') - color: UbuntuColors.green + color: LomiriColors.green onClicked: { python.switchSlotFunc(); } @@ -83,7 +83,7 @@ MainView { bottomMargin: units.gu(2) } id: developerLabel - text: i18n.tr('Developed by Shou') + text: i18n.tr('Developed by Shoko') verticalAlignment: Label.AlignVCenter horizontalAlignment: Label.AlignHCenter } diff --git a/switch-my-slot.apparmor b/switch-my-slot.apparmor index dfecf24..6f74b25 100644 --- a/switch-my-slot.apparmor +++ b/switch-my-slot.apparmor @@ -1,5 +1,5 @@ { "policy_groups": [], "template": "unconfined", - "policy_version": 16.04 + "policy_version": 20.04 }