summaryrefslogtreecommitdiff
path: root/src/client/components/drive.folder.vue
diff options
context:
space:
mode:
authorSatsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>2020-03-22 10:51:40 +0900
committerGitHub <noreply@github.com>2020-03-22 10:51:40 +0900
commit903e93ae01f3cf0dfbcb7bfb4b01167f5c03db25 (patch)
tree8abf048d54b14d66443ccd46e743e8e9b4828e36 /src/client/components/drive.folder.vue
parentUpdate ja-JP.yml (diff)
downloadsharkey-903e93ae01f3cf0dfbcb7bfb4b01167f5c03db25.tar.gz
sharkey-903e93ae01f3cf0dfbcb7bfb4b01167f5c03db25.tar.bz2
sharkey-903e93ae01f3cf0dfbcb7bfb4b01167f5c03db25.zip
i18n (#6171)
* i18n Resolve #6155 * i18n for drive * :v: * Extract doc Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Diffstat (limited to 'src/client/components/drive.folder.vue')
-rw-r--r--src/client/components/drive.folder.vue16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/client/components/drive.folder.vue b/src/client/components/drive.folder.vue
index 658aced3e8..2e861e2480 100644
--- a/src/client/components/drive.folder.vue
+++ b/src/client/components/drive.folder.vue
@@ -137,14 +137,14 @@ export default Vue.extend({
switch (err) {
case 'detected-circular-definition':
this.$root.dialog({
- title: this.$t('unable-to-process'),
- text: this.$t('circular-reference-detected')
+ title: this.$t('unableToProcess'),
+ text: this.$t('circularReferenceFolder')
});
break;
default:
this.$root.dialog({
type: 'error',
- text: this.$t('unhandled-error')
+ text: this.$t('error')
});
}
});
@@ -177,9 +177,9 @@ export default Vue.extend({
rename() {
this.$root.dialog({
- title: this.$t('contextmenu.rename-folder'),
+ title: this.$t('renameFolder'),
input: {
- placeholder: this.$t('contextmenu.input-new-folder-name'),
+ placeholder: this.$t('inputNewFolderName'),
default: this.folder.name
}
}).then(({ canceled, result: name }) => {
@@ -206,14 +206,14 @@ export default Vue.extend({
case 'b0fc8a17-963c-405d-bfbc-859a487295e1':
this.$root.dialog({
type: 'error',
- title: this.$t('unable-to-delete'),
- text: this.$t('has-child-files-or-folders')
+ title: this.$t('unableToDelete'),
+ text: this.$t('hasChildFilesOrFolders')
});
break;
default:
this.$root.dialog({
type: 'error',
- text: this.$t('unable-to-delete')
+ text: this.$t('unableToDelete')
});
}
});