Skip to content

Commit

Permalink
fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
n1crack committed Oct 1, 2022
1 parent 023df7a commit d5884c0
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 112 deletions.
2 changes: 1 addition & 1 deletion dist/style.css

Large diffs are not rendered by default.

196 changes: 98 additions & 98 deletions dist/vuefinder.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/vuefinder.umd.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@apply border border-slate-500 bg-slate-300 opacity-50 !important;
}

.dark {
.vuefinder.dark {
color-scheme: dark;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<path fill-rule="evenodd" d="M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z" clip-rule="evenodd" />
</svg>
</span>
<span aria-label="Refresh" data-microtip-position="bottom-right" role="tooltip" v-if="!isLoading()">
<span :aria-label="t('Refresh')" data-microtip-position="bottom-right" role="tooltip" v-if="!isLoading()">
<svg @click="emitter.emit('vf-fetch',{params:{q: 'index', adapter: data.adapter, path: data.dirname}} );" class="h-6 w-6 p-1 rounded text-slate-700 hover:bg-neutral-300 dark:text-neutral-200 dark:hover:bg-gray-700 cursor-pointer" xmlns="http://www.w3.org/2000/svg" viewBox="-40 -40 580 580" fill="currentColor">
<path d="M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"></path>
</svg>
Expand Down
12 changes: 6 additions & 6 deletions src/components/Explorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
</div>

<div

@contextmenu.self.prevent="emitter.emit('vf-contextmenu-show',{event: $event, area: selectorArea, items: getSelectedItems()})"
:class="fullScreen ? '' : 'resize-y'"
class="h-full w-full text-xs vf-selector-area min-h-[150px] overflow-auto p-1 z-0"
ref="selectorArea" @contextmenu.self.prevent="emitter.emit('vf-contextmenu-show',{event: $event, area: selectorArea, items: getSelectedItems()})" >
ref="selectorArea">

<div
v-if="searchQuery.length"
@dblclick="openItem(item)"
@touchstart="delayedOpenItem($event, item)"
@touchstart="delayedOpenItem($event)"
@touchend="clearTimeOut()"
@contextmenu.prevent="emitter.emit('vf-contextmenu-show', {event: $event, area: selectorArea, items: getSelectedItems(), target: item })"
:class="'vf-item-' + randId"
Expand All @@ -60,7 +60,7 @@
<div draggable="true"
v-if="view=='list' && !searchQuery.length"
@dblclick="openItem(item)"
@touchstart="delayedOpenItem($event, item)"
@touchstart="delayedOpenItem($event)"
@touchend="clearTimeOut()"
@contextmenu.prevent="emitter.emit('vf-contextmenu-show', {event: $event, area: selectorArea, items: getSelectedItems(), target: item })"
@dragstart="handleDragStart($event,item)"
Expand All @@ -87,7 +87,7 @@
<div draggable="true"
v-if="view=='grid' && !searchQuery.length"
@dblclick="openItem(item)"
@touchstart="delayedOpenItem($event, item)"
@touchstart="delayedOpenItem($event)"
@touchend="clearTimeOut()"
@contextmenu.prevent="emitter.emit('vf-contextmenu-show', {event: $event, area: selectorArea, items: getSelectedItems(), target: item })"
@dragstart="handleDragStart($event,item)"
Expand Down Expand Up @@ -187,7 +187,7 @@ const clearTimeOut = () => {
}
}
const delayedOpenItem = ($event, item) => {
const delayedOpenItem = ($event) => {
touchTimeOut = setTimeout(() => {
const cmEvent = new MouseEvent("contextmenu", {
bubbles: true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/VueFinder.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div :class="darkMode ? 'dark': ''">
<div class="vuefinder" :class="darkMode ? 'dark': ''">
<div
:class="fullScreen ? 'fixed w-screen inset-0 z-20' : 'relative rounded-md'"
:style="!fullScreen ? 'max-height: ' + maxHeight : ''"
Expand Down
2 changes: 1 addition & 1 deletion src/components/modals/ModalLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@keyup.esc="emitter.emit('vf-modal-close')" tabindex="0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>

<div class="fixed z-10 inset-0 overflow-y-auto">
<div class="fixed z-10 inset-0 overflow-y-auto w-screen h-screen">
<div class="flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0" @mousedown.self="emitter.emit('vf-modal-close')">
<div class="relative bg-white dark:bg-gray-800 rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-4xl md:max-w-2xl lg:max-w-3xl xl:max-w-5xl w-full">
<div class="bg-white dark:bg-gray-800 px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
Expand Down

0 comments on commit d5884c0

Please sign in to comment.