Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-06-18 12:07:40 +0300
committerAzul <azul@riseup.net>2020-08-11 16:46:34 +0300
commit1e596cb9b1b81c54541b8e6f34dee3c89e266b37 (patch)
tree5f4db69ca0afd458352f320eff52ffecaddf6298 /src
parent611b799b81773cb53ce467eb0f8baa2b2dfb3778 (diff)
ensure copy is translateable
Signed-off-by: Azul <azul@riseup.net>
Diffstat (limited to 'src')
-rw-r--r--src/components/MenuBar.vue2
-rw-r--r--src/components/MenuBubble.vue6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue
index 46d4b0b7a..2895bbc14 100644
--- a/src/components/MenuBar.vue
+++ b/src/components/MenuBar.vue
@@ -245,7 +245,7 @@ export default {
return
}
const _command = command
- OC.dialogs.filepicker('Insert an image', (file) => {
+ OC.dialogs.filepicker(t('text', 'Insert an image'), (file) => {
const client = OC.Files.getClient()
client.getFileInfo(file).then((_status, fileInfo) => {
this.lastImagePath = fileInfo.path
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}`)