language strings refactoring

This commit is contained in:
Čarodej
2022-03-19 10:14:11 +01:00
parent 7564c01fa3
commit 98d9f3ab0d
73 changed files with 617 additions and 655 deletions

View File

@@ -36,12 +36,12 @@
<OptionGroup>
<Option
@click.native="$renameFileOrFolder(currentFile)"
:title="$t('context_menu.rename')"
:title="$t('rename')"
icon="rename"
/>
<Option
@click.native="$moveFileOrFolder(currentFile)"
:title="$t('context_menu.move')"
:title="$t('move')"
icon="move-item"
/>
<Option
@@ -52,13 +52,13 @@
/>
<Option
@click.native="$deleteFileOrFolder(currentFile)"
:title="$t('context_menu.delete')"
:title="$t('delete')"
icon="trash"
class="menu-option"
/>
</OptionGroup>
<OptionGroup v-if="!$isThisRoute($route, ['RequestUpload'])">
<Option @click.native="downloadItem" :title="$t('context_menu.download')" icon="download" />
<Option @click.native="downloadItem" :title="$t('download')" icon="download" />
</OptionGroup>
</PopoverItem>
</PopoverWrapper>
@@ -89,13 +89,13 @@
@click.native="$shareFileOrFolder(currentFile)"
:class="{ 'is-inactive': !canShareItem }"
source="share"
:action="$t('actions.share')"
:action="$t('share_item')"
/>
<ToolbarButton
v-if="isImage"
@click.native="printMethod()"
source="print"
:action="$t('actions.print')"
:action="$t('print')"
/>
</div>
</div>
@@ -131,8 +131,8 @@ export default {
},
sharingTitle() {
return this.currentFile.data.relationships.shared
? this.$t('context_menu.share_edit')
: this.$t('context_menu.share')
? this.$t('edit_sharing')
: this.$t('share')
},
isImage() {
return this.currentFile.data.type === 'image'