Compare commits
76 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 746585b1c7 | |||
| fef11cd0cf | |||
| 12b35470c7 | |||
| 23cb8fcfc1 | |||
| f2a9a11c08 | |||
| 2b4da9cfce | |||
| f2af45711d | |||
| 35afa38f73 | |||
| ad162f5821 | |||
| d3f87adcca | |||
| b32e4ded42 | |||
| 88e54e01b6 | |||
| f8b36938a4 | |||
| ce01983f1c | |||
| 6ee79a3110 | |||
| a32bf417a7 | |||
| 479cac1f90 | |||
| 337e1a07e3 | |||
| fccfe1341a | |||
| 242569316f | |||
| 78888460fc | |||
| f17d088b81 | |||
| f49b30b20e | |||
| 0067b4e1c8 | |||
| 77cf610c8b | |||
| f59e62bf0b | |||
| 5cd106640c | |||
| d057cd7665 | |||
| 520225603b | |||
| c2ecc5bf98 | |||
| 8cca320a43 | |||
| b9f204b545 | |||
| 19aaf0759b | |||
| 47a83f10cc | |||
| bed8d8ff21 | |||
| e1a191121d | |||
| 54f4dce09b | |||
| c0aaa206ed | |||
| 0124336558 | |||
| 5ccb56309a | |||
| 7d26be253a | |||
| 0437019bb0 | |||
| 2e5404464e | |||
| be68f2ef55 | |||
| 1bf9cee8d6 | |||
| 403a7a72fb | |||
| 81ae76cdb7 | |||
| 32e5ecda8f | |||
| de98967da5 | |||
| 28e08e51a3 | |||
| f39f3b3aef | |||
| 0db732b921 | |||
| ce39df6c2d | |||
| bc94b61c12 | |||
| c54c969824 | |||
| e828a914cf | |||
| 177f88b9aa | |||
| 66a6fda385 | |||
| 9ad73c7bf7 | |||
| acde24ea71 | |||
| 8bd89b4565 | |||
| 58cfbc24af | |||
| a00fcb1423 | |||
| f335c086b6 | |||
| 7bc8cd857c | |||
| d9051304c8 | |||
| 95d7c1f0c7 | |||
| c6fe0db0b6 | |||
| 3fbfd36cba | |||
| 70a3fefb3d | |||
| ddb5b13849 | |||
| 9f8db6be4f | |||
| cc28ad4dc5 | |||
| 3e139d42a8 | |||
| a956efaf15 | |||
| 6a54ae3781 |
@@ -2,8 +2,4 @@
|
||||
/node_modules
|
||||
/l10n/*
|
||||
/releases
|
||||
/package-lock.json
|
||||
!/l10n/.gitkeep
|
||||
/yarn*.log
|
||||
/src/admin.js.bk
|
||||
/templates/settings/admin-form.php.bk
|
||||
|
||||
+522
-131
File diff suppressed because it is too large
Load Diff
@@ -40,7 +40,7 @@ If you want to install it from source, go to https://gitnet.fr/deblan/side_menu/
|
||||
|
||||
```
|
||||
$ cd /path/to/nextcloud/apps
|
||||
$ VERSION=x.y.z; curl -sS https://gitnet.fr/deblan/side_menu/releases/download/v${VERSION}/side_menu_v${VERSION}.tar.gz | tar xvfz -
|
||||
$ VERSION=x.y.z; curl -sS "https://gitnet.fr/deblan/side_menu/releases/download/${VERSION}/side_menu_v${VERSION}.tar.gz" | tar xvfz -
|
||||
```
|
||||
|
||||
Administrators can edit many settings using the administration page.
|
||||
|
||||
+3
-3
@@ -30,7 +30,7 @@ Notice
|
||||
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
|
||||
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
|
||||
]]></description>
|
||||
<version>5.1.1</version>
|
||||
<version>6.0.0</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author>
|
||||
<namespace>SideMenu</namespace>
|
||||
@@ -52,8 +52,8 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
|
||||
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png]]></screenshot>
|
||||
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png]]></screenshot>
|
||||
<dependencies>
|
||||
<php min-version="8.1" max-version="8.4" />
|
||||
<nextcloud min-version="31" max-version="32"/>
|
||||
<php min-version="8.1" max-version="8.5" />
|
||||
<nextcloud min-version="34" max-version="34"/>
|
||||
</dependencies>
|
||||
<settings>
|
||||
<admin>OCA\SideMenu\Settings\Admin</admin>
|
||||
|
||||
@@ -6,6 +6,7 @@ use OC\AllConfig;
|
||||
use OC\App\AppStore\Fetcher\CategoryFetcher;
|
||||
use OC\AppFramework\Http\Request;
|
||||
use OC\Security\CSP\ContentSecurityPolicyNonceManager;
|
||||
use OC\Security\CSRF\CsrfTokenManager;
|
||||
use OC\User\User;
|
||||
use OCA\SideMenu\Service\AppRepository;
|
||||
use OCA\SideMenu\Service\CategoryRepository;
|
||||
@@ -19,8 +20,11 @@ use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
||||
use OCP\EventDispatcher\IEventDispatcher;
|
||||
use OCP\IConfig;
|
||||
use OCP\INavigationManager;
|
||||
use OCP\IRequest;
|
||||
use OCP\IURLGenerator;
|
||||
use OCP\IUserSession;
|
||||
use OCP\L10N\IFactory;
|
||||
use OCP\Server;
|
||||
use OCP\Util;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
@@ -34,9 +38,9 @@ class Application extends App implements IBootstrap
|
||||
public const APP_ID = 'side_menu';
|
||||
public const APP_NAME = 'Custom menu';
|
||||
|
||||
protected AllConfig $config;
|
||||
protected IConfig $config;
|
||||
protected ContentSecurityPolicyNonceManager $cspnm;
|
||||
protected Request $request;
|
||||
protected IRequest $request;
|
||||
protected ?User $user = null;
|
||||
|
||||
public function __construct(array $urlParams = [])
|
||||
@@ -83,10 +87,9 @@ class Application extends App implements IBootstrap
|
||||
|
||||
public function boot(IBootContext $context): void
|
||||
{
|
||||
$this->config = \OC::$server->getConfig();
|
||||
$this->cspnm = \OC::$server->getContentSecurityPolicyNonceManager();
|
||||
$this->user = \OC::$server[IUserSession::class]->getUser();
|
||||
$this->request = \OC::$server->getRequest();
|
||||
$this->config = Server::get(IConfig::class);
|
||||
$this->user = Server::get(IUserSession::class)->getUser();
|
||||
$this->request = Server::get(IRequest::class);
|
||||
|
||||
if (!$this->isEnabled()) {
|
||||
return;
|
||||
@@ -138,7 +141,7 @@ class Application extends App implements IBootstrap
|
||||
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');
|
||||
|
||||
foreach ($assets as $value) {
|
||||
$route = \OC::$server->getURLGenerator()->linkToRoute(
|
||||
$route = Server::get(IURLGenerator::class)->linkToRoute(
|
||||
$value['route'],
|
||||
['v' => $cache]
|
||||
);
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
namespace OCA\SideMenu\Controller;
|
||||
|
||||
use OC\User\User;
|
||||
use OCA\SideMenu\AppInfo\Application;
|
||||
use OCA\SideMenu\Service\ConfigProxy;
|
||||
use OCA\Theming\ThemingDefaults;
|
||||
use OCP\AppFramework\Controller;
|
||||
@@ -29,10 +28,12 @@ use OCP\AppFramework\Http\Attribute\NoAdminRequired;
|
||||
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
|
||||
use OCP\AppFramework\Http\Attribute\PublicPage;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCP\IRequest;
|
||||
use OCP\IUserSession;
|
||||
use OCP\L10N\IFactory;
|
||||
use OCP\IAvatarManager;
|
||||
use OCP\INavigationManager;
|
||||
use OCP\IURLGenerator;
|
||||
|
||||
class JsController extends Controller
|
||||
{
|
||||
@@ -44,14 +45,13 @@ class JsController extends Controller
|
||||
protected ConfigProxy $config,
|
||||
protected ThemingDefaults $themingDefaults,
|
||||
protected IFactory $l10nFactory,
|
||||
protected IAvatarManager $avatarManager,
|
||||
protected IUserSession $userSession,
|
||||
protected INavigationManager $navigationManager,
|
||||
protected IURLGenerator $urlGenerator,
|
||||
) {
|
||||
parent::__construct($appName, $request);
|
||||
|
||||
$this->themingDefaults = $themingDefaults;
|
||||
|
||||
$this->user = \OC::$server[IUserSession::class]->getUser();
|
||||
$this->config = $config;
|
||||
$this->l10nFactory = $l10nFactory;
|
||||
$this->user = $this->userSession->getUser();
|
||||
}
|
||||
|
||||
#[NoCSRFRequired]
|
||||
@@ -99,25 +99,25 @@ class JsController extends Controller
|
||||
$targetBlankApps = $userTargetBlankApps;
|
||||
}
|
||||
|
||||
$isAvatarSet = \OC::$server->getAvatarManager()->getAvatar($this->user->getUid())->exists();
|
||||
$isAvatarSet = $this->avatarManager->getAvatar($this->user->getUID())->exists();
|
||||
|
||||
if ($useAvatar && $isAvatarSet) {
|
||||
$avatar = \OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', [
|
||||
'userId' => $this->user->getUid(),
|
||||
$avatar = $this->urlGenerator->linkToRoute('core.avatar.getAvatar', [
|
||||
'userId' => $this->user->getUID(),
|
||||
'size' => 128,
|
||||
'v' => $this->config->getUserValueInt($this->user, 'avatar', 'version', 0),
|
||||
]);
|
||||
}
|
||||
|
||||
if ($this->config->getAppValueBool('show-settings', '0')) {
|
||||
$settingsNav = \OC::$server->getNavigationManager()->getAll('settings');
|
||||
$settingsNav = $this->navigationManager->getAll('settings');
|
||||
|
||||
if (isset($settingsNav['settings'])) {
|
||||
$settings = [
|
||||
'href' => $settingsNav['settings']['href'],
|
||||
'name' => $settingsNav['settings']['name'],
|
||||
'avatar' => \OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', [
|
||||
'userId' => $this->user->getUid(),
|
||||
'avatar' => $this->urlGenerator->linkToRoute('core.avatar.getAvatar', [
|
||||
'userId' => $this->user->getUID(),
|
||||
'size' => 32,
|
||||
'v' => $this->config->getUserValueInt($this->user, 'avatar', 'version', 0),
|
||||
]),
|
||||
@@ -126,7 +126,7 @@ class JsController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
$indexUrl = \OC::$server->getURLGenerator()->linkTo('', 'index.php');
|
||||
$indexUrl = $this->urlGenerator->linkTo('', 'index.php');
|
||||
|
||||
return [
|
||||
'opener-position' => $this->config->getAppValue('opener-position', 'before'),
|
||||
|
||||
@@ -30,7 +30,12 @@ class LangRepository
|
||||
->from('preferences')
|
||||
;
|
||||
|
||||
$stmt = $qb->execute();
|
||||
// Nextcloud >=33+
|
||||
if (method_exists($qb, 'executeQuery')) {
|
||||
$stmt = $qb->executeQuery();
|
||||
} else {
|
||||
$stmt = $qb->execute();
|
||||
}
|
||||
|
||||
$langs = ['en'];
|
||||
|
||||
|
||||
Generated
+9300
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -11,8 +11,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": ">=7.12.0 <8.0.0",
|
||||
"@formatjs/intl-segmenter": "^12.0.8",
|
||||
"@nextcloud/router": "^3.0.1",
|
||||
"@nextcloud/vue": "^9.0.0-alpha.8",
|
||||
"@nextcloud/vue": "^9.9.0",
|
||||
"node-polyfill-webpack-plugin": "^4.1.0",
|
||||
"pinia": "^3.0.1",
|
||||
"postcss": "^7.0.0 || ^8.0.1",
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
import './scss/admin.scss'
|
||||
|
||||
import '@formatjs/intl-segmenter/polyfill.js'
|
||||
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import { waitContainer } from './lib/dom.js'
|
||||
|
||||
@@ -73,10 +73,10 @@ const save = async () => {
|
||||
if (Array.isArray(value) || typeof value === 'object') {
|
||||
value = JSON.stringify(value)
|
||||
} else if (typeof value === 'boolean') {
|
||||
value = value ? 1 : 0
|
||||
value = value ? '1' : '0'
|
||||
}
|
||||
|
||||
OCP.AppConfig.setValue('side_menu', key, value, {
|
||||
OCP.AppConfig.setValue('side_menu', key, value.toString(), {
|
||||
success() {
|
||||
update()
|
||||
},
|
||||
|
||||
@@ -69,11 +69,11 @@ const save = async () => {
|
||||
if (Array.isArray(value) || typeof value === 'object') {
|
||||
value = JSON.stringify(value)
|
||||
} else if (typeof value === 'boolean') {
|
||||
value = value ? 1 : 0
|
||||
value = value ? '1' : '0'
|
||||
}
|
||||
|
||||
formData.push('name=' + encodeURIComponent(key))
|
||||
formData.push('value=' + encodeURIComponent(value))
|
||||
formData.push('value=' + encodeURIComponent(value.toString()))
|
||||
|
||||
fetch(url, {
|
||||
method: 'POST',
|
||||
|
||||
+13
-13
@@ -94,18 +94,18 @@
|
||||
'Search': 'Hledat'
|
||||
'Toggle the menu': 'Vyp/zap nabídku'
|
||||
'Open the documentation': 'Open the documentation'
|
||||
'Ask the developer': 'Ask the developer'
|
||||
'New request': 'New request'
|
||||
'Report a bug': 'Report a bug'
|
||||
'Show the configuration': 'Show the configuration'
|
||||
'Ask the developer': 'Zeptejte se vývojáře'
|
||||
'New request': 'Nový požadavek'
|
||||
'Report a bug': 'Nahlásit chybu'
|
||||
'Show the configuration': 'Zobrazit nastavení'
|
||||
'Configuration:': 'Configuration:'
|
||||
'Done!': 'Done!'
|
||||
'Copy': 'Copy'
|
||||
'Need help': 'Need help'
|
||||
'I would like a new feature': 'I would like a new feature'
|
||||
'Something went wrong': 'Something went wrong'
|
||||
'Select apps': 'Select apps'
|
||||
'Sort': 'Sort'
|
||||
'Customize': 'Customize'
|
||||
'Done!': 'Hotovo!'
|
||||
'Copy': 'Zkopírovat'
|
||||
'Need help': 'Potřebuji pomoc'
|
||||
'I would like a new feature': 'Rád bych novou funkci v aplikaci'
|
||||
'Something went wrong': 'Něco se pokazilo'
|
||||
'Select apps': 'Vyberte aplikace'
|
||||
'Sort': 'Seřadit'
|
||||
'Customize': 'Přizpůsobit'
|
||||
'Custom': 'Custom'
|
||||
'Close': 'Close'
|
||||
'Close': 'Zavřít'
|
||||
|
||||
+13
-13
@@ -94,18 +94,18 @@
|
||||
'Search': 'Buscar'
|
||||
'Toggle the menu': 'Alternar el menú'
|
||||
'Open the documentation': 'Open the documentation'
|
||||
'Ask the developer': 'Ask the developer'
|
||||
'New request': 'New request'
|
||||
'Report a bug': 'Report a bug'
|
||||
'Show the configuration': 'Show the configuration'
|
||||
'Ask the developer': 'Pregúntale al desarrollador'
|
||||
'New request': 'Nueva solicitud'
|
||||
'Report a bug': 'Informar de un fallo'
|
||||
'Show the configuration': 'Mostrar los ajustes'
|
||||
'Configuration:': 'Configuration:'
|
||||
'Done!': 'Done!'
|
||||
'Copy': 'Copy'
|
||||
'Need help': 'Need help'
|
||||
'I would like a new feature': 'I would like a new feature'
|
||||
'Something went wrong': 'Something went wrong'
|
||||
'Select apps': 'Select apps'
|
||||
'Sort': 'Sort'
|
||||
'Customize': 'Customize'
|
||||
'Done!': '¡Realizado!'
|
||||
'Copy': 'Copiar'
|
||||
'Need help': 'Ayudame'
|
||||
'I would like a new feature': 'Me gustaría una nueva función'
|
||||
'Something went wrong': 'Algo salió mal'
|
||||
'Select apps': 'Selecciona las aplicaciones'
|
||||
'Sort': 'Ordenar'
|
||||
'Customize': 'Personalizar'
|
||||
'Custom': 'Custom'
|
||||
'Close': 'Close'
|
||||
'Close': 'Cerrar'
|
||||
|
||||
+36
-17
@@ -3,13 +3,18 @@
|
||||
'No': 'Non'
|
||||
'Yes': 'Oui'
|
||||
'Menu': 'Menu'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Utiliser le raccourcis clavier Ctrl+o pour ouvrir et fermer le menu latéral. Utiliser tab key pour naviguer.'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Utiliser
|
||||
le raccourcis clavier Ctrl+o pour ouvrir et fermer le menu latéral. Utiliser tab
|
||||
key pour naviguer.'
|
||||
'Top menu': 'Menu supérieur'
|
||||
'Apps that not must be moved in the side menu': 'Les applications qui ne doivent pas être affichées dans le menu latéral'
|
||||
'If there is no selection then the global configuration is applied.': "Si il n'y a aucune sélection alors la configuration globale sera appliquée."
|
||||
'Apps that not must be moved in the side menu': 'Les applications qui ne doivent pas
|
||||
être affichées dans le menu latéral'
|
||||
'If there is no selection then the global configuration is applied.': "Si il n'y a
|
||||
aucune sélection alors la configuration globale sera appliquée."
|
||||
'Experimental': 'Expérimental'
|
||||
'Save': 'Sauvegarder'
|
||||
'You like this app and you want to support me?': "Vous aimer cette application et vous souhaitez m'aider ?"
|
||||
'You like this app and you want to support me?': "Vous aimer cette application et
|
||||
vous souhaitez m'aider ?"
|
||||
'Buy me a coffee ☕': 'Offrez moi un café ☕'
|
||||
'Hidden': 'Caché'
|
||||
'Small': 'Petit'
|
||||
@@ -43,17 +48,22 @@
|
||||
'Before the logo': 'Avant le logo'
|
||||
'After the logo': 'Après le logo'
|
||||
'Position': 'Position'
|
||||
'Show only the opener (hidden logo)': "Afficher uniquement le bouton d'ouverture (masquer le logo)"
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': "Ne pas afficher le menu latéral et le bouton d'ouverture s'il n'y a aucune application (exemple : page publiques)."
|
||||
'Show only the opener (hidden logo)': "Afficher uniquement le bouton d'ouverture (masquer
|
||||
le logo)"
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': "Ne
|
||||
pas afficher le menu latéral et le bouton d'ouverture s'il n'y a aucune application
|
||||
(exemple : page publiques)."
|
||||
'Panel': 'Panneau'
|
||||
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Ouvrir le menu au passage de la souris (automatiquement désactivé sur les écrans tactiles)'
|
||||
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Ouvrir
|
||||
le menu au passage de la souris (automatiquement désactivé sur les écrans tactiles)'
|
||||
'Display the big menu': 'Afficher le menu large'
|
||||
'Display the logo': 'Afficher le logo'
|
||||
'Icons and texts': 'Icônes et textes'
|
||||
'Loader enabled': "Activation de l'indicateur de chargement"
|
||||
'Tips': 'Astuces'
|
||||
'Always displayed': 'Toujours affiché'
|
||||
'This is the automatic behavior when the menu is always displayed.': "C'est le comportement automatique lorsque le menu est toujours affiché."
|
||||
'This is the automatic behavior when the menu is always displayed.': "C'est le comportement
|
||||
automatique lorsque le menu est toujours affiché."
|
||||
'Not compatible with touch screens.': 'Incompatible avec les écrans tactiles.'
|
||||
'Big menu': 'Menu large'
|
||||
'Live preview': 'Aperçu en direct'
|
||||
@@ -62,16 +72,21 @@
|
||||
'Use my selection': 'Utiliser ma sélection'
|
||||
'Show and hide the list of applications': 'Afficher et masquer la liste des applications'
|
||||
'Use the avatar instead of the logo': "Utiliser l'avatar à la place du logo"
|
||||
'You do not have permission to change the settings.': "Vous n'avez pas la permission de changer les paramètres."
|
||||
'You do not have permission to change the settings.': "Vous n'avez pas la permission
|
||||
de changer les paramètres."
|
||||
'Force this configuration to users': 'Forcer cette configuration aux utilisateurs'
|
||||
'Export the configuration': 'Exporter la configuration'
|
||||
'Purge the cache': 'Purger le cache'
|
||||
'Show the link to settings': 'Afficher le lien vers les paramètres'
|
||||
'The menu is enabled by default for users': 'Le menu est activé par défaut pour les utilisateurs'
|
||||
'The menu is enabled by default for users': 'Le menu est activé par défaut pour les
|
||||
utilisateurs'
|
||||
'Except when the configuration is forced.': 'Sauf lorsque la configuration est forcée.'
|
||||
'Apps that should not be displayed in the menu': 'Applications qui ne doivent pas être affichées dans le menu'
|
||||
'This feature is only compatible with the <code>big menu</code> display.': "Compatible avec l'affichage <code>Menu large</code>."
|
||||
'The logo is a link to the default app': "Le logo est un lien vers l'application par défaut"
|
||||
'Apps that should not be displayed in the menu': 'Applications qui ne doivent pas
|
||||
être affichées dans le menu'
|
||||
'This feature is only compatible with the <code>big menu</code> display.': "Compatible
|
||||
avec l'affichage <code>Menu large</code>."
|
||||
'The logo is a link to the default app': "Le logo est un lien vers l'application par
|
||||
défaut"
|
||||
'Others': 'Autres'
|
||||
'Categories': 'Catégories'
|
||||
'Customize sorting': 'Personnaliser le tri'
|
||||
@@ -79,7 +94,8 @@
|
||||
'Name': 'Nom'
|
||||
'Customed': 'Personnalisé'
|
||||
'Show and hide the list of categories': 'Afficher et masquer la liste des catégories'
|
||||
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Ces paramètres sont utilisés lorsque le thème sombre ou le thème Breeze Dark sont activés.'
|
||||
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Ces
|
||||
paramètres sont utilisés lorsque le thème sombre ou le thème Breeze Dark sont activés.'
|
||||
'Dark mode colors': 'Couleurs du mode sombre'
|
||||
'With categories': 'Avec les catégories'
|
||||
'Custom categories': 'Catégories personnalisées'
|
||||
@@ -87,9 +103,12 @@
|
||||
'Reset to default': 'Restaurer les valeurs par défaut'
|
||||
'Applications': 'Applications'
|
||||
'Applications kept in the top menu': 'Applications conservées dans le menu supérieur'
|
||||
'Applications kept in the top menu but also shown in side menu': 'Applications conservées dans le menu supérieur mais également affichées dans le menu latéral'
|
||||
'These applications must be selected in the previous option.': "Ces applications doivent également être sélectionnées dans l'option précédente."
|
||||
'Hide labels on mouse over': 'Masquer le libellé des applications au passage de la souris'
|
||||
'Applications kept in the top menu but also shown in side menu': 'Applications conservées
|
||||
dans le menu supérieur mais également affichées dans le menu latéral'
|
||||
'These applications must be selected in the previous option.': "Ces applications doivent
|
||||
également être sélectionnées dans l'option précédente."
|
||||
'Hide labels on mouse over': 'Masquer le libellé des applications au passage de la
|
||||
souris'
|
||||
'Except the hovered app': "À l'exception de l'application survolée"
|
||||
'Search': 'Rechercher'
|
||||
'Toggle the menu': 'Basculer le menu'
|
||||
|
||||
+16
-16
@@ -3,7 +3,7 @@
|
||||
'No': 'Non'
|
||||
'Yes': 'Si'
|
||||
'Menu': 'Menú'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Use o atallo Ctrl+o para abrir e agochar o menú lateral. Use a tecla Tab para navegar.'
|
||||
'Top menu': 'Top menu'
|
||||
'Apps that not must be moved in the side menu': 'As aplicacións que non deben moverse no menú lateral'
|
||||
'If there is no selection then the global configuration is applied.': 'Se non hai selección, aplícase a configuración global.'
|
||||
@@ -94,18 +94,18 @@
|
||||
'Search': 'Buscar'
|
||||
'Toggle the menu': 'Alternar o menú'
|
||||
'Open the documentation': 'Open the documentation'
|
||||
'Ask the developer': 'Ask the developer'
|
||||
'New request': 'New request'
|
||||
'Report a bug': 'Report a bug'
|
||||
'Show the configuration': 'Show the configuration'
|
||||
'Configuration:': 'Configuration:'
|
||||
'Done!': 'Done!'
|
||||
'Copy': 'Copy'
|
||||
'Need help': 'Need help'
|
||||
'I would like a new feature': 'I would like a new feature'
|
||||
'Something went wrong': 'Something went wrong'
|
||||
'Select apps': 'Select apps'
|
||||
'Sort': 'Sort'
|
||||
'Customize': 'Customize'
|
||||
'Custom': 'Custom'
|
||||
'Close': 'Close'
|
||||
'Ask the developer': 'Preguntar ao desenvolvedor'
|
||||
'New request': 'Nova solicitude'
|
||||
'Report a bug': 'Informar dun fallo'
|
||||
'Show the configuration': 'Amosar a configuración'
|
||||
'Configuration:': 'Configuración:'
|
||||
'Done!': 'Feito!'
|
||||
'Copy': 'Copiar'
|
||||
'Need help': 'Necesito axuda'
|
||||
'I would like a new feature': 'Gustaríame unha nova característica'
|
||||
'Something went wrong': 'Algo foi mal'
|
||||
'Select apps': 'Seleccionar as aplicacións'
|
||||
'Sort': 'Ordenar'
|
||||
'Customize': 'Personalizar'
|
||||
'Custom': 'Personalizado'
|
||||
'Close': 'Pechar'
|
||||
|
||||
+21
-21
@@ -1,4 +1,4 @@
|
||||
'Custom menu': 'Custom menu'
|
||||
'Custom menu': 'Пользовательское меню'
|
||||
'Enable the custom menu': 'Включить пользовательское меню'
|
||||
'No': 'Нет'
|
||||
'Yes': 'Да'
|
||||
@@ -43,8 +43,8 @@
|
||||
'Before the logo': 'Перед логотипом'
|
||||
'After the logo': 'После логотипа'
|
||||
'Position': 'Положение'
|
||||
'Show only the opener (hidden logo)': 'Показать только открывающую часть (скрытый логотип)'
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Не отображать боковое меню и открывалку, если нет приложения (например, публичные страницы).'
|
||||
'Show only the opener (hidden logo)': 'Показать только открывающую кнопку (скрытый логотип)'
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Не отображать боковое меню и открывалку, если нет доступного приложения (н.п. публичные страницы).'
|
||||
'Panel': 'Панель'
|
||||
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Открывать меню при наведении мыши на открывалку (автоматически отключается на сенсорных экранах)'
|
||||
'Display the big menu': 'Отобразить большое меню'
|
||||
@@ -63,21 +63,21 @@
|
||||
'Show and hide the list of applications': 'Показать или скрыть список приложений'
|
||||
'Use the avatar instead of the logo': 'Использовать аватар вместо логотипа'
|
||||
'You do not have permission to change the settings.': 'У вас нет разрешения изменять настройки.'
|
||||
'Force this configuration to users': 'Принудительно предоставить эту конфигурацию пользователям'
|
||||
'Force this configuration to users': 'Для обеспечения соблюдения этих настроек пользователями'
|
||||
'Export the configuration': 'Экспортировать конфигурацию'
|
||||
'Purge the cache': 'Очистить кэш'
|
||||
'Show the link to settings': 'Показать ссылку на настройки'
|
||||
'The menu is enabled by default for users': 'Это меню включено по умолчанию для пользователей'
|
||||
'Except when the configuration is forced.': 'За исключением случаев, когда конфигурация является принудительной.'
|
||||
'Except when the configuration is forced.': 'За исключением случаев, когда настройка принудительная.'
|
||||
'Apps that should not be displayed in the menu': 'Ппрограммы, скрытые из меню'
|
||||
'This feature is only compatible with the <code>big menu</code> display.': 'Эта функция совместима только с отображением <code>большого меню</code>.'
|
||||
'This feature is only compatible with the <code>big menu</code> display.': 'Эта возможность совместима только с отображением <code>большого меню</code>.'
|
||||
'The logo is a link to the default app': 'Логотип открывает приложение по умолчанию'
|
||||
'Others': 'Прочие'
|
||||
'Categories': 'Категории'
|
||||
'Customize sorting': 'Настроить сортировку'
|
||||
'Order by': 'В порядке'
|
||||
'Name': 'Название'
|
||||
'Customed': 'Customed'
|
||||
'Customed': 'Пользовательское'
|
||||
'Show and hide the list of categories': 'Показать или скрыть список категорий'
|
||||
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Эти настройки используются темами Тёмная и Тёмная Breeze.'
|
||||
'Dark mode colors': 'Цвета тёмной темы'
|
||||
@@ -90,22 +90,22 @@
|
||||
'Applications kept in the top menu but also shown in side menu': 'Приложения хранящиеся в верхнем меню, но также отображающиеся в боковом меню'
|
||||
'These applications must be selected in the previous option.': 'Эти приложения необходимо выбрать в предыдущем выборе.'
|
||||
'Hide labels on mouse over': 'Скрыть название при наведении мыши'
|
||||
'Except the hovered app': 'Кроме приложения, на котором курсор'
|
||||
'Except the hovered app': 'Кроме приложения на котором сейчас'
|
||||
'Search': 'Поиск'
|
||||
'Toggle the menu': 'Переключить меню'
|
||||
'Open the documentation': 'Open the documentation'
|
||||
'Ask the developer': 'Ask the developer'
|
||||
'New request': 'New request'
|
||||
'Report a bug': 'Report a bug'
|
||||
'Show the configuration': 'Show the configuration'
|
||||
'Ask the developer': 'Спросить разработчика'
|
||||
'New request': 'Новый запрос'
|
||||
'Report a bug': 'Пожаловаться на ошибку'
|
||||
'Show the configuration': 'Показать конфигурацию'
|
||||
'Configuration:': 'Configuration:'
|
||||
'Done!': 'Done!'
|
||||
'Copy': 'Copy'
|
||||
'Need help': 'Need help'
|
||||
'I would like a new feature': 'I would like a new feature'
|
||||
'Something went wrong': 'Something went wrong'
|
||||
'Select apps': 'Select apps'
|
||||
'Sort': 'Sort'
|
||||
'Customize': 'Customize'
|
||||
'Done!': 'Готово!'
|
||||
'Copy': 'Копировать'
|
||||
'Need help': 'Нужна помощь'
|
||||
'I would like a new feature': 'Я хочу новую возможность'
|
||||
'Something went wrong': 'Что-то пошло не так'
|
||||
'Select apps': 'Выберете приложения'
|
||||
'Sort': 'Сортировать'
|
||||
'Customize': 'Приспособить'
|
||||
'Custom': 'Custom'
|
||||
'Close': 'Close'
|
||||
'Close': 'Закрыть'
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
'Applications kept in the top menu but also shown in side menu': 'Applications kept in the top menu but also shown in side menu'
|
||||
'These applications must be selected in the previous option.': 'These applications must be selected in the previous option.'
|
||||
'Hide labels on mouse over': 'Hide labels on mouse over'
|
||||
'Toggle the menu': 'Toggle the menu'
|
||||
'Toggle the menu': 'Prepnite ponuku'
|
||||
'Open the documentation': 'Open the documentation'
|
||||
'Ask the developer': 'Ask the developer'
|
||||
'New request': 'New request'
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
'Custom menu': 'Anpassad meny'
|
||||
'Enable the custom menu': 'Aktivera den anpassade menyn'
|
||||
'No': 'Nej'
|
||||
'Yes': 'Ja'
|
||||
'Menu': 'Meny'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Använd genvägen Ctrl+o för att visa eller dölja sidomenyn. Använd tabb-tangenten för att navigera.'
|
||||
'Top menu': 'Toppmeny'
|
||||
'Apps that not must be moved in the side menu': 'Appar som inte får flyttas i sidomenyn'
|
||||
'If there is no selection then the global configuration is applied.': 'Om inget val har gjorts tillämpas den globala konfigurationen.'
|
||||
'Experimental': 'Experimentell'
|
||||
'Save': 'Spara'
|
||||
'You like this app and you want to support me?': 'Gillar du den här appen och vill stödja mig?'
|
||||
'Buy me a coffee ☕': 'Bjud mig på en kaffe ☕'
|
||||
'Hidden': 'Dold'
|
||||
'Small': 'Liten'
|
||||
'Normal': 'Normal'
|
||||
'Big': 'Stor'
|
||||
'Hidden icon': 'Dold ikon'
|
||||
'Small icon': 'Liten ikon'
|
||||
'Normal icon': 'Normal ikon'
|
||||
'Big icon': 'Stor ikon'
|
||||
'Hidden text': 'Dold text'
|
||||
'Small text': 'Liten text'
|
||||
'Normal text': 'Normal text'
|
||||
'Big text': 'Stor text'
|
||||
'Colors': 'Färger'
|
||||
'Background color': 'Bakgrundsfärg'
|
||||
'Background color of current app': 'Bakgrundsfärg för aktuell app'
|
||||
'Text color': 'Textfärg'
|
||||
'Loader': 'Laddare'
|
||||
'Icon': 'Ikon'
|
||||
'Same color': 'Samma färg'
|
||||
'Opposite color': 'Motsatt färg'
|
||||
'Transparent': 'Transparent'
|
||||
'Opaque': 'Ogenomskinlig'
|
||||
'Opener': 'Öppnare'
|
||||
'Default': 'Standard'
|
||||
'Default (dark)': 'Standard(mörk)'
|
||||
'Hamburger': 'Hamburgermeny'
|
||||
'Hamburger (dark)': 'Hamburgermeny(mörk)'
|
||||
'Hamburger 2': 'Hamburgermeny 2'
|
||||
'Hamburger 2 (dark)': 'Hamburgermeny 2 (mörk)'
|
||||
'Before the logo': 'Före logotypen'
|
||||
'After the logo': 'Efter logotypen'
|
||||
'Position': 'Position'
|
||||
'Show only the opener (hidden logo)': 'Visa endast öppnaren (gömd logotyp)'
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Visa inte sidomenyn eller öppnaren om det inte finns någon applikation (t.ex. publika sidor).'
|
||||
'Panel': 'Panel'
|
||||
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Öppna menyn när muspekaren hovrar över öppnaren (automatiskt avaktiverat på pekskärmar)'
|
||||
'Display the big menu': 'Visa den stora menyn'
|
||||
'Display the logo': 'Visa logotypen'
|
||||
'Icons and texts': 'Ikoner och texter'
|
||||
'Loader enabled': 'Laddare aktiverad'
|
||||
'Tips': 'Tips'
|
||||
'Always displayed': 'Alltid visad'
|
||||
'This is the automatic behavior when the menu is always displayed.': 'Detta är det automatiska beteendet när menyn alltid är visad.'
|
||||
'Not compatible with touch screens.': 'Inte kompatibel med pekskärmar.'
|
||||
'Big menu': 'Stor meny'
|
||||
'Live preview': 'Förhandsgranskning i realtid'
|
||||
'Open apps in new tab': 'Öppna appar i ny flik'
|
||||
'Use the global setting': 'Använd den globala inställningen'
|
||||
'Use my selection': 'Använd mitt val'
|
||||
'Show and hide the list of applications': 'Visa och dölj listan över applikationer'
|
||||
'Use the avatar instead of the logo': 'Använd avataren istället för logotypen'
|
||||
'You do not have permission to change the settings.': 'Du har inte behörighet att ändra inställningarna.'
|
||||
'Force this configuration to users': 'Tvinga denna konfiguration för användare'
|
||||
'Export the configuration': 'Exportera konfigurationen'
|
||||
'Purge the cache': 'Rensa cachen'
|
||||
'Show the link to settings': 'Visa länken till inställningarna'
|
||||
'The menu is enabled by default for users': 'Menyn är aktiverad som standard för användare'
|
||||
'Except when the configuration is forced.': 'Förutom när konfigurationen är tvingad.'
|
||||
'Apps that should not be displayed in the menu': 'Appar som inte ska visas i menyn'
|
||||
'This feature is only compatible with the <code>big menu</code> display.': 'Denna funktion är endast kompatibel med <code>stor meny</code>.'
|
||||
'The logo is a link to the default app': 'Logotypen är en länk till standardappen'
|
||||
'Others': 'Övriga'
|
||||
'Categories': 'Kategorier'
|
||||
'Customize sorting': 'Anpassa sortering'
|
||||
'Order by': 'Sortera efter'
|
||||
'Name': 'Namn'
|
||||
'Customed': 'Anpassad'
|
||||
'Show and hide the list of categories': 'Visa och dölj listan över kategorier'
|
||||
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Dessa parametrar används när mörkt tema eller Breeze Dark Theme är aktiverade.'
|
||||
'Dark mode colors': 'Färger för mörkt läge'
|
||||
'With categories': 'Med kategorier'
|
||||
'Custom categories': 'Anpassade kategorier'
|
||||
'Customize application categories': 'Anpassa app kategorier'
|
||||
'Reset to default': 'Återställ till standardvärden'
|
||||
'Applications': 'Applikationer'
|
||||
'Applications kept in the top menu': 'Applikationer som hålls i toppmenyn'
|
||||
'Applications kept in the top menu but also shown in side menu': 'Applikationer som visas både i toppmenyn och i sidomenyn'
|
||||
'These applications must be selected in the previous option.': 'Dessa applikationer måste väljas i föregående alternativ.'
|
||||
'Hide labels on mouse over': 'Dölj etiketter när muspekaren är över'
|
||||
'Except the hovered app': 'Förutom den app som muspekaren är över'
|
||||
'Search': 'Sök'
|
||||
'Toggle the menu': 'Växla menyn'
|
||||
'Open the documentation': 'Öppna dokumentationen'
|
||||
'Ask the developer': 'Fråga utvecklaren'
|
||||
'New request': 'Ny förfrågan'
|
||||
'Report a bug': 'Rapportera ett fel'
|
||||
'Show the configuration': 'Visa konfigurationen'
|
||||
'Configuration:': 'Konfiguration:'
|
||||
'Done!': 'Klar!'
|
||||
'Copy': 'Kopiera'
|
||||
'Need help': 'Behöver hjälp'
|
||||
'I would like a new feature': 'Jag skulle vilja ha en ny funktion'
|
||||
'Something went wrong': 'Något gick fel'
|
||||
'Select apps': 'Välj appar'
|
||||
'Sort': 'Sortera'
|
||||
'Customize': 'Anpassa'
|
||||
'Custom': 'Anpassad'
|
||||
'Close': 'Stäng'
|
||||
@@ -1,9 +1,9 @@
|
||||
'Custom menu': '自定义菜单'
|
||||
'Enable the custom menu': '启用自定义菜单'
|
||||
'No': '取消'
|
||||
'Yes': '确定'
|
||||
'No': '否'
|
||||
'Yes': '是'
|
||||
'Menu': '菜单'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': '使用快捷键 Ctrl+o 打开或隐藏侧边栏菜单。使用<span class="keyboard-key">tab</span> 来导航。'
|
||||
'Use the shortcut Ctrl+o to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': '使用快捷键 Ctrl+o 打开或隐藏侧边栏菜单。使用 <span class="keyboard-key">Tab</span> 键来导航。'
|
||||
'Top menu': '顶部菜单'
|
||||
'Apps that not must be moved in the side menu': '禁止在侧边栏菜单移动的应用'
|
||||
'If there is no selection then the global configuration is applied.': '如果没有选择,则应用全局配置。'
|
||||
@@ -25,7 +25,7 @@
|
||||
'Opposite color': '相反颜色'
|
||||
'Transparent': '透明'
|
||||
'Opaque': '不透明'
|
||||
'Opener': '容器'
|
||||
'Opener': '触发器'
|
||||
'Default': '默认'
|
||||
'Default (dark)': '默认(深色)'
|
||||
'Hamburger': 'Hamburger'
|
||||
@@ -35,10 +35,10 @@
|
||||
'Before the logo': '在徽标之前'
|
||||
'After the logo': '在徽标之后'
|
||||
'Position': '位置'
|
||||
'Show only the opener (hidden logo)': '只显示容器(隐藏徽标)'
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和容器。'
|
||||
'Show only the opener (hidden logo)': '仅显示触发器(隐藏徽标)'
|
||||
'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和触发器。'
|
||||
'Panel': '面板'
|
||||
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '鼠标悬停时打开菜单 (触摸屏时将自动禁用)'
|
||||
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)'
|
||||
'Display the big menu': '显示大型菜单'
|
||||
'Display the logo': '显示徽标'
|
||||
'Icons and texts': '图标和文本'
|
||||
@@ -63,7 +63,7 @@
|
||||
'Except when the configuration is forced.': '除非强制配置。'
|
||||
'Apps that should not be displayed in the menu': '禁止在菜单中显示的应用'
|
||||
'This feature is only compatible with the <code>big menu</code> display.': '此功能只和<code>大型菜单</code>兼容。'
|
||||
'The logo is a link to the default app': 'logo链接到默认应用'
|
||||
'The logo is a link to the default app': '徽标链接到默认应用'
|
||||
'Others': '其他'
|
||||
'Categories': '类别'
|
||||
'Customize sorting': '自定义排序'
|
||||
@@ -85,27 +85,27 @@
|
||||
'Small text': '小文本'
|
||||
'Normal text': '普通文本'
|
||||
'Big text': '大文本'
|
||||
'Applications': 'Applications'
|
||||
'Applications kept in the top menu': 'Applications kept in the top menu'
|
||||
'Applications kept in the top menu but also shown in side menu': 'Applications kept in the top menu but also shown in side menu'
|
||||
'These applications must be selected in the previous option.': 'These applications must be selected in the previous option.'
|
||||
'Hide labels on mouse over': 'Hide labels on mouse over'
|
||||
'Except the hovered app': 'Except the hovered app'
|
||||
'Search': 'Search'
|
||||
'Toggle menu': 'Toggle menu'
|
||||
'Open the documentation': 'Open the documentation'
|
||||
'Ask the developer': 'Ask the developer'
|
||||
'New request': 'New request'
|
||||
'Report a bug': 'Report a bug'
|
||||
'Show the configuration': 'Show the configuration'
|
||||
'Configuration:': 'Configuration:'
|
||||
'Done!': 'Done!'
|
||||
'Copy': 'Copy'
|
||||
'Need help': 'Need help'
|
||||
'I would like a new feature': 'I would like a new feature'
|
||||
'Something went wrong': 'Something went wrong'
|
||||
'Select apps': 'Select apps'
|
||||
'Sort': 'Sort'
|
||||
'Customize': 'Customize'
|
||||
'Custom': 'Custom'
|
||||
'Close': 'Close'
|
||||
'Applications': '应用程序'
|
||||
'Applications kept in the top menu': '应用程序保留在顶部菜单中'
|
||||
'Applications kept in the top menu but also shown in side menu': '应用程序保留在顶部菜单中,但也显示在侧边栏菜单中'
|
||||
'These applications must be selected in the previous option.': '必须在上一个选项中选择这些应用程序。'
|
||||
'Hide labels on mouse over': '鼠标悬停时隐藏标签'
|
||||
'Except the hovered app': '除了悬停的应用'
|
||||
'Search': '搜索'
|
||||
'Toggle menu': '切换菜单'
|
||||
'Open the documentation': '打开文档'
|
||||
'Ask the developer': '询问开发者'
|
||||
'New request': '新请求'
|
||||
'Report a bug': '报告错误'
|
||||
'Show the configuration': '显示配置'
|
||||
'Configuration:': '配置:'
|
||||
'Done!': '完成!'
|
||||
'Copy': '复制'
|
||||
'Need help': '需要帮助'
|
||||
'I would like a new feature': '我想要一个新功能'
|
||||
'Something went wrong': '出了点问题'
|
||||
'Select apps': '选择应用'
|
||||
'Sort': '排序'
|
||||
'Customize': '自定义'
|
||||
'Custom': '自定义'
|
||||
'Close': '关闭'
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
import './scss/menu.scss'
|
||||
|
||||
import '@formatjs/intl-segmenter/polyfill.js'
|
||||
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import { createElement, waitContainer } from './lib/dom.js'
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
import './scss/admin.scss'
|
||||
|
||||
import '@formatjs/intl-segmenter/polyfill.js'
|
||||
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import { waitContainer } from './lib/dom.js'
|
||||
|
||||
@@ -38,7 +38,7 @@ body[data-theme-light], body[data-theme-light-highcontrast] {
|
||||
|
||||
<?php if ($_['opener-only']) { ?>
|
||||
#nextcloud {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user