diff --git a/locales/ja.yml b/locales/ja.yml
index ed0ad4f3f..ecde1bb6a 100644
--- a/locales/ja.yml
+++ b/locales/ja.yml
@@ -28,7 +28,6 @@ common:
notified-by: "{}さんから"
reply-from: "{}さんから返信:"
quoted-by: "{}さんが引用:"
- name: "Misskey"
time:
unknown: "なぞのじかん"
future: "未来"
@@ -40,6 +39,7 @@ common:
weeks_ago: "{}週間前"
months_ago: "{}ヶ月前"
years_ago: "{}年前"
+ month-and-day: "{month}月 {day}日"
trash: "ゴミ箱"
@@ -1353,6 +1353,6 @@ docs:
type: "型"
description: "説明"
-
+
dev/views/index.vue:
- manage-apps: "アプリの管理"
\ No newline at end of file
+ manage-apps: "アプリの管理"
diff --git a/src/client/app/auth/script.ts b/src/client/app/auth/script.ts
index bdfdf70be..64ab6536d 100644
--- a/src/client/app/auth/script.ts
+++ b/src/client/app/auth/script.ts
@@ -8,14 +8,14 @@ import VueRouter from 'vue-router';
import './style.styl';
import init from '../init';
-
import Index from './views/index.vue';
+import * as config from '../config';
/**
* init
*/
init(launch => {
- document.title = '%i18n:common.name% | %i18n:common.application-authorization%';
+ document.title = `${config.name} | %i18n:common.application-authorization%`;
// Init router
const router = new VueRouter({
diff --git a/src/client/app/common/views/components/messaging-room.vue b/src/client/app/common/views/components/messaging-room.vue
index e4cc30ded..30143b4f1 100644
--- a/src/client/app/common/views/components/messaging-room.vue
+++ b/src/client/app/common/views/components/messaging-room.vue
@@ -61,7 +61,7 @@ export default Vue.extend({
const date = new Date(message.createdAt).getDate();
const month = new Date(message.createdAt).getMonth() + 1;
message._date = date;
- message._datetext = `${month}月 ${date}日`;
+ message._datetext = '%i18n:common.month-and-day%'.replace('{month}', month.toString()).replace('{day}', date.toString());
return message;
});
},
diff --git a/src/client/app/common/views/pages/follow.vue b/src/client/app/common/views/pages/follow.vue
index e1b5b1f12..13d855d20 100644
--- a/src/client/app/common/views/pages/follow.vue
+++ b/src/client/app/common/views/pages/follow.vue
@@ -71,7 +71,6 @@ export default Vue.extend({
this.user = user;
this.fetching = false;
Progress.done();
- document.title = getUserName(this.user) + ' | %i18n:common.name%';
});
},
diff --git a/src/client/app/desktop/views/components/notes.vue b/src/client/app/desktop/views/components/notes.vue
index 0ec2f16db..02167ef85 100644
--- a/src/client/app/desktop/views/components/notes.vue
+++ b/src/client/app/desktop/views/components/notes.vue
@@ -33,7 +33,7 @@
diff --git a/src/client/app/desktop/views/pages/home.vue b/src/client/app/desktop/views/pages/home.vue
index 0c42e42bd..3d3c24bfa 100644
--- a/src/client/app/desktop/views/pages/home.vue
+++ b/src/client/app/desktop/views/pages/home.vue
@@ -7,6 +7,7 @@