diff options
author | Azul <azul@riseup.net> | 2020-06-18 12:07:40 +0300 |
---|---|---|
committer | Azul <azul@riseup.net> | 2020-08-11 16:46:34 +0300 |
commit | 1e596cb9b1b81c54541b8e6f34dee3c89e266b37 (patch) | |
tree | 5f4db69ca0afd458352f320eff52ffecaddf6298 /src/components/MenuBubble.vue | |
parent | 611b799b81773cb53ce467eb0f8baa2b2dfb3778 (diff) |
ensure copy is translateable
Signed-off-by: Azul <azul@riseup.net>
Diffstat (limited to 'src/components/MenuBubble.vue')
-rw-r--r-- | src/components/MenuBubble.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/MenuBubble.vue b/src/components/MenuBubble.vue index 0ec69d013..c52d4da9a 100644 --- a/src/components/MenuBubble.vue +++ b/src/components/MenuBubble.vue @@ -44,7 +44,7 @@ class="menububble__button" :class="{ 'is-active': isActive.link() }" @click="showLinkMenu(getMarkAttrs('link'))"> - <span v-tooltip="isActive.link() ? 'Update Link' : 'Add Link'" class="icon-link" /> + <span v-tooltip="t('text', isActive.link() ? 'Update Link' : 'Add Link')" class="icon-link" /> <span class="menububble__buttontext"> {{ t('text', isActive.link() ? 'Update Link' : 'Add Link') }} </span> @@ -53,7 +53,7 @@ class="menububble__button" :class="{ 'is-active': isActive.link() }" @click="selectFile(commands.link)"> - <span v-tooltip="'Link file'" class="icon-file" /> + <span v-tooltip="t('text', 'Link file')" class="icon-file" /> <span class="menububble__buttontext">{{ t('text', 'Link file') }}</span> </button> </template> @@ -110,7 +110,7 @@ export default { return } const startPath = this.filePath.split('/').slice(0, -1).join('/') - OC.dialogs.filepicker('Select file to link to', (file) => { + OC.dialogs.filepicker(t('text', 'Select file to link to'), (file) => { const client = OC.Files.getClient() client.getFileInfo(file).then((_status, fileInfo) => { const path = optimalPath(this.filePath, `${fileInfo.path}/${fileInfo.name}`) |