From a6397d2f24a341e959ff44d17b90fc652101d30d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 23 Sep 2020 13:16:58 +0200 Subject: [PATCH 1/3] update app icon --- img/icon.svg | 113 +++++++++++++++++++++++++++++++ lib/Settings/AdminSection.php | 2 +- lib/Settings/PersonalSection.php | 2 +- 3 files changed, 115 insertions(+), 2 deletions(-) create mode 100644 img/icon.svg diff --git a/img/icon.svg b/img/icon.svg new file mode 100644 index 0000000..905d9f9 --- /dev/null +++ b/img/icon.svg @@ -0,0 +1,113 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/lib/Settings/AdminSection.php b/lib/Settings/AdminSection.php index 3009ae3..7135d68 100644 --- a/lib/Settings/AdminSection.php +++ b/lib/Settings/AdminSection.php @@ -84,6 +84,6 @@ class AdminSection implements IIconSection */ public function getIcon() { - return $this->url->imagePath('theming', 'app-dark.svg'); + return $this->url->imagePath(Application::APP_ID, 'icon.svg'); } } diff --git a/lib/Settings/PersonalSection.php b/lib/Settings/PersonalSection.php index 8412840..77ec5a9 100644 --- a/lib/Settings/PersonalSection.php +++ b/lib/Settings/PersonalSection.php @@ -84,6 +84,6 @@ class PersonalSection implements IIconSection */ public function getIcon() { - return $this->url->imagePath('theming', 'app-dark.svg'); + return $this->url->imagePath(Application::APP_ID, 'icon.svg'); } } From c9645a4f854f10669b6c71913a13fe00b43a6571 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 23 Sep 2020 13:17:13 +0200 Subject: [PATCH 2/3] change 'Side menu' with 'Custom menu' --- README.md | 6 +++--- appinfo/info.xml | 2 +- lib/AppInfo/Application.php | 2 +- src/l10n/fixtures/de.yaml | 2 +- src/l10n/fixtures/fr.yaml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 472844a..1e42401 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -🤙 Nextcloud app / Side menu 🎨 +🤙 Nextcloud app / Custom menu 🎨 =============================== -Side menu allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top. +Allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top. You can also define apps that must be displayed in the top menu. Fully customisable. This application is rather suitable for instances that activate a lot of applications. @@ -17,7 +17,7 @@ You like this app and you want to support me? [Buy me a coffee](https://www.buym Installation and upgrade ------------------------ -Side menu is availabe from the app store. If you want to install it from source: go to https://gitnet.fr/deblan/side_menu/releases and download the last release (side_menu_vX.Y.Z.zip). Copy the content into `apps`. +Custom menu is available from the app store. If you want to install it from source: go to https://gitnet.fr/deblan/side_menu/releases and download the last release (side_menu_vX.Y.Z.zip). Copy the content into `apps`. ``` $ cd /path/to/nextcloud/apps diff --git a/appinfo/info.xml b/appinfo/info.xml index 90e189c..4d2baa8 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,7 +1,7 @@ side_menu - Side menu + Custom menu Modify the display of the menu. Date: Wed, 23 Sep 2020 13:21:22 +0200 Subject: [PATCH 3/3] update translations --- src/l10n/fixtures/de.yaml | 2 +- src/l10n/fixtures/fr.yaml | 2 +- templates/settings/personal-form.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/l10n/fixtures/de.yaml b/src/l10n/fixtures/de.yaml index 1e9f9c0..e156663 100644 --- a/src/l10n/fixtures/de.yaml +++ b/src/l10n/fixtures/de.yaml @@ -1,5 +1,5 @@ "Custom menu": "Benutzerdefiniertes Menü" -"Enable the side menu": "Aktiviere das Seitenmenü" +"Enable the custom menu": "Aktiviere das Benutzerdefiniertes Menü" "No": "Nein" "Yes": "Ja" "Menu": "Menü" diff --git a/src/l10n/fixtures/fr.yaml b/src/l10n/fixtures/fr.yaml index faad5ac..44d24e9 100644 --- a/src/l10n/fixtures/fr.yaml +++ b/src/l10n/fixtures/fr.yaml @@ -1,5 +1,5 @@ "Custom menu": "Menu personnalisé" -"Enable the side menu": "Activer le menu latéral" +"Enable the custom menu": "Activer le menu personnalisé" "No": "Non" "Yes": "Oui" "Menu": "Menu" diff --git a/templates/settings/personal-form.php b/templates/settings/personal-form.php index c9dd9a6..41e9540 100644 --- a/templates/settings/personal-form.php +++ b/templates/settings/personal-form.php @@ -35,7 +35,7 @@ $choicesYesNo = [