1
0
Fork 0
mirror of https://gitnet.fr/deblan/side_menu.git synced 2025-12-18 05:10:50 +01:00

refactoring: update severals components

This commit is contained in:
Simon Vieille 2025-04-04 20:13:15 +02:00
parent 4f261c434d
commit d8a622ce0f
No known key found for this signature in database
GPG key ID: 579388D585F70417
37 changed files with 1857 additions and 1782 deletions

View file

@ -119,26 +119,26 @@ class Application extends App implements IBootstrap
protected function addAssets()
{
Util::addScript(self::APP_ID, 'sideMenu');
Util::addStyle(self::APP_ID, 'sideMenu');
Util::addScript(self::APP_ID, 'side_menu-menu');
//Util::addStyle(self::APP_ID, 'sideMenu');
$assets = [
'stylesheet' => [
'route' => 'side_menu.Css.stylesheet',
'type' => 'link',
'route_attr' => 'href',
'attr' => [
'rel' => 'stylesheet',
],
],
'script' => [
'route' => 'side_menu.Js.script',
'type' => 'script',
'route_attr' => 'src',
'attr' => [
'nonce' => $this->cspnm->getNonce(),
],
],
// 'stylesheet' => [
// 'route' => 'side_menu.Css.stylesheet',
// 'type' => 'link',
// 'route_attr' => 'href',
// 'attr' => [
// 'rel' => 'stylesheet',
// ],
// ],
// 'script' => [
// 'route' => 'side_menu.Js.script',
// 'type' => 'script',
// 'route_attr' => 'src',
// 'attr' => [
// 'nonce' => $this->cspnm->getNonce(),
// ],
// ],
];
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');

View file

@ -1,51 +1,51 @@
{
"license": "agpl",
"private": true,
"module": true,
"scripts": {
"build": "NODE_ENV=production ./node_modules/.bin/webpack-cli --progress --config webpack.config.js",
"dev": "NODE_ENV=development ./node_modules/.bin/webpack-cli --progress --config webpack.config.js",
"watch": "NODE_ENV=development ./node_modules/.bin/webpack-cli --progress --watch --config webpack.config.js",
"lint": "./node_modules/.bin/eslint --ext .js,.vue src",
"lint:fix": "./node_modules/.bin/eslint --ext .js,.vue src --fix",
"stylelint": "./node_modules/.bin/stylelint src",
"stylelint:fix": "./node_modules/.bin/stylelint src --fix"
},
"dependencies": {
"@nextcloud/vue": "^8.23.0",
"vue": "^3.5.13"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@nextcloud/axios": "^2.5.1",
"@nextcloud/browserslist-config": "^3.0.1",
"@nextcloud/event-bus": "^3.3.1",
"@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^3.1.0",
"@symfony/webpack-encore": "^5.1.0",
"babel-loader": "^9.1.3",
"css-loader": "^7.1.2",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-vue": "^9.32.0",
"file-loader": "^6.2.0",
"mini-css-extract-plugin": "^2.9.1",
"postcss-loader": "^8.1.1",
"prettier": "3.4.2",
"sass": "^1.78.0",
"sass-loader": "^16.0.1",
"source-map-loader": "^5.0.0",
"style-loader": "^4.0.0",
"vue-loader": "^17.4.2",
"vue-router": "^4.4.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-notifier": "^1.15.0"
}
"license": "agpl",
"private": true,
"module": true,
"scripts": {
"build": "NODE_ENV=production ./node_modules/.bin/webpack-cli --progress --config webpack.config.js",
"dev": "NODE_ENV=development ./node_modules/.bin/webpack-cli --progress --config webpack.config.js",
"watch": "NODE_ENV=development ./node_modules/.bin/webpack-cli --progress --watch --config webpack.config.js",
"lint": "ESLINT_USE_FLAT_CONFIG=false ./node_modules/.bin/eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"format": "./node_modules/.bin/prettier src --write"
},
"dependencies": {
"@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^9.0.0-alpha.8",
"node-polyfill-webpack-plugin": "^4.1.0",
"pinia": "^3.0.1",
"vue": "^3.5.13"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@nextcloud/axios": "^2.5.1",
"@nextcloud/browserslist-config": "^3.0.1",
"@nextcloud/event-bus": "^3.3.1",
"@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^3.1.0",
"babel-loader": "^9.1.3",
"css-loader": "^7.1.2",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-vue": "^9.32.0",
"file-loader": "^6.2.0",
"mini-css-extract-plugin": "^2.9.1",
"postcss-loader": "^8.1.1",
"prettier": "3.4.2",
"sass": "^1.78.0",
"sass-loader": "^16.0.1",
"source-map-loader": "^5.0.0",
"style-loader": "^4.0.0",
"vue-loader": "^17.4.2",
"vue-router": "^4.4.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-notifier": "^1.15.0"
}
}

View file

@ -1,8 +1,8 @@
const createElement = require('./lib/createElement')
const PageLoader = () => {
const pageLoader = createElement('div', {id: 'side-menu-loader'})
const pageLoaderBar = createElement('div', {id: 'side-menu-loader-bar'})
const pageLoader = createElement('div', { id: 'side-menu-loader' })
const pageLoaderBar = createElement('div', { id: 'side-menu-loader-bar' })
pageLoader.appendChild(pageLoaderBar)
document.querySelector('body').appendChild(pageLoader)
@ -12,7 +12,7 @@ const PageLoader = () => {
window.addEventListener('beforeunload', () => {
setInterval(() => {
pageLoaderBar.style.width = pageLoaderValue.toString() + '%'
pageLoaderValue = Math.min(pageLoaderValue + .2, 100)
pageLoaderValue = Math.min(pageLoaderValue + 0.2, 100)
}, 25)
})
}

View file

@ -15,11 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import AdminCategoriesCustom from './AdminCategoriesCustom.vue'
import Vue from 'vue'
Vue.prototype.OC = window.OC
Vue.prototype.OCA = window.OCA
import { createApp } from 'vue'
import AdminCategoriesCustom from './components/AdminCategoriesCustom.vue'
let elements = []
@ -37,10 +34,10 @@ const userConfig = (name, value, callbacks) => {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: formData.join('&')
body: formData.join('&'),
})
.then(callbacks.success)
.catch(callbacks.error)
.then(callbacks.success)
.catch(callbacks.error)
}
const appConfig = (name, value, callbacks) => {
@ -81,12 +78,12 @@ const saveSettings = (key) => {
const progress = document.querySelector('#side-menu-save-progress')
progress.style.width = '40px';
progress.style.marginLeft = '5px';
progress.style.width = '40px'
progress.style.marginLeft = '5px'
const callbacks = {
success: () => {
const percent = parseInt((key + 1) * 100 / size);
const percent = parseInt(((key + 1) * 100) / size)
progress.setAttribute('value', percent)
@ -98,7 +95,7 @@ const saveSettings = (key) => {
},
error: () => {
OC.msg.finishedError(selector, t('side_menu', 'Error while saving "' + element + '"'))
}
},
}
if (element.hasAttribute('data-personal')) {
@ -134,13 +131,11 @@ const updateAppsCategoriesCustom = () => {
}
document.addEventListener('DOMContentLoaded', () => {
$('*[data-toggle="tooltip"]').tooltip();
$('*[data-toggle="tooltip"]').tooltip()
if (document.querySelector('#side-menu-categories-custom')) {
const View = Vue.extend(AdminCategoriesCustom)
const adminCategoriesCustom = new View({})
adminCategoriesCustom.$mount('#side-menu-categories-custom')
const app = createApp(AdminCategoriesCustom)
app.mount('#side-menu-categories-custom')
}
elements = document.querySelectorAll('.side-menu-setting')
@ -220,15 +215,15 @@ document.addEventListener('DOMContentLoaded', () => {
}
if (name === 'icon-invert-filter' || name === 'icon-opacity') {
value/=100
value /= 100
}
if (['dark-mode-background-color', 'dark-mode-background-color-to'].indexOf(name) > -1) {
const opacity = parseInt(document.querySelector('#side-menu-dark-mode-background-color-opacity').value * 255 / 100)
const opacity = parseInt((document.querySelector('#side-menu-dark-mode-background-color-opacity').value * 255) / 100)
value = [value, opacity.toString(16)].join('')
} else if (['background-color', 'background-color-to'].indexOf(name) > -1) {
const opacity = parseInt(document.querySelector('#side-menu-background-color-opacity').value * 255 / 100)
const opacity = parseInt((document.querySelector('#side-menu-background-color-opacity').value * 255) / 100)
value = [value, opacity.toString(16)].join('')
}
@ -247,7 +242,7 @@ document.addEventListener('DOMContentLoaded', () => {
}
sortable('#categories-list .side-menu-setting-list', {
placeholderClass: 'side-menu-setting-list-drop'
placeholderClass: 'side-menu-setting-list-drop',
})
try {
@ -260,11 +255,10 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelector('input[name="categories-order"]').value = JSON.stringify(value)
})
} catch (e) {
}
} catch (e) {}
sortable('#apps-order-list .side-menu-setting-list', {
placeholderClass: 'side-menu-setting-list-drop'
placeholderClass: 'side-menu-setting-list-drop',
})
try {
@ -277,6 +271,5 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelector('input[name="apps-order"]').value = JSON.stringify(value)
})
} catch (e) {
}
} catch (e) {}
})

View file

