language strings updates

This commit is contained in:
Čarodej
2022-03-20 12:12:09 +01:00
parent 98d9f3ab0d
commit 881facc867
121 changed files with 1729 additions and 1400 deletions

View File

@@ -7,16 +7,16 @@ const AlertHelpers = {
Vue.prototype.$temporarilyDisabledUpload = function () {
let messages = {
metered: {
title: i18n.t('Upload is temporarily disabled'),
message: i18n.t('Please review your billing settings.'),
title: i18n.t('upload_temporarily_disabled'),
message: i18n.t('upload_temporarily_disabled_note'),
},
fixed: {
title: i18n.t('Upload is temporarily disabled'),
message: i18n.t('Please review your billing settings.'),
title: i18n.t('upload_temporarily_disabled'),
message: i18n.t('upload_temporarily_disabled_note'),
},
none: {
title: i18n.t('You exceeded your upload limit'),
message: i18n.t('Unfortunately, you can not upload your file.'),
title: i18n.t('exceed_upload_limit'),
message: i18n.t('exceed_upload_limit_description'),
},
}
@@ -28,15 +28,15 @@ const AlertHelpers = {
Vue.prototype.$temporarilyDisabledFolderCreate = function () {
events.$emit('alert:open', {
title: i18n.t('Folder creation is temporarily disabled'),
message: i18n.t('Please review your billing settings.'),
title: i18n.t('create_folder_temporarily_disabled'),
message: i18n.t('create_folder_temporarily_disabled_desc'),
})
}
Vue.prototype.$temporarilyDisabledDownload = function () {
events.$emit('alert:open', {
title: i18n.t('File download is temporarily disabled'),
message: i18n.t('Please review your billing settings.'),
title: i18n.t('download_temporarily_disabled'),
message: i18n.t('download_temporarily_disabled_desc'),
})
}

View File

@@ -93,31 +93,31 @@ const FunctionHelpers = {
progress: storage.data.meta.images.percentage,
color: 'success',
value: storage.data.meta.images.used,
title: 'Images',
title: i18n.t('images'),
},
{
progress: storage.data.meta.videos.percentage,
color: 'danger',
value: storage.data.meta.videos.used,
title: 'Videos',
title: i18n.t('videos'),
},
{
progress: storage.data.meta.audios.percentage,
color: 'warning',
value: storage.data.meta.audios.used,
title: 'Audios',
title: i18n.t('audios'),
},
{
progress: storage.data.meta.documents.percentage,
color: 'info',
value: storage.data.meta.documents.used,
title: 'Documents',
title: i18n.t('documents'),
},
{
progress: storage.data.meta.others.percentage,
color: 'purple',
value: storage.data.meta.others.used,
title: 'Others',
title: i18n.t('others'),
},
]
@@ -130,7 +130,7 @@ const FunctionHelpers = {
progress: 100 - storage.data.attributes.percentage,
color: 'secondary',
value: storage.data.meta.others.used,
title: 'Empty',
title: i18n.t('empty'),
})
}
@@ -288,27 +288,27 @@ const FunctionHelpers = {
return store.getters.currentFolder.data.attributes.name
} else {
return {
RequestUpload: this.$t('Home'),
RecentUploads: this.$t('Recent Uploads'),
RequestUpload: this.$t('home'),
RecentUploads: this.$t('menu.latest'),
MySharedItems: this.$t('publicly_shared'),
Trash: this.$t('Trash'),
Public: this.$t('Files'),
Trash: this.$t('trash'),
Public: this.$t('menu.files'),
Files: this.$t('sidebar.home'),
TeamFolders: this.$t('Team Folders'),
SharedWithMe: this.$t('Shared With Me'),
TeamFolders: this.$t('team_folders'),
SharedWithMe: this.$t('shared_with_me'),
}[this.$route.name]
}
}
Vue.prototype.$getCurrentSectionName = function () {
return {
RecentUploads: this.$t('Recent Uploads'),
RecentUploads: this.$t('menu.latest'),
MySharedItems: this.$t('publicly_shared'),
Trash: this.$t('Trash'),
Public: this.$t('Files'),
Trash: this.$t('trash'),
Public: this.$t('menu.files'),
Files: this.$t('sidebar.home'),
TeamFolders: this.$t('Team Folders'),
SharedWithMe: this.$t('Shared With Me'),
TeamFolders: this.$t('team_folders'),
SharedWithMe: this.$t('shared_with_me'),
}[this.$route.name]
}

View File

@@ -101,9 +101,9 @@ const itemHelpers = {
Vue.prototype.$dissolveTeamFolder = function (folder) {
events.$emit('confirm:open', {
title: i18n.t('Are you sure you want to dissolve this team?'),
title: i18n.t('really_dissolve_team'),
message: i18n.t(
'All team members will lose access to your files and existing folder will be moved into your "Files" section.'
'really_dissolve_team_desc'
),
action: {
id: folder.data.id,
@@ -114,9 +114,9 @@ const itemHelpers = {
Vue.prototype.$detachMeFromTeamFolder = function (folder) {
events.$emit('confirm:open', {
title: i18n.t('Are you sure you want to leave this team folder?'),
title: i18n.t('really_leave_team'),
message: i18n.t(
"You will don't have access to the files and all your previously uploaded content will be part of this Team Folder you are leaving."
"really_leave_team_desc"
),
action: {
id: folder.data.id,