summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-08-07 11:09:55 +0900
committerGitHub <noreply@github.com>2018-08-07 11:09:55 +0900
commit980ae3dcb37f9b8d9a2c4ecfcf8ded10388ba5e6 (patch)
treeb5e6d416e776cc51d9c87002ea580cb89fe5bb8c /src/client/app/common
parentMerge pull request #2109 from syuilo/l10n_master (diff)
parentLocalize mobile search.vue (diff)
downloadmisskey-980ae3dcb37f9b8d9a2c4ecfcf8ded10388ba5e6.tar.gz
misskey-980ae3dcb37f9b8d9a2c4ecfcf8ded10388ba5e6.tar.bz2
misskey-980ae3dcb37f9b8d9a2c4ecfcf8ded10388ba5e6.zip
Merge pull request #2114 from gutfuckllc/devel
Localized all hiragana lines.
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/scripts/compose-notification.ts2
-rw-r--r--src/client/app/common/views/components/messaging-room.form.vue4
-rw-r--r--src/client/app/common/views/components/messaging-room.vue2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/app/common/scripts/compose-notification.ts b/src/client/app/common/scripts/compose-notification.ts
index 4fb0610fd7..f42af94370 100644
--- a/src/client/app/common/scripts/compose-notification.ts
+++ b/src/client/app/common/scripts/compose-notification.ts
@@ -38,7 +38,7 @@ export default function(type, data): Notification {
switch (data.type) {
case 'mention':
return {
- title: '%i18n:common.notification.notified-by%'.split("{}")[0] + `${getUserName(data.user)}さんから:` + '%i18n:common.notification.notified-by%'.split("{}")[1],
+ title: '%i18n:common.notification.notified-by%'.split("{}")[0] + `${getUserName(data.user)}:` + '%i18n:common.notification.notified-by%'.split("{}")[1],
body: getNoteSummary(data),
icon: data.user.avatarUrl
};
diff --git a/src/client/app/common/views/components/messaging-room.form.vue b/src/client/app/common/views/components/messaging-room.form.vue
index b6ca902660..f183749fad 100644
--- a/src/client/app/common/views/components/messaging-room.form.vue
+++ b/src/client/app/common/views/components/messaging-room.form.vue
@@ -83,7 +83,7 @@ export default Vue.extend({
}
} else {
if (items[0].kind == 'file') {
- alert('メッセージに添付できるのはひとつのファイルのみです');
+ alert('%i18n:only-one-file-attached%');
}
}
},
@@ -105,7 +105,7 @@ export default Vue.extend({
return;
} else if (e.dataTransfer.files.length > 1) {
e.preventDefault();
- alert('メッセージに添付できるのはひとつのファイルのみです');
+ alert('%i18n:only-one-file-attached%');
return;
}
diff --git a/src/client/app/common/views/components/messaging-room.vue b/src/client/app/common/views/components/messaging-room.vue
index b2831d6928..e4cc30ded9 100644
--- a/src/client/app/common/views/components/messaging-room.vue
+++ b/src/client/app/common/views/components/messaging-room.vue
@@ -111,7 +111,7 @@ export default Vue.extend({
this.form.upload(e.dataTransfer.files[0]);
return;
} else if (e.dataTransfer.files.length > 1) {
- alert('メッセージに添付できるのはひとつのファイルのみです');
+ alert('%i18n:@only-one-file-attached%');
return;
}