@ -16,73 +16,86 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div>
<ul class="side-menu-setting-list" :class="{hide: values.length === 0}">
<li v-for="item in values" class="side-menu-setting-list-item" v-on:click="showEditForm(item)">
<span v-text="item.en"></span>
<ul
class="side-menu-setting-list"
:class="{ hide: values.length === 0 }"
>
<li
v-for="(item, key) in values"
:key="key"
class="side-menu-setting-list-item"
@click="showEditForm(item)"
>
{{ item.en }}
</li>
</ul>
<NcActions>
<NcActionButton @click="showAddForm" icon="icon-add"></NcActionButton>
<NcActionButton
icon="icon-add"
@click="showAddForm"
></NcActionButton>
</NcActions>
<NcModal v-if="addForm" @close="hideAddForm">
<NcModal
v-if="addForm"
@close="hideAddForm"
>
<div class="modal__content">
<div v-for="lang in langs">
<span class="lang" v-text="lang"></span>
<input type="text" v-model="newValue[lang]" required style="width: calc(100% - 100px)">
<div v-for="(lang, key) in langs" :key="key">
<span class="lang">{{ lang }}</span>
<input
v-model="newValue[lang]"
type="text"
required
style="width: calc(100% - 100px)"
/>
</div>
<NcActions>
<NcActionButton @click="saveAdd" icon="icon-checkmark"></NcActionButton>
<NcActionButton
icon="icon-checkmark"
@click="saveAdd"
></NcActionButton>
</NcActions>
</div>
</NcModal>
<NcModal v-if="editForm" @close="hideEditForm">
<NcModal
v-if="editForm"
@close="hideEditForm"
>
<div class="modal__content">
<div v-for="lang in langs">
<span class="lang" v-text="lang"></span>
<input type="text" v-model="editValue[lang]" required style="width: calc(100% - 100px)">
<div v-for="(lang, key) in langs" :key="key">
<span class="lang">{{ lang }}</span>
<input
v-model="editValue[lang]"
type="text"
required
style="width: calc(100% - 100px)"
/>
</div>
<div class="pull-right">
<NcActions>
<NcActionButton @click="removeEdit" icon="icon-delete"></NcActionButton>
<NcActionButton
icon="icon-delete"
@click="removeEdit"
></NcActionButton>
</NcActions>
</div>
<NcActions>
<NcActionButton @click="saveEdit" icon="icon-checkmark"></NcActionButton>
<NcActionButton
icon="icon-checkmark"
@click="saveEdit"
></NcActionButton>
</NcActions>
</div>
</NcModal>
</div>
</template>
<style>
.modal__content {
padding: 10px;
}
.modal__content .lang {
width: 60px;
display: inline-block;
padding: 4px;
box-sizing: border-box;
}
.pull-right {
float: right;
}
</style>
<style scoped>
.hide {
display: none;
}
</style>
<script>
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
@ -106,6 +119,10 @@ export default {
editValue: {},
}
},
mounted() {
this.input = document.querySelector('input[name="categories-custom"]')
this.init()
},
methods: {
init() {
this.values = JSON.parse(this.input.value)
@ -115,12 +132,12 @@ export default {
this.input.value = JSON.stringify(this.values)
},
showAddForm() {
this.newValue = {id: 'cat' + Math.random().toString().replace('0.', '')}
this.newValue = { id: 'cat' + Math.random().toString().replace('0.', '') }
this.addForm = true
},
showEditForm(value) {
this.editValue = {id: value.id}
this.editValue = { id: value.id }
for (let i of this.langs) {
this.editValue[i] = typeof value[i] !== 'undefined' ? value[i] : ''
@ -159,7 +176,7 @@ export default {
removeEdit() {
for (let i in this.values) {
if (this.values[i].id === this.editValue.id) {
this.values.splice(i, 1);
this.values.splice(i, 1)
}
}
@ -173,9 +190,28 @@ export default {
this.editForm = false
},
},
mounted() {
this.input = document.querySelector('input[name="categories-custom"]')
this.init()
}
}
</script>
<style>
.modal__content {
padding: 10px;
}
.modal__content .lang {
width: 60px;
display: inline-block;
padding: 4px;
box-sizing: border-box;
}
.pull-right {
float: right;
}
</style>
<style scoped>
.hide {
display: none;
}
</style>

View file

@ -1,4 +1,3 @@
<!--
- @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
-
@ -26,45 +25,70 @@
:aria-label="t('core', 'Applications menu')"
>
<ul
v-if="appList.length"
class="app-menu-main"
:class="{ 'app-menu-main__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
v-if="appList.length"
>
<li v-for="app in mainAppList(state)"
>
<li
v-for="app in mainAppList(state)"
:key="app.id"
:data-app-id="app.id"
class="app-menu-entry"
:class="{ 'app-menu-entry__active': app.active, 'app-menu-entry__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
:style="makeStyle(app)"
>
<a :href="app.href"
>
<a
:href="app.href"
:class="{ 'has-unread': app.unread > 0 }"
:aria-label="appLabel(app)"
:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
:aria-current="app.active ? 'page' : false">
<img :src="app.icon" alt="">
:aria-current="app.active ? 'page' : false"
>
<img
:src="app.icon"
alt=""
/>
<div class="app-menu-entry--label">
{{ app.name }}
<span v-if="app.unread > 0" class="hidden-visually unread-counter">{{ app.unread }}</span>
<span
v-if="app.unread > 0"
class="hidden-visually unread-counter"
>{{ app.unread }}</span
>
</div>
</a>
</li>
</ul>
<NcActions class="app-menu-more" :aria-label="t('core', 'More apps')">
<NcActionLink v-for="app in popoverAppList(state)"
<NcActions
class="app-menu-more"
:aria-label="t('core', 'More apps')"
>
<NcActionLink
v-for="app in popoverAppList(state)"
:key="app.id"
:aria-label="appLabel(app)"
:aria-current="app.active ? 'page' : false"
:href="app.href"
:style="makeStyle(app)"
class="app-menu-popover-entry">
class="app-menu-popover-entry"
>
<template #icon>
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }">
<img :src="app.icon" alt="">
<div
class="app-icon"
:class="{ 'has-unread': app.unread > 0 }"
>
<img
:src="app.icon"
alt=""
/>
</div>
</template>
{{ app.name }}
<span v-if="app.unread > 0" class="hidden-visually unread-counter">{{ app.unread }}</span>
<span
v-if="app.unread > 0"
class="hidden-visually unread-counter"
>{{ app.unread }}</span
>
</NcActionLink>
</NcActions>
</nav>
@ -91,8 +115,8 @@ export default defineComponent({
setup() {
return {
t,
n,
t,
n,
}
},
@ -108,7 +132,8 @@ export default defineComponent({
},
mounted() {
axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
axios
.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
.then((response) => response.data)
.then((data) => {
if (data.ocs.meta.statuscode !== 200) {
@ -181,16 +206,18 @@ export default defineComponent({
},
appLabel(app) {
return app.name
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '')
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
return (
app.name +
(app.active ? ' (' + t('core', 'Currently open') + ')' : '') +
(app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
)
},
makeStyle(app) {
if (app.order !== null) {
return `order: ${app.order}`
}
}
},
},
})
</script>
@ -219,7 +246,7 @@ $header-icon-size: 20px;
opacity: 1;
&::before {
content: " ";
content: ' ';
position: absolute;
pointer-events: none;
border-bottom-color: var(--color-main-background);
@ -312,7 +339,8 @@ $header-icon-size: 20px;
bottom: 0;
}
&::before, .app-menu-entry::before {
&::before,
.app-menu-entry::before {
opacity: 0;
}
}
@ -328,18 +356,19 @@ $header-icon-size: 20px;
bottom: 0;
}
&::before, .app-menu-entry::before {
&::before,
.app-menu-entry::before {
opacity: 0;
}
}
}
::v-deep .app-menu-more .button-vue--vue-tertiary {
opacity: .7;
opacity: 0.7;
margin: 3px;
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright));
&:not([aria-expanded="true"]) {
&:not([aria-expanded='true']) {
color: var(--color-main-text);
&:hover {
@ -348,10 +377,10 @@ $header-icon-size: 20px;
}
}
&:focus-visible {
opacity: 1;
outline: none !important;
}
&:focus-visible {
opacity: 1;
outline: none !important;
}
}
.app-menu-popover-entry {
@ -376,7 +405,7 @@ $header-icon-size: 20px;
}
.has-unread::after {
content: "";
content: '';
width: 8px;
height: 8px;
background-color: var(--color-primary-element-text);

View file

@ -16,17 +16,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div class="side-menu-search">
<input type="text" :value="value" :placeholder="t('side_menu', 'Search')" @input="$emit('input', $event.target.value)">
<input
type="text"
:value="value"
:placeholder="t('side_menu', 'Search')"
@input="emit('input', $event.target.value)"
/>
</div>
</template>
<script>
export default {
name: 'AppSearch',
props: {
value: {
required: true
},
<script setup>
const emit = defineEmit('input')
const { value } = defineProps({
value: {
type: String,
required: true,
},
}
})
</script>

View file

@ -15,18 +15,10 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<button class="side-menu-opener side-menu-closer" :arial-label="label">
<span v-text="label"></span>
<button
class="side-menu-opener side-menu-closer"
:arial-label="label"
>
<span>{{ t('side_menu', 'Close the menu') }}</span>
</button>
</template>
<script>
export default {
name: 'CloserButton',
data() {
return {
label: t('side_menu', 'Close the menu'),
}
}
}
</script>

View file

@ -16,10 +16,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div class="side-menu-loader">
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<g transform="translate(1 1)" stroke-width="2">
<circle stroke-opacity=".5" cx="18" cy="18" r="18"/>
<svg
width="38"
height="38"
viewBox="0 0 38 38"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
>
<g
transform="translate(1 1)"
stroke-width="2"
>
<circle
stroke-opacity=".5"
cx="18"
cy="18"
r="18"
/>
<path d="M36 18c0-9.94-8.06-18-18-18">
<animateTransform
attributeName="transform"
@ -27,16 +43,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
from="0 18 18"
to="360 18 18"
dur="1s"
repeatCount="indefinite"/>
repeatCount="indefinite"
/>
</path>
</g>
</g>
</svg>
</div>
</template>
<script>
export default {
name: 'Loader',
}
</script>

View file

@ -15,30 +15,38 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div v-bind:class="classes">
<a v-if="link !== null" v-bind:href="link">
<img v-bind:src="image" alt="Logo">
<div :class="classes">
<a
v-if="link !== null"
:href="link"
>
<img
:src="image"
alt="Logo"
/>
</a>
<img v-else v-bind:src="image" alt="Logo">
<img
v-else
:src="image"
alt="Logo"
/>
</div>
</template>
<script>
export default {
name: 'Logo',
props: {
image: {
type: String,
required: true
},
link: {
type: String,
required: false
},
classes: {
type: Object,
required: true
},
<script setup>
const { image, link, classes } = defineProps({
image: {
type: String,
required: true,
},
}
link: {
type: String,
required: false,
default: null,
},
classes: {
type: Object,
required: true,
},
})
</script>

View file

@ -15,18 +15,10 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<button class="side-menu-opener" :arial-label="label">
<span v-text="label"></span>
<button
class="side-menu-opener"
:arial-label="label"
>
<span>{{ t('side_menu', 'Toggle the menu') }}</span>
</button>
</template>
<script>
export default {
name: 'OpenerButton',
data() {
return {
label: t('side_menu', 'Toggle the menu'),
}
}
}
</script>

View file

@ -16,34 +16,34 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div class="side-menu-settings">
<a v-bind:href="href">
<a :href="href">
<!--
{{ label }}
-->
<span class="avatardiv avatardiv-shown">
<img v-bind:src="avatar" :alt="label">
<img
:src="avatar"
:alt="label"
/>
</span>
</a>
</div>
</template>
<script>
export default {
name: 'SettingsButton',
props: {
label: {
type: String,
required: true
},
href: {
type: String,
required: true
},
avatar: {
type: String,
required: true
},
<script setup>
const { label, href, avatar } = defineProps({
label: {
type: String,
required: true,
},
}
href: {
type: String,
required: true,
},
avatar: {
type: String,
required: true,
},
})
</script>

View file

@ -15,38 +15,44 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<li v-bind:class="classes">
<a v-bind:href="href" :target="target" v-bind:title="label">
<img class="side-menu-app-icon" v-bind:src="icon" v-bind:alt="label" />
<span class="side-menu-app-text" v-text="label"></span>
<li :class="classes">
<a
:href="href"
:target="target"
:title="label"
>
<img
class="side-menu-app-icon"
:src="icon"
:alt="label"
/>
<span class="side-menu-app-text">{{ label }}</span>
</a>
</li>
</template>
<script>
export default {
name: 'SideMenuApp',
props: {
label: {
type: String,
required: true
},
icon: {
type: String,
required: true
},
href: {
type: String,
required: true
},
classes: {
type: Object,
required: true
},
target: {
type: String,
required: false
},
<script setup>
const { label, icon, href, classes, target } = defineProps({
label: {
type: String,
required: true,
},
}
icon: {
type: String,
required: true,
},
href: {
type: String,
required: true,
},
classes: {
type: Object,
required: true,
},
target: {
type: String,
required: false,
default: null,
},
})
</script>

View file

@ -16,34 +16,43 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<li :class="classes">
<a :href="href" :target="target" :title="label">
<img class="side-menu-app-icon" :src="icon" :alt="label" />
<a
:href="href"
:target="target"
:title="label"
>
<img
class="side-menu-app-icon"
:src="icon"
:alt="label"
/>
<span class="side-menu-app-text">{{ label }}</span>
</a>
</li>
</template>
<script setup>
defineProps({
const { label, icon, href, classes, target } = defineProps({
label: {
type: String,
required: true
required: true,
},
icon: {
type: String,
required: true
required: true,
},
href: {
type: String,
required: true
required: true,
},
classes: {
type: Object,
required: true
required: true,
},
target: {
type: String,
required: false
required: false,
default: null,
},
})
</script>

View file

@ -1,96 +1,95 @@
"Custom menu": "Uživatelsky určená nabídka"
"Enable the custom menu": "Zapnout uživatelsky určenou nabídku"
"No": "Ne"
"Yes": "Ano"
"Menu": "Nabídka"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Pro otevření/skrytí postranní nabídky použijte zkratku <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">O</span> („O“ jako otevřít). Pro pohyb po použijte klávesu <span class="keyboard-key">Tab</span>.'
"Top menu": "Horní nabídka"
"Apps that not must be moved in the side menu": "Aplikace, které nepřesouvat do postranní nabídky"
"If there is no selection then the global configuration is applied.": "Pokud neexistuje žádný výběr, je uplatněno globální nastavení."
"Experimental": "Experimentální"
"Save": "Uložit"
"You like this app and you want to support me?": "Líbí se vám tato aplikace a chcete podpořit její vývoj?"
"Buy me a coffee ☕": "Kupte mi kafe ☕"
"Hidden": "Skryté"
"Small": "Malé"
"Normal": "Normální"
"Big": "Velké"
"Colors": "Barvy"
"Background color": "Barva pozadí"
"Background color of current app": "Barva pozadí stávající aplikace"
"Text color": "Barva textu"
"Loader": "Nástroj pro načítání"
"Icon": "Ikona"
"Same color": "Stejná barva"
"Opposite color": "Doplňková barva"
"Transparent": "Průhledné"
"Opaque": "Neprůhledné"
"Opener": "Tlačítko pro otevření"
"Default": "Výchozí"
"Default (dark)": "Výchozí (tmavé)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (tmavé)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (tmavé)"
"Before the logo": "Před logem"
"After the logo": "Za logem"
"Position": "Pozice"
"Show only the opener (hidden logo)": "Zobrazovat pouze otevírací tlačítko (logo skryto)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Nezobrazovat postranní nabídku a její otevírací tlačítko pokud nejsou dostupné žádné aplikace (např. na veřejných stránkách)."
"Panel": "Panel"
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Otevřít nabídku při najetím ukazatelem na tlačítko nabídky (automaticky vypnuto pro dotykové obrazovky)"
"Display the big menu": "Zobrazit velkou nabídku"
"Display the logo": "Zobrazit logo"
"Icons and texts": "Ikony a texty"
"Loader enabled": "Načítání zapnuto"
"Tips": "Tipy"
"Always displayed": "Vždy zobrazeno"
"This is the automatic behavior when the menu is always displayed.": "Toto je automatické chování, kdy je nabídka vždy zobrazena."
"Not compatible with touch screens.": "Nekompatibilní s dotykovými obrazovkami."
"Big menu": "Velká nabídka"
"Live preview": "Živý náhled"
"Open apps in new tab": "Otevírat aplikace v novém panelu"
"Use the global setting": "Použít globální nastavení"
"Use my selection": "Použít můj výběr"
"Show and hide the list of applications": "Zobrazit/skrýt seznam aplikací"
"Use the avatar instead of the logo": "Použít namísto loga profilový obrázek uživatele"
"You do not have permission to change the settings.": "Nemáte oprávnění měnit nastavení."
"Force this configuration to users": "Vynutit uplatnění těchto nastavení uživatelům"
"Export the configuration": "Exportovat nastavení"
"Purge the cache": "Vyprázdnit mezipaměť"
"Show the link to settings": "Zobrazit odkaz na nastavení"
"The menu is enabled by default for users": "Nabídka je ve výchozím stavu pro uživatele zapnutá"
"Except when the configuration is forced.": "S výjimkou, kdy je nastavení vynuceno."
"Apps that should not be displayed in the menu": "Aplikace, které by neměly být v nabídce zobrazeny"
"This feature is only compatible with the <code>big menu</code> display.": "Tato funkce je kompatibilní pouze s <code>velkou nabídkou</code>."
"The logo is a link to the default app": "Logo je odkaz na výchozí aplikaci"
"Others": "Ostatní"
"Categories": "Kategorie"
"Customize sorting": "Přizpůsobit si řazení"
"Order by": "Řadit podle"
"Name": "Název"
"Customed": "Přizpůsobeno"
"Show and hide the list of categories": "Zobrazit/skrýt seznam kategorií"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Tyto parametry jsou použity v případě, že je zapnutý (Breeze) tmavý motiv vzhledu."
"Dark mode colors": "Barvy tmavého režimu"
"With categories": "S kategoriemi"
"Custom categories": "Vlastní kategorie"
"Customize application categories": "Přizpůsobte kategorie aplikací"
"Reset to default": "Vrátit zpět na výchozí hodnoty"
"Hidden icon": "Skrytá ikona"
"Small icon": "Malá ikona"
"Normal icon": "Normální ikona"
"Big icon": "Velká ikona"
"Hidden text": "Skrytý text"
"Small text": "Malý text"
"Normal text": "Normální text"
"Big text": "Velký text"
"Applications": "Aplikace"
"Applications kept in the top menu": "Aplikace ponechané v horní nabídce"
"Applications kept in the top menu but also shown in side menu": "Aplikace ponechané v horní nabídce ale také zobrazené v té boční"
"These applications must be selected in the previous option.": "Tyto aplikace je třeba vybrat v předchozí volbě."
"Hide labels on mouse over": "Skrýt popisky při najetím ukazatele myši"
"Except the hovered app": "Except the hovered app"
"Search": "Search"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Uživatelsky určená nabídka'
'Enable the custom menu': 'Zapnout uživatelsky určenou nabídku'
'No': 'Ne'
'Yes': 'Ano'
'Menu': 'Nabídka'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Pro otevření/skrytí postranní nabídky použijte zkratku <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">O</span> („O“ jako otevřít). Pro pohyb po použijte klávesu <span class="keyboard-key">Tab</span>.'
'Top menu': 'Horní nabídka'
'Apps that not must be moved in the side menu': 'Aplikace, které nepřesouvat do postranní nabídky'
'If there is no selection then the global configuration is applied.': 'Pokud neexistuje žádný výběr, je uplatněno globální nastavení.'
'Experimental': 'Experimentální'
'Save': 'Uložit'
'You like this app and you want to support me?': 'Líbí se vám tato aplikace a chcete podpořit její vývoj?'
'Buy me a coffee ☕': 'Kupte mi kafe ☕'
'Hidden': 'Skryté'
'Small': 'Malé'
'Normal': 'Normální'
'Big': 'Velké'
'Colors': 'Barvy'
'Background color': 'Barva pozadí'
'Background color of current app': 'Barva pozadí stávající aplikace'
'Text color': 'Barva textu'
'Loader': 'Nástroj pro načítání'
'Icon': 'Ikona'
'Same color': 'Stejná barva'
'Opposite color': 'Doplňková barva'
'Transparent': 'Průhledné'
'Opaque': 'Neprůhledné'
'Opener': 'Tlačítko pro otevření'
'Default': 'Výchozí'
'Default (dark)': 'Výchozí (tmavé)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (tmavé)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (tmavé)'
'Before the logo': 'Před logem'
'After the logo': 'Za logem'
'Position': 'Pozice'
'Show only the opener (hidden logo)': 'Zobrazovat pouze otevírací tlačítko (logo skryto)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Nezobrazovat postranní nabídku a její otevírací tlačítko pokud nejsou dostupné žádné aplikace (např. na veřejných stránkách).'
'Panel': 'Panel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Otevřít nabídku při najetím ukazatelem na tlačítko nabídky (automaticky vypnuto pro dotykové obrazovky)'
'Display the big menu': 'Zobrazit velkou nabídku'
'Display the logo': 'Zobrazit logo'
'Icons and texts': 'Ikony a texty'
'Loader enabled': 'Načítání zapnuto'
'Tips': 'Tipy'
'Always displayed': 'Vždy zobrazeno'
'This is the automatic behavior when the menu is always displayed.': 'Toto je automatické chování, kdy je nabídka vždy zobrazena.'
'Not compatible with touch screens.': 'Nekompatibilní s dotykovými obrazovkami.'
'Big menu': 'Velká nabídka'
'Live preview': 'Živý náhled'
'Open apps in new tab': 'Otevírat aplikace v novém panelu'
'Use the global setting': 'Použít globální nastavení'
'Use my selection': 'Použít můj výběr'
'Show and hide the list of applications': 'Zobrazit/skrýt seznam aplikací'
'Use the avatar instead of the logo': 'Použít namísto loga profilový obrázek uživatele'
'You do not have permission to change the settings.': 'Nemáte oprávnění měnit nastavení.'
'Force this configuration to users': 'Vynutit uplatnění těchto nastavení uživatelům'
'Export the configuration': 'Exportovat nastavení'
'Purge the cache': 'Vyprázdnit mezipaměť'
'Show the link to settings': 'Zobrazit odkaz na nastavení'
'The menu is enabled by default for users': 'Nabídka je ve výchozím stavu pro uživatele zapnutá'
'Except when the configuration is forced.': 'S výjimkou, kdy je nastavení vynuceno.'
'Apps that should not be displayed in the menu': 'Aplikace, které by neměly být v nabídce zobrazeny'
'This feature is only compatible with the <code>big menu</code> display.': 'Tato funkce je kompatibilní pouze s <code>velkou nabídkou</code>.'
'The logo is a link to the default app': 'Logo je odkaz na výchozí aplikaci'
'Others': 'Ostatní'
'Categories': 'Kategorie'
'Customize sorting': 'Přizpůsobit si řazení'
'Order by': 'Řadit podle'
'Name': 'Název'
'Customed': 'Přizpůsobeno'
'Show and hide the list of categories': 'Zobrazit/skrýt seznam kategorií'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Tyto parametry jsou použity v případě, že je zapnutý (Breeze) tmavý motiv vzhledu.'
'Dark mode colors': 'Barvy tmavého režimu'
'With categories': 'S kategoriemi'
'Custom categories': 'Vlastní kategorie'
'Customize application categories': 'Přizpůsobte kategorie aplikací'
'Reset to default': 'Vrátit zpět na výchozí hodnoty'
'Hidden icon': 'Skrytá ikona'
'Small icon': 'Malá ikona'
'Normal icon': 'Normální ikona'
'Big icon': 'Velká ikona'
'Hidden text': 'Skrytý text'
'Small text': 'Malý text'
'Normal text': 'Normální text'
'Big text': 'Velký text'
'Applications': 'Aplikace'
'Applications kept in the top menu': 'Aplikace ponechané v horní nabídce'
'Applications kept in the top menu but also shown in side menu': 'Aplikace ponechané v horní nabídce ale také zobrazené v té boční'
'These applications must be selected in the previous option.': 'Tyto aplikace je třeba vybrat v předchozí volbě.'
'Hide labels on mouse over': 'Skrýt popisky při najetím ukazatele myši'
'Except the hovered app': 'Except the hovered app'
'Search': 'Search'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "Benutzerdefiniertes Menü"
"Enable the custom menu": "Benutzerdefiniertes Menü aktivieren"
"No": "Nein"
"Yes": "Ja"
"Menu": "Menü"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Verwende die Tastenkombination <span class="keyboard-key">Strg</span>+<span class="keyboard-key">o</span>, um das Seitenmenü ein- und auszublenden. Verwende <span class="keyboard-key">tab</span> zum Navigieren.'
"Top menu": "Obere Navigationsleiste"
"Apps that not must be moved in the side menu": "Apps, die nicht ins Seitenmenü verschoben werden sollen"
"If there is no selection then the global configuration is applied.": "Wenn keine Auswahl vorhanden ist, wird die globale Konfiguration angewendet."
"Experimental": "Experimentell"
"Save": "Speichern"
"You like this app and you want to support me?": "Du magst diese App und möchtest mich unterstützen?"
"Buy me a coffee ☕": "Gib mir einen Kaffee aus ☕"
"Hidden": "Ausblenden"
"Small": "Klein"
"Normal": "Normal"
"Big": "Groß"
"Colors": "Farben"
"Background color": "Hintergrundfarbe"
"Background color of current app": "Hintergrundfarbe der aktuellen App"
"Text color": "Textfarbe"
"Loader": "Fortschrittsbalken"
"Icon": "Symbol"
"Same color": "Selbe Farbe"
"Opposite color": "Gegenfarbe"
"Transparent": "Transparent"
"Opaque": "Nicht transparent"
"Opener": "Menü-Symbol"
"Default": "Standard"
"Default (dark)": "Standard (dunkel)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (dunkel)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (dunkel)"
"Before the logo": "Vor dem Logo"
"After the logo": "Nach dem Logo"
"Position": "Position"
"Show only the opener (hidden logo)": "Nur das Menü-Symbol anzeigen (Logo wird ausgeblendet)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Zeige das Seitenmenü und das Menü-Symbol nicht an, wenn keine App vorhanden ist (z.B. bei öffentlichen Seiten)."
"Panel": "Panel"
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Öffne das Menü, wenn die Maus über das Menü-Symbol bewegt wird (auf Touchscreens automatisch deaktiviert)"
"Display the big menu": "Großes Menü anzeigen"
"Display the logo": "Logo anzeigen"
"Icons and texts": "Symbole und Texte"
"Loader enabled": "Fortschrittsbalken anzeigen"
"Tips": "Tipps"
"Always displayed": "Immer anzeigen"
"This is the automatic behavior when the menu is always displayed.": "Dies ist das automatische Verhalten, wenn das Menü immer angezeigt wird."
"Not compatible with touch screens.": "Nicht kompatibel mit Touchscreens."
"Big menu": "Großes Menü"
"Live preview": "Live-Vorschau"
"Open apps in new tab": "Öffne Apps in einem neuen Tab"
"Use the global setting": "Verwende die globale Einstellung"
"Use my selection": "Verwende meine Auswahl"
"Show and hide the list of applications": "Ein- und Ausblenden der Appliste"
"Use the avatar instead of the logo": "Avatar anstelle des Logos anzeigen"
"You do not have permission to change the settings.": "Du hast keine Berechtigung, die Einstellungen dieser App zu ändern."
"Force this configuration to users": "Konfiguration für alle Benutzer erzwingen"
"Export the configuration": "Konfiguration exportieren"
"Purge the cache": "Cache leeren"
"Show the link to settings": "Link zu den Einstellungen anzeigen"
"The menu is enabled by default for users": "Das Menü ist standardmäßig für alle Benutzer aktiviert"
"Except when the configuration is forced.": "Gilt nicht, wenn die Konfiguration erzwungen wird."
"Apps that should not be displayed in the menu": "Apps, die nicht im Menü angezeigt werden sollen"
"This feature is only compatible with the <code>big menu</code> display.": "Kompatibel mit dem <code>großen Menü</code>."
"The logo is a link to the default app": "Das Logo ist ein Link zur Standard-App"
"Others": "Andere"
"Categories": "Kategorien"
"Customize sorting": "Sortierung anpassen"
"Order by": "Sortieren nach"
"Name": "Name"
"Customed": "Benutzerdefiniert"
"Show and hide the list of categories": "Liste der Kategorien ein- und ausblenden"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Diese Optionen werden auf <code>Dark Theme</code> oder <code>Breeze Dark Theme</code> angewendet."
"Dark mode colors": "Farben für den dunklen Modus"
"With categories": "Mit Kategorien"
"Custom categories": "Benutzerdefinierte Kategorien"
"Customize application categories": "App-Kategorien anpassen"
"Reset to default": "Auf Standard zurücksetzen"
"Hidden icon": "Verstecktes Symbol"
"Small icon": "Kleines Symbol"
"Normal icon": "Normales Symbol"
"Big icon": "Großes Icon"
"Hidden text": "Versteckter Text"
"Small text": "Kleiner Text"
"Normal text": "Normaler Text"
"Big text": "Großer Text"
"Applications": "Apps"
"Applications kept in the top menu": "Apps in der oberen Navigationsleiste"
"Applications kept in the top menu but also shown in side menu": "Apps in der oberen Navigationsleiste, die auch im Seitenmenü angezeigt werden sollen"
"These applications must be selected in the previous option.": "Diese Apps müssen auch in der vorherigen Einstellung ausgewählt werden."
"Hide labels on mouse over": "Labels ausblenden, wenn sich die Maus darüber befindet (Hover)"
"Except the hovered app": "Except the hovered app"
"Search": "Search"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Benutzerdefiniertes Menü'
'Enable the custom menu': 'Benutzerdefiniertes Menü aktivieren'
'No': 'Nein'
'Yes': 'Ja'
'Menu': 'Menü'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Verwende die Tastenkombination <span class="keyboard-key">Strg</span>+<span class="keyboard-key">o</span>, um das Seitenmenü ein- und auszublenden. Verwende <span class="keyboard-key">tab</span> zum Navigieren.'
'Top menu': 'Obere Navigationsleiste'
'Apps that not must be moved in the side menu': 'Apps, die nicht ins Seitenmenü verschoben werden sollen'
'If there is no selection then the global configuration is applied.': 'Wenn keine Auswahl vorhanden ist, wird die globale Konfiguration angewendet.'
'Experimental': 'Experimentell'
'Save': 'Speichern'
'You like this app and you want to support me?': 'Du magst diese App und möchtest mich unterstützen?'
'Buy me a coffee ☕': 'Gib mir einen Kaffee aus ☕'
'Hidden': 'Ausblenden'
'Small': 'Klein'
'Normal': 'Normal'
'Big': 'Groß'
'Colors': 'Farben'
'Background color': 'Hintergrundfarbe'
'Background color of current app': 'Hintergrundfarbe der aktuellen App'
'Text color': 'Textfarbe'
'Loader': 'Fortschrittsbalken'
'Icon': 'Symbol'
'Same color': 'Selbe Farbe'
'Opposite color': 'Gegenfarbe'
'Transparent': 'Transparent'
'Opaque': 'Nicht transparent'
'Opener': 'Menü-Symbol'
'Default': 'Standard'
'Default (dark)': 'Standard (dunkel)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (dunkel)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (dunkel)'
'Before the logo': 'Vor dem Logo'
'After the logo': 'Nach dem Logo'
'Position': 'Position'
'Show only the opener (hidden logo)': 'Nur das Menü-Symbol anzeigen (Logo wird ausgeblendet)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Zeige das Seitenmenü und das Menü-Symbol nicht an, wenn keine App vorhanden ist (z.B. bei öffentlichen Seiten).'
'Panel': 'Panel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Öffne das Menü, wenn die Maus über das Menü-Symbol bewegt wird (auf Touchscreens automatisch deaktiviert)'
'Display the big menu': 'Großes Menü anzeigen'
'Display the logo': 'Logo anzeigen'
'Icons and texts': 'Symbole und Texte'
'Loader enabled': 'Fortschrittsbalken anzeigen'
'Tips': 'Tipps'
'Always displayed': 'Immer anzeigen'
'This is the automatic behavior when the menu is always displayed.': 'Dies ist das automatische Verhalten, wenn das Menü immer angezeigt wird.'
'Not compatible with touch screens.': 'Nicht kompatibel mit Touchscreens.'
'Big menu': 'Großes Menü'
'Live preview': 'Live-Vorschau'
'Open apps in new tab': 'Öffne Apps in einem neuen Tab'
'Use the global setting': 'Verwende die globale Einstellung'
'Use my selection': 'Verwende meine Auswahl'
'Show and hide the list of applications': 'Ein- und Ausblenden der Appliste'
'Use the avatar instead of the logo': 'Avatar anstelle des Logos anzeigen'
'You do not have permission to change the settings.': 'Du hast keine Berechtigung, die Einstellungen dieser App zu ändern.'
'Force this configuration to users': 'Konfiguration für alle Benutzer erzwingen'
'Export the configuration': 'Konfiguration exportieren'
'Purge the cache': 'Cache leeren'
'Show the link to settings': 'Link zu den Einstellungen anzeigen'
'The menu is enabled by default for users': 'Das Menü ist standardmäßig für alle Benutzer aktiviert'
'Except when the configuration is forced.': 'Gilt nicht, wenn die Konfiguration erzwungen wird.'
'Apps that should not be displayed in the menu': 'Apps, die nicht im Menü angezeigt werden sollen'
'This feature is only compatible with the <code>big menu</code> display.': 'Kompatibel mit dem <code>großen Menü</code>.'
'The logo is a link to the default app': 'Das Logo ist ein Link zur Standard-App'
'Others': 'Andere'
'Categories': 'Kategorien'
'Customize sorting': 'Sortierung anpassen'
'Order by': 'Sortieren nach'
'Name': 'Name'
'Customed': 'Benutzerdefiniert'
'Show and hide the list of categories': 'Liste der Kategorien ein- und ausblenden'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Diese Optionen werden auf <code>Dark Theme</code> oder <code>Breeze Dark Theme</code> angewendet.'
'Dark mode colors': 'Farben für den dunklen Modus'
'With categories': 'Mit Kategorien'
'Custom categories': 'Benutzerdefinierte Kategorien'
'Customize application categories': 'App-Kategorien anpassen'
'Reset to default': 'Auf Standard zurücksetzen'
'Hidden icon': 'Verstecktes Symbol'
'Small icon': 'Kleines Symbol'
'Normal icon': 'Normales Symbol'
'Big icon': 'Großes Icon'
'Hidden text': 'Versteckter Text'
'Small text': 'Kleiner Text'
'Normal text': 'Normaler Text'
'Big text': 'Großer Text'
'Applications': 'Apps'
'Applications kept in the top menu': 'Apps in der oberen Navigationsleiste'
'Applications kept in the top menu but also shown in side menu': 'Apps in der oberen Navigationsleiste, die auch im Seitenmenü angezeigt werden sollen'
'These applications must be selected in the previous option.': 'Diese Apps müssen auch in der vorherigen Einstellung ausgewählt werden.'
'Hide labels on mouse over': 'Labels ausblenden, wenn sich die Maus darüber befindet (Hover)'
'Except the hovered app': 'Except the hovered app'
'Search': 'Search'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "Menú personalizado"
"Enable the custom menu": "Habilitar el menú personalizado"
"No": "No"
"Yes": "Sí"
"Menu": "Menú"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Usa la combinación de teclas <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> para activar y desactivar el menú lateral. Use <span class="keyboard-key">tab</span> para navegar.'
"Top menu": "Menu principal"
"Apps that not must be moved in the side menu": "Aplicaciones que no se deben mover al menú lateral"
"If there is no selection then the global configuration is applied.": "Si no hay selección, se aplica la configuración global."
"Experimental": "En pruebas"
"Save": "Guardar"
"You like this app and you want to support me?": "¿Te gusta esta aplicación y quieres apoyarme?"
"Buy me a coffee ☕": "Cómprame un café ☕"
"Hidden": "Oculto"
"Small": "Pequeño"
"Normal": "Normal"
"Big": "Grande"
"Hidden icon": "Ocultar Icono"
"Small icon": "Icono pequeño"
"Normal icon": "Icono normal"
"Big icon": "Icono grande"
"Hidden text": "Texto oculto"
"Small text": "Texto pequeño"
"Normal text": "Texto normal"
"Big text": "Texto grande"
"Colors": "Colores"
"Background color": "Color de fondo"
"Background color of current app": "Color de fondo de la aplicación actual"
"Text color": "Color del texto"
"Loader": "Cargador"
"Icon": "Icono"
"Same color": "El mismo color"
"Opposite color": "Color opuesto"
"Transparent": "Transparente"
"Opaque": "Opaco"
"Opener": "Abrir"
"Default": "Por defecto"
"Default (dark)": "Por defecto (oscuro)"
"Hamburger": "Hamburguesa"
"Hamburger (dark)": "Hamburger (negro)"
"Hamburger 2": "Hamburguesa 2"
"Hamburger 2 (dark)": "Hamburger 2 (negro)"
"Before the logo": "Antes del logotipo"
"After the logo": "Después del logotipo"
"Position": "Posición"
"Show only the opener (hidden logo)": "Mostrar solo abrir (ocultar logotipo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "No mostrar el menú lateral y el abridor si no hay aplicación (por ejemplo: páginas públicas)."
"Panel": "Panel"
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Abra el menú cuando el ratón esté sobre el icono (se desactiva automáticamente en las pantallas táctiles)"
"Display the big menu": "Mostrar el menú grande"
"Display the logo": "Mostrar el logotipo"
"Icons and texts": "Iconos y textos"
"Loader enabled": "Cargador activado"
"Tips": "Consejos"
"Always displayed": "Siempre se muestra"
"This is the automatic behavior when the menu is always displayed.": "Este es el comportamiento automático cuando aún se muestra el menú."
"Not compatible with touch screens.": "No es compatible con las pantallas táctiles."
"Big menu": "Menú grande"
"Live preview": "Previsualización en directo"
"Open apps in new tab": "Abrir las aplicaciones en una nueva pestaña"
"Use the global setting": "Utilizar la configuración global"
"Use my selection": "Utilizar mi selección"
"Show and hide the list of applications": "Mostrar y ocultar la lista de aplicaciones"
"Use the avatar instead of the logo": "Utilizar un avatar en lugar de un logotipo"
"You do not have permission to change the settings.": "No tienes permiso para cambiar la configuración."
"Force this configuration to users": "Forzar esta configuración a todos los usuarios"
"Export the configuration": "Exportar la configuración"
"Purge the cache": "Vaciar la caché"
"Show the link to settings": "Mostrar un enlace a la configuración"
"The menu is enabled by default for users": "El menú está activado por defecto para los usuarios"
"Except when the configuration is forced.": "Excepto cuando la configuración es forzada."
"Apps that should not be displayed in the menu": "Aplicaciones que no deben aparecer en el menú"
"This feature is only compatible with the <code>big menu</code> display.": "Esta función sólo es compatible con la pantalla del <code>menú grande</code>."
"The logo is a link to the default app": "El logotipo es un enlace a la aplicación por defecto"
"Others": "Otros"
"Categories": "Categorías"
"Customize sorting": "Personalizar la clasificación"
"Order by": "Ordenar por"
"Name": "Nombre"
"Customed": "Personalizado"
"Show and hide the list of categories": "Mostrar y ocultar la lista de categorías"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Estos parámetros se utilizan cuando el tema oscuro o el tema oscuro de Breeze están activados."
"Dark mode colors": "Colores del modo oscuro"
"With categories": "Con categorías"
"Custom categories": "Categorías personalizadas"
"Customize application categories": "Personalizar las categorías de las aplicaciones"
"Reset to default": "Restablecer los valores por defecto"
"Applications": "Aplicaciones"
"Applications kept in the top menu": "Aplicaciones guardadas en el menú superior"
"Applications kept in the top menu but also shown in side menu": "Las aplicaciones se mantienen en el menú superior pero también se muestran en el menú lateral"
"These applications must be selected in the previous option.": "Estas aplicaciones deben ser seleccionadas en las opciones anteriores."
"Hide labels on mouse over": "Ocultar las etiquetas al pasar el ratón"
"Except the hovered app": "Except the hovered app"
"Search": "Search"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Menú personalizado'
'Enable the custom menu': 'Habilitar el menú personalizado'
'No': 'No'
'Yes': 'Sí'
'Menu': 'Menú'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Usa la combinación de teclas <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> para activar y desactivar el menú lateral. Use <span class="keyboard-key">tab</span> para navegar.'
'Top menu': 'Menu principal'
'Apps that not must be moved in the side menu': 'Aplicaciones que no se deben mover al menú lateral'
'If there is no selection then the global configuration is applied.': 'Si no hay selección, se aplica la configuración global.'
'Experimental': 'En pruebas'
'Save': 'Guardar'
'You like this app and you want to support me?': '¿Te gusta esta aplicación y quieres apoyarme?'
'Buy me a coffee ☕': 'Cómprame un café ☕'
'Hidden': 'Oculto'
'Small': 'Pequeño'
'Normal': 'Normal'
'Big': 'Grande'
'Hidden icon': 'Ocultar Icono'
'Small icon': 'Icono pequeño'
'Normal icon': 'Icono normal'
'Big icon': 'Icono grande'
'Hidden text': 'Texto oculto'
'Small text': 'Texto pequeño'
'Normal text': 'Texto normal'
'Big text': 'Texto grande'
'Colors': 'Colores'
'Background color': 'Color de fondo'
'Background color of current app': 'Color de fondo de la aplicación actual'
'Text color': 'Color del texto'
'Loader': 'Cargador'
'Icon': 'Icono'
'Same color': 'El mismo color'
'Opposite color': 'Color opuesto'
'Transparent': 'Transparente'
'Opaque': 'Opaco'
'Opener': 'Abrir'
'Default': 'Por defecto'
'Default (dark)': 'Por defecto (oscuro)'
'Hamburger': 'Hamburguesa'
'Hamburger (dark)': 'Hamburger (negro)'
'Hamburger 2': 'Hamburguesa 2'
'Hamburger 2 (dark)': 'Hamburger 2 (negro)'
'Before the logo': 'Antes del logotipo'
'After the logo': 'Después del logotipo'
'Position': 'Posición'
'Show only the opener (hidden logo)': 'Mostrar solo abrir (ocultar logotipo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'No mostrar el menú lateral y el abridor si no hay aplicación (por ejemplo: páginas públicas).'
'Panel': 'Panel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Abra el menú cuando el ratón esté sobre el icono (se desactiva automáticamente en las pantallas táctiles)'
'Display the big menu': 'Mostrar el menú grande'
'Display the logo': 'Mostrar el logotipo'
'Icons and texts': 'Iconos y textos'
'Loader enabled': 'Cargador activado'
'Tips': 'Consejos'
'Always displayed': 'Siempre se muestra'
'This is the automatic behavior when the menu is always displayed.': 'Este es el comportamiento automático cuando aún se muestra el menú.'
'Not compatible with touch screens.': 'No es compatible con las pantallas táctiles.'
'Big menu': 'Menú grande'
'Live preview': 'Previsualización en directo'
'Open apps in new tab': 'Abrir las aplicaciones en una nueva pestaña'
'Use the global setting': 'Utilizar la configuración global'
'Use my selection': 'Utilizar mi selección'
'Show and hide the list of applications': 'Mostrar y ocultar la lista de aplicaciones'
'Use the avatar instead of the logo': 'Utilizar un avatar en lugar de un logotipo'
'You do not have permission to change the settings.': 'No tienes permiso para cambiar la configuración.'
'Force this configuration to users': 'Forzar esta configuración a todos los usuarios'
'Export the configuration': 'Exportar la configuración'
'Purge the cache': 'Vaciar la caché'
'Show the link to settings': 'Mostrar un enlace a la configuración'
'The menu is enabled by default for users': 'El menú está activado por defecto para los usuarios'
'Except when the configuration is forced.': 'Excepto cuando la configuración es forzada.'
'Apps that should not be displayed in the menu': 'Aplicaciones que no deben aparecer en el menú'
'This feature is only compatible with the <code>big menu</code> display.': 'Esta función sólo es compatible con la pantalla del <code>menú grande</code>.'
'The logo is a link to the default app': 'El logotipo es un enlace a la aplicación por defecto'
'Others': 'Otros'
'Categories': 'Categorías'
'Customize sorting': 'Personalizar la clasificación'
'Order by': 'Ordenar por'
'Name': 'Nombre'
'Customed': 'Personalizado'
'Show and hide the list of categories': 'Mostrar y ocultar la lista de categorías'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Estos parámetros se utilizan cuando el tema oscuro o el tema oscuro de Breeze están activados.'
'Dark mode colors': 'Colores del modo oscuro'
'With categories': 'Con categorías'
'Custom categories': 'Categorías personalizadas'
'Customize application categories': 'Personalizar las categorías de las aplicaciones'
'Reset to default': 'Restablecer los valores por defecto'
'Applications': 'Aplicaciones'
'Applications kept in the top menu': 'Aplicaciones guardadas en el menú superior'
'Applications kept in the top menu but also shown in side menu': 'Las aplicaciones se mantienen en el menú superior pero también se muestran en el menú lateral'
'These applications must be selected in the previous option.': 'Estas aplicaciones deben ser seleccionadas en las opciones anteriores.'
'Hide labels on mouse over': 'Ocultar las etiquetas al pasar el ratón'
'Except the hovered app': 'Except the hovered app'
'Search': 'Search'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "Menu personnalisé"
"Enable the custom menu": "Activer le menu personnalisé"
"No": "Non"
"Yes": "Oui"
"Menu": "Menu"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Utiliser le raccourcis clavier <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> pour ouvrir et fermer le menu latéral. Utiliser <span class="keyboard-key">tab</span> 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."
"Experimental": "Expérimental"
"Save": "Sauvegarder"
"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"
"Normal": "Normal"
"Big": "Gros"
"Hidden icon": "Icône masqué"
"Small icon": "Petit icône"
"Normal icon": "Icône normal"
"Big icon": "Gros icône"
"Hidden text": "Text masqué"
"Small text": "Texte petit"
"Normal text": "Texte normal"
"Big text": "Gros texte"
"Colors": "Couleurs"
"Background color": "Couleur de fond"
"Background color of current app": "Couleur de fond de l'application en cours"
"Text color": "Couleur du texte"
"Loader": "Indicateur de chargement"
"Icon": "Icône"
"Same color": "Même couleur"
"Opposite color": "Couleur opposée"
"Transparent": "Transparent"
"Opaque": "Opaque"
"Opener": "Bouton d'ouverture"
"Default": "Par défaut"
"Default (dark)": "Par défaut (sombre)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (sombre)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (sombre)"
"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)."
"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)"
"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é."
"Not compatible with touch screens.": "Incompatible avec les écrans tactiles."
"Big menu": "Menu large"
"Live preview": "Aperçu en direct"
"Open apps in new tab": "Ouvrir les applications dans un nouvel onglet"
"Use the global setting": "Utiliser la configuration globale"
"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."
"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"
"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"
"Others": "Autres"
"Categories": "Catégories"
"Customize sorting": "Personnaliser le tri"
"Order by": "Trier par"
"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."
"Dark mode colors": "Couleurs du mode sombre"
"With categories": "Avec les catégories"
"Custom categories": "Catégories personnalisées"
"Customize application categories": "Personnaliser les catégories des applications"
"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"
"Except the hovered app": "À l'exception de l'application survolée"
"Search": "Rechercher"
"Toggle the menu": "Basculer le menu"
'Custom menu': 'Menu personnalisé'
'Enable the custom menu': 'Activer le menu personnalisé'
'No': 'Non'
'Yes': 'Oui'
'Menu': 'Menu'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Utiliser le raccourcis clavier <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> pour ouvrir et fermer le menu latéral. Utiliser <span class="keyboard-key">tab</span> 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."
'Experimental': 'Expérimental'
'Save': 'Sauvegarder'
'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'
'Normal': 'Normal'
'Big': 'Gros'
'Hidden icon': 'Icône masqué'
'Small icon': 'Petit icône'
'Normal icon': 'Icône normal'
'Big icon': 'Gros icône'
'Hidden text': 'Text masqué'
'Small text': 'Texte petit'
'Normal text': 'Texte normal'
'Big text': 'Gros texte'
'Colors': 'Couleurs'
'Background color': 'Couleur de fond'
'Background color of current app': "Couleur de fond de l'application en cours"
'Text color': 'Couleur du texte'
'Loader': 'Indicateur de chargement'
'Icon': 'Icône'
'Same color': 'Même couleur'
'Opposite color': 'Couleur opposée'
'Transparent': 'Transparent'
'Opaque': 'Opaque'
'Opener': "Bouton d'ouverture"
'Default': 'Par défaut'
'Default (dark)': 'Par défaut (sombre)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (sombre)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (sombre)'
'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)."
'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)'
'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é."
'Not compatible with touch screens.': 'Incompatible avec les écrans tactiles.'
'Big menu': 'Menu large'
'Live preview': 'Aperçu en direct'
'Open apps in new tab': 'Ouvrir les applications dans un nouvel onglet'
'Use the global setting': 'Utiliser la configuration globale'
'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."
'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'
'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"
'Others': 'Autres'
'Categories': 'Catégories'
'Customize sorting': 'Personnaliser le tri'
'Order by': 'Trier par'
'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.'
'Dark mode colors': 'Couleurs du mode sombre'
'With categories': 'Avec les catégories'
'Custom categories': 'Catégories personnalisées'
'Customize application categories': 'Personnaliser les catégories des applications'
'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'
'Except the hovered app': "À l'exception de l'application survolée"
'Search': 'Rechercher'
'Toggle the menu': 'Basculer le menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "Custom menu"
"Enable the custom menu": "Enable the custom menu"
"No": "No"
"Yes": "Yes"
"Menu": "Menu"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
"Top menu": "Top menu"
"Apps that not must be moved in the side menu": "Apps that not must be moved in the side menu"
"If there is no selection then the global configuration is applied.": "If there is no selection then the global configuration is applied."
"Experimental": "Experimental"
"Save": "Save"
"You like this app and you want to support me?": "You like this app and you want to support me?"
"Buy me a coffee ☕": "Buy me a coffee ☕"
"Hidden": "Hidden"
"Small": "Small"
"Normal": "Normal"
"Big": "Big"
"Hidden icon": "Hidden icon"
"Small icon": "Small icon"
"Normal icon": "Normal icon"
"Big icon": "Big icon"
"Hidden text": "Hidden text"
"Small text": "Small text"
"Normal text": "Normal text"
"Big text": "Big text"
"Colors": "Colors"
"Background color": "Background color"
"Background color of current app": "Background color of current app"
"Text color": "Text color"
"Loader": "Loader"
"Icon": "Icon"
"Same color": "Same color"
"Opposite color": "Opposite color"
"Transparent": "Transparent"
"Opaque": "Opaque"
"Opener": "Opener"
"Default": "Default"
"Default (dark)": "Default (dark)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (dark)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (dark)"
"Before the logo": "Before the logo"
"After the logo": "After the logo"
"Position": "Position"
"Show only the opener (hidden logo)": "Show only the opener (hidden logo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Do not display the side menu and the opener if there is no application (eg: public pages)."
"Panel": "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 big menu"
"Display the logo": "Display the logo"
"Icons and texts": "Icons and texts"
"Loader enabled": "Loader enabled"
"Tips": "Tips"
"Always displayed": "Always displayed"
"This is the automatic behavior when the menu is always displayed.": "This is the automatic behavior when the menu is always displayed."
"Not compatible with touch screens.": "Not compatible with touch screens."
"Big menu": "Big menu"
"Live preview": "Live preview"
"Open apps in new tab": "Open apps in new tab"
"Use the global setting": "Use the global setting"
"Use my selection": "Use my selection"
"Show and hide the list of applications": "Show and hide the list of applications"
"Use the avatar instead of the logo": "Use the avatar instead of the logo"
"You do not have permission to change the settings.": "You do not have permission to change the settings."
"Force this configuration to users": "Force this configuration to users"
"Export the configuration": "Export the configuration"
"Purge the cache": "Purge the cache"
"Show the link to settings": "Show the link to settings"
"The menu is enabled by default for users": "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": "Apps that should not be displayed in the menu"
"This feature is only compatible with the <code>big menu</code> display.": "This feature is only compatible with the <code>big menu</code> display."
"The logo is a link to the default app": "The logo is a link to the default app"
"Others": "Others"
"Categories": "Categories"
"Customize sorting": "Customize sorting"
"Order by": "Order by"
"Name": "Name"
"Customed": "Customed"
"Show and hide the list of categories": "Show and hide the list of categories"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "This parameters are used when Dark theme or Breeze Dark Theme are enabled."
"Dark mode colors": "Dark mode colors"
"With categories": "With categories"
"Custom categories": "Custom categories"
"Customize application categories": "Customize application categories"
"Reset to default": "Reset to default"
"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 the menu": "Toggle the menu"
'Custom menu': 'Custom menu'
'Enable the custom menu': 'Enable the custom menu'
'No': 'No'
'Yes': 'Yes'
'Menu': 'Menu'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
'Top menu': 'Top menu'
'Apps that not must be moved in the side menu': 'Apps that not must be moved in the side menu'
'If there is no selection then the global configuration is applied.': 'If there is no selection then the global configuration is applied.'
'Experimental': 'Experimental'
'Save': 'Save'
'You like this app and you want to support me?': 'You like this app and you want to support me?'
'Buy me a coffee ☕': 'Buy me a coffee ☕'
'Hidden': 'Hidden'
'Small': 'Small'
'Normal': 'Normal'
'Big': 'Big'
'Hidden icon': 'Hidden icon'
'Small icon': 'Small icon'
'Normal icon': 'Normal icon'
'Big icon': 'Big icon'
'Hidden text': 'Hidden text'
'Small text': 'Small text'
'Normal text': 'Normal text'
'Big text': 'Big text'
'Colors': 'Colors'
'Background color': 'Background color'
'Background color of current app': 'Background color of current app'
'Text color': 'Text color'
'Loader': 'Loader'
'Icon': 'Icon'
'Same color': 'Same color'
'Opposite color': 'Opposite color'
'Transparent': 'Transparent'
'Opaque': 'Opaque'
'Opener': 'Opener'
'Default': 'Default'
'Default (dark)': 'Default (dark)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (dark)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (dark)'
'Before the logo': 'Before the logo'
'After the logo': 'After the logo'
'Position': 'Position'
'Show only the opener (hidden logo)': 'Show only the opener (hidden logo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Do not display the side menu and the opener if there is no application (eg: public pages).'
'Panel': '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 big menu'
'Display the logo': 'Display the logo'
'Icons and texts': 'Icons and texts'
'Loader enabled': 'Loader enabled'
'Tips': 'Tips'
'Always displayed': 'Always displayed'
'This is the automatic behavior when the menu is always displayed.': 'This is the automatic behavior when the menu is always displayed.'
'Not compatible with touch screens.': 'Not compatible with touch screens.'
'Big menu': 'Big menu'
'Live preview': 'Live preview'
'Open apps in new tab': 'Open apps in new tab'
'Use the global setting': 'Use the global setting'
'Use my selection': 'Use my selection'
'Show and hide the list of applications': 'Show and hide the list of applications'
'Use the avatar instead of the logo': 'Use the avatar instead of the logo'
'You do not have permission to change the settings.': 'You do not have permission to change the settings.'
'Force this configuration to users': 'Force this configuration to users'
'Export the configuration': 'Export the configuration'
'Purge the cache': 'Purge the cache'
'Show the link to settings': 'Show the link to settings'
'The menu is enabled by default for users': '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': 'Apps that should not be displayed in the menu'
'This feature is only compatible with the <code>big menu</code> display.': 'This feature is only compatible with the <code>big menu</code> display.'
'The logo is a link to the default app': 'The logo is a link to the default app'
'Others': 'Others'
'Categories': 'Categories'
'Customize sorting': 'Customize sorting'
'Order by': 'Order by'
'Name': 'Name'
'Customed': 'Customed'
'Show and hide the list of categories': 'Show and hide the list of categories'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'This parameters are used when Dark theme or Breeze Dark Theme are enabled.'
'Dark mode colors': 'Dark mode colors'
'With categories': 'With categories'
'Custom categories': 'Custom categories'
'Customize application categories': 'Customize application categories'
'Reset to default': 'Reset to default'
'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 the menu': 'Toggle the menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "Aangepast menu"
"Enable the custom menu": "Het aangepaste menu inschakelen"
"No": "Nee"
"Yes": "Ja"
"Menu": "Menu"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Gebruik de snelkoppeling <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> om het zijmenu te openen en te verbergen. Gebruik <span class="keyboard-key">tab</span> om te navigeren.'
"Top menu": "Bovenste menu"
"Apps that not must be moved in the side menu": "Apps die niet moeten worden verplaatst in het zijmenu"
"If there is no selection then the global configuration is applied.": "Als er geen keuze is, wordt de globale configuratie toegepast."
"Experimental": "Experimenteel"
"Save": "Opslaan"
"You like this app and you want to support me?": "Vind je deze app leuk en wil je me steunen?"
"Buy me a coffee ☕": "Koop een koffie voor me ☕"
"Hidden": "Verborgen"
"Small": "Klein"
"Normal": "Normaal"
"Big": "Groot"
"Hidden icon": "Verborgen icoon"
"Small icon": "Klein icoon"
"Normal icon": "Normaal icoon"
"Big icon": "Groot icoon"
"Hidden text": "Verborgen tekst"
"Small text": "Kleine tekst"
"Normal text": "Normale tekst"
"Big text": "Grote tekst"
"Colors": "Kleuren"
"Background color": "Achtergrond kleur"
"Background color of current app": "Achtergrondkleur van huidige app"
"Text color": "Tekst kleur"
"Loader": "Lader"
"Icon": "Icoon"
"Same color": "Zelfde kleur"
"Opposite color": "Tegenovergestelde kleur"
"Transparent": "Transparant"
"Opaque": "Ondoorzichtig"
"Opener": "Opener"
"Default": "Standaard"
"Default (dark)": "Standaard (donker)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (donker)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (donker)"
"Before the logo": "Voor het logo"
"After the logo": "Na het logo"
"Position": "Positie"
"Show only the opener (hidden logo)": "Toon alleen de opener (verborgen logo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Geef het zijmenu en de opener niet weer als er geen toepassing is (bijv. openbare pagina's)."
"Panel": "Paneel"
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Open het menu wanneer de muis over de opener gaat (automatisch uitgeschakeld op aanraakschermen)"
"Display the big menu": "Toon het grote menu"
"Display the logo": "Toon het logo"
"Icons and texts": "Iconen en teksten"
"Loader enabled": "Lader ingeschakeld"
"Tips": "Tips"
"Always displayed": "Altijd weergegeven"
"This is the automatic behavior when the menu is always displayed.": "Dit is het automatische gedrag wanneer het menu altijd wordt weergegeven."
"Not compatible with touch screens.": "Niet compatibel met aanraakschermen."
"Big menu": "Groot menu"
"Live preview": "Live voorbeeld"
"Open apps in new tab": "Open apps in nieuwe tab"
"Use the global setting": "Gebruik de globale instellingen"
"Use my selection": "Gebruik mijn selectie"
"Show and hide the list of applications": "De lijst met toepassingen tonen en verbergen"
"Use the avatar instead of the logo": "Gebruik avatar in plaats van het logo"
"You do not have permission to change the settings.": "Je hebt geen toestemming om de instellingen te veranderen."
"Force this configuration to users": "Forceer deze configuratie aan gebruikers"
"Export the configuration": "Exporteer de configuratie"
"Purge the cache": "De cache wissen"
"Show the link to settings": "Toon de link naar de instellingen"
"The menu is enabled by default for users": "Het menu is standaard ingeschakeld voor gebruikers"
"Except when the configuration is forced.": "Behalve als de configuratie geforceerd is."
"Apps that should not be displayed in the menu": "Apps die niet in het menu weergegeven mogen worden"
"This feature is only compatible with the <code>big menu</code> display.": "Deze functie is alleen compatibel met het <code>grote menu</code> scherm."
"The logo is a link to the default app": "Het logo is een link naar de standaard app"
"Others": "Overige"
"Categories": "Categorieën"
"Customize sorting": "Sortering aanpassen"
"Order by": "Sorteer op"
"Name": "Naam"
"Customed": "Aangepast"
"Show and hide the list of categories": "De lijst met categorieën tonen en verbergen"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Deze parameters worden gebruikt wanneer Dark theme of Breeze Dark Theme zijn ingeschakeld."
"Dark mode colors": "Donkere modus kleuren"
"With categories": "Met categorieën"
"Custom categories": "Aangepaste categorieën"
"Customize application categories": "Toepassingscategorieën aanpassen"
"Reset to default": "Terugzetten naar standaard"
"Applications": "Applicaties"
"Applications kept in the top menu": "Applicaties bewaard in het bovenste menu"
"Applications kept in the top menu but also shown in side menu": "Applicaties blijven in het topmenu maar worden ook in het zijmenu getoond"
"These applications must be selected in the previous option.": "Deze toepassingen moeten bij de vorige optie zijn geselecteerd."
"Hide labels on mouse over": "Hide labels on mouse over"
"Except the hovered app": "Except the hovered app"
"Search": "Search"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Aangepast menu'
'Enable the custom menu': 'Het aangepaste menu inschakelen'
'No': 'Nee'
'Yes': 'Ja'
'Menu': 'Menu'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Gebruik de snelkoppeling <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> om het zijmenu te openen en te verbergen. Gebruik <span class="keyboard-key">tab</span> om te navigeren.'
'Top menu': 'Bovenste menu'
'Apps that not must be moved in the side menu': 'Apps die niet moeten worden verplaatst in het zijmenu'
'If there is no selection then the global configuration is applied.': 'Als er geen keuze is, wordt de globale configuratie toegepast.'
'Experimental': 'Experimenteel'
'Save': 'Opslaan'
'You like this app and you want to support me?': 'Vind je deze app leuk en wil je me steunen?'
'Buy me a coffee ☕': 'Koop een koffie voor me ☕'
'Hidden': 'Verborgen'
'Small': 'Klein'
'Normal': 'Normaal'
'Big': 'Groot'
'Hidden icon': 'Verborgen icoon'
'Small icon': 'Klein icoon'
'Normal icon': 'Normaal icoon'
'Big icon': 'Groot icoon'
'Hidden text': 'Verborgen tekst'
'Small text': 'Kleine tekst'
'Normal text': 'Normale tekst'
'Big text': 'Grote tekst'
'Colors': 'Kleuren'
'Background color': 'Achtergrond kleur'
'Background color of current app': 'Achtergrondkleur van huidige app'
'Text color': 'Tekst kleur'
'Loader': 'Lader'
'Icon': 'Icoon'
'Same color': 'Zelfde kleur'
'Opposite color': 'Tegenovergestelde kleur'
'Transparent': 'Transparant'
'Opaque': 'Ondoorzichtig'
'Opener': 'Opener'
'Default': 'Standaard'
'Default (dark)': 'Standaard (donker)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (donker)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (donker)'
'Before the logo': 'Voor het logo'
'After the logo': 'Na het logo'
'Position': 'Positie'
'Show only the opener (hidden logo)': 'Toon alleen de opener (verborgen logo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': "Geef het zijmenu en de opener niet weer als er geen toepassing is (bijv. openbare pagina's)."
'Panel': 'Paneel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Open het menu wanneer de muis over de opener gaat (automatisch uitgeschakeld op aanraakschermen)'
'Display the big menu': 'Toon het grote menu'
'Display the logo': 'Toon het logo'
'Icons and texts': 'Iconen en teksten'
'Loader enabled': 'Lader ingeschakeld'
'Tips': 'Tips'
'Always displayed': 'Altijd weergegeven'
'This is the automatic behavior when the menu is always displayed.': 'Dit is het automatische gedrag wanneer het menu altijd wordt weergegeven.'
'Not compatible with touch screens.': 'Niet compatibel met aanraakschermen.'
'Big menu': 'Groot menu'
'Live preview': 'Live voorbeeld'
'Open apps in new tab': 'Open apps in nieuwe tab'
'Use the global setting': 'Gebruik de globale instellingen'
'Use my selection': 'Gebruik mijn selectie'
'Show and hide the list of applications': 'De lijst met toepassingen tonen en verbergen'
'Use the avatar instead of the logo': 'Gebruik avatar in plaats van het logo'
'You do not have permission to change the settings.': 'Je hebt geen toestemming om de instellingen te veranderen.'
'Force this configuration to users': 'Forceer deze configuratie aan gebruikers'
'Export the configuration': 'Exporteer de configuratie'
'Purge the cache': 'De cache wissen'
'Show the link to settings': 'Toon de link naar de instellingen'
'The menu is enabled by default for users': 'Het menu is standaard ingeschakeld voor gebruikers'
'Except when the configuration is forced.': 'Behalve als de configuratie geforceerd is.'
'Apps that should not be displayed in the menu': 'Apps die niet in het menu weergegeven mogen worden'
'This feature is only compatible with the <code>big menu</code> display.': 'Deze functie is alleen compatibel met het <code>grote menu</code> scherm.'
'The logo is a link to the default app': 'Het logo is een link naar de standaard app'
'Others': 'Overige'
'Categories': 'Categorieën'
'Customize sorting': 'Sortering aanpassen'
'Order by': 'Sorteer op'
'Name': 'Naam'
'Customed': 'Aangepast'
'Show and hide the list of categories': 'De lijst met categorieën tonen en verbergen'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Deze parameters worden gebruikt wanneer Dark theme of Breeze Dark Theme zijn ingeschakeld.'
'Dark mode colors': 'Donkere modus kleuren'
'With categories': 'Met categorieën'
'Custom categories': 'Aangepaste categorieën'
'Customize application categories': 'Toepassingscategorieën aanpassen'
'Reset to default': 'Terugzetten naar standaard'
'Applications': 'Applicaties'
'Applications kept in the top menu': 'Applicaties bewaard in het bovenste menu'
'Applications kept in the top menu but also shown in side menu': 'Applicaties blijven in het topmenu maar worden ook in het zijmenu getoond'
'These applications must be selected in the previous option.': 'Deze toepassingen moeten bij de vorige optie zijn geselecteerd.'
'Hide labels on mouse over': 'Hide labels on mouse over'
'Except the hovered app': 'Except the hovered app'
'Search': 'Search'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,94 +1,93 @@
"Custom menu": "Menu personalizado"
"Enable the custom menu": "Habilitar o menu personalizado"
"No": "Não"
"Yes": "Sim"
"Menu": "Menu"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Use o atalho <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> para exibir e para esconder o menu lateral. Use <span class="keyboard-key">tab</span> para navegar.'
"Top menu": "Menu superior"
"Apps that not must be moved in the side menu": "Apps que não devem ser movidos para o menu lateral"
"If there is no selection then the global configuration is applied.": "Se não houver seleção, a configuração global será aplicada."
"Experimental": "Experimental"
"Save": "Salvar"
"You like this app and you want to support me?": "Você gosta deste aplicativo e quer me apoiar?"
"Buy me a coffee ☕": "Me pague um café ☕"
"Hidden": "Oculto"
"Small": "Pequeno"
"Normal": "Normal"
"Big": "Grande"
"Hidden icon": "Ícone oculto"
"Small icon": "Ícone pequeno"
"Normal icon": "Ícone normal"
"Big icon": "Ícone grance"
"Hidden text": "Texto oculto"
"Small text": "Texto pequeno"
"Normal text": "Texto normal"
"Big text": "Texto grande"
"Colors": "Cores"
"Background color": "Cor de fundo"
"Background color of current app": "Cor de fundo do app atual"
"Text color": "Cor do texto"
"Loader": "Progresso"
"Icon": "Ícone"
"Same color": "Mesma cor"
"Opposite color": "Cor oposta"
"Transparent": "Transparente"
"Opaque": "Opaco"
"Opener": "Abrir"
"Default": "Padrão"
"Default (dark)": "Padrão (escuro)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (escuro)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (escuro)"
"Before the logo": "Antes da logo"
"After the logo": "Depois da logo"
"Position": "Posição"
"Show only the opener (hidden logo)": "Mostrar apenas o Abrir (ocultar logo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Não mostrar o menu lateral e o Abrir se não houver aplicação (p.ex. páginas públicas)."
"Panel": "Painel"
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Abrir o menu quando o mouse passar sobre o Abrir (desativado automaticamente em telas de toque)"
"Display the big menu": "Mostrar o menu grande"
"Display the logo": "Mostrar a logo"
"Icons and texts": "Ícones e textos"
"Loader enabled": "Progresso ativado"
"Tips": "Dicas"
"Always displayed": "Sempre visível"
"This is the automatic behavior when the menu is always displayed.": "Este é o comportamento automático quando o menu está sempre visível."
"Not compatible with touch screens.": "Não compatível com telas de toque."
"Big menu": "Menu grande"
"Live preview": "Visualização ao vivo"
"Open apps in new tab": "Abrir apps em nova aba"
"Use the global setting": "Usar configurações globais"
"Use my selection": "Usar minha seleção"
"Show and hide the list of applications": "Mostrar e ocultar a lista de aplicativos"
"Use the avatar instead of the logo": "Use o avatar ao invés da logo"
"You do not have permission to change the settings.": "Você não tem permissão para alterar as configurações."
"Force this configuration to users": "Forçar esta configuração para os usuários"
"Export the configuration": "Exportar a configuração"
"Purge the cache": "Limpar o cache"
"Show the link to settings": "Mostrar o link para configurações"
"The menu is enabled by default for users": "O menu é habilitado por padrão para os usuários"
"Except when the configuration is forced.": "Exceto quando a configuração é forçada."
"Apps that should not be displayed in the menu": "Apps que não devem ser mostrados no menu"
"This feature is only compatible with the <code>big menu</code> display.": "Este recurso só é compatível com a exibição do <code>menu grande</code>."
"The logo is a link to the default app": "A logo é um link para o app padrão"
"Others": "Outros"
"Categories": "Categorias"
"Customize sorting": "Personalizar classificação"
"Order by": "Ordenar por"
"Name": "Nome"
"Customed": "Personalizado"
"Show and hide the list of categories": "Mostrar e esconder a lista de categorias"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Estes parâmetros são usados quando o tema escuro ou o tema Dark Breeze está ativo."
"Dark mode colors": "Cores do modo escuro"
"With categories": "Com categorias"
"Custom categories": "Categorias personalizadas"
"Customize application categories": "Personalizar categorias de apps"
"Reset to default": "Restaurar padrão"
"Applications": "Aplicativos"
"Applications kept in the top menu": "Aplicativos mantidos no menu superior"
"Applications kept in the top menu but also shown in side menu": "Aplicativos mantidos no menu superior, mas também mostrados no menu lateral"
"These applications must be selected in the previous option.": "Estes aplicativos devem ser selecionados na opção anterior."
"Hide labels on mouse over": "Ocultar descrição ao passar o mouse"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Menu personalizado'
'Enable the custom menu': 'Habilitar o menu personalizado'
'No': 'Não'
'Yes': 'Sim'
'Menu': 'Menu'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Use o atalho <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> para exibir e para esconder o menu lateral. Use <span class="keyboard-key">tab</span> para navegar.'
'Top menu': 'Menu superior'
'Apps that not must be moved in the side menu': 'Apps que não devem ser movidos para o menu lateral'
'If there is no selection then the global configuration is applied.': 'Se não houver seleção, a configuração global será aplicada.'
'Experimental': 'Experimental'
'Save': 'Salvar'
'You like this app and you want to support me?': 'Você gosta deste aplicativo e quer me apoiar?'
'Buy me a coffee ☕': 'Me pague um café ☕'
'Hidden': 'Oculto'
'Small': 'Pequeno'
'Normal': 'Normal'
'Big': 'Grande'
'Hidden icon': 'Ícone oculto'
'Small icon': 'Ícone pequeno'
'Normal icon': 'Ícone normal'
'Big icon': 'Ícone grance'
'Hidden text': 'Texto oculto'
'Small text': 'Texto pequeno'
'Normal text': 'Texto normal'
'Big text': 'Texto grande'
'Colors': 'Cores'
'Background color': 'Cor de fundo'
'Background color of current app': 'Cor de fundo do app atual'
'Text color': 'Cor do texto'
'Loader': 'Progresso'
'Icon': 'Ícone'
'Same color': 'Mesma cor'
'Opposite color': 'Cor oposta'
'Transparent': 'Transparente'
'Opaque': 'Opaco'
'Opener': 'Abrir'
'Default': 'Padrão'
'Default (dark)': 'Padrão (escuro)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (escuro)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (escuro)'
'Before the logo': 'Antes da logo'
'After the logo': 'Depois da logo'
'Position': 'Posição'
'Show only the opener (hidden logo)': 'Mostrar apenas o Abrir (ocultar logo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Não mostrar o menu lateral e o Abrir se não houver aplicação (p.ex. páginas públicas).'
'Panel': 'Painel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Abrir o menu quando o mouse passar sobre o Abrir (desativado automaticamente em telas de toque)'
'Display the big menu': 'Mostrar o menu grande'
'Display the logo': 'Mostrar a logo'
'Icons and texts': 'Ícones e textos'
'Loader enabled': 'Progresso ativado'
'Tips': 'Dicas'
'Always displayed': 'Sempre visível'
'This is the automatic behavior when the menu is always displayed.': 'Este é o comportamento automático quando o menu está sempre visível.'
'Not compatible with touch screens.': 'Não compatível com telas de toque.'
'Big menu': 'Menu grande'
'Live preview': 'Visualização ao vivo'
'Open apps in new tab': 'Abrir apps em nova aba'
'Use the global setting': 'Usar configurações globais'
'Use my selection': 'Usar minha seleção'
'Show and hide the list of applications': 'Mostrar e ocultar a lista de aplicativos'
'Use the avatar instead of the logo': 'Use o avatar ao invés da logo'
'You do not have permission to change the settings.': 'Você não tem permissão para alterar as configurações.'
'Force this configuration to users': 'Forçar esta configuração para os usuários'
'Export the configuration': 'Exportar a configuração'
'Purge the cache': 'Limpar o cache'
'Show the link to settings': 'Mostrar o link para configurações'
'The menu is enabled by default for users': 'O menu é habilitado por padrão para os usuários'
'Except when the configuration is forced.': 'Exceto quando a configuração é forçada.'
'Apps that should not be displayed in the menu': 'Apps que não devem ser mostrados no menu'
'This feature is only compatible with the <code>big menu</code> display.': 'Este recurso só é compatível com a exibição do <code>menu grande</code>.'
'The logo is a link to the default app': 'A logo é um link para o app padrão'
'Others': 'Outros'
'Categories': 'Categorias'
'Customize sorting': 'Personalizar classificação'
'Order by': 'Ordenar por'
'Name': 'Nome'
'Customed': 'Personalizado'
'Show and hide the list of categories': 'Mostrar e esconder a lista de categorias'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Estes parâmetros são usados quando o tema escuro ou o tema Dark Breeze está ativo.'
'Dark mode colors': 'Cores do modo escuro'
'With categories': 'Com categorias'
'Custom categories': 'Categorias personalizadas'
'Customize application categories': 'Personalizar categorias de apps'
'Reset to default': 'Restaurar padrão'
'Applications': 'Aplicativos'
'Applications kept in the top menu': 'Aplicativos mantidos no menu superior'
'Applications kept in the top menu but also shown in side menu': 'Aplicativos mantidos no menu superior, mas também mostrados no menu lateral'
'These applications must be selected in the previous option.': 'Estes aplicativos devem ser selecionados na opção anterior.'
'Hide labels on mouse over': 'Ocultar descrição ao passar o mouse'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "Custom menu"
"Enable the custom menu": "Включить пользовательское меню"
"No": "Нет"
"Yes": "Да"
"Menu": "Меню"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Используйте сочетание клавиш <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>, чтобы открыть или скрыть боковое меню. Используйте <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.": "Если тут ничего не отмечено, применяются глобальные настройки."
"Experimental": "Экспериментальный"
"Save": "Сохранить"
"You like this app and you want to support me?": "Вам нравится приложение или вы хотите поддержать меня?"
"Buy me a coffee ☕": "Купить мне чашку кофе ☕"
"Hidden": "Скрыто"
"Small": "Маленький"
"Normal": "Средний"
"Big": "Большой"
"Hidden icon": "Без иконки"
"Small icon": "Маленькая иконка"
"Normal icon": "Средняя иконка"
"Big icon": "Большая иконка"
"Hidden text": "Без текста"
"Small text": "Маленький текст"
"Normal text": "Средний текст"
"Big text": "Большой текст"
"Colors": "Цвета"
"Background color": "Цвет фона"
"Background color of current app": "Цвет фона выбранного приложения"
"Text color": "Цвет текста"
"Loader": "Загрузчик"
"Icon": "Иконка"
"Same color": "Такой же цвет"
"Opposite color": "Противоположный цвет"
"Transparent": "Прозрачный"
"Opaque": "Непрозрачный"
"Opener": "Открывалка"
"Default": "По умолчанию"
"Default (dark)": "По умолчанию (тёмный)"
"Hamburger": "Гамбургер"
"Hamburger (dark)": "Гамбургер (тёмный)"
"Hamburger 2": "Гамбургер 2"
"Hamburger 2 (dark)": "Гамбургер 2 (тёмный)"
"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).": "Не отображать боковое меню и открывалку, если нет приложения (например, публичные страницы)."
"Panel": "Панель"
"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": "Иконки и текст"
"Loader enabled": "Загрузчик включен"
"Tips": "Советы"
"Always displayed": "Всегда отображается"
"This is the automatic behavior when the menu is always displayed.": "This is the automatic behavior when the menu is always displayed."
"Not compatible with touch screens.": "Не совместимо с сенсорными экранами."
"Big menu": "Большое меню"
"Live preview": "Live preview"
"Open apps in new tab": "Открывать приложения в новой вкладке"
"Use the global setting": "Использовать глобальные настройки"
"Use my selection": "Использовать мои настройки"
"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.": "This feature is only compatible with the <code>big menu</code> display."
"The logo is a link to the default app": "Логотип открывает приложение по умолчанию"
"Others": "Прочие"
"Categories": "Категории"
"Customize sorting": "Настроить сортировку"
"Order by": "В порядке"
"Name": "Название"
"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": "Цвета тёмной темы"
"With categories": "С категориями"
"Custom categories": "Пользовательские категории"
"Customize application categories": "Изменить категории приложений"
"Reset to default": "Сбросить к значениям по умолчанию"
"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": "Скрыть название при наведении мыши"
"Except the hovered app": "Except the hovered app"
"Search": "Search"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Custom menu'
'Enable the custom menu': 'Включить пользовательское меню'
'No': 'Нет'
'Yes': 'Да'
'Menu': 'Меню'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Используйте сочетание клавиш <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>, чтобы открыть или скрыть боковое меню. Используйте <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.': 'Если тут ничего не отмечено, применяются глобальные настройки.'
'Experimental': 'Экспериментальный'
'Save': 'Сохранить'
'You like this app and you want to support me?': 'Вам нравится приложение или вы хотите поддержать меня?'
'Buy me a coffee ☕': 'Купить мне чашку кофе ☕'
'Hidden': 'Скрыто'
'Small': 'Маленький'
'Normal': 'Средний'
'Big': 'Большой'
'Hidden icon': 'Без иконки'
'Small icon': 'Маленькая иконка'
'Normal icon': 'Средняя иконка'
'Big icon': 'Большая иконка'
'Hidden text': 'Без текста'
'Small text': 'Маленький текст'
'Normal text': 'Средний текст'
'Big text': 'Большой текст'
'Colors': 'Цвета'
'Background color': 'Цвет фона'
'Background color of current app': 'Цвет фона выбранного приложения'
'Text color': 'Цвет текста'
'Loader': 'Загрузчик'
'Icon': 'Иконка'
'Same color': 'Такой же цвет'
'Opposite color': 'Противоположный цвет'
'Transparent': 'Прозрачный'
'Opaque': 'Непрозрачный'
'Opener': 'Открывалка'
'Default': 'По умолчанию'
'Default (dark)': 'По умолчанию (тёмный)'
'Hamburger': 'Гамбургер'
'Hamburger (dark)': 'Гамбургер (тёмный)'
'Hamburger 2': 'Гамбургер 2'
'Hamburger 2 (dark)': 'Гамбургер 2 (тёмный)'
'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).': 'Не отображать боковое меню и открывалку, если нет приложения (например, публичные страницы).'
'Panel': 'Панель'
'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': 'Иконки и текст'
'Loader enabled': 'Загрузчик включен'
'Tips': 'Советы'
'Always displayed': 'Всегда отображается'
'This is the automatic behavior when the menu is always displayed.': 'This is the automatic behavior when the menu is always displayed.'
'Not compatible with touch screens.': 'Не совместимо с сенсорными экранами.'
'Big menu': 'Большое меню'
'Live preview': 'Live preview'
'Open apps in new tab': 'Открывать приложения в новой вкладке'
'Use the global setting': 'Использовать глобальные настройки'
'Use my selection': 'Использовать мои настройки'
'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.': 'This feature is only compatible with the <code>big menu</code> display.'
'The logo is a link to the default app': 'Логотип открывает приложение по умолчанию'
'Others': 'Прочие'
'Categories': 'Категории'
'Customize sorting': 'Настроить сортировку'
'Order by': 'В порядке'
'Name': 'Название'
'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': 'Цвета тёмной темы'
'With categories': 'С категориями'
'Custom categories': 'Пользовательские категории'
'Customize application categories': 'Изменить категории приложений'
'Reset to default': 'Сбросить к значениям по умолчанию'
'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': 'Скрыть название при наведении мыши'
'Except the hovered app': 'Except the hovered app'
'Search': 'Search'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,94 +1,93 @@
"Custom menu": "Custom menu"
"Enable the custom menu": "Enable the custom menu"
"No": "No"
"Yes": "Yes"
"Menu": "Menu"
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
: 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
"Top menu": "Top menu"
"Apps that not must be moved in the side menu": "Apps that not must be moved in the side menu"
"If there is no selection then the global configuration is applied.": "If there is no selection then the global configuration is applied."
"Experimental": "Experimental"
"Save": "Save"
"You like this app and you want to support me?": "You like this app and you want to support me?"
"Buy me a coffee ☕": "Buy me a coffee ☕"
"Hidden": "Hidden"
"Small": "Small"
"Normal": "Normal"
"Big": "Big"
"Hidden icon": "Hidden icon"
"Small icon": "Small icon"
"Normal icon": "Normal icon"
"Big icon": "Big icon"
"Hidden text": "Hidden text"
"Small text": "Small text"
"Normal text": "Normal text"
"Big text": "Big text"
"Colors": "Colors"
"Background color": "Background color"
"Background color of current app": "Background color of current app"
"Text color": "Text color"
"Loader": "Loader"
"Icon": "Icon"
"Same color": "Same color"
"Opposite color": "Opposite color"
"Transparent": "Transparent"
"Opaque": "Opaque"
"Opener": "Opener"
"Default": "Default"
"Default (dark)": "Default (dark)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (dark)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (dark)"
"Before the logo": "Before the logo"
"After the logo": "After the logo"
"Position": "Position"
"Show only the opener (hidden logo)": "Show only the opener (hidden logo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Do not display the side menu and the opener if there is no application (eg: public pages)."
"Panel": "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 big menu"
"Display the logo": "Display the logo"
"Icons and texts": "Icons and texts"
"Loader enabled": "Loader enabled"
"Tips": "Tips"
"Always displayed": "Always displayed"
"This is the automatic behavior when the menu is always displayed.": "This is the automatic behavior when the menu is always displayed."
"Not compatible with touch screens.": "Not compatible with touch screens."
"Big menu": "Big menu"
"Live preview": "Live preview"
"Open apps in new tab": "Open apps in new tab"
"Use the global setting": "Use the global setting"
"Use my selection": "Use my selection"
"Show and hide the list of applications": "Show and hide the list of applications"
"Use the avatar instead of the logo": "Use the avatar instead of the logo"
"You do not have permission to change the settings.": "You do not have permission to change the settings."
"Force this configuration to users": "Force this configuration to users"
"Export the configuration": "Export the configuration"
"Purge the cache": "Purge the cache"
"Show the link to settings": "Show the link to settings"
"The menu is enabled by default for users": "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": "Apps that should not be displayed in the menu"
"This feature is only compatible with the <code>big menu</code> display.": "This feature is only compatible with the <code>big menu</code> display."
"The logo is a link to the default app": "The logo is a link to the default app"
"Others": "Others"
"Categories": "Categories"
"Customize sorting": "Customize sorting"
"Order by": "Order by"
"Name": "Name"
"Customed": "Customed"
"Show and hide the list of categories": "Show and hide the list of categories"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "This parameters are used when Dark theme or Breeze Dark Theme are enabled."
"Dark mode colors": "Dark mode colors"
"With categories": "With categories"
"Custom categories": "Custom categories"
"Customize application categories": "Customize application categories"
"Reset to default": "Reset to default"
"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"
"Toggle the menu": "Toggle the menu"
'Custom menu': 'Custom menu'
'Enable the custom menu': 'Enable the custom menu'
'No': 'No'
'Yes': 'Yes'
'Menu': 'Menu'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.'
'Top menu': 'Top menu'
'Apps that not must be moved in the side menu': 'Apps that not must be moved in the side menu'
'If there is no selection then the global configuration is applied.': 'If there is no selection then the global configuration is applied.'
'Experimental': 'Experimental'
'Save': 'Save'
'You like this app and you want to support me?': 'You like this app and you want to support me?'
'Buy me a coffee ☕': 'Buy me a coffee ☕'
'Hidden': 'Hidden'
'Small': 'Small'
'Normal': 'Normal'
'Big': 'Big'
'Hidden icon': 'Hidden icon'
'Small icon': 'Small icon'
'Normal icon': 'Normal icon'
'Big icon': 'Big icon'
'Hidden text': 'Hidden text'
'Small text': 'Small text'
'Normal text': 'Normal text'
'Big text': 'Big text'
'Colors': 'Colors'
'Background color': 'Background color'
'Background color of current app': 'Background color of current app'
'Text color': 'Text color'
'Loader': 'Loader'
'Icon': 'Icon'
'Same color': 'Same color'
'Opposite color': 'Opposite color'
'Transparent': 'Transparent'
'Opaque': 'Opaque'
'Opener': 'Opener'
'Default': 'Default'
'Default (dark)': 'Default (dark)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (dark)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (dark)'
'Before the logo': 'Before the logo'
'After the logo': 'After the logo'
'Position': 'Position'
'Show only the opener (hidden logo)': 'Show only the opener (hidden logo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Do not display the side menu and the opener if there is no application (eg: public pages).'
'Panel': '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 big menu'
'Display the logo': 'Display the logo'
'Icons and texts': 'Icons and texts'
'Loader enabled': 'Loader enabled'
'Tips': 'Tips'
'Always displayed': 'Always displayed'
'This is the automatic behavior when the menu is always displayed.': 'This is the automatic behavior when the menu is always displayed.'
'Not compatible with touch screens.': 'Not compatible with touch screens.'
'Big menu': 'Big menu'
'Live preview': 'Live preview'
'Open apps in new tab': 'Open apps in new tab'
'Use the global setting': 'Use the global setting'
'Use my selection': 'Use my selection'
'Show and hide the list of applications': 'Show and hide the list of applications'
'Use the avatar instead of the logo': 'Use the avatar instead of the logo'
'You do not have permission to change the settings.': 'You do not have permission to change the settings.'
'Force this configuration to users': 'Force this configuration to users'
'Export the configuration': 'Export the configuration'
'Purge the cache': 'Purge the cache'
'Show the link to settings': 'Show the link to settings'
'The menu is enabled by default for users': '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': 'Apps that should not be displayed in the menu'
'This feature is only compatible with the <code>big menu</code> display.': 'This feature is only compatible with the <code>big menu</code> display.'
'The logo is a link to the default app': 'The logo is a link to the default app'
'Others': 'Others'
'Categories': 'Categories'
'Customize sorting': 'Customize sorting'
'Order by': 'Order by'
'Name': 'Name'
'Customed': 'Customed'
'Show and hide the list of categories': 'Show and hide the list of categories'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'This parameters are used when Dark theme or Breeze Dark Theme are enabled.'
'Dark mode colors': 'Dark mode colors'
'With categories': 'With categories'
'Custom categories': 'Custom categories'
'Customize application categories': 'Customize application categories'
'Reset to default': 'Reset to default'
'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'
'Toggle the menu': 'Toggle the menu'

View file

@ -1,100 +1,100 @@
"Custom menu": "Custom menu"
"Enable the custom menu": "Enable the custom menu"
"No": "No"
"Yes": "Yes"
"Menu": "Menu"
'Custom menu': 'Custom menu'
'Enable the custom menu': 'Enable the custom menu'
'No': 'No'
'Yes': 'Yes'
'Menu': 'Menu'
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>
to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to
navigate.'
: 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>
to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to
navigate.'
"Top menu": "Top menu"
"Apps that not must be moved in the side menu": "Apps that not must be moved in the side menu"
"If there is no selection then the global configuration is applied.": "If there is no selection then the global configuration is applied."
"Experimental": "Experimental"
"Save": "Save"
"You like this app and you want to support me?": "You like this app and you want to support me?"
"Buy me a coffee ☕": "Buy me a coffee ☕"
"Hidden": "Hidden"
"Small": "Small"
"Normal": "Normal"
"Big": "Big"
"Hidden icon": "Hidden icon"
"Small icon": "Small icon"
"Normal icon": "Normal icon"
"Big icon": "Big icon"
"Hidden text": "Hidden text"
"Small text": "Small text"
"Normal text": "Normal text"
"Big text": "Big text"
"Colors": "Colors"
"Background color": "Background color"
"Background color of current app": "Background color of current app"
"Text color": "Text color"
"Loader": "Loader"
"Icon": "Icon"
"Same color": "Same color"
"Opposite color": "Opposite color"
"Transparent": "Transparent"
"Opaque": "Opaque"
"Opener": "Opener"
"Default": "Default"
"Default (dark)": "Default (dark)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (dark)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (dark)"
"Before the logo": "Before the logo"
"After the logo": "After the logo"
"Position": "Position"
"Show only the opener (hidden logo)": "Show only the opener (hidden logo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Do not display the side menu and the opener if there is no application (eg: public pages)."
"Panel": "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 big menu"
"Display the logo": "Display the logo"
"Icons and texts": "Icons and texts"
"Loader enabled": "Loader enabled"
"Tips": "Tips"
"Always displayed": "Always displayed"
"This is the automatic behavior when the menu is always displayed.": "This is the automatic behavior when the menu is always displayed."
"Not compatible with touch screens.": "Not compatible with touch screens."
"Big menu": "Big menu"
"Live preview": "Live preview"
"Open apps in new tab": "Open apps in new tab"
"Use the global setting": "Use the global setting"
"Use my selection": "Use my selection"
"Show and hide the list of applications": "Show and hide the list of applications"
"Use the avatar instead of the logo": "Use the avatar instead of the logo"
"You do not have permission to change the settings.": "You do not have permission to change the settings."
"Force this configuration to users": "Force this configuration to users"
"Export the configuration": "Export the configuration"
"Purge the cache": "Purge the cache"
"Show the link to settings": "Show the link to settings"
"The menu is enabled by default for users": "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": "Apps that should not be displayed in the menu"
"This feature is only compatible with the <code>big menu</code> display.": "This feature is only compatible with the <code>big menu</code> display."
"The logo is a link to the default app": "The logo is a link to the default app"
"Others": "Others"
"Categories": "Categories"
"Customize sorting": "Customize sorting"
"Order by": "Order by"
"Name": "Name"
"Customed": "Customed"
"Show and hide the list of categories": "Show and hide the list of categories"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "This parameters are used when Dark theme or Breeze Dark Theme are enabled."
"Dark mode colors": "Dark mode colors"
"With categories": "With categories"
"Custom categories": "Custom categories"
"Customize application categories": "Customize application categories"
"Reset to default": "Reset to default"
"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 the menu": "Toggle the menu"
'Top menu': 'Top menu'
'Apps that not must be moved in the side menu': 'Apps that not must be moved in the side menu'
'If there is no selection then the global configuration is applied.': 'If there is no selection then the global configuration is applied.'
'Experimental': 'Experimental'
'Save': 'Save'
'You like this app and you want to support me?': 'You like this app and you want to support me?'
'Buy me a coffee ☕': 'Buy me a coffee ☕'
'Hidden': 'Hidden'
'Small': 'Small'
'Normal': 'Normal'
'Big': 'Big'
'Hidden icon': 'Hidden icon'
'Small icon': 'Small icon'
'Normal icon': 'Normal icon'
'Big icon': 'Big icon'
'Hidden text': 'Hidden text'
'Small text': 'Small text'
'Normal text': 'Normal text'
'Big text': 'Big text'
'Colors': 'Colors'
'Background color': 'Background color'
'Background color of current app': 'Background color of current app'
'Text color': 'Text color'
'Loader': 'Loader'
'Icon': 'Icon'
'Same color': 'Same color'
'Opposite color': 'Opposite color'
'Transparent': 'Transparent'
'Opaque': 'Opaque'
'Opener': 'Opener'
'Default': 'Default'
'Default (dark)': 'Default (dark)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (dark)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (dark)'
'Before the logo': 'Before the logo'
'After the logo': 'After the logo'
'Position': 'Position'
'Show only the opener (hidden logo)': 'Show only the opener (hidden logo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Do not display the side menu and the opener if there is no application (eg: public pages).'
'Panel': '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 big menu'
'Display the logo': 'Display the logo'
'Icons and texts': 'Icons and texts'
'Loader enabled': 'Loader enabled'
'Tips': 'Tips'
'Always displayed': 'Always displayed'
'This is the automatic behavior when the menu is always displayed.': 'This is the automatic behavior when the menu is always displayed.'
'Not compatible with touch screens.': 'Not compatible with touch screens.'
'Big menu': 'Big menu'
'Live preview': 'Live preview'
'Open apps in new tab': 'Open apps in new tab'
'Use the global setting': 'Use the global setting'
'Use my selection': 'Use my selection'
'Show and hide the list of applications': 'Show and hide the list of applications'
'Use the avatar instead of the logo': 'Use the avatar instead of the logo'
'You do not have permission to change the settings.': 'You do not have permission to change the settings.'
'Force this configuration to users': 'Force this configuration to users'
'Export the configuration': 'Export the configuration'
'Purge the cache': 'Purge the cache'
'Show the link to settings': 'Show the link to settings'
'The menu is enabled by default for users': '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': 'Apps that should not be displayed in the menu'
'This feature is only compatible with the <code>big menu</code> display.': 'This feature is only compatible with the <code>big menu</code> display.'
'The logo is a link to the default app': 'The logo is a link to the default app'
'Others': 'Others'
'Categories': 'Categories'
'Customize sorting': 'Customize sorting'
'Order by': 'Order by'
'Name': 'Name'
'Customed': 'Customed'
'Show and hide the list of categories': 'Show and hide the list of categories'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'This parameters are used when Dark theme or Breeze Dark Theme are enabled.'
'Dark mode colors': 'Dark mode colors'
'With categories': 'With categories'
'Custom categories': 'Custom categories'
'Customize application categories': 'Customize application categories'
'Reset to default': 'Reset to default'
'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 the menu': 'Toggle the menu'

View file

@ -1,96 +1,95 @@
"Custom menu": "自定义菜单"
"Enable the custom menu": "激活自定义菜单"
"No": "取消"
"Yes": "确定"
"Menu": "菜单"
? "Use the shortcut <span class=\"keyboard-key\">Ctrl</span>+<span class=\"keyboard-key\">o</span> to open and to hide the side menu. Use <span class=\"keyboard-key\">tab</span> to navigate."
: "使用快捷键 <span class=\"keyboard-key\">Ctrl</span>+<span class=\"keyboard-key\">o</span> 打开或隐藏侧边栏菜单。使用<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.": "如不选择,将应用全局设定。"
"Experimental": "实验性"
"Save": "保存"
"You like this app and you want to support me?": "喜欢本应用并支持我一下?"
"Buy me a coffee ☕": "赏一杯咖啡 ☕ 给我"
"Hidden": "隐藏"
"Small": "小型"
"Normal": "标准"
"Big": "大型"
"Colors": "颜色"
"Background color": "背景颜色"
"Background color of current app": "当前应用的背景色"
"Text color": "文字颜色"
"Loader": "菜单指示器"
"Icon": "图标"
"Same color": "相同颜色"
"Opposite color": "相反颜色"
"Transparent": "透明"
"Opaque": "不透明"
"Opener": "容器"
"Default": "默认"
"Default (dark)": "默认(深色)"
"Hamburger": "Hamburger"
"Hamburger (dark)": "Hamburger (深色)"
"Hamburger 2": "Hamburger 2"
"Hamburger 2 (dark)": "Hamburger 2 (深色)"
"Before the logo": "在logo前"
"After the logo": "在logo后"
"Position": "位置"
"Show only the opener (hidden logo)": "只显示容器 (隐藏logo)"
"Do not display the side menu and the opener if there is no application (eg: public pages).": "N如果没有应用不显示侧边栏菜单和容器 (例如 : 公共页面)。"
"Panel": "面板"
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "鼠标悬停时打开菜单 (触摸屏时将自动禁用)"
"Display the big menu": "显示大型菜单"
"Display the logo": "显示logo"
"Icons and texts": "图标与文字"
"Loader enabled": "菜单指示器已激活"
"Tips": "技巧"
"Always displayed": "一直显示"
"This is the automatic behavior when the menu is always displayed.": "一直显示菜单时的自动动作。"
"Not compatible with touch screens.": "与触屏不兼容。"
"Big menu": "大型菜单"
"Live preview": "实时预览"
"Open apps in new tab": "在新标签中打开应用"
"Use the global setting": "使用全局设定"
"Use my selection": "使用自定义设定"
"Show and hide the list of applications": "显示或隐藏应用列表"
"Use the avatar instead of the logo": "使用头像代替logo"
"You do not have permission to change the settings.": "没有更改设置的权限。"
"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.": "除非设置被强制使用。"
"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链接到默认应用"
"Others": "其他"
"Categories": "类别"
"Customize sorting": "自定义顺序"
"Order by": "排序规则"
"Name": "名称"
"Customed": "自定义"
"Show and hide the list of categories": "显示或隐藏类别列表"
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "此参数将应用于暗黑主题激活时。"
"Dark mode colors": "暗黑模式颜色"
"With categories": "有类别"
"Custom categories": "自定义类别"
"Customize application categories": "自定义应用程序类别"
"Reset to default": "重置为默认设置"
"Hidden icon": "隐藏图标"
"Small icon": "小图标"
"Normal icon": "正常图标"
"Big icon": "大图标"
"Hidden text": "隐藏文字"
"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"
'Custom menu': '自定义菜单'
'Enable the custom menu': '激活自定义菜单'
'No': '取消'
'Yes': '确定'
'Menu': '菜单'
'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to navigate.': '使用快捷键 <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> 打开或隐藏侧边栏菜单。使用<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.': '如不选择,将应用全局设定。'
'Experimental': '实验性'
'Save': '保存'
'You like this app and you want to support me?': '喜欢本应用并支持我一下?'
'Buy me a coffee ☕': '赏一杯咖啡 ☕ 给我'
'Hidden': '隐藏'
'Small': '小型'
'Normal': '标准'
'Big': '大型'
'Colors': '颜色'
'Background color': '背景颜色'
'Background color of current app': '当前应用的背景色'
'Text color': '文字颜色'
'Loader': '菜单指示器'
'Icon': '图标'
'Same color': '相同颜色'
'Opposite color': '相反颜色'
'Transparent': '透明'
'Opaque': '不透明'
'Opener': '容器'
'Default': '默认'
'Default (dark)': '默认(深色)'
'Hamburger': 'Hamburger'
'Hamburger (dark)': 'Hamburger (深色)'
'Hamburger 2': 'Hamburger 2'
'Hamburger 2 (dark)': 'Hamburger 2 (深色)'
'Before the logo': '在logo前'
'After the logo': '在logo后'
'Position': '位置'
'Show only the opener (hidden logo)': '只显示容器 (隐藏logo)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': 'N如果没有应用不显示侧边栏菜单和容器 (例如 : 公共页面)。'
'Panel': '面板'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '鼠标悬停时打开菜单 (触摸屏时将自动禁用)'
'Display the big menu': '显示大型菜单'
'Display the logo': '显示logo'
'Icons and texts': '图标与文字'
'Loader enabled': '菜单指示器已激活'
'Tips': '技巧'
'Always displayed': '一直显示'
'This is the automatic behavior when the menu is always displayed.': '一直显示菜单时的自动动作。'
'Not compatible with touch screens.': '与触屏不兼容。'
'Big menu': '大型菜单'
'Live preview': '实时预览'
'Open apps in new tab': '在新标签中打开应用'
'Use the global setting': '使用全局设定'
'Use my selection': '使用自定义设定'
'Show and hide the list of applications': '显示或隐藏应用列表'
'Use the avatar instead of the logo': '使用头像代替logo'
'You do not have permission to change the settings.': '没有更改设置的权限。'
'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.': '除非设置被强制使用。'
'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链接到默认应用'
'Others': '其他'
'Categories': '类别'
'Customize sorting': '自定义顺序'
'Order by': '排序规则'
'Name': '名称'
'Customed': '自定义'
'Show and hide the list of categories': '显示或隐藏类别列表'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': '此参数将应用于暗黑主题激活时。'
'Dark mode colors': '暗黑模式颜色'
'With categories': '有类别'
'Custom categories': '自定义类别'
'Customize application categories': '自定义应用程序类别'
'Reset to default': '重置为默认设置'
'Hidden icon': '隐藏图标'
'Small icon': '小图标'
'Normal icon': '正常图标'
'Big icon': '大图标'
'Hidden text': '隐藏文字'
'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'

15
src/lib/app.js Normal file
View file

@ -0,0 +1,15 @@
import { loadState } from '@nextcloud/initial-state'
const getActiveAppId = () => {
const apps = loadState('core', 'apps', {})
for (let id in apps) {
if (apps[id].active) {
return id
}
}
return null
}
export { getActiveAppId }

View file

@ -1,4 +1,16 @@
module.exports = (tagName, attributes) => {
const waitContainer = async (selector) => {
new Promise((resolve) => {
setTimeout(() => {
const container = document.querySelector(selector)
if (container) {
resolve(selector, container)
}
}, 50)
})
}
const createElement = (tagName, attributes) => {
const element = document.createElement(tagName)
if (typeof attributes === 'object') {
@ -15,3 +27,5 @@ module.exports = (tagName, attributes) => {
return element
}
export { waitContainer, createElement }

26
src/lib/search.js Normal file
View file

@ -0,0 +1,26 @@
const containsAppsMatchingSearch = (values, search) => {
if (search.value.trim() === '') {
return true
}
for (let key in values) {
if (isAppMatchingSearch(values[key].name)) {
return true
}
}
return false
}
const isAppMatchingSearch = (item, search) => {
if (search.value.trim() === '') {
return true
}
return item.name.toLowerCase().includes(search.value.trim().toLowerCase())
}
export {
containsAppsMatchingSearch,
isAppMatchingSearch,
}

View file

@ -15,54 +15,43 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import AppMenu from './AppMenu.vue'
import SideMenu from './SideMenu.vue'
import SideMenuBig from './SideMenuBig.vue'
import SideMenuWithCategories from './SideMenuWithCategories.vue'
import PageLoader from './PageLoader'
import './scss/menu.scss'
Vue.prototype.OC = OC
Vue.prototype.t = OC.L10N.translate
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js'
window.PageLoader = PageLoader
// import AppMenu from './menus/AppMenu.vue'
import SideMenu from './menus/SideMenu.vue'
import SideMenuBig from './menus/SideMenuBig.vue'
import SideMenuWithCategories from './menus/SideMenuWithCategories.vue'
const mountSideMenuComponent = () => {
const container = document.querySelector('#side-menu')
// import PageLoader from './components/PageLoader.vue'
if (!container) {
return window.setTimeout(mountSideMenuComponent, 50)
}
// window.PageLoader = PageLoader
const pinia = createPinia()
waitContainer('#side-menu').then((selector, container) => {
const component = (() => {
if (container.getAttribute('data-bigmenu')) {
return SideMenuBig
} else if(container.getAttribute('data-sidewithcategories')) {
} else if (container.getAttribute('data-sidewithcategories')) {
return SideMenuWithCategories
} else {
return SideMenu
}
})()
const View = Vue.extend(component)
const App = new View({})
const app = createApp(component)
App.$mount('#side-menu')
app.use(pinia)
app.mount(selector)
})
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.ready'))
}
waitContainer('#header .app-menu').then((selector) => {
const app = createApp(AppMenu)
const mountAppMenu = () => {
const container = document.querySelector('#header .app-menu')
if (!container) {
return window.setTimeout(mountAppMenu, 50)
}
const View = Vue.extend(AppMenu)
const App = new View({})
App.$mount('#header .app-menu')
}
mountSideMenuComponent()
mountAppMenu()
app.use(pinia)
app.mount(selector)
})

View file

@ -1,4 +1,3 @@
<!--
- @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
-
@ -26,45 +25,70 @@
:aria-label="t('core', 'Applications menu')"
>
<ul
v-if="appList.length"
class="app-menu-main"
:class="{ 'app-menu-main__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
v-if="appList.length"
>
<li v-for="app in mainAppList(state)"
>
<li
v-for="app in mainAppList(state)"
:key="app.id"
:data-app-id="app.id"
class="app-menu-entry"
:class="{ 'app-menu-entry__active': app.active, 'app-menu-entry__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
:style="makeStyle(app)"
>
<a :href="app.href"
>
<a
:href="app.href"
:class="{ 'has-unread': app.unread > 0 }"
:aria-label="appLabel(app)"
:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
:aria-current="app.active ? 'page' : false">
<img :src="app.icon" alt="">
:aria-current="app.active ? 'page' : false"
>
<img
:src="app.icon"
alt=""
/>
<div class="app-menu-entry--label">
{{ app.name }}
<span v-if="app.unread > 0" class="hidden-visually unread-counter">{{ app.unread }}</span>
<span
v-if="app.unread > 0"
class="hidden-visually unread-counter"
>{{ app.unread }}</span
>
</div>
</a>
</li>
</ul>
<NcActions class="app-menu-more" :aria-label="t('core', 'More apps')">
<NcActionLink v-for="app in popoverAppList(state)"
<NcActions
class="app-menu-more"
:aria-label="t('core', 'More apps')"
>
<NcActionLink
v-for="app in popoverAppList(state)"
:key="app.id"
:aria-label="appLabel(app)"
:aria-current="app.active ? 'page' : false"
:href="app.href"
:style="makeStyle(app)"
class="app-menu-popover-entry">
class="app-menu-popover-entry"
>
<template #icon>
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }">
<img :src="app.icon" alt="">
<div
class="app-icon"
:class="{ 'has-unread': app.unread > 0 }"
>
<img
:src="app.icon"
alt=""
/>
</div>
</template>
{{ app.name }}
<span v-if="app.unread > 0" class="hidden-visually unread-counter">{{ app.unread }}</span>
<span
v-if="app.unread > 0"
class="hidden-visually unread-counter"
>{{ app.unread }}</span
>
</NcActionLink>
</NcActions>
</nav>
@ -91,8 +115,8 @@ export default defineComponent({
setup() {
return {
t,
n,
t,
n,
}
},
@ -108,7 +132,8 @@ export default defineComponent({
},
mounted() {
axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
axios
.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
.then((response) => response.data)
.then((data) => {
if (data.ocs.meta.statuscode !== 200) {
@ -181,16 +206,18 @@ export default defineComponent({
},
appLabel(app) {
return app.name
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '')
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
return (
app.name +
(app.active ? ' (' + t('core', 'Currently open') + ')' : '') +
(app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
)
},
makeStyle(app) {
if (app.order !== null) {
return `order: ${app.order}`
}
}
},
},
})
</script>
@ -219,7 +246,7 @@ $header-icon-size: 20px;
opacity: 1;
&::before {
content: " ";
content: ' ';
position: absolute;
pointer-events: none;
border-bottom-color: var(--color-main-background);
@ -312,7 +339,8 @@ $header-icon-size: 20px;
bottom: 0;
}
&::before, .app-menu-entry::before {
&::before,
.app-menu-entry::before {
opacity: 0;
}
}
@ -328,18 +356,19 @@ $header-icon-size: 20px;
bottom: 0;
}
&::before, .app-menu-entry::before {
&::before,
.app-menu-entry::before {
opacity: 0;
}
}
}
::v-deep .app-menu-more .button-vue--vue-tertiary {
opacity: .7;
opacity: 0.7;
margin: 3px;
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright));
&:not([aria-expanded="true"]) {
&:not([aria-expanded='true']) {
color: var(--color-main-text);
&:hover {
@ -348,10 +377,10 @@ $header-icon-size: 20px;
}
}
&:focus-visible {
opacity: 1;
outline: none !important;
}
&:focus-visible {
opacity: 1;
outline: none !important;
}
}
.app-menu-popover-entry {
@ -376,7 +405,7 @@ $header-icon-size: 20px;
}
.has-unread::after {
content: "";
content: '';
width: 8px;
height: 8px;
background-color: var(--color-primary-element-text);

View file

@ -16,155 +16,122 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div id="side-menu">
<div class="side-menu-header" v-if="settings || !openerHover || (!avatar && !alwaysDisplayed && logo) || avatar">
<div
class="side-menu-header"
v-if="settings || !openerHover || (!avatar && !alwaysDisplayed && logo) || avatar"
>
<SettingsButton
v-if="settings"
v-bind:href="settings.href"
v-bind:label="settings.name"
v-bind:avatar="settings.avatar" />
:href="settings.href"
:label="settings.name"
:avatar="settings.avatar"
/>
<AppSearch v-model:search="search" />
<OpenerButton v-if="!alwaysDisplayed" />
<Logo
v-if="!avatar && !alwaysDisplayed && logo" v-bind:classes="{'side-menu-logo': true, 'avatardiv': false}"
v-bind:image="logo"
v-bind:link="logoLink"
v-if="!avatar && !alwaysDisplayed && logo"
:classes="{ 'side-menu-logo': true, avatardiv: false }"
:image="logo"
:link="logoLink"
/>
<Logo
v-if="avatar" v-bind:classes="{'side-menu-logo': true, 'avatardiv': true}"
v-bind:image="avatar"
v-bind:link="logoLink"
v-if="avatar"
:classes="{ 'side-menu-logo': true, avatardiv: true }"
:image="avatar"
:link="logoLink"
/>
</div>
<ul class="side-menu-apps-list" :class="{'side-menu-apps-list--with-settings': !!settings}">
<SideMenuApp
<ul
class="side-menu-apps-list"
:class="{ 'side-menu-apps-list--with-settings': !!settings }"
>
<template
v-for="(app, key) in apps"
v-if="searchMatch(app.name)"
v-bind:classes="{'side-menu-app': true, 'active': app.active}"
v-bind:key="key"
v-bind:icon="app.icon"
v-bind:label="app.name"
v-bind:href="app.href"
v-bind:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
/>
:key="key"
>
<SideMenuApp
v-if="isAppMatchingSearch(app.name, search)"
:classes="{ 'side-menu-app': true, active: app.active }"
:icon="app.icon"
:label="app.name"
:href="app.href"
:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
/>
</template>
</ul>
</div>
</template>
<script>
import axios from 'axios'
import OpenerButton from './OpenerButton'
import SettingsButton from './SettingsButton'
import SideMenuApp from './SideMenuApp'
import AppSearch from './AppSearch'
import Logo from './Logo'
import { loadState } from '@nextcloud/initial-state'
<script setup>
import { ref, onMounted } from 'vue'
import { useConfigStore } from '../store/config.js'
import { useNavStore } from '../store/nav.js'
import { isAppMatchingSearch } from '../lib/search.js'
export default {
name: 'SideMenu',
components: {
SettingsButton,
OpenerButton,
SideMenuApp,
Logo,
AppSearch,
},
data() {
return {
apps: [],
logo: null,
logoLink: null,
avatar: null,
forceLightIcon: false,
targetBlankApps: [],
hiddenApps: [],
settings: null,
openerHover: false,
alwaysDisplayed: false,
search: '',
import OpenerButton from '../components/OpenerButton'
import SettingsButton from '../components/SettingsButton'
import SideMenuApp from '../components/SideMenuApp'
import AppSearch from '../components/AppSearch'
import Logo from '../components/Logo'
const targetBlankApps = ref(null)
const forceLightIcon = ref(null)
const avatar = ref(null)
const logo = ref(null)
const logoLink = ref(null)
const settings = ref(null)
const openerHover = ref(null)
const alwaysDisplayed = ref(null)
const search = ref('')
const apps = ref([])
function getFiltredAndSortedApps(
items,
order,
topMenuApps,
topSideMenuApps
) {
const data = []
items.forEach((item) => {
if (topMenuApps.includes(item.id) && !topSideMenuApps.includes(item.id)) {
return
}
},
methods: {
retrieveApps() {
const ncApps = loadState('core', 'apps', [])
let orders = {}
let finalApps = []
window.menuAppsOrder.forEach((app, order) => {
orders[app] = order + 1
})
item.order = items.length + 1
for (let app of ncApps) {
if (window.topMenuApps.includes(app.id) && !window.topSideMenuApps.includes(app.id)) {
continue
}
if (this.hiddenApps.includes(app.id)) {
continue
}
app.order = orders[app.id] || null
finalApps.push(app)
order.forEach((id, key) => {
if (id === item.id) {
item.order = key + 1
}
})
finalApps.sort((a, b) => {
if (a.order === null || b.order === null) {
return a.name < b.name ? -1 : 1
}
data.push(item)
})
return a.order < b.order ? -1 : 1
})
this.apps = finalApps
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.apps', {
detail: {apps: this.apps},
}))
},
retrieveConfig() {
},
hasSearchMatch(apps) {
if (this.search.trim() === '') {
return true
}
for (let key in apps) {
if (this.searchMatch(apps[key].name)) {
return true
}
}
return false
},
searchMatch(name) {
if (this.search.trim() === '') {
return true
}
return name.toLowerCase().includes(this.search.toLowerCase())
},
},
mounted() {
axios
.get(OC.generateUrl('/apps/side_menu/js/config'))
.then((response) => {
const config = response.data
this.targetBlankApps = config['target-blank-apps']
this.forceLightIcon = config['force-light-icon']
this.avatar = config['avatar']
this.logo = config['logo']
this.logoLink = config['logo-link']
this.settings = config['settings']
this.openerHover = config['opener-hover']
this.alwaysDisplayed = config['always-displayed']
this.hiddenApps = config['big-menu-hidden-apps']
this.retrieveApps()
})
}
return data.sort((a, b) => {
return a.order < b.order ? -1 : 1
})
}
onMounted(() => {
const config = useConfigStore.getConfig()
targetBlankApps.value = config['target-blank-apps']
forceLightIcon.value = config['force-light-icon']
avatar.value = config['avatar']
logo.value = config['logo']
logoLink.value = config['logo-link']
settings.value = config['settings']
openerHover.value = config['opener-hover']
alwaysDisplayed.value = config['always-displayed']
apps.value = getFiltredAndSortedApps(
useNavStore.getApps(),
config['apps-order'],
config['top-menu-apps'],
config['top-side-menu-apps'],
)
})
</script>

View file

@ -15,14 +15,17 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div id="side-menu" class="side-menu-big">
<div
id="side-menu"
class="side-menu-big"
>
<div class="side-menu-header">
<CloserButton />
<SettingsButton
v-if="settings"
v-bind:href="settings.href"
v-bind:label="settings.name"
v-bind:avatar="settings.avatar"
:href="settings.href"
:label="settings.name"
:avatar="settings.avatar"
/>
<AppSearch v-model:search="search" />
<OpenerButton />
@ -32,124 +35,70 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="side-menu-categories">
<Loader v-if="!items.length" />
<div class="side-menu-category" v-for="(category, key) in items" v-if="hasSearchMatch(category.apps)" v-bind:key="key">
<h2 class="side-menu-category-title" v-if="category.name != ''" v-text="category.name"></h2>
<template
v-for="(category, key) in items"
:key="key"
>
<div
v-if="containsAppsMatchingSearch(category.apps, search)"
class="side-menu-category"
>
<h2
v-if="category.name != ''"
class="side-menu-category-title"
>
{{ category.name }}
</h2>
<ul class="side-menu-apps-list">
<SideMenuBigApp
v-for="(app, appId) in category.apps"
v-if="searchMatch(app.name)"
v-bind:key="appId"
v-bind:classes="{'side-menu-app': true, 'active': activeApp === appId}"
v-bind:icon="app.icon"
v-bind:label="app.name"
v-bind:href="app.href"
v-bind:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined"
/>
</ul>
</div>
<ul class="side-menu-apps-list">
<template
v-for="(app, appId) in category.apps"
:key="appId"
>
<SideMenuBigApp
v-if="isAppMatchingSearch(app.name, search)"
:classes="{ 'side-menu-app': true, active: activeApp === appId }"
:icon="app.icon"
:label="app.name"
:href="app.href"
:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined"
/>
</template>
</ul>
</div>
</template>
</div>
</div>
</div>
</template>
<script>
import axios from 'axios'
import OpenerButton from './OpenerButton'
import CloserButton from './CloserButton'
import SettingsButton from './SettingsButton'
import Loader from './Loader'
import AppSearch from './AppSearch'
import SideMenuBigApp from './SideMenuBigApp'
import { loadState } from '@nextcloud/initial-state'
<script setup>
import { ref, onMounted } from 'vue'
import { useNavStore } from '../store/nav.js'
import { useConfigStore } from '../store/config.js'
import { getActiveAppId } from '../lib/app.js'
import { containsAppsMatchingSearch, isAppMatchingSearch } from '../lib/search.js'
export default {
name: 'SideMenuBig',
components: {
SettingsButton,
OpenerButton,
CloserButton,
Loader,
SideMenuBigApp,
AppSearch,
},
data() {
return {
items: [],
activeApp: null,
targetBlank: false,
targetBlankApps: [],
settings: null,
search: '',
}
},
methods: {
retrieveApps() {
axios
.get(OC.generateUrl('/apps/side_menu/nav/items'))
.then((response) => {
this.items = response.data.items
let apps = []
import OpenerButton from '../components/OpenerButton'
import CloserButton from '../components/CloserButton'
import SettingsButton from '../components/SettingsButton'
import Loader from '../components/Loader'
import AppSearch from '../components/AppSearch'
import SideMenuBigApp from '../components/SideMenuBigApp'
for (let category of this.items) {
for (let a in category.apps) {
apps.push(category.apps[a])
}
}
const items = ref([])
const activeApp = ref(null)
const targetBlankApps = ref([])
const settings = ref(null)
const search = ref('')
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.apps', {
detail: {apps: apps},
}))
})
},
onMounted(() => {
const config = useConfigStore.getConfig()
retrieveActiveApp() {
const ncApps = loadState('core', 'apps', {})
targetBlankApps.value = config['target-blank-apps']
settings.value = config['settings']
for (let id in ncApps) {
if (ncApps[id].active) {
this.activeApp = id
}
}
},
retrieveConfig() {
axios
.get(OC.generateUrl('/apps/side_menu/js/config'))
.then((response) => {
const config = response.data
this.targetBlankApps = config['target-blank-apps']
this.settings = config['settings']
})
},
hasSearchMatch(apps) {
if (this.search.trim() === '') {
return true
}
for (let key in apps) {
if (this.searchMatch(apps[key].name)) {
return true
}
}
return false
},
searchMatch(name) {
if (this.search.trim() === '') {
return true
}
return name.toLowerCase().includes(this.search.toLowerCase())
},
},
mounted() {
this.retrieveConfig()
this.retrieveApps()
this.retrieveActiveApp()
}
}
items.value = useNavStore.getCategories()
activeApp.value = getActiveAppId()
})
</script>

View file

@ -15,13 +15,16 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<div id="side-menu" class="side-menu-with-categories">
<div
id="side-menu"
class="side-menu-with-categories"
>
<div class="side-menu-header">
<SettingsButton
v-if="settings"
v-bind:href="settings.href"
v-bind:label="settings.name"
v-bind:avatar="settings.avatar"
:href="settings.href"
:label="settings.name"
:avatar="settings.avatar"
/>
<AppSearch v-model:search="search" />
<OpenerButton />
@ -31,124 +34,69 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="side-menu-categories">
<Loader v-if="!items.length" />
<div class="side-menu-category" v-for="(category, key) in items" v-if="hasSearchMatch(category.apps)" v-bind:key="key">
<h2 class="side-menu-category-title" v-if="category.name != ''" v-text="category.name"></h2>
<template
v-for="(category, key) in items"
:key="key"
>
<div
v-if="containsAppsMatchingSearch(category.apps, search)"
class="side-menu-category"
>
<h2
v-if="category.name != ''"
class="side-menu-category-title"
>
{{ category.name }}
</h2>
<ul class="side-menu-apps-list">
<SideMenuBigApp
v-for="(app, appId) in category.apps"
v-if="searchMatch(app.name)"
v-bind:key="appId"
v-bind:classes="{'side-menu-app': true, 'active': activeApp === appId}"
v-bind:icon="app.icon"
v-bind:label="app.name"
v-bind:href="app.href"
v-bind:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined"
/>
</ul>
</div>
<ul class="side-menu-apps-list">
<template
v-for="(app, appId) in category.apps"
:key="appId"
>
<SideMenuBigApp
v-if="isAppMatchingSearch(app.name, search)"
:classes="{ 'side-menu-app': true, active: activeApp === appId }"
:icon="app.icon"
:label="app.name"
:href="app.href"
:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined"
/>
</template>
</ul>
</div>
</template>
</div>
</div>
</div>
</template>
<script setup>
import axios from 'axios'
import OpenerButton from './OpenerButton'
import SettingsButton from './SettingsButton'
import Loader from './Loader'
import AppSearch from './AppSearch'
import SideMenuBigApp from './SideMenuBigApp'
import { loadState } from '@nextcloud/initial-state'
import { ref, onMounted } from 'vue'
import { useNavStore } from '../store/nav.js'
import { useConfigStore } from '../store/config.js'
import { getActiveAppId } from '../lib/app.js'
import { containsAppsMatchingSearch, isAppMatchingSearch } from '../lib/search.js'
import { ref } from 'vue'
import OpenerButton from '../components/OpenerButton'
import SettingsButton from '../components/SettingsButton'
import Loader from '../components/Loader'
import AppSearch from '../components/AppSearch'
import SideMenuBigApp from '../components/SideMenuBigApp'
export default {
name: 'SideMenuWithCategories',
components: {
SettingsButton,
OpenerButton,
Loader,
SideMenuBigApp,
AppSearch,
},
data() {
return {
items: [],
activeApp: null,
targetBlank: false,
targetBlankApps: [],
settings: null,
search: '',
}
},
methods: {
retrieveApps() {
axios
.get(OC.generateUrl('/apps/side_menu/nav/items'))
.then((response) => {
this.items = response.data.items
let apps = []
const items = ref([])
const activeApp = ref(null)
const targetBlankApps = ref([])
const settings = ref(null)
const search = ref('')
for (let category of this.items) {
for (let a in category.apps) {
apps.push(category.apps[a])
}
}
onMounted(() => {
const config = useConfigStore.getConfig()
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.apps', {
detail: {apps: apps},
}))
})
},
targetBlankApps.value = config['target-blank-apps']
settings.value = config['settings']
retrieveActiveApp() {
const ncApps = loadState('core', 'apps', {})
for (let id in ncApps) {
if (ncApps[id].active) {
this.activeApp = id
}
}
},
retrieveConfig() {
axios
.get(OC.generateUrl('/apps/side_menu/js/config'))
.then((response) => {
const config = response.data
this.targetBlankApps = config['target-blank-apps']
this.settings = config['settings']
})
},
hasSearchMatch(apps) {
if (this.search.trim() === '') {
return true
}
for (let key in apps) {
if (this.searchMatch(apps[key].name)) {
return true
}
}
return false
},
searchMatch(name) {
if (this.search.trim() === '') {
return true
}
return name.toLowerCase().includes(this.search.toLowerCase())
},
},
mounted() {
this.retrieveConfig()
this.retrieveApps()
this.retrieveActiveApp()
}
}
items.value = useNavStore.getCategories()
activeApp.value = getActiveAppId()
})
</script>

View file

@ -15,18 +15,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#side-menu-section input[type="color"] {
#side-menu-section input[type='color'] {
width: 100px;
margin: 10px 0 10px 0;
padding: 0;
border-radius: 0;
}
#-dropside-menu-section input[type="checkbox"] {
#-dropside-menu-section input[type='checkbox'] {
vertical-align: middle;
}
#side-menu-section input[type="range"] {
#side-menu-section input[type='range'] {
vertical-align: middle;
}

View file

@ -25,7 +25,9 @@
background: linear-gradient(90deg, var(--side-menu-background-color, #333) 0%, var(--side-menu-background-color-to, #333) 100%);
z-index: 3000;
color: var(--side-menu-text-color, #fff);
box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
box-shadow:
rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px,
rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
display: none;
}
@ -57,7 +59,9 @@
padding: 4px 7px;
}
.side-menu-settings:hover a, .side-menu-settings a:active, .side-menu-settings a:focus {
.side-menu-settings:hover a,
.side-menu-settings a:active,
.side-menu-settings a:focus {
background: var(--side-menu-current-app-background-color, #444);
}
@ -73,7 +77,7 @@
}
.side-menu-opener {
background: var(--side-menu-opener, url('../img/side-menu-opener.svg'));
background: var(--side-menu-opener, url('../../img/side-menu-opener.svg'));
background-color: transparent !important;
height: 40px !important;
width: 40px !important;
@ -95,16 +99,19 @@
overflow: hidden;
}
.side-menu-opener:active, .side-menu-opener:focus {
.side-menu-opener:active,
.side-menu-opener:focus {
background-color: var(--side-menu-current-app-background-color, #444) !important;
}
.side-menu-closer {
background: url('../img/side-menu-opener-closer.svg');
background: url('../../img/side-menu-opener-closer.svg');
display: none;
}
#side-menu.hide-opener .side-menu-opener, .side-menu-opener.hide, #side-menu.hide {
#side-menu.hide-opener .side-menu-opener,
.side-menu-opener.hide,
#side-menu.hide {
display: none !important;
}
@ -137,7 +144,9 @@
white-space: nowrap;
}
.side-menu-app a:hover, .side-menu-app.active, .side-menu-app a:focus {
.side-menu-app a:hover,
.side-menu-app.active,
.side-menu-app a:focus {
background: var(--side-menu-current-app-background-color, #444);
}
@ -183,23 +192,27 @@
transition-property: width;
}
#side-menu.side-menu-big, #side-menu.side-menu-with-categories {
#side-menu.side-menu-big,
#side-menu.side-menu-with-categories {
max-width: 100%;
height: auto;
}
.side-menu-big .side-menu-header, .side-menu-with-categories .side-menu-header {
.side-menu-big .side-menu-header,
.side-menu-with-categories .side-menu-header {
height: auto;
}
.side-menu-big .side-menu-apps-list, .side-menu-with-categories .side-menu-apps-list {
.side-menu-big .side-menu-apps-list,
.side-menu-with-categories .side-menu-apps-list {
height: auto;
position: static;
max-width: 100vw;
overflow: auto;
}
.side-menu-big .side-menu-app a, .side-menu-with-categories .side-menu-app a {
.side-menu-big .side-menu-app a,
.side-menu-with-categories .side-menu-app a {
padding: 7px 0 7px 7px;
}
@ -242,7 +255,8 @@
stroke: var(--side-menu-text-color, #fff);
}
.side-menu-with-categories .side-menu-app-icon, .side-menu-big .side-menu-app-icon {
.side-menu-with-categories .side-menu-app-icon,
.side-menu-big .side-menu-app-icon {
vertical-align: middle;
margin-top: -2px;
}
@ -322,7 +336,8 @@
padding: 10px 0;
}
.side-menu-always-displayed #body-settings, #body-settings.body-settings-side-menu {
.side-menu-always-displayed #body-settings,
#body-settings.body-settings-side-menu {
overflow-x: visible;
}

18
src/store/config.js Normal file
View file

@ -0,0 +1,18 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { axios } from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
export const useConfigStore = defineStore('config', () => {
const config = ref(null)
async function getConfig() {
if (config.value !== null) {
return config.value
}
config.value = await fetch(generateUrl('/apps/side_menu/js/config')).then((response) => response.data)
return config.value
}
})

35
src/store/nav.js Normal file
View file

@ -0,0 +1,35 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { axios } from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
export const useNavStore = defineStore('nav', () => {
const categories = ref(null)
const apps = ref(null)
function getApps() {
if (apps.value !== null) {
return apps.value
}
apps.value = []
getCategories().forEach((category) => {
Object.values(category.apps).forEach((app) => {
apps.value.push(app)
})
})
return apps.value
}
async function getCategories() {
if (categories.value !== null) {
return categories.value
}
categories.value = await fetch(generateUrl('/apps/side_menu/nav/items')).then((response) => response.data.items)
return categories.value
}
})