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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2020-01-30 18:07:59 +0300
committerGretaD <gretadoci@gmail.com>2020-01-30 18:22:41 +0300
commitee1728ab0977b1bcbd33e1734d0311867f442b6e (patch)
tree6740126efe814466e1b145438b92ae756256cdb5 /src
parenteac309579b0fc69de1576e2653ef5e96667c1188 (diff)
Add translated default string for unnamed
Signed-off-by: GretaD <gretadoci@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/MessageAttachment.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/MessageAttachment.vue b/src/components/MessageAttachment.vue
index 6b8a8719e..6b05b5306 100644
--- a/src/components/MessageAttachment.vue
+++ b/src/components/MessageAttachment.vue
@@ -56,6 +56,7 @@
<script>
import {formatFileSize} from '@nextcloud/files'
import {mixin as onClickOutside} from 'vue-on-click-outside'
+import {translate as t} from '@nextcloud/l10n'
import {getFilePickerBuilder} from '@nextcloud/dialogs'
import PopoverMenu from '@nextcloud/vue/dist/Components/PopoverMenu'
@@ -78,6 +79,7 @@ export default {
},
fileName: {
type: String,
+ default: t('mail', 'Unnamed'),
required: false,
},
url: {