refactoring: update severals components

This commit is contained in:
Simon Vieille
2025-04-04 20:13:15 +02:00
parent 4f261c434d
commit d8a622ce0f
37 changed files with 1857 additions and 1782 deletions
+18 -18
View File
@@ -119,26 +119,26 @@ class Application extends App implements IBootstrap
protected function addAssets() protected function addAssets()
{ {
Util::addScript(self::APP_ID, 'sideMenu'); Util::addScript(self::APP_ID, 'side_menu-menu');
Util::addStyle(self::APP_ID, 'sideMenu'); //Util::addStyle(self::APP_ID, 'sideMenu');
$assets = [ $assets = [
'stylesheet' => [ // 'stylesheet' => [
'route' => 'side_menu.Css.stylesheet', // 'route' => 'side_menu.Css.stylesheet',
'type' => 'link', // 'type' => 'link',
'route_attr' => 'href', // 'route_attr' => 'href',
'attr' => [ // 'attr' => [
'rel' => 'stylesheet', // 'rel' => 'stylesheet',
], // ],
], // ],
'script' => [ // 'script' => [
'route' => 'side_menu.Js.script', // 'route' => 'side_menu.Js.script',
'type' => 'script', // 'type' => 'script',
'route_attr' => 'src', // 'route_attr' => 'src',
'attr' => [ // 'attr' => [
'nonce' => $this->cspnm->getNonce(), // 'nonce' => $this->cspnm->getNonce(),
], // ],
], // ],
]; ];
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0'); $cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');
+6 -6
View File
@@ -6,13 +6,14 @@
"build": "NODE_ENV=production ./node_modules/.bin/webpack-cli --progress --config webpack.config.js", "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", "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", "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": "ESLINT_USE_FLAT_CONFIG=false ./node_modules/.bin/eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"lint:fix": "./node_modules/.bin/eslint --ext .js,.vue src --fix", "format": "./node_modules/.bin/prettier src --write"
"stylelint": "./node_modules/.bin/stylelint src",
"stylelint:fix": "./node_modules/.bin/stylelint src --fix"
}, },
"dependencies": { "dependencies": {
"@nextcloud/vue": "^8.23.0", "@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" "vue": "^3.5.13"
}, },
"browserslist": [ "browserslist": [
@@ -28,7 +29,6 @@
"@nextcloud/event-bus": "^3.3.1", "@nextcloud/event-bus": "^3.3.1",
"@nextcloud/initial-state": "^2.2.0", "@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^3.1.0", "@nextcloud/l10n": "^3.1.0",
"@symfony/webpack-encore": "^5.1.0",
"babel-loader": "^9.1.3", "babel-loader": "^9.1.3",
"css-loader": "^7.1.2", "css-loader": "^7.1.2",
"eslint": "^9.19.0", "eslint": "^9.19.0",
+1 -1
View File
@@ -12,7 +12,7 @@ const PageLoader = () => {
window.addEventListener('beforeunload', () => { window.addEventListener('beforeunload', () => {
setInterval(() => { setInterval(() => {
pageLoaderBar.style.width = pageLoaderValue.toString() + '%' pageLoaderBar.style.width = pageLoaderValue.toString() + '%'
pageLoaderValue = Math.min(pageLoaderValue + .2, 100) pageLoaderValue = Math.min(pageLoaderValue + 0.2, 100)
}, 25) }, 25)
}) })
} }
+16 -23
View File
@@ -15,11 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
import AdminCategoriesCustom from './AdminCategoriesCustom.vue' import { createApp } from 'vue'
import Vue from 'vue' import AdminCategoriesCustom from './components/AdminCategoriesCustom.vue'
Vue.prototype.OC = window.OC
Vue.prototype.OCA = window.OCA
let elements = [] let elements = []
@@ -37,7 +34,7 @@ const userConfig = (name, value, callbacks) => {
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded', 'Content-Type': 'application/x-www-form-urlencoded',
}, },
body: formData.join('&') body: formData.join('&'),
}) })
.then(callbacks.success) .then(callbacks.success)
.catch(callbacks.error) .catch(callbacks.error)
@@ -81,12 +78,12 @@ const saveSettings = (key) => {
const progress = document.querySelector('#side-menu-save-progress') const progress = document.querySelector('#side-menu-save-progress')
progress.style.width = '40px'; progress.style.width = '40px'
progress.style.marginLeft = '5px'; progress.style.marginLeft = '5px'
const callbacks = { const callbacks = {
success: () => { success: () => {
const percent = parseInt((key + 1) * 100 / size); const percent = parseInt(((key + 1) * 100) / size)
progress.setAttribute('value', percent) progress.setAttribute('value', percent)
@@ -98,7 +95,7 @@ const saveSettings = (key) => {
}, },
error: () => { error: () => {
OC.msg.finishedError(selector, t('side_menu', 'Error while saving "' + element + '"')) OC.msg.finishedError(selector, t('side_menu', 'Error while saving "' + element + '"'))
} },
} }
if (element.hasAttribute('data-personal')) { if (element.hasAttribute('data-personal')) {
@@ -134,13 +131,11 @@ const updateAppsCategoriesCustom = () => {
} }
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
$('*[data-toggle="tooltip"]').tooltip(); $('*[data-toggle="tooltip"]').tooltip()
if (document.querySelector('#side-menu-categories-custom')) { if (document.querySelector('#side-menu-categories-custom')) {
const View = Vue.extend(AdminCategoriesCustom) const app = createApp(AdminCategoriesCustom)
const adminCategoriesCustom = new View({}) app.mount('#side-menu-categories-custom')
adminCategoriesCustom.$mount('#side-menu-categories-custom')
} }
elements = document.querySelectorAll('.side-menu-setting') elements = document.querySelectorAll('.side-menu-setting')
@@ -224,11 +219,11 @@ document.addEventListener('DOMContentLoaded', () => {
} }
if (['dark-mode-background-color', 'dark-mode-background-color-to'].indexOf(name) > -1) { 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('') value = [value, opacity.toString(16)].join('')
} else if (['background-color', 'background-color-to'].indexOf(name) > -1) { } 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('') value = [value, opacity.toString(16)].join('')
} }
@@ -247,7 +242,7 @@ document.addEventListener('DOMContentLoaded', () => {
} }
sortable('#categories-list .side-menu-setting-list', { sortable('#categories-list .side-menu-setting-list', {
placeholderClass: 'side-menu-setting-list-drop' placeholderClass: 'side-menu-setting-list-drop',
}) })
try { try {
@@ -260,11 +255,10 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelector('input[name="categories-order"]').value = JSON.stringify(value) document.querySelector('input[name="categories-order"]').value = JSON.stringify(value)
}) })
} catch (e) { } catch (e) {}
}
sortable('#apps-order-list .side-menu-setting-list', { sortable('#apps-order-list .side-menu-setting-list', {
placeholderClass: 'side-menu-setting-list-drop' placeholderClass: 'side-menu-setting-list-drop',
}) })
try { try {
@@ -277,6 +271,5 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelector('input[name="apps-order"]').value = JSON.stringify(value) document.querySelector('input[name="apps-order"]').value = JSON.stringify(value)
}) })
} catch (e) { } catch (e) {}
}
}) })
+79 -43
View File
@@ -16,73 +16,86 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div> <div>
<ul class="side-menu-setting-list" :class="{hide: values.length === 0}"> <ul
<li v-for="item in values" class="side-menu-setting-list-item" v-on:click="showEditForm(item)"> class="side-menu-setting-list"
<span v-text="item.en"></span> :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> </li>
</ul> </ul>
<NcActions> <NcActions>
<NcActionButton @click="showAddForm" icon="icon-add"></NcActionButton> <NcActionButton
icon="icon-add"
@click="showAddForm"
></NcActionButton>
</NcActions> </NcActions>
<NcModal v-if="addForm" @close="hideAddForm"> <NcModal
v-if="addForm"
@close="hideAddForm"
>
<div class="modal__content"> <div class="modal__content">
<div v-for="lang in langs"> <div v-for="(lang, key) in langs" :key="key">
<span class="lang" v-text="lang"></span> <span class="lang">{{ lang }}</span>
<input type="text" v-model="newValue[lang]" required style="width: calc(100% - 100px)"> <input
v-model="newValue[lang]"
type="text"
required
style="width: calc(100% - 100px)"
/>
</div> </div>
<NcActions> <NcActions>
<NcActionButton @click="saveAdd" icon="icon-checkmark"></NcActionButton> <NcActionButton
icon="icon-checkmark"
@click="saveAdd"
></NcActionButton>
</NcActions> </NcActions>
</div> </div>
</NcModal> </NcModal>
<NcModal v-if="editForm" @close="hideEditForm"> <NcModal
v-if="editForm"
@close="hideEditForm"
>
<div class="modal__content"> <div class="modal__content">
<div v-for="lang in langs"> <div v-for="(lang, key) in langs" :key="key">
<span class="lang" v-text="lang"></span> <span class="lang">{{ lang }}</span>
<input type="text" v-model="editValue[lang]" required style="width: calc(100% - 100px)"> <input
v-model="editValue[lang]"
type="text"
required
style="width: calc(100% - 100px)"
/>
</div> </div>
<div class="pull-right"> <div class="pull-right">
<NcActions> <NcActions>
<NcActionButton @click="removeEdit" icon="icon-delete"></NcActionButton> <NcActionButton
icon="icon-delete"
@click="removeEdit"
></NcActionButton>
</NcActions> </NcActions>
</div> </div>
<NcActions> <NcActions>
<NcActionButton @click="saveEdit" icon="icon-checkmark"></NcActionButton> <NcActionButton
icon="icon-checkmark"
@click="saveEdit"
></NcActionButton>
</NcActions> </NcActions>
</div> </div>
</NcModal> </NcModal>
</div> </div>
</template> </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> <script>
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js' import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js' import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
@@ -106,6 +119,10 @@ export default {
editValue: {}, editValue: {},
} }
}, },
mounted() {
this.input = document.querySelector('input[name="categories-custom"]')
this.init()
},
methods: { methods: {
init() { init() {
this.values = JSON.parse(this.input.value) this.values = JSON.parse(this.input.value)
@@ -159,7 +176,7 @@ export default {
removeEdit() { removeEdit() {
for (let i in this.values) { for (let i in this.values) {
if (this.values[i].id === this.editValue.id) { 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 this.editForm = false
}, },
}, },
mounted() {
this.input = document.querySelector('input[name="categories-custom"]')
this.init()
}
} }
</script> </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>
+53 -24
View File
@@ -1,4 +1,3 @@
<!-- <!--
- @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net> - @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
- -
@@ -26,45 +25,70 @@
:aria-label="t('core', 'Applications menu')" :aria-label="t('core', 'Applications menu')"
> >
<ul <ul
v-if="appList.length"
class="app-menu-main" class="app-menu-main"
:class="{ 'app-menu-main__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }" :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" :key="app.id"
:data-app-id="app.id" :data-app-id="app.id"
class="app-menu-entry" 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 }" :class="{ 'app-menu-entry__active': app.active, 'app-menu-entry__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
:style="makeStyle(app)" :style="makeStyle(app)"
> >
<a :href="app.href" <a
:href="app.href"
:class="{ 'has-unread': app.unread > 0 }" :class="{ 'has-unread': app.unread > 0 }"
:aria-label="appLabel(app)" :aria-label="appLabel(app)"
:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined" :target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
:aria-current="app.active ? 'page' : false"> :aria-current="app.active ? 'page' : false"
<img :src="app.icon" alt=""> >
<img
:src="app.icon"
alt=""
/>
<div class="app-menu-entry--label"> <div class="app-menu-entry--label">
{{ app.name }} {{ 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> </div>
</a> </a>
</li> </li>
</ul> </ul>
<NcActions class="app-menu-more" :aria-label="t('core', 'More apps')"> <NcActions
<NcActionLink v-for="app in popoverAppList(state)" class="app-menu-more"
:aria-label="t('core', 'More apps')"
>
<NcActionLink
v-for="app in popoverAppList(state)"
:key="app.id" :key="app.id"
:aria-label="appLabel(app)" :aria-label="appLabel(app)"
:aria-current="app.active ? 'page' : false" :aria-current="app.active ? 'page' : false"
:href="app.href" :href="app.href"
:style="makeStyle(app)" :style="makeStyle(app)"
class="app-menu-popover-entry"> class="app-menu-popover-entry"
>
<template #icon> <template #icon>
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }"> <div
<img :src="app.icon" alt=""> class="app-icon"
:class="{ 'has-unread': app.unread > 0 }"
>
<img
:src="app.icon"
alt=""
/>
</div> </div>
</template> </template>
{{ app.name }} {{ 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> </NcActionLink>
</NcActions> </NcActions>
</nav> </nav>
@@ -108,7 +132,8 @@ export default defineComponent({
}, },
mounted() { mounted() {
axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json') axios
.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
.then((response) => response.data) .then((response) => response.data)
.then((data) => { .then((data) => {
if (data.ocs.meta.statuscode !== 200) { if (data.ocs.meta.statuscode !== 200) {
@@ -181,16 +206,18 @@ export default defineComponent({
}, },
appLabel(app) { appLabel(app) {
return app.name return (
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '') app.name +
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '') (app.active ? ' (' + t('core', 'Currently open') + ')' : '') +
(app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
)
}, },
makeStyle(app) { makeStyle(app) {
if (app.order !== null) { if (app.order !== null) {
return `order: ${app.order}` return `order: ${app.order}`
} }
} },
}, },
}) })
</script> </script>
@@ -219,7 +246,7 @@ $header-icon-size: 20px;
opacity: 1; opacity: 1;
&::before { &::before {
content: " "; content: ' ';
position: absolute; position: absolute;
pointer-events: none; pointer-events: none;
border-bottom-color: var(--color-main-background); border-bottom-color: var(--color-main-background);
@@ -312,7 +339,8 @@ $header-icon-size: 20px;
bottom: 0; bottom: 0;
} }
&::before, .app-menu-entry::before { &::before,
.app-menu-entry::before {
opacity: 0; opacity: 0;
} }
} }
@@ -328,18 +356,19 @@ $header-icon-size: 20px;
bottom: 0; bottom: 0;
} }
&::before, .app-menu-entry::before { &::before,
.app-menu-entry::before {
opacity: 0; opacity: 0;
} }
} }
} }
::v-deep .app-menu-more .button-vue--vue-tertiary { ::v-deep .app-menu-more .button-vue--vue-tertiary {
opacity: .7; opacity: 0.7;
margin: 3px; margin: 3px;
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright)); 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); color: var(--color-main-text);
&:hover { &:hover {
@@ -376,7 +405,7 @@ $header-icon-size: 20px;
} }
.has-unread::after { .has-unread::after {
content: ""; content: '';
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: var(--color-primary-element-text); background-color: var(--color-primary-element-text);
+12 -8
View File
@@ -16,17 +16,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div class="side-menu-search"> <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> </div>
</template> </template>
<script> <script setup>
export default { const emit = defineEmit('input')
name: 'AppSearch', const { value } = defineProps({
props: {
value: { value: {
required: true type: String,
required: true,
}, },
}, })
}
</script> </script>
+5 -13
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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<button class="side-menu-opener side-menu-closer" :arial-label="label"> <button
<span v-text="label"></span> class="side-menu-opener side-menu-closer"
:arial-label="label"
>
<span>{{ t('side_menu', 'Close the menu') }}</span>
</button> </button>
</template> </template>
<script>
export default {
name: 'CloserButton',
data() {
return {
label: t('side_menu', 'Close the menu'),
}
}
}
</script>
+22 -11
View File
@@ -16,10 +16,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div class="side-menu-loader"> <div class="side-menu-loader">
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg"> <svg
<g fill="none" fill-rule="evenodd"> width="38"
<g transform="translate(1 1)" stroke-width="2"> height="38"
<circle stroke-opacity=".5" cx="18" cy="18" r="18"/> 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"> <path d="M36 18c0-9.94-8.06-18-18-18">
<animateTransform <animateTransform
attributeName="transform" attributeName="transform"
@@ -27,16 +43,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
from="0 18 18" from="0 18 18"
to="360 18 18" to="360 18 18"
dur="1s" dur="1s"
repeatCount="indefinite"/> repeatCount="indefinite"
/>
</path> </path>
</g> </g>
</g> </g>
</svg> </svg>
</div> </div>
</template> </template>
<script>
export default {
name: 'Loader',
}
</script>
+21 -13
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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div v-bind:class="classes"> <div :class="classes">
<a v-if="link !== null" v-bind:href="link"> <a
<img v-bind:src="image" alt="Logo"> v-if="link !== null"
:href="link"
>
<img
:src="image"
alt="Logo"
/>
</a> </a>
<img v-else v-bind:src="image" alt="Logo"> <img
v-else
:src="image"
alt="Logo"
/>
</div> </div>
</template> </template>
<script> <script setup>
export default { const { image, link, classes } = defineProps({
name: 'Logo',
props: {
image: { image: {
type: String, type: String,
required: true required: true,
}, },
link: { link: {
type: String, type: String,
required: false required: false,
default: null,
}, },
classes: { classes: {
type: Object, type: Object,
required: true required: true,
}, },
}, })
}
</script> </script>
+5 -13
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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<button class="side-menu-opener" :arial-label="label"> <button
<span v-text="label"></span> class="side-menu-opener"
:arial-label="label"
>
<span>{{ t('side_menu', 'Toggle the menu') }}</span>
</button> </button>
</template> </template>
<script>
export default {
name: 'OpenerButton',
data() {
return {
label: t('side_menu', 'Toggle the menu'),
}
}
}
</script>
+11 -11
View File
@@ -16,34 +16,34 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div class="side-menu-settings"> <div class="side-menu-settings">
<a v-bind:href="href"> <a :href="href">
<!-- <!--
{{ label }} {{ label }}
--> -->
<span class="avatardiv avatardiv-shown"> <span class="avatardiv avatardiv-shown">
<img v-bind:src="avatar" :alt="label"> <img
:src="avatar"
:alt="label"
/>
</span> </span>
</a> </a>
</div> </div>
</template> </template>
<script> <script setup>
export default { const { label, href, avatar } = defineProps({
name: 'SettingsButton',
props: {
label: { label: {
type: String, type: String,
required: true required: true,
}, },
href: { href: {
type: String, type: String,
required: true required: true,
}, },
avatar: { avatar: {
type: String, type: String,
required: true required: true,
}, },
}, })
}
</script> </script>
+21 -15
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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<li v-bind:class="classes"> <li :class="classes">
<a v-bind:href="href" :target="target" v-bind:title="label"> <a
<img class="side-menu-app-icon" v-bind:src="icon" v-bind:alt="label" /> :href="href"
<span class="side-menu-app-text" v-text="label"></span> :target="target"
:title="label"
>
<img
class="side-menu-app-icon"
:src="icon"
:alt="label"
/>
<span class="side-menu-app-text">{{ label }}</span>
</a> </a>
</li> </li>
</template> </template>
<script> <script setup>
export default { const { label, icon, href, classes, target } = defineProps({
name: 'SideMenuApp',
props: {
label: { label: {
type: String, type: String,
required: true required: true,
}, },
icon: { icon: {
type: String, type: String,
required: true required: true,
}, },
href: { href: {
type: String, type: String,
required: true required: true,
}, },
classes: { classes: {
type: Object, type: Object,
required: true required: true,
}, },
target: { target: {
type: String, type: String,
required: false required: false,
default: null,
}, },
}, })
}
</script> </script>
+17 -8
View File
@@ -16,34 +16,43 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<li :class="classes"> <li :class="classes">
<a :href="href" :target="target" :title="label"> <a
<img class="side-menu-app-icon" :src="icon" :alt="label" /> :href="href"
:target="target"
:title="label"
>
<img
class="side-menu-app-icon"
:src="icon"
:alt="label"
/>
<span class="side-menu-app-text">{{ label }}</span> <span class="side-menu-app-text">{{ label }}</span>
</a> </a>
</li> </li>
</template> </template>
<script setup> <script setup>
defineProps({ const { label, icon, href, classes, target } = defineProps({
label: { label: {
type: String, type: String,
required: true required: true,
}, },
icon: { icon: {
type: String, type: String,
required: true required: true,
}, },
href: { href: {
type: String, type: String,
required: true required: true,
}, },
classes: { classes: {
type: Object, type: Object,
required: true required: true,
}, },
target: { target: {
type: String, type: String,
required: false required: false,
default: null,
}, },
}) })
</script> </script>
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Uživatelsky určená nabídka" 'Custom menu': 'Uživatelsky určená nabídka'
"Enable the custom menu": "Zapnout uživatelsky určenou nabídku" 'Enable the custom menu': 'Zapnout uživatelsky určenou nabídku'
"No": "Ne" 'No': 'Ne'
"Yes": "Ano" 'Yes': 'Ano'
"Menu": "Nabídka" '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.' '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>.'
: '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'
"Top menu": "Horní nabídka" 'Apps that not must be moved in the side menu': 'Aplikace, které nepřesouvat do postranní nabídky'
"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í.'
"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í'
"Experimental": "Experimentální" 'Save': 'Uložit'
"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?'
"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 ☕'
"Buy me a coffee ☕": "Kupte mi kafe ☕" 'Hidden': 'Skryté'
"Hidden": "Skryté" 'Small': 'Malé'
"Small": "Malé" 'Normal': 'Normální'
"Normal": "Normální" 'Big': 'Velké'
"Big": "Velké" 'Colors': 'Barvy'
"Colors": "Barvy" 'Background color': 'Barva pozadí'
"Background color": "Barva pozadí" 'Background color of current app': 'Barva pozadí stávající aplikace'
"Background color of current app": "Barva pozadí stávající aplikace" 'Text color': 'Barva textu'
"Text color": "Barva textu" 'Loader': 'Nástroj pro načítání'
"Loader": "Nástroj pro načítání" 'Icon': 'Ikona'
"Icon": "Ikona" 'Same color': 'Stejná barva'
"Same color": "Stejná barva" 'Opposite color': 'Doplňková barva'
"Opposite color": "Doplňková barva" 'Transparent': 'Průhledné'
"Transparent": "Průhledné" 'Opaque': 'Neprůhledné'
"Opaque": "Neprůhledné" 'Opener': 'Tlačítko pro otevření'
"Opener": "Tlačítko pro otevření" 'Default': 'Výchozí'
"Default": "Výchozí" 'Default (dark)': 'Výchozí (tmavé)'
"Default (dark)": "Výchozí (tmavé)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (tmavé)'
"Hamburger (dark)": "Hamburger (tmavé)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (tmavé)'
"Hamburger 2 (dark)": "Hamburger 2 (tmavé)" 'Before the logo': 'Před logem'
"Before the logo": "Před logem" 'After the logo': 'Za logem'
"After the logo": "Za logem" 'Position': 'Pozice'
"Position": "Pozice" 'Show only the opener (hidden logo)': 'Zobrazovat pouze otevírací tlačítko (logo skryto)'
"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).'
"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'
"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)'
"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 big menu": "Zobrazit velkou nabídku" 'Display the logo': 'Zobrazit logo'
"Display the logo": "Zobrazit logo" 'Icons and texts': 'Ikony a texty'
"Icons and texts": "Ikony a texty" 'Loader enabled': 'Načítání zapnuto'
"Loader enabled": "Načítání zapnuto" 'Tips': 'Tipy'
"Tips": "Tipy" 'Always displayed': 'Vždy zobrazeno'
"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.'
"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.'
"Not compatible with touch screens.": "Nekompatibilní s dotykovými obrazovkami." 'Big menu': 'Velká nabídka'
"Big menu": "Velká nabídka" 'Live preview': 'Živý náhled'
"Live preview": "Živý náhled" 'Open apps in new tab': 'Otevírat aplikace v novém panelu'
"Open apps in new tab": "Otevírat aplikace v novém panelu" 'Use the global setting': 'Použít globální nastavení'
"Use the global setting": "Použít globální nastavení" 'Use my selection': 'Použít můj výběr'
"Use my selection": "Použít můj výběr" 'Show and hide the list of applications': 'Zobrazit/skrýt seznam aplikací'
"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'
"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í.'
"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'
"Force this configuration to users": "Vynutit uplatnění těchto nastavení uživatelům" 'Export the configuration': 'Exportovat nastavení'
"Export the configuration": "Exportovat nastavení" 'Purge the cache': 'Vyprázdnit mezipaměť'
"Purge the cache": "Vyprázdnit mezipaměť" 'Show the link to settings': 'Zobrazit odkaz na nastavení'
"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á'
"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.'
"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'
"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>.'
"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'
"The logo is a link to the default app": "Logo je odkaz na výchozí aplikaci" 'Others': 'Ostatní'
"Others": "Ostatní" 'Categories': 'Kategorie'
"Categories": "Kategorie" 'Customize sorting': 'Přizpůsobit si řazení'
"Customize sorting": "Přizpůsobit si řazení" 'Order by': 'Řadit podle'
"Order by": "Řadit podle" 'Name': 'Název'
"Name": "Název" 'Customed': 'Přizpůsobeno'
"Customed": "Přizpůsobeno" 'Show and hide the list of categories': 'Zobrazit/skrýt seznam kategorií'
"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.'
"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'
"Dark mode colors": "Barvy tmavého režimu" 'With categories': 'S kategoriemi'
"With categories": "S kategoriemi" 'Custom categories': 'Vlastní kategorie'
"Custom categories": "Vlastní kategorie" 'Customize application categories': 'Přizpůsobte kategorie aplikací'
"Customize application categories": "Přizpůsobte kategorie aplikací" 'Reset to default': 'Vrátit zpět na výchozí hodnoty'
"Reset to default": "Vrátit zpět na výchozí hodnoty" 'Hidden icon': 'Skrytá ikona'
"Hidden icon": "Skrytá ikona" 'Small icon': 'Malá ikona'
"Small icon": "Malá ikona" 'Normal icon': 'Normální ikona'
"Normal icon": "Normální ikona" 'Big icon': 'Velká ikona'
"Big icon": "Velká ikona" 'Hidden text': 'Skrytý text'
"Hidden text": "Skrytý text" 'Small text': 'Malý text'
"Small text": "Malý text" 'Normal text': 'Normální text'
"Normal text": "Normální text" 'Big text': 'Velký text'
"Big text": "Velký text" 'Applications': 'Aplikace'
"Applications": "Aplikace" 'Applications kept in the top menu': 'Aplikace ponechané v horní nabídce'
"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í'
"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ě.'
"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'
"Hide labels on mouse over": "Skrýt popisky při najetím ukazatele myši" 'Except the hovered app': 'Except the hovered app'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Benutzerdefiniertes Menü" 'Custom menu': 'Benutzerdefiniertes Menü'
"Enable the custom menu": "Benutzerdefiniertes Menü aktivieren" 'Enable the custom menu': 'Benutzerdefiniertes Menü aktivieren'
"No": "Nein" 'No': 'Nein'
"Yes": "Ja" 'Yes': 'Ja'
"Menu": "Menü" '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.' '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.'
: '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'
"Top menu": "Obere Navigationsleiste" 'Apps that not must be moved in the side menu': 'Apps, die nicht ins Seitenmenü verschoben werden sollen'
"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.'
"If there is no selection then the global configuration is applied.": "Wenn keine Auswahl vorhanden ist, wird die globale Konfiguration angewendet." 'Experimental': 'Experimentell'
"Experimental": "Experimentell" 'Save': 'Speichern'
"Save": "Speichern" 'You like this app and you want to support me?': 'Du magst diese App und möchtest mich unterstützen?'
"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 ☕'
"Buy me a coffee ☕": "Gib mir einen Kaffee aus ☕" 'Hidden': 'Ausblenden'
"Hidden": "Ausblenden" 'Small': 'Klein'
"Small": "Klein" 'Normal': 'Normal'
"Normal": "Normal" 'Big': 'Groß'
"Big": "Groß" 'Colors': 'Farben'
"Colors": "Farben" 'Background color': 'Hintergrundfarbe'
"Background color": "Hintergrundfarbe" 'Background color of current app': 'Hintergrundfarbe der aktuellen App'
"Background color of current app": "Hintergrundfarbe der aktuellen App" 'Text color': 'Textfarbe'
"Text color": "Textfarbe" 'Loader': 'Fortschrittsbalken'
"Loader": "Fortschrittsbalken" 'Icon': 'Symbol'
"Icon": "Symbol" 'Same color': 'Selbe Farbe'
"Same color": "Selbe Farbe" 'Opposite color': 'Gegenfarbe'
"Opposite color": "Gegenfarbe" 'Transparent': 'Transparent'
"Transparent": "Transparent" 'Opaque': 'Nicht transparent'
"Opaque": "Nicht transparent" 'Opener': 'Menü-Symbol'
"Opener": "Menü-Symbol" 'Default': 'Standard'
"Default": "Standard" 'Default (dark)': 'Standard (dunkel)'
"Default (dark)": "Standard (dunkel)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (dunkel)'
"Hamburger (dark)": "Hamburger (dunkel)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (dunkel)'
"Hamburger 2 (dark)": "Hamburger 2 (dunkel)" 'Before the logo': 'Vor dem Logo'
"Before the logo": "Vor dem Logo" 'After the logo': 'Nach dem Logo'
"After the logo": "Nach dem Logo" 'Position': 'Position'
"Position": "Position" 'Show only the opener (hidden logo)': 'Nur das Menü-Symbol anzeigen (Logo wird ausgeblendet)'
"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).'
"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'
"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)'
"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 big menu": "Großes Menü anzeigen" 'Display the logo': 'Logo anzeigen'
"Display the logo": "Logo anzeigen" 'Icons and texts': 'Symbole und Texte'
"Icons and texts": "Symbole und Texte" 'Loader enabled': 'Fortschrittsbalken anzeigen'
"Loader enabled": "Fortschrittsbalken anzeigen" 'Tips': 'Tipps'
"Tips": "Tipps" 'Always displayed': 'Immer anzeigen'
"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.'
"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.'
"Not compatible with touch screens.": "Nicht kompatibel mit Touchscreens." 'Big menu': 'Großes Menü'
"Big menu": "Großes Menü" 'Live preview': 'Live-Vorschau'
"Live preview": "Live-Vorschau" 'Open apps in new tab': 'Öffne Apps in einem neuen Tab'
"Open apps in new tab": "Öffne Apps in einem neuen Tab" 'Use the global setting': 'Verwende die globale Einstellung'
"Use the global setting": "Verwende die globale Einstellung" 'Use my selection': 'Verwende meine Auswahl'
"Use my selection": "Verwende meine Auswahl" 'Show and hide the list of applications': 'Ein- und Ausblenden der Appliste'
"Show and hide the list of applications": "Ein- und Ausblenden der Appliste" 'Use the avatar instead of the logo': 'Avatar anstelle des Logos anzeigen'
"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.'
"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'
"Force this configuration to users": "Konfiguration für alle Benutzer erzwingen" 'Export the configuration': 'Konfiguration exportieren'
"Export the configuration": "Konfiguration exportieren" 'Purge the cache': 'Cache leeren'
"Purge the cache": "Cache leeren" 'Show the link to settings': 'Link zu den Einstellungen anzeigen'
"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'
"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.'
"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'
"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>.'
"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'
"The logo is a link to the default app": "Das Logo ist ein Link zur Standard-App" 'Others': 'Andere'
"Others": "Andere" 'Categories': 'Kategorien'
"Categories": "Kategorien" 'Customize sorting': 'Sortierung anpassen'
"Customize sorting": "Sortierung anpassen" 'Order by': 'Sortieren nach'
"Order by": "Sortieren nach" 'Name': 'Name'
"Name": "Name" 'Customed': 'Benutzerdefiniert'
"Customed": "Benutzerdefiniert" 'Show and hide the list of categories': 'Liste der Kategorien ein- und ausblenden'
"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.'
"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'
"Dark mode colors": "Farben für den dunklen Modus" 'With categories': 'Mit Kategorien'
"With categories": "Mit Kategorien" 'Custom categories': 'Benutzerdefinierte Kategorien'
"Custom categories": "Benutzerdefinierte Kategorien" 'Customize application categories': 'App-Kategorien anpassen'
"Customize application categories": "App-Kategorien anpassen" 'Reset to default': 'Auf Standard zurücksetzen'
"Reset to default": "Auf Standard zurücksetzen" 'Hidden icon': 'Verstecktes Symbol'
"Hidden icon": "Verstecktes Symbol" 'Small icon': 'Kleines Symbol'
"Small icon": "Kleines Symbol" 'Normal icon': 'Normales Symbol'
"Normal icon": "Normales Symbol" 'Big icon': 'Großes Icon'
"Big icon": "Großes Icon" 'Hidden text': 'Versteckter Text'
"Hidden text": "Versteckter Text" 'Small text': 'Kleiner Text'
"Small text": "Kleiner Text" 'Normal text': 'Normaler Text'
"Normal text": "Normaler Text" 'Big text': 'Großer Text'
"Big text": "Großer Text" 'Applications': 'Apps'
"Applications": "Apps" 'Applications kept in the top menu': 'Apps in der oberen Navigationsleiste'
"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'
"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.'
"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)'
"Hide labels on mouse over": "Labels ausblenden, wenn sich die Maus darüber befindet (Hover)" 'Except the hovered app': 'Except the hovered app'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Menú personalizado" 'Custom menu': 'Menú personalizado'
"Enable the custom menu": "Habilitar el menú personalizado" 'Enable the custom menu': 'Habilitar el menú personalizado'
"No": "No" 'No': 'No'
"Yes": "Sí" 'Yes': 'Sí'
"Menu": "Menú" '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.' '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.'
: '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'
"Top menu": "Menu principal" 'Apps that not must be moved in the side menu': 'Aplicaciones que no se deben mover al menú lateral'
"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.'
"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'
"Experimental": "En pruebas" 'Save': 'Guardar'
"Save": "Guardar" 'You like this app and you want to support me?': '¿Te gusta esta aplicación y quieres apoyarme?'
"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é ☕'
"Buy me a coffee ☕": "Cómprame un café ☕" 'Hidden': 'Oculto'
"Hidden": "Oculto" 'Small': 'Pequeño'
"Small": "Pequeño" 'Normal': 'Normal'
"Normal": "Normal" 'Big': 'Grande'
"Big": "Grande" 'Hidden icon': 'Ocultar Icono'
"Hidden icon": "Ocultar Icono" 'Small icon': 'Icono pequeño'
"Small icon": "Icono pequeño" 'Normal icon': 'Icono normal'
"Normal icon": "Icono normal" 'Big icon': 'Icono grande'
"Big icon": "Icono grande" 'Hidden text': 'Texto oculto'
"Hidden text": "Texto oculto" 'Small text': 'Texto pequeño'
"Small text": "Texto pequeño" 'Normal text': 'Texto normal'
"Normal text": "Texto normal" 'Big text': 'Texto grande'
"Big text": "Texto grande" 'Colors': 'Colores'
"Colors": "Colores" 'Background color': 'Color de fondo'
"Background color": "Color de fondo" 'Background color of current app': 'Color de fondo de la aplicación actual'
"Background color of current app": "Color de fondo de la aplicación actual" 'Text color': 'Color del texto'
"Text color": "Color del texto" 'Loader': 'Cargador'
"Loader": "Cargador" 'Icon': 'Icono'
"Icon": "Icono" 'Same color': 'El mismo color'
"Same color": "El mismo color" 'Opposite color': 'Color opuesto'
"Opposite color": "Color opuesto" 'Transparent': 'Transparente'
"Transparent": "Transparente" 'Opaque': 'Opaco'
"Opaque": "Opaco" 'Opener': 'Abrir'
"Opener": "Abrir" 'Default': 'Por defecto'
"Default": "Por defecto" 'Default (dark)': 'Por defecto (oscuro)'
"Default (dark)": "Por defecto (oscuro)" 'Hamburger': 'Hamburguesa'
"Hamburger": "Hamburguesa" 'Hamburger (dark)': 'Hamburger (negro)'
"Hamburger (dark)": "Hamburger (negro)" 'Hamburger 2': 'Hamburguesa 2'
"Hamburger 2": "Hamburguesa 2" 'Hamburger 2 (dark)': 'Hamburger 2 (negro)'
"Hamburger 2 (dark)": "Hamburger 2 (negro)" 'Before the logo': 'Antes del logotipo'
"Before the logo": "Antes del logotipo" 'After the logo': 'Después del logotipo'
"After the logo": "Después del logotipo" 'Position': 'Posición'
"Position": "Posición" 'Show only the opener (hidden logo)': 'Mostrar solo abrir (ocultar logotipo)'
"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).'
"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'
"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)'
"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 big menu": "Mostrar el menú grande" 'Display the logo': 'Mostrar el logotipo'
"Display the logo": "Mostrar el logotipo" 'Icons and texts': 'Iconos y textos'
"Icons and texts": "Iconos y textos" 'Loader enabled': 'Cargador activado'
"Loader enabled": "Cargador activado" 'Tips': 'Consejos'
"Tips": "Consejos" 'Always displayed': 'Siempre se muestra'
"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ú.'
"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.'
"Not compatible with touch screens.": "No es compatible con las pantallas táctiles." 'Big menu': 'Menú grande'
"Big menu": "Menú grande" 'Live preview': 'Previsualización en directo'
"Live preview": "Previsualización en directo" 'Open apps in new tab': 'Abrir las aplicaciones en una nueva pestaña'
"Open apps in new tab": "Abrir las aplicaciones en una nueva pestaña" 'Use the global setting': 'Utilizar la configuración global'
"Use the global setting": "Utilizar la configuración global" 'Use my selection': 'Utilizar mi selección'
"Use my selection": "Utilizar mi selección" 'Show and hide the list of applications': 'Mostrar y ocultar la lista de aplicaciones'
"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'
"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.'
"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'
"Force this configuration to users": "Forzar esta configuración a todos los usuarios" 'Export the configuration': 'Exportar la configuración'
"Export the configuration": "Exportar la configuración" 'Purge the cache': 'Vaciar la caché'
"Purge the cache": "Vaciar la caché" 'Show the link to settings': 'Mostrar un enlace a la configuración'
"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'
"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.'
"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ú'
"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>.'
"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'
"The logo is a link to the default app": "El logotipo es un enlace a la aplicación por defecto" 'Others': 'Otros'
"Others": "Otros" 'Categories': 'Categorías'
"Categories": "Categorías" 'Customize sorting': 'Personalizar la clasificación'
"Customize sorting": "Personalizar la clasificación" 'Order by': 'Ordenar por'
"Order by": "Ordenar por" 'Name': 'Nombre'
"Name": "Nombre" 'Customed': 'Personalizado'
"Customed": "Personalizado" 'Show and hide the list of categories': 'Mostrar y ocultar la lista de categorías'
"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.'
"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'
"Dark mode colors": "Colores del modo oscuro" 'With categories': 'Con categorías'
"With categories": "Con categorías" 'Custom categories': 'Categorías personalizadas'
"Custom categories": "Categorías personalizadas" 'Customize application categories': 'Personalizar las categorías de las aplicaciones'
"Customize application categories": "Personalizar las categorías de las aplicaciones" 'Reset to default': 'Restablecer los valores por defecto'
"Reset to default": "Restablecer los valores por defecto" 'Applications': 'Aplicaciones'
"Applications": "Aplicaciones" 'Applications kept in the top menu': 'Aplicaciones guardadas en el menú superior'
"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'
"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.'
"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'
"Hide labels on mouse over": "Ocultar las etiquetas al pasar el ratón" 'Except the hovered app': 'Except the hovered app'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Menu personnalisé" 'Custom menu': 'Menu personnalisé'
"Enable the custom menu": "Activer le menu personnalisé" 'Enable the custom menu': 'Activer le menu personnalisé'
"No": "Non" 'No': 'Non'
"Yes": "Oui" 'Yes': 'Oui'
"Menu": "Menu" '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.': '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.'
: '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'
"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'
"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."
"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'
"Experimental": "Expérimental" 'Save': 'Sauvegarder'
"Save": "Sauvegarder" 'You like this app and you want to support me?': "Vous aimer cette application et vous souhaitez m'aider ?"
"You like this app and you want to support me?": "Vous aimer cette application et vous souhaitez m'aider ?" 'Buy me a coffee ☕': 'Offrez moi un café ☕'
"Buy me a coffee ☕": "Offrez moi un café ☕" 'Hidden': 'Caché'
"Hidden": "Caché" 'Small': 'Petit'
"Small": "Petit" 'Normal': 'Normal'
"Normal": "Normal" 'Big': 'Gros'
"Big": "Gros" 'Hidden icon': 'Icône masqué'
"Hidden icon": "Icône masqué" 'Small icon': 'Petit icône'
"Small icon": "Petit icône" 'Normal icon': 'Icône normal'
"Normal icon": "Icône normal" 'Big icon': 'Gros icône'
"Big icon": "Gros icône" 'Hidden text': 'Text masqué'
"Hidden text": "Text masqué" 'Small text': 'Texte petit'
"Small text": "Texte petit" 'Normal text': 'Texte normal'
"Normal text": "Texte normal" 'Big text': 'Gros texte'
"Big text": "Gros texte" 'Colors': 'Couleurs'
"Colors": "Couleurs" 'Background color': 'Couleur de fond'
"Background color": "Couleur de fond" 'Background color of current app': "Couleur de fond de l'application en cours"
"Background color of current app": "Couleur de fond de l'application en cours" 'Text color': 'Couleur du texte'
"Text color": "Couleur du texte" 'Loader': 'Indicateur de chargement'
"Loader": "Indicateur de chargement" 'Icon': 'Icône'
"Icon": "Icône" 'Same color': 'Même couleur'
"Same color": "Même couleur" 'Opposite color': 'Couleur opposée'
"Opposite color": "Couleur opposée" 'Transparent': 'Transparent'
"Transparent": "Transparent" 'Opaque': 'Opaque'
"Opaque": "Opaque" 'Opener': "Bouton d'ouverture"
"Opener": "Bouton d'ouverture" 'Default': 'Par défaut'
"Default": "Par défaut" 'Default (dark)': 'Par défaut (sombre)'
"Default (dark)": "Par défaut (sombre)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (sombre)'
"Hamburger (dark)": "Hamburger (sombre)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (sombre)'
"Hamburger 2 (dark)": "Hamburger 2 (sombre)" 'Before the logo': 'Avant le logo'
"Before the logo": "Avant le logo" 'After the logo': 'Après le logo'
"After the logo": "Après le logo" 'Position': 'Position'
"Position": "Position" 'Show only the opener (hidden logo)': "Afficher uniquement le bouton d'ouverture (masquer le logo)"
"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)."
"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'
"Panel": "Panneau" 'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Ouvrir le menu au passage de la souris (automatiquement désactivé sur les écrans tactiles)'
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Ouvrir le menu au passage de la souris (automatiquement désactivé sur les écrans tactiles)" 'Display the big menu': 'Afficher le menu large'
"Display the big menu": "Afficher le menu large" 'Display the logo': 'Afficher le logo'
"Display the logo": "Afficher le logo" 'Icons and texts': 'Icônes et textes'
"Icons and texts": "Icônes et textes" 'Loader enabled': "Activation de l'indicateur de chargement"
"Loader enabled": "Activation de l'indicateur de chargement" 'Tips': 'Astuces'
"Tips": "Astuces" 'Always displayed': 'Toujours affiché'
"Always displayed": "Toujours affiché" 'This is the automatic behavior when the menu is always displayed.': "C'est le comportement automatique lorsque le menu est toujours affiché."
"This is the automatic behavior when the menu is always displayed.": "C'est le comportement automatique lorsque le menu est toujours affiché." 'Not compatible with touch screens.': 'Incompatible avec les écrans tactiles.'
"Not compatible with touch screens.": "Incompatible avec les écrans tactiles." 'Big menu': 'Menu large'
"Big menu": "Menu large" 'Live preview': 'Aperçu en direct'
"Live preview": "Aperçu en direct" 'Open apps in new tab': 'Ouvrir les applications dans un nouvel onglet'
"Open apps in new tab": "Ouvrir les applications dans un nouvel onglet" 'Use the global setting': 'Utiliser la configuration globale'
"Use the global setting": "Utiliser la configuration globale" 'Use my selection': 'Utiliser ma sélection'
"Use my selection": "Utiliser ma sélection" 'Show and hide the list of applications': 'Afficher et masquer la liste des applications'
"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"
"Use the avatar instead of the logo": "Utiliser l'avatar à la place du logo" 'You do not have permission to change the settings.': "Vous n'avez pas la permission de changer les paramètres."
"You do not have permission to change the settings.": "Vous n'avez pas la permission de changer les paramètres." 'Force this configuration to users': 'Forcer cette configuration aux utilisateurs'
"Force this configuration to users": "Forcer cette configuration aux utilisateurs" 'Export the configuration': 'Exporter la configuration'
"Export the configuration": "Exporter la configuration" 'Purge the cache': 'Purger le cache'
"Purge the cache": "Purger le cache" 'Show the link to settings': 'Afficher le lien vers les paramètres'
"Show the link to settings": "Afficher le lien vers les paramètres" 'The menu is enabled by default for users': 'Le menu est activé par défaut pour les utilisateurs'
"The menu is enabled by default for users": "Le menu est activé par défaut pour les utilisateurs" 'Except when the configuration is forced.': 'Sauf lorsque la configuration est forcée.'
"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'
"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>."
"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"
"The logo is a link to the default app": "Le logo est un lien vers l'application par défaut" 'Others': 'Autres'
"Others": "Autres" 'Categories': 'Catégories'
"Categories": "Catégories" 'Customize sorting': 'Personnaliser le tri'
"Customize sorting": "Personnaliser le tri" 'Order by': 'Trier par'
"Order by": "Trier par" 'Name': 'Nom'
"Name": "Nom" 'Customed': 'Personnalisé'
"Customed": "Personnalisé" 'Show and hide the list of categories': 'Afficher et masquer la liste des catégories'
"Show and hide the list of categories": "Afficher et masquer la liste des catégories" 'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Ces paramètres sont utilisés lorsque le thème sombre ou le thème Breeze Dark sont activés.'
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Ces paramètres sont utilisés lorsque le thème sombre ou le thème Breeze Dark sont activés." 'Dark mode colors': 'Couleurs du mode sombre'
"Dark mode colors": "Couleurs du mode sombre" 'With categories': 'Avec les catégories'
"With categories": "Avec les catégories" 'Custom categories': 'Catégories personnalisées'
"Custom categories": "Catégories personnalisées" 'Customize application categories': 'Personnaliser les catégories des applications'
"Customize application categories": "Personnaliser les catégories des applications" 'Reset to default': 'Restaurer les valeurs par défaut'
"Reset to default": "Restaurer les valeurs par défaut" 'Applications': 'Applications'
"Applications": "Applications" 'Applications kept in the top menu': 'Applications conservées dans le menu supérieur'
"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'
"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."
"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'
"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"
"Except the hovered app": "À l'exception de l'application survolée" 'Search': 'Rechercher'
"Search": "Rechercher" 'Toggle the menu': 'Basculer le menu'
"Toggle the menu": "Basculer le menu"
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Custom menu" 'Custom menu': 'Custom menu'
"Enable the custom menu": "Enable the custom menu" 'Enable the custom menu': 'Enable the custom menu'
"No": "No" 'No': 'No'
"Yes": "Yes" 'Yes': 'Yes'
"Menu": "Menu" '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.': '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'
"Top menu": "Top menu" 'Apps that not must be moved in the side menu': 'Apps that not must be moved in the side 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.'
"If there is no selection then the global configuration is applied.": "If there is no selection then the global configuration is applied." 'Experimental': 'Experimental'
"Experimental": "Experimental" 'Save': 'Save'
"Save": "Save" 'You like this app and you want to support me?': 'You like this app and you want to support me?'
"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 ☕'
"Buy me a coffee ☕": "Buy me a coffee ☕" 'Hidden': 'Hidden'
"Hidden": "Hidden" 'Small': 'Small'
"Small": "Small" 'Normal': 'Normal'
"Normal": "Normal" 'Big': 'Big'
"Big": "Big" 'Hidden icon': 'Hidden icon'
"Hidden icon": "Hidden icon" 'Small icon': 'Small icon'
"Small icon": "Small icon" 'Normal icon': 'Normal icon'
"Normal icon": "Normal icon" 'Big icon': 'Big icon'
"Big icon": "Big icon" 'Hidden text': 'Hidden text'
"Hidden text": "Hidden text" 'Small text': 'Small text'
"Small text": "Small text" 'Normal text': 'Normal text'
"Normal text": "Normal text" 'Big text': 'Big text'
"Big text": "Big text" 'Colors': 'Colors'
"Colors": "Colors" 'Background color': 'Background color'
"Background color": "Background color" 'Background color of current app': 'Background color of current app'
"Background color of current app": "Background color of current app" 'Text color': 'Text color'
"Text color": "Text color" 'Loader': 'Loader'
"Loader": "Loader" 'Icon': 'Icon'
"Icon": "Icon" 'Same color': 'Same color'
"Same color": "Same color" 'Opposite color': 'Opposite color'
"Opposite color": "Opposite color" 'Transparent': 'Transparent'
"Transparent": "Transparent" 'Opaque': 'Opaque'
"Opaque": "Opaque" 'Opener': 'Opener'
"Opener": "Opener" 'Default': 'Default'
"Default": "Default" 'Default (dark)': 'Default (dark)'
"Default (dark)": "Default (dark)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (dark)'
"Hamburger (dark)": "Hamburger (dark)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (dark)'
"Hamburger 2 (dark)": "Hamburger 2 (dark)" 'Before the logo': 'Before the logo'
"Before the logo": "Before the logo" 'After the logo': 'After the logo'
"After the logo": "After the logo" 'Position': 'Position'
"Position": "Position" 'Show only the opener (hidden logo)': 'Show only the opener (hidden logo)'
"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).'
"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'
"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)'
"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 big menu": "Display the big menu" 'Display the logo': 'Display the logo'
"Display the logo": "Display the logo" 'Icons and texts': 'Icons and texts'
"Icons and texts": "Icons and texts" 'Loader enabled': 'Loader enabled'
"Loader enabled": "Loader enabled" 'Tips': 'Tips'
"Tips": "Tips" 'Always displayed': 'Always displayed'
"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.'
"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.'
"Not compatible with touch screens.": "Not compatible with touch screens." 'Big menu': 'Big menu'
"Big menu": "Big menu" 'Live preview': 'Live preview'
"Live preview": "Live preview" 'Open apps in new tab': 'Open apps in new tab'
"Open apps in new tab": "Open apps in new tab" 'Use the global setting': 'Use the global setting'
"Use the global setting": "Use the global setting" 'Use my selection': 'Use my selection'
"Use my selection": "Use my selection" 'Show and hide the list of applications': 'Show and hide the list of applications'
"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'
"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.'
"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'
"Force this configuration to users": "Force this configuration to users" 'Export the configuration': 'Export the configuration'
"Export the configuration": "Export the configuration" 'Purge the cache': 'Purge the cache'
"Purge the cache": "Purge the cache" 'Show the link to settings': 'Show the link to settings'
"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'
"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.'
"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'
"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.'
"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'
"The logo is a link to the default app": "The logo is a link to the default app" 'Others': 'Others'
"Others": "Others" 'Categories': 'Categories'
"Categories": "Categories" 'Customize sorting': 'Customize sorting'
"Customize sorting": "Customize sorting" 'Order by': 'Order by'
"Order by": "Order by" 'Name': 'Name'
"Name": "Name" 'Customed': 'Customed'
"Customed": "Customed" 'Show and hide the list of categories': 'Show and hide the list of categories'
"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.'
"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'
"Dark mode colors": "Dark mode colors" 'With categories': 'With categories'
"With categories": "With categories" 'Custom categories': 'Custom categories'
"Custom categories": "Custom categories" 'Customize application categories': 'Customize application categories'
"Customize application categories": "Customize application categories" 'Reset to default': 'Reset to default'
"Reset to default": "Reset to default" 'Applications': 'Applications'
"Applications": "Applications" 'Applications kept in the top menu': 'Applications kept in the top menu'
"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'
"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.'
"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'
"Hide labels on mouse over": "Hide labels on mouse over" 'Except the hovered app': 'Except the hovered app'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Aangepast menu" 'Custom menu': 'Aangepast menu'
"Enable the custom menu": "Het aangepaste menu inschakelen" 'Enable the custom menu': 'Het aangepaste menu inschakelen'
"No": "Nee" 'No': 'Nee'
"Yes": "Ja" 'Yes': 'Ja'
"Menu": "Menu" '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.': '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.'
: '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'
"Top menu": "Bovenste menu" 'Apps that not must be moved in the side menu': 'Apps die niet moeten worden verplaatst in het zijmenu'
"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.'
"If there is no selection then the global configuration is applied.": "Als er geen keuze is, wordt de globale configuratie toegepast." 'Experimental': 'Experimenteel'
"Experimental": "Experimenteel" 'Save': 'Opslaan'
"Save": "Opslaan" 'You like this app and you want to support me?': 'Vind je deze app leuk en wil je me steunen?'
"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 ☕'
"Buy me a coffee ☕": "Koop een koffie voor me ☕" 'Hidden': 'Verborgen'
"Hidden": "Verborgen" 'Small': 'Klein'
"Small": "Klein" 'Normal': 'Normaal'
"Normal": "Normaal" 'Big': 'Groot'
"Big": "Groot" 'Hidden icon': 'Verborgen icoon'
"Hidden icon": "Verborgen icoon" 'Small icon': 'Klein icoon'
"Small icon": "Klein icoon" 'Normal icon': 'Normaal icoon'
"Normal icon": "Normaal icoon" 'Big icon': 'Groot icoon'
"Big icon": "Groot icoon" 'Hidden text': 'Verborgen tekst'
"Hidden text": "Verborgen tekst" 'Small text': 'Kleine tekst'
"Small text": "Kleine tekst" 'Normal text': 'Normale tekst'
"Normal text": "Normale tekst" 'Big text': 'Grote tekst'
"Big text": "Grote tekst" 'Colors': 'Kleuren'
"Colors": "Kleuren" 'Background color': 'Achtergrond kleur'
"Background color": "Achtergrond kleur" 'Background color of current app': 'Achtergrondkleur van huidige app'
"Background color of current app": "Achtergrondkleur van huidige app" 'Text color': 'Tekst kleur'
"Text color": "Tekst kleur" 'Loader': 'Lader'
"Loader": "Lader" 'Icon': 'Icoon'
"Icon": "Icoon" 'Same color': 'Zelfde kleur'
"Same color": "Zelfde kleur" 'Opposite color': 'Tegenovergestelde kleur'
"Opposite color": "Tegenovergestelde kleur" 'Transparent': 'Transparant'
"Transparent": "Transparant" 'Opaque': 'Ondoorzichtig'
"Opaque": "Ondoorzichtig" 'Opener': 'Opener'
"Opener": "Opener" 'Default': 'Standaard'
"Default": "Standaard" 'Default (dark)': 'Standaard (donker)'
"Default (dark)": "Standaard (donker)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (donker)'
"Hamburger (dark)": "Hamburger (donker)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (donker)'
"Hamburger 2 (dark)": "Hamburger 2 (donker)" 'Before the logo': 'Voor het logo'
"Before the logo": "Voor het logo" 'After the logo': 'Na het logo'
"After the logo": "Na het logo" 'Position': 'Positie'
"Position": "Positie" 'Show only the opener (hidden logo)': 'Toon alleen de opener (verborgen logo)'
"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)."
"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'
"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)'
"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 big menu": "Toon het grote menu" 'Display the logo': 'Toon het logo'
"Display the logo": "Toon het logo" 'Icons and texts': 'Iconen en teksten'
"Icons and texts": "Iconen en teksten" 'Loader enabled': 'Lader ingeschakeld'
"Loader enabled": "Lader ingeschakeld" 'Tips': 'Tips'
"Tips": "Tips" 'Always displayed': 'Altijd weergegeven'
"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.'
"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.'
"Not compatible with touch screens.": "Niet compatibel met aanraakschermen." 'Big menu': 'Groot menu'
"Big menu": "Groot menu" 'Live preview': 'Live voorbeeld'
"Live preview": "Live voorbeeld" 'Open apps in new tab': 'Open apps in nieuwe tab'
"Open apps in new tab": "Open apps in nieuwe tab" 'Use the global setting': 'Gebruik de globale instellingen'
"Use the global setting": "Gebruik de globale instellingen" 'Use my selection': 'Gebruik mijn selectie'
"Use my selection": "Gebruik mijn selectie" 'Show and hide the list of applications': 'De lijst met toepassingen tonen en verbergen'
"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'
"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.'
"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'
"Force this configuration to users": "Forceer deze configuratie aan gebruikers" 'Export the configuration': 'Exporteer de configuratie'
"Export the configuration": "Exporteer de configuratie" 'Purge the cache': 'De cache wissen'
"Purge the cache": "De cache wissen" 'Show the link to settings': 'Toon de link naar de instellingen'
"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'
"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.'
"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'
"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.'
"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'
"The logo is a link to the default app": "Het logo is een link naar de standaard app" 'Others': 'Overige'
"Others": "Overige" 'Categories': 'Categorieën'
"Categories": "Categorieën" 'Customize sorting': 'Sortering aanpassen'
"Customize sorting": "Sortering aanpassen" 'Order by': 'Sorteer op'
"Order by": "Sorteer op" 'Name': 'Naam'
"Name": "Naam" 'Customed': 'Aangepast'
"Customed": "Aangepast" 'Show and hide the list of categories': 'De lijst met categorieën tonen en verbergen'
"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.'
"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'
"Dark mode colors": "Donkere modus kleuren" 'With categories': 'Met categorieën'
"With categories": "Met categorieën" 'Custom categories': 'Aangepaste categorieën'
"Custom categories": "Aangepaste categorieën" 'Customize application categories': 'Toepassingscategorieën aanpassen'
"Customize application categories": "Toepassingscategorieën aanpassen" 'Reset to default': 'Terugzetten naar standaard'
"Reset to default": "Terugzetten naar standaard" 'Applications': 'Applicaties'
"Applications": "Applicaties" 'Applications kept in the top menu': 'Applicaties bewaard in het bovenste menu'
"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'
"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.'
"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'
"Hide labels on mouse over": "Hide labels on mouse over" 'Except the hovered app': 'Except the hovered app'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+93 -94
View File
@@ -1,94 +1,93 @@
"Custom menu": "Menu personalizado" 'Custom menu': 'Menu personalizado'
"Enable the custom menu": "Habilitar o menu personalizado" 'Enable the custom menu': 'Habilitar o menu personalizado'
"No": "Não" 'No': 'Não'
"Yes": "Sim" 'Yes': 'Sim'
"Menu": "Menu" '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.': '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.'
: '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'
"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'
"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.'
"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'
"Experimental": "Experimental" 'Save': 'Salvar'
"Save": "Salvar" 'You like this app and you want to support me?': 'Você gosta deste aplicativo e quer me apoiar?'
"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é ☕'
"Buy me a coffee ☕": "Me pague um café ☕" 'Hidden': 'Oculto'
"Hidden": "Oculto" 'Small': 'Pequeno'
"Small": "Pequeno" 'Normal': 'Normal'
"Normal": "Normal" 'Big': 'Grande'
"Big": "Grande" 'Hidden icon': 'Ícone oculto'
"Hidden icon": "Ícone oculto" 'Small icon': 'Ícone pequeno'
"Small icon": "Ícone pequeno" 'Normal icon': 'Ícone normal'
"Normal icon": "Ícone normal" 'Big icon': 'Ícone grance'
"Big icon": "Ícone grance" 'Hidden text': 'Texto oculto'
"Hidden text": "Texto oculto" 'Small text': 'Texto pequeno'
"Small text": "Texto pequeno" 'Normal text': 'Texto normal'
"Normal text": "Texto normal" 'Big text': 'Texto grande'
"Big text": "Texto grande" 'Colors': 'Cores'
"Colors": "Cores" 'Background color': 'Cor de fundo'
"Background color": "Cor de fundo" 'Background color of current app': 'Cor de fundo do app atual'
"Background color of current app": "Cor de fundo do app atual" 'Text color': 'Cor do texto'
"Text color": "Cor do texto" 'Loader': 'Progresso'
"Loader": "Progresso" 'Icon': 'Ícone'
"Icon": "Ícone" 'Same color': 'Mesma cor'
"Same color": "Mesma cor" 'Opposite color': 'Cor oposta'
"Opposite color": "Cor oposta" 'Transparent': 'Transparente'
"Transparent": "Transparente" 'Opaque': 'Opaco'
"Opaque": "Opaco" 'Opener': 'Abrir'
"Opener": "Abrir" 'Default': 'Padrão'
"Default": "Padrão" 'Default (dark)': 'Padrão (escuro)'
"Default (dark)": "Padrão (escuro)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (escuro)'
"Hamburger (dark)": "Hamburger (escuro)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (escuro)'
"Hamburger 2 (dark)": "Hamburger 2 (escuro)" 'Before the logo': 'Antes da logo'
"Before the logo": "Antes da logo" 'After the logo': 'Depois da logo'
"After the logo": "Depois da logo" 'Position': 'Posição'
"Position": "Posição" 'Show only the opener (hidden logo)': 'Mostrar apenas o Abrir (ocultar logo)'
"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).'
"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'
"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)'
"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 big menu": "Mostrar o menu grande" 'Display the logo': 'Mostrar a logo'
"Display the logo": "Mostrar a logo" 'Icons and texts': 'Ícones e textos'
"Icons and texts": "Ícones e textos" 'Loader enabled': 'Progresso ativado'
"Loader enabled": "Progresso ativado" 'Tips': 'Dicas'
"Tips": "Dicas" 'Always displayed': 'Sempre visível'
"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.'
"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.'
"Not compatible with touch screens.": "Não compatível com telas de toque." 'Big menu': 'Menu grande'
"Big menu": "Menu grande" 'Live preview': 'Visualização ao vivo'
"Live preview": "Visualização ao vivo" 'Open apps in new tab': 'Abrir apps em nova aba'
"Open apps in new tab": "Abrir apps em nova aba" 'Use the global setting': 'Usar configurações globais'
"Use the global setting": "Usar configurações globais" 'Use my selection': 'Usar minha seleção'
"Use my selection": "Usar minha seleção" 'Show and hide the list of applications': 'Mostrar e ocultar a lista de aplicativos'
"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'
"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.'
"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'
"Force this configuration to users": "Forçar esta configuração para os usuários" 'Export the configuration': 'Exportar a configuração'
"Export the configuration": "Exportar a configuração" 'Purge the cache': 'Limpar o cache'
"Purge the cache": "Limpar o cache" 'Show the link to settings': 'Mostrar o link para configurações'
"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'
"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.'
"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'
"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>.'
"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'
"The logo is a link to the default app": "A logo é um link para o app padrão" 'Others': 'Outros'
"Others": "Outros" 'Categories': 'Categorias'
"Categories": "Categorias" 'Customize sorting': 'Personalizar classificação'
"Customize sorting": "Personalizar classificação" 'Order by': 'Ordenar por'
"Order by": "Ordenar por" 'Name': 'Nome'
"Name": "Nome" 'Customed': 'Personalizado'
"Customed": "Personalizado" 'Show and hide the list of categories': 'Mostrar e esconder a lista de categorias'
"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.'
"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'
"Dark mode colors": "Cores do modo escuro" 'With categories': 'Com categorias'
"With categories": "Com categorias" 'Custom categories': 'Categorias personalizadas'
"Custom categories": "Categorias personalizadas" 'Customize application categories': 'Personalizar categorias de apps'
"Customize application categories": "Personalizar categorias de apps" 'Reset to default': 'Restaurar padrão'
"Reset to default": "Restaurar padrão" 'Applications': 'Aplicativos'
"Applications": "Aplicativos" 'Applications kept in the top menu': 'Aplicativos mantidos no menu superior'
"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'
"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.'
"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'
"Hide labels on mouse over": "Ocultar descrição ao passar o mouse" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+95 -96
View File
@@ -1,96 +1,95 @@
"Custom menu": "Custom 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.': 'Используйте сочетание клавиш <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>, чтобы открыть или скрыть боковое меню. Используйте <span class="keyboard-key">Tab</span> для навигации.'
: 'Используйте сочетание клавиш <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>, чтобы открыть или скрыть боковое меню. Используйте <span class="keyboard-key">Tab</span> для навигации.' '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': 'Гамбургер 2'
"Hamburger 2": "Гамбургер 2" 'Hamburger 2 (dark)': 'Гамбургер 2 (тёмный)'
"Hamburger 2 (dark)": "Гамбургер 2 (тёмный)" '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.'
"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'
"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'
"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.'
"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.'
"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'
"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.': 'Эти настройки используются темами Тёмная и Тёмная Breeze.'
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Эти настройки используются темами Тёмная и Тёмная Breeze." '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": "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'
"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.'
"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'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+93 -94
View File
@@ -1,94 +1,93 @@
"Custom menu": "Custom menu" 'Custom menu': 'Custom menu'
"Enable the custom menu": "Enable the custom menu" 'Enable the custom menu': 'Enable the custom menu'
"No": "No" 'No': 'No'
"Yes": "Yes" 'Yes': 'Yes'
"Menu": "Menu" '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.': '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'
"Top menu": "Top menu" 'Apps that not must be moved in the side menu': 'Apps that not must be moved in the side 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.'
"If there is no selection then the global configuration is applied.": "If there is no selection then the global configuration is applied." 'Experimental': 'Experimental'
"Experimental": "Experimental" 'Save': 'Save'
"Save": "Save" 'You like this app and you want to support me?': 'You like this app and you want to support me?'
"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 ☕'
"Buy me a coffee ☕": "Buy me a coffee ☕" 'Hidden': 'Hidden'
"Hidden": "Hidden" 'Small': 'Small'
"Small": "Small" 'Normal': 'Normal'
"Normal": "Normal" 'Big': 'Big'
"Big": "Big" 'Hidden icon': 'Hidden icon'
"Hidden icon": "Hidden icon" 'Small icon': 'Small icon'
"Small icon": "Small icon" 'Normal icon': 'Normal icon'
"Normal icon": "Normal icon" 'Big icon': 'Big icon'
"Big icon": "Big icon" 'Hidden text': 'Hidden text'
"Hidden text": "Hidden text" 'Small text': 'Small text'
"Small text": "Small text" 'Normal text': 'Normal text'
"Normal text": "Normal text" 'Big text': 'Big text'
"Big text": "Big text" 'Colors': 'Colors'
"Colors": "Colors" 'Background color': 'Background color'
"Background color": "Background color" 'Background color of current app': 'Background color of current app'
"Background color of current app": "Background color of current app" 'Text color': 'Text color'
"Text color": "Text color" 'Loader': 'Loader'
"Loader": "Loader" 'Icon': 'Icon'
"Icon": "Icon" 'Same color': 'Same color'
"Same color": "Same color" 'Opposite color': 'Opposite color'
"Opposite color": "Opposite color" 'Transparent': 'Transparent'
"Transparent": "Transparent" 'Opaque': 'Opaque'
"Opaque": "Opaque" 'Opener': 'Opener'
"Opener": "Opener" 'Default': 'Default'
"Default": "Default" 'Default (dark)': 'Default (dark)'
"Default (dark)": "Default (dark)" 'Hamburger': 'Hamburger'
"Hamburger": "Hamburger" 'Hamburger (dark)': 'Hamburger (dark)'
"Hamburger (dark)": "Hamburger (dark)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (dark)'
"Hamburger 2 (dark)": "Hamburger 2 (dark)" 'Before the logo': 'Before the logo'
"Before the logo": "Before the logo" 'After the logo': 'After the logo'
"After the logo": "After the logo" 'Position': 'Position'
"Position": "Position" 'Show only the opener (hidden logo)': 'Show only the opener (hidden logo)'
"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).'
"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'
"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)'
"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 big menu": "Display the big menu" 'Display the logo': 'Display the logo'
"Display the logo": "Display the logo" 'Icons and texts': 'Icons and texts'
"Icons and texts": "Icons and texts" 'Loader enabled': 'Loader enabled'
"Loader enabled": "Loader enabled" 'Tips': 'Tips'
"Tips": "Tips" 'Always displayed': 'Always displayed'
"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.'
"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.'
"Not compatible with touch screens.": "Not compatible with touch screens." 'Big menu': 'Big menu'
"Big menu": "Big menu" 'Live preview': 'Live preview'
"Live preview": "Live preview" 'Open apps in new tab': 'Open apps in new tab'
"Open apps in new tab": "Open apps in new tab" 'Use the global setting': 'Use the global setting'
"Use the global setting": "Use the global setting" 'Use my selection': 'Use my selection'
"Use my selection": "Use my selection" 'Show and hide the list of applications': 'Show and hide the list of applications'
"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'
"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.'
"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'
"Force this configuration to users": "Force this configuration to users" 'Export the configuration': 'Export the configuration'
"Export the configuration": "Export the configuration" 'Purge the cache': 'Purge the cache'
"Purge the cache": "Purge the cache" 'Show the link to settings': 'Show the link to settings'
"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'
"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.'
"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'
"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.'
"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'
"The logo is a link to the default app": "The logo is a link to the default app" 'Others': 'Others'
"Others": "Others" 'Categories': 'Categories'
"Categories": "Categories" 'Customize sorting': 'Customize sorting'
"Customize sorting": "Customize sorting" 'Order by': 'Order by'
"Order by": "Order by" 'Name': 'Name'
"Name": "Name" 'Customed': 'Customed'
"Customed": "Customed" 'Show and hide the list of categories': 'Show and hide the list of categories'
"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.'
"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'
"Dark mode colors": "Dark mode colors" 'With categories': 'With categories'
"With categories": "With categories" 'Custom categories': 'Custom categories'
"Custom categories": "Custom categories" 'Customize application categories': 'Customize application categories'
"Customize application categories": "Customize application categories" 'Reset to default': 'Reset to default'
"Reset to default": "Reset to default" 'Applications': 'Applications'
"Applications": "Applications" 'Applications kept in the top menu': 'Applications kept in the top menu'
"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'
"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.'
"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'
"Hide labels on mouse over": "Hide labels on mouse over" 'Toggle the menu': 'Toggle the menu'
"Toggle the menu": "Toggle the menu"
+94 -94
View File
@@ -1,100 +1,100 @@
"Custom menu": "Custom menu" 'Custom menu': 'Custom menu'
"Enable the custom menu": "Enable the custom menu" 'Enable the custom menu': 'Enable the custom menu'
"No": "No" 'No': 'No'
"Yes": "Yes" 'Yes': 'Yes'
"Menu": "Menu" 'Menu': 'Menu'
? 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> ? '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 to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to
navigate.' navigate.'
: 'Use the shortcut <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> : '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 to open and to hide the side menu. Use <span class="keyboard-key">tab</span> to
navigate.' navigate.'
"Top menu": "Top 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" '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." 'If there is no selection then the global configuration is applied.': 'If there is no selection then the global configuration is applied.'
"Experimental": "Experimental" 'Experimental': 'Experimental'
"Save": "Save" 'Save': 'Save'
"You like this app and you want to support me?": "You like this app and you want to support me?" '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 ☕" 'Buy me a coffee ☕': 'Buy me a coffee ☕'
"Hidden": "Hidden" 'Hidden': 'Hidden'
"Small": "Small" 'Small': 'Small'
"Normal": "Normal" 'Normal': 'Normal'
"Big": "Big" 'Big': 'Big'
"Hidden icon": "Hidden icon" 'Hidden icon': 'Hidden icon'
"Small icon": "Small icon" 'Small icon': 'Small icon'
"Normal icon": "Normal icon" 'Normal icon': 'Normal icon'
"Big icon": "Big icon" 'Big icon': 'Big icon'
"Hidden text": "Hidden text" 'Hidden text': 'Hidden text'
"Small text": "Small text" 'Small text': 'Small text'
"Normal text": "Normal text" 'Normal text': 'Normal text'
"Big text": "Big text" 'Big text': 'Big text'
"Colors": "Colors" 'Colors': 'Colors'
"Background color": "Background color" 'Background color': 'Background color'
"Background color of current app": "Background color of current app" 'Background color of current app': 'Background color of current app'
"Text color": "Text color" 'Text color': 'Text color'
"Loader": "Loader" 'Loader': 'Loader'
"Icon": "Icon" 'Icon': 'Icon'
"Same color": "Same color" 'Same color': 'Same color'
"Opposite color": "Opposite color" 'Opposite color': 'Opposite color'
"Transparent": "Transparent" 'Transparent': 'Transparent'
"Opaque": "Opaque" 'Opaque': 'Opaque'
"Opener": "Opener" 'Opener': 'Opener'
"Default": "Default" 'Default': 'Default'
"Default (dark)": "Default (dark)" 'Default (dark)': 'Default (dark)'
"Hamburger": "Hamburger" 'Hamburger': 'Hamburger'
"Hamburger (dark)": "Hamburger (dark)" 'Hamburger (dark)': 'Hamburger (dark)'
"Hamburger 2": "Hamburger 2" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2 (dark)": "Hamburger 2 (dark)" 'Hamburger 2 (dark)': 'Hamburger 2 (dark)'
"Before the logo": "Before the logo" 'Before the logo': 'Before the logo'
"After the logo": "After the logo" 'After the logo': 'After the logo'
"Position": "Position" 'Position': 'Position'
"Show only the opener (hidden logo)": "Show only the opener (hidden logo)" '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)." '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" '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)" '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 big menu': 'Display the big menu'
"Display the logo": "Display the logo" 'Display the logo': 'Display the logo'
"Icons and texts": "Icons and texts" 'Icons and texts': 'Icons and texts'
"Loader enabled": "Loader enabled" 'Loader enabled': 'Loader enabled'
"Tips": "Tips" 'Tips': 'Tips'
"Always displayed": "Always displayed" '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." '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." 'Not compatible with touch screens.': 'Not compatible with touch screens.'
"Big menu": "Big menu" 'Big menu': 'Big menu'
"Live preview": "Live preview" 'Live preview': 'Live preview'
"Open apps in new tab": "Open apps in new tab" 'Open apps in new tab': 'Open apps in new tab'
"Use the global setting": "Use the global setting" 'Use the global setting': 'Use the global setting'
"Use my selection": "Use my selection" 'Use my selection': 'Use my selection'
"Show and hide the list of applications": "Show and hide the list of applications" '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" '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." '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" 'Force this configuration to users': 'Force this configuration to users'
"Export the configuration": "Export the configuration" 'Export the configuration': 'Export the configuration'
"Purge the cache": "Purge the cache" 'Purge the cache': 'Purge the cache'
"Show the link to settings": "Show the link to settings" '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" '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." '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" '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." '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" 'The logo is a link to the default app': 'The logo is a link to the default app'
"Others": "Others" 'Others': 'Others'
"Categories": "Categories" 'Categories': 'Categories'
"Customize sorting": "Customize sorting" 'Customize sorting': 'Customize sorting'
"Order by": "Order by" 'Order by': 'Order by'
"Name": "Name" 'Name': 'Name'
"Customed": "Customed" 'Customed': 'Customed'
"Show and hide the list of categories": "Show and hide the list of categories" '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." '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" 'Dark mode colors': 'Dark mode colors'
"With categories": "With categories" 'With categories': 'With categories'
"Custom categories": "Custom categories" 'Custom categories': 'Custom categories'
"Customize application categories": "Customize application categories" 'Customize application categories': 'Customize application categories'
"Reset to default": "Reset to default" 'Reset to default': 'Reset to default'
"Applications": "Applications" 'Applications': 'Applications'
"Applications kept in the top menu": "Applications kept in the top menu" '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" '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." '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" 'Hide labels on mouse over': 'Hide labels on mouse over'
"Except the hovered app": "Except the hovered app" 'Except the hovered app': 'Except the hovered app'
"Search": "Search" 'Search': 'Search'
"Toggle the menu": "Toggle the menu" 'Toggle the menu': 'Toggle the menu'
+95 -96
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.': '使用快捷键 <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span> 打开或隐藏侧边栏菜单。使用<span class="keyboard-key">tab</span> 来导航。'
: "使用快捷键 <span class=\"keyboard-key\">Ctrl</span>+<span class=\"keyboard-key\">o</span> 打开或隐藏侧边栏菜单。使用<span class=\"keyboard-key\">tab</span> 来导航。" '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": "大型" '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": "Hamburger" 'Hamburger (dark)': 'Hamburger (深色)'
"Hamburger (dark)": "Hamburger (深色)" 'Hamburger 2': 'Hamburger 2'
"Hamburger 2": "Hamburger 2" 'Hamburger 2 (dark)': 'Hamburger 2 (深色)'
"Hamburger 2 (dark)": "Hamburger 2 (深色)" 'Before the logo': '在logo前'
"Before the logo": "在logo前" 'After the logo': '在logo后'
"After the logo": "在logo后" 'Position': '位置'
"Position": "位置" 'Show only the opener (hidden logo)': '只显示容器 (隐藏logo)'
"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如果没有应用,不显示侧边栏菜单和容器 (例如 : 公共页面)。'
"Do not display the side menu and the opener if there is no application (eg: public pages).": "N如果没有应用,不显示侧边栏菜单和容器 (例如 : 公共页面)。" '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': '显示logo'
"Display the logo": "显示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': '使用头像代替logo'
"Use the avatar instead of the logo": "使用头像代替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.': '此功能只和<code>大型菜单</code>兼容。'
"This feature is only compatible with the <code>big menu</code> display.": "此功能只和<code>大型菜单</code>兼容。" 'The logo is a link to the default app': 'logo链接到默认应用'
"The logo is a link to the default app": "logo链接到默认应用" '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": "重置为默认设置" '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": "大文本" 'Applications': 'Applications'
"Applications": "Applications" 'Applications kept in the top menu': 'Applications kept in the top menu'
"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'
"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.'
"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'
"Hide labels on mouse over": "Hide labels on mouse over" 'Except the hovered app': 'Except the hovered app'
"Except the hovered app": "Except the hovered app" 'Search': 'Search'
"Search": "Search" 'Toggle menu': 'Toggle menu'
"Toggle menu": "Toggle menu"
+15
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 }
+15 -1
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) const element = document.createElement(tagName)
if (typeof attributes === 'object') { if (typeof attributes === 'object') {
@@ -15,3 +27,5 @@ module.exports = (tagName, attributes) => {
return element return element
} }
export { waitContainer, createElement }
+26
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,
}
+22 -33
View File
@@ -15,24 +15,24 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
import AppMenu from './AppMenu.vue' import './scss/menu.scss'
import SideMenu from './SideMenu.vue'
import SideMenuBig from './SideMenuBig.vue'
import SideMenuWithCategories from './SideMenuWithCategories.vue'
import PageLoader from './PageLoader'
Vue.prototype.OC = OC import { createApp } from 'vue'
Vue.prototype.t = OC.L10N.translate 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 = () => { // import PageLoader from './components/PageLoader.vue'
const container = document.querySelector('#side-menu')
if (!container) { // window.PageLoader = PageLoader
return window.setTimeout(mountSideMenuComponent, 50)
}
const pinia = createPinia()
waitContainer('#side-menu').then((selector, container) => {
const component = (() => { const component = (() => {
if (container.getAttribute('data-bigmenu')) { if (container.getAttribute('data-bigmenu')) {
return SideMenuBig return SideMenuBig
@@ -43,26 +43,15 @@ const mountSideMenuComponent = () => {
} }
})() })()
const View = Vue.extend(component) const app = createApp(component)
const App = new View({})
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 = () => { app.use(pinia)
const container = document.querySelector('#header .app-menu') app.mount(selector)
})
if (!container) {
return window.setTimeout(mountAppMenu, 50)
}
const View = Vue.extend(AppMenu)
const App = new View({})
App.$mount('#header .app-menu')
}
mountSideMenuComponent()
mountAppMenu()
@@ -1,4 +1,3 @@
<!-- <!--
- @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net> - @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net>
- -
@@ -26,45 +25,70 @@
:aria-label="t('core', 'Applications menu')" :aria-label="t('core', 'Applications menu')"
> >
<ul <ul
v-if="appList.length"
class="app-menu-main" class="app-menu-main"
:class="{ 'app-menu-main__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }" :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" :key="app.id"
:data-app-id="app.id" :data-app-id="app.id"
class="app-menu-entry" 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 }" :class="{ 'app-menu-entry__active': app.active, 'app-menu-entry__hidden-label': hiddenLabels === 1, 'app-menu-main__show-hovered': hiddenLabels === 2 }"
:style="makeStyle(app)" :style="makeStyle(app)"
> >
<a :href="app.href" <a
:href="app.href"
:class="{ 'has-unread': app.unread > 0 }" :class="{ 'has-unread': app.unread > 0 }"
:aria-label="appLabel(app)" :aria-label="appLabel(app)"
:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined" :target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
:aria-current="app.active ? 'page' : false"> :aria-current="app.active ? 'page' : false"
<img :src="app.icon" alt=""> >
<img
:src="app.icon"
alt=""
/>
<div class="app-menu-entry--label"> <div class="app-menu-entry--label">
{{ app.name }} {{ 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> </div>
</a> </a>
</li> </li>
</ul> </ul>
<NcActions class="app-menu-more" :aria-label="t('core', 'More apps')"> <NcActions
<NcActionLink v-for="app in popoverAppList(state)" class="app-menu-more"
:aria-label="t('core', 'More apps')"
>
<NcActionLink
v-for="app in popoverAppList(state)"
:key="app.id" :key="app.id"
:aria-label="appLabel(app)" :aria-label="appLabel(app)"
:aria-current="app.active ? 'page' : false" :aria-current="app.active ? 'page' : false"
:href="app.href" :href="app.href"
:style="makeStyle(app)" :style="makeStyle(app)"
class="app-menu-popover-entry"> class="app-menu-popover-entry"
>
<template #icon> <template #icon>
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }"> <div
<img :src="app.icon" alt=""> class="app-icon"
:class="{ 'has-unread': app.unread > 0 }"
>
<img
:src="app.icon"
alt=""
/>
</div> </div>
</template> </template>
{{ app.name }} {{ 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> </NcActionLink>
</NcActions> </NcActions>
</nav> </nav>
@@ -108,7 +132,8 @@ export default defineComponent({
}, },
mounted() { mounted() {
axios.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json') axios
.get(generateOcsUrl('core/navigation', 2) + '/apps?format=json')
.then((response) => response.data) .then((response) => response.data)
.then((data) => { .then((data) => {
if (data.ocs.meta.statuscode !== 200) { if (data.ocs.meta.statuscode !== 200) {
@@ -181,16 +206,18 @@ export default defineComponent({
}, },
appLabel(app) { appLabel(app) {
return app.name return (
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '') app.name +
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '') (app.active ? ' (' + t('core', 'Currently open') + ')' : '') +
(app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
)
}, },
makeStyle(app) { makeStyle(app) {
if (app.order !== null) { if (app.order !== null) {
return `order: ${app.order}` return `order: ${app.order}`
} }
} },
}, },
}) })
</script> </script>
@@ -219,7 +246,7 @@ $header-icon-size: 20px;
opacity: 1; opacity: 1;
&::before { &::before {
content: " "; content: ' ';
position: absolute; position: absolute;
pointer-events: none; pointer-events: none;
border-bottom-color: var(--color-main-background); border-bottom-color: var(--color-main-background);
@@ -312,7 +339,8 @@ $header-icon-size: 20px;
bottom: 0; bottom: 0;
} }
&::before, .app-menu-entry::before { &::before,
.app-menu-entry::before {
opacity: 0; opacity: 0;
} }
} }
@@ -328,18 +356,19 @@ $header-icon-size: 20px;
bottom: 0; bottom: 0;
} }
&::before, .app-menu-entry::before { &::before,
.app-menu-entry::before {
opacity: 0; opacity: 0;
} }
} }
} }
::v-deep .app-menu-more .button-vue--vue-tertiary { ::v-deep .app-menu-more .button-vue--vue-tertiary {
opacity: .7; opacity: 0.7;
margin: 3px; margin: 3px;
filter: var(--background-image-invert-if-bright, var(--primary-invert-if-bright)); 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); color: var(--color-main-text);
&:hover { &:hover {
@@ -376,7 +405,7 @@ $header-icon-size: 20px;
} }
.has-unread::after { .has-unread::after {
content: ""; content: '';
width: 8px; width: 8px;
height: 8px; height: 8px;
background-color: var(--color-primary-element-text); background-color: var(--color-primary-element-text);
+89 -122
View File
@@ -16,155 +16,122 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div id="side-menu"> <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 <SettingsButton
v-if="settings" v-if="settings"
v-bind:href="settings.href" :href="settings.href"
v-bind:label="settings.name" :label="settings.name"
v-bind:avatar="settings.avatar" /> :avatar="settings.avatar"
/>
<AppSearch v-model:search="search" /> <AppSearch v-model:search="search" />
<OpenerButton v-if="!alwaysDisplayed" /> <OpenerButton v-if="!alwaysDisplayed" />
<Logo <Logo
v-if="!avatar && !alwaysDisplayed && logo" v-bind:classes="{'side-menu-logo': true, 'avatardiv': false}" v-if="!avatar && !alwaysDisplayed && logo"
v-bind:image="logo" :classes="{ 'side-menu-logo': true, avatardiv: false }"
v-bind:link="logoLink" :image="logo"
:link="logoLink"
/> />
<Logo <Logo
v-if="avatar" v-bind:classes="{'side-menu-logo': true, 'avatardiv': true}" v-if="avatar"
v-bind:image="avatar" :classes="{ 'side-menu-logo': true, avatardiv: true }"
v-bind:link="logoLink" :image="avatar"
:link="logoLink"
/> />
</div> </div>
<ul class="side-menu-apps-list" :class="{'side-menu-apps-list--with-settings': !!settings}"> <ul
<SideMenuApp class="side-menu-apps-list"
:class="{ 'side-menu-apps-list--with-settings': !!settings }"
>
<template
v-for="(app, key) in apps" v-for="(app, key) in apps"
v-if="searchMatch(app.name)" :key="key"
v-bind:classes="{'side-menu-app': true, 'active': app.active}" >
v-bind:key="key" <SideMenuApp
v-bind:icon="app.icon" v-if="isAppMatchingSearch(app.name, search)"
v-bind:label="app.name" :classes="{ 'side-menu-app': true, active: app.active }"
v-bind:href="app.href" :icon="app.icon"
v-bind:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined" :label="app.name"
:href="app.href"
:target="targetBlankApps.indexOf(app.id) !== -1 ? '_blank' : undefined"
/> />
</template>
</ul> </ul>
</div> </div>
</template> </template>
<script> <script setup>
import axios from 'axios' import { ref, onMounted } from 'vue'
import OpenerButton from './OpenerButton' import { useConfigStore } from '../store/config.js'
import SettingsButton from './SettingsButton' import { useNavStore } from '../store/nav.js'
import SideMenuApp from './SideMenuApp' import { isAppMatchingSearch } from '../lib/search.js'
import AppSearch from './AppSearch'
import Logo from './Logo'
import { loadState } from '@nextcloud/initial-state'
export default { import OpenerButton from '../components/OpenerButton'
name: 'SideMenu', import SettingsButton from '../components/SettingsButton'
components: { import SideMenuApp from '../components/SideMenuApp'
SettingsButton, import AppSearch from '../components/AppSearch'
OpenerButton, import Logo from '../components/Logo'
SideMenuApp,
Logo, const targetBlankApps = ref(null)
AppSearch, const forceLightIcon = ref(null)
}, const avatar = ref(null)
data() { const logo = ref(null)
return { const logoLink = ref(null)
apps: [], const settings = ref(null)
logo: null, const openerHover = ref(null)
logoLink: null, const alwaysDisplayed = ref(null)
avatar: null, const search = ref('')
forceLightIcon: false, const apps = ref([])
targetBlankApps: [],
hiddenApps: [], function getFiltredAndSortedApps(
settings: null, items,
openerHover: false, order,
alwaysDisplayed: false, topMenuApps,
search: '', 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) => { item.order = items.length + 1
orders[app] = order + 1
order.forEach((id, key) => {
if (id === item.id) {
item.order = key + 1
}
}) })
for (let app of ncApps) { data.push(item)
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)
}
finalApps.sort((a, b) => {
if (a.order === null || b.order === null) {
return a.name < b.name ? -1 : 1
}
return data.sort((a, b) => {
return a.order < b.order ? -1 : 1 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) { onMounted(() => {
if (this.searchMatch(apps[key].name)) { const config = useConfigStore.getConfig()
return true
}
}
return false 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']
searchMatch(name) { apps.value = getFiltredAndSortedApps(
if (this.search.trim() === '') { useNavStore.getApps(),
return true config['apps-order'],
} config['top-menu-apps'],
config['top-side-menu-apps'],
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()
}) })
}
}
</script> </script>
+58 -109
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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div id="side-menu" class="side-menu-big"> <div
id="side-menu"
class="side-menu-big"
>
<div class="side-menu-header"> <div class="side-menu-header">
<CloserButton /> <CloserButton />
<SettingsButton <SettingsButton
v-if="settings" v-if="settings"
v-bind:href="settings.href" :href="settings.href"
v-bind:label="settings.name" :label="settings.name"
v-bind:avatar="settings.avatar" :avatar="settings.avatar"
/> />
<AppSearch v-model:search="search" /> <AppSearch v-model:search="search" />
<OpenerButton /> <OpenerButton />
@@ -32,124 +35,70 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="side-menu-categories"> <div class="side-menu-categories">
<Loader v-if="!items.length" /> <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"> <template
<h2 class="side-menu-category-title" v-if="category.name != ''" v-text="category.name"></h2> 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"> <ul class="side-menu-apps-list">
<SideMenuBigApp <template
v-for="(app, appId) in category.apps" v-for="(app, appId) in category.apps"
v-if="searchMatch(app.name)" :key="appId"
v-bind:key="appId" >
v-bind:classes="{'side-menu-app': true, 'active': activeApp === appId}" <SideMenuBigApp
v-bind:icon="app.icon" v-if="isAppMatchingSearch(app.name, search)"
v-bind:label="app.name" :classes="{ 'side-menu-app': true, active: activeApp === appId }"
v-bind:href="app.href" :icon="app.icon"
v-bind:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined" :label="app.name"
:href="app.href"
:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined"
/> />
</template>
</ul> </ul>
</div> </div>
</template>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script setup>
import axios from 'axios' import { ref, onMounted } from 'vue'
import OpenerButton from './OpenerButton' import { useNavStore } from '../store/nav.js'
import CloserButton from './CloserButton' import { useConfigStore } from '../store/config.js'
import SettingsButton from './SettingsButton' import { getActiveAppId } from '../lib/app.js'
import Loader from './Loader' import { containsAppsMatchingSearch, isAppMatchingSearch } from '../lib/search.js'
import AppSearch from './AppSearch'
import SideMenuBigApp from './SideMenuBigApp'
import { loadState } from '@nextcloud/initial-state'
export default { import OpenerButton from '../components/OpenerButton'
name: 'SideMenuBig', import CloserButton from '../components/CloserButton'
components: { import SettingsButton from '../components/SettingsButton'
SettingsButton, import Loader from '../components/Loader'
OpenerButton, import AppSearch from '../components/AppSearch'
CloserButton, import SideMenuBigApp from '../components/SideMenuBigApp'
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 = []
for (let category of this.items) { const items = ref([])
for (let a in category.apps) { const activeApp = ref(null)
apps.push(category.apps[a]) const targetBlankApps = ref([])
} const settings = ref(null)
} const search = ref('')
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.apps', { onMounted(() => {
detail: {apps: apps}, const config = useConfigStore.getConfig()
}))
targetBlankApps.value = config['target-blank-apps']
settings.value = config['settings']
items.value = useNavStore.getCategories()
activeApp.value = getActiveAppId()
}) })
},
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()
}
}
</script> </script>
+55 -107
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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<div id="side-menu" class="side-menu-with-categories"> <div
id="side-menu"
class="side-menu-with-categories"
>
<div class="side-menu-header"> <div class="side-menu-header">
<SettingsButton <SettingsButton
v-if="settings" v-if="settings"
v-bind:href="settings.href" :href="settings.href"
v-bind:label="settings.name" :label="settings.name"
v-bind:avatar="settings.avatar" :avatar="settings.avatar"
/> />
<AppSearch v-model:search="search" /> <AppSearch v-model:search="search" />
<OpenerButton /> <OpenerButton />
@@ -31,124 +34,69 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="side-menu-categories"> <div class="side-menu-categories">
<Loader v-if="!items.length" /> <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"> <template
<h2 class="side-menu-category-title" v-if="category.name != ''" v-text="category.name"></h2> 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"> <ul class="side-menu-apps-list">
<SideMenuBigApp <template
v-for="(app, appId) in category.apps" v-for="(app, appId) in category.apps"
v-if="searchMatch(app.name)" :key="appId"
v-bind:key="appId" >
v-bind:classes="{'side-menu-app': true, 'active': activeApp === appId}" <SideMenuBigApp
v-bind:icon="app.icon" v-if="isAppMatchingSearch(app.name, search)"
v-bind:label="app.name" :classes="{ 'side-menu-app': true, active: activeApp === appId }"
v-bind:href="app.href" :icon="app.icon"
v-bind:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined" :label="app.name"
:href="app.href"
:target="targetBlankApps.indexOf(appId) !== -1 ? '_blank' : undefined"
/> />
</template>
</ul> </ul>
</div> </div>
</template>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script setup> <script setup>
import axios from 'axios' import { ref, onMounted } from 'vue'
import OpenerButton from './OpenerButton' import { useNavStore } from '../store/nav.js'
import SettingsButton from './SettingsButton' import { useConfigStore } from '../store/config.js'
import Loader from './Loader' import { getActiveAppId } from '../lib/app.js'
import AppSearch from './AppSearch' import { containsAppsMatchingSearch, isAppMatchingSearch } from '../lib/search.js'
import SideMenuBigApp from './SideMenuBigApp'
import { loadState } from '@nextcloud/initial-state'
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 { const items = ref([])
name: 'SideMenuWithCategories', const activeApp = ref(null)
components: { const targetBlankApps = ref([])
SettingsButton, const settings = ref(null)
OpenerButton, const search = ref('')
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 = []
for (let category of this.items) { onMounted(() => {
for (let a in category.apps) { const config = useConfigStore.getConfig()
apps.push(category.apps[a])
}
}
document.querySelector('body').dispatchEvent(new CustomEvent('side-menu.apps', { targetBlankApps.value = config['target-blank-apps']
detail: {apps: apps}, settings.value = config['settings']
}))
items.value = useNavStore.getCategories()
activeApp.value = getActiveAppId()
}) })
},
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()
}
}
</script> </script>
+3 -3
View File
@@ -15,18 +15,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * 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; width: 100px;
margin: 10px 0 10px 0; margin: 10px 0 10px 0;
padding: 0; padding: 0;
border-radius: 0; border-radius: 0;
} }
#-dropside-menu-section input[type="checkbox"] { #-dropside-menu-section input[type='checkbox'] {
vertical-align: middle; vertical-align: middle;
} }
#side-menu-section input[type="range"] { #side-menu-section input[type='range'] {
vertical-align: middle; vertical-align: middle;
} }
+28 -13
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%); background: linear-gradient(90deg, var(--side-menu-background-color, #333) 0%, var(--side-menu-background-color-to, #333) 100%);
z-index: 3000; z-index: 3000;
color: var(--side-menu-text-color, #fff); 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; display: none;
} }
@@ -57,7 +59,9 @@
padding: 4px 7px; 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); background: var(--side-menu-current-app-background-color, #444);
} }
@@ -73,7 +77,7 @@
} }
.side-menu-opener { .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; background-color: transparent !important;
height: 40px !important; height: 40px !important;
width: 40px !important; width: 40px !important;
@@ -95,16 +99,19 @@
overflow: hidden; 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; background-color: var(--side-menu-current-app-background-color, #444) !important;
} }
.side-menu-closer { .side-menu-closer {
background: url('../img/side-menu-opener-closer.svg'); background: url('../../img/side-menu-opener-closer.svg');
display: none; 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; display: none !important;
} }
@@ -137,7 +144,9 @@
white-space: nowrap; 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); background: var(--side-menu-current-app-background-color, #444);
} }
@@ -183,23 +192,27 @@
transition-property: width; 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%; max-width: 100%;
height: auto; 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; 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; height: auto;
position: static; position: static;
max-width: 100vw; max-width: 100vw;
overflow: auto; 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; padding: 7px 0 7px 7px;
} }
@@ -242,7 +255,8 @@
stroke: var(--side-menu-text-color, #fff); 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; vertical-align: middle;
margin-top: -2px; margin-top: -2px;
} }
@@ -322,7 +336,8 @@
padding: 10px 0; 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; overflow-x: visible;
} }
+18
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
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
}
})