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. + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 1cd6dd7..78a8cd3 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -21,7 +21,7 @@ class Application extends App { public const APP_ID = 'side_menu'; - public const APP_NAME = 'Side menu'; + public const APP_NAME = 'Custom menu'; /** * @var OC\AllConfig */ 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'); } } diff --git a/src/l10n/fixtures/de.yaml b/src/l10n/fixtures/de.yaml index 5c14eb7..e156663 100644 --- a/src/l10n/fixtures/de.yaml +++ b/src/l10n/fixtures/de.yaml @@ -1,5 +1,5 @@ -"Side menu": "Seitenmenü" -"Enable the side menu": "Aktiviere das Seitenmenü" +"Custom menu": "Benutzerdefiniertes Menü" +"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 f09d939..44d24e9 100644 --- a/src/l10n/fixtures/fr.yaml +++ b/src/l10n/fixtures/fr.yaml @@ -1,5 +1,5 @@ -"Side menu": "Menu latéral" -"Enable the side menu": "Activer le menu latéral" +"Custom menu": "Menu personnalisé" +"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 = [