diff --git a/js/forum/src/components/ForgotPasswordModal.js b/js/forum/src/components/ForgotPasswordModal.js
index 9c98bc413..e080d3965 100644
--- a/js/forum/src/components/ForgotPasswordModal.js
+++ b/js/forum/src/components/ForgotPasswordModal.js
@@ -35,7 +35,7 @@ export default class ForgotPasswordModal extends Modal {
}
title() {
- return app.trans('core.forgot_password_title');
+ return app.trans('core.forum.forgot_password_title');
}
content() {
@@ -43,10 +43,10 @@ export default class ForgotPasswordModal extends Modal {
return (
-
{app.trans('core.forgot_password_email_sent_message')}
+
{app.trans('core.forum.forgot_password_email_sent_message')}
@@ -57,9 +57,9 @@ export default class ForgotPasswordModal extends Modal {
return (
-
{app.trans('core.forgot_password_text')}
+
{app.trans('core.forum.forgot_password_text')}
-
@@ -69,7 +69,7 @@ export default class ForgotPasswordModal extends Modal {
className: 'Button Button--primary Button--block',
type: 'submit',
loading: this.loading,
- children: app.trans('core.forgot_password_submit_button')
+ children: app.trans('core.forum.forgot_password_submit_button')
})}
diff --git a/js/forum/src/components/HeaderSecondary.js b/js/forum/src/components/HeaderSecondary.js
index 338fcc701..2561f4a48 100644
--- a/js/forum/src/components/HeaderSecondary.js
+++ b/js/forum/src/components/HeaderSecondary.js
@@ -64,7 +64,7 @@ export default class HeaderSecondary extends Component {
if (app.forum.attribute('allowSignUp')) {
items.add('signUp',
Button.component({
- children: app.trans('core.header_sign_up_link'),
+ children: app.trans('core.forum.header_sign_up_link'),
className: 'Button Button--link',
onclick: () => app.modal.show(new SignUpModal())
}), 10
@@ -73,7 +73,7 @@ export default class HeaderSecondary extends Component {
items.add('logIn',
Button.component({
- children: app.trans('core.header_log_in_link'),
+ children: app.trans('core.forum.header_log_in_link'),
className: 'Button Button--link',
onclick: () => app.modal.show(new LogInModal())
}), 0
diff --git a/js/forum/src/components/IndexPage.js b/js/forum/src/components/IndexPage.js
index ff59a0664..a84aff7e7 100644
--- a/js/forum/src/components/IndexPage.js
+++ b/js/forum/src/components/IndexPage.js
@@ -147,7 +147,7 @@ export default class IndexPage extends Page {
items.add('newDiscussion',
Button.component({
- children: app.trans(canStartDiscussion ? 'core.index_start_discussion_button' : 'core.index_cannot_start_discussion_button'),
+ children: app.trans(canStartDiscussion ? 'core.forum.index_start_discussion_button' : 'core.forum.index_cannot_start_discussion_button'),
icon: 'edit',
className: 'Button Button--primary IndexPage-newDiscussion',
itemClassName: 'App-primaryControl',
@@ -180,7 +180,7 @@ export default class IndexPage extends Page {
items.add('allDiscussions',
LinkButton.component({
href: app.route('index', params),
- children: app.trans('core.index_all_discussions_link'),
+ children: app.trans('core.forum.index_all_discussions_link'),
icon: 'comments-o'
}),
100
@@ -201,7 +201,7 @@ export default class IndexPage extends Page {
const sortOptions = {};
for (const i in app.cache.discussionList.sortMap()) {
- sortOptions[i] = app.trans('core.index_sort_' + i + '_button');
+ sortOptions[i] = app.trans('core.forum.index_sort_' + i + '_button');
}
items.add('sort',
@@ -226,7 +226,7 @@ export default class IndexPage extends Page {
items.add('refresh',
Button.component({
- title: app.trans('core.index_refresh_tooltip'),
+ title: app.trans('core.forum.index_refresh_tooltip'),
icon: 'refresh',
className: 'Button Button--icon',
onclick: () => app.cache.discussionList.refresh()
@@ -236,7 +236,7 @@ export default class IndexPage extends Page {
if (app.session.user) {
items.add('markAllAsRead',
Button.component({
- title: app.trans('core.index_mark_all_as_read_tooltip'),
+ title: app.trans('core.forum.index_mark_all_as_read_tooltip'),
icon: 'check',
className: 'Button Button--icon',
onclick: this.markAllAsRead.bind(this)
diff --git a/js/forum/src/components/LogInModal.js b/js/forum/src/components/LogInModal.js
index 2878f9a50..a1bac124c 100644
--- a/js/forum/src/components/LogInModal.js
+++ b/js/forum/src/components/LogInModal.js
@@ -38,7 +38,7 @@ export default class LogInModal extends Modal {
}
title() {
- return app.trans('core.log_in_title');
+ return app.trans('core.forum.log_in_title');
}
content() {
@@ -48,14 +48,14 @@ export default class LogInModal extends Modal {
,
@@ -132,12 +132,12 @@ export default class LogInModal extends Modal {
if (response && response.code === 'confirm_email') {
this.alert = Alert.component({
- children: app.trans('core.log_in_confirmation_required_message', {email: response.email})
+ children: app.trans('core.forum.log_in_confirmation_required_message', {email: response.email})
});
} else {
this.alert = Alert.component({
type: 'error',
- children: app.trans('core.log_in_invalid_login_message')
+ children: app.trans('core.forum.log_in_invalid_login_message')
});
}
diff --git a/js/forum/src/components/NotificationGrid.js b/js/forum/src/components/NotificationGrid.js
index 59e41d897..2806fb99e 100644
--- a/js/forum/src/components/NotificationGrid.js
+++ b/js/forum/src/components/NotificationGrid.js
@@ -21,8 +21,8 @@ export default class NotificationGrid extends Component {
* @type {Array}
*/
this.methods = [
- {name: 'alert', icon: 'bell', label: app.trans('core.settings_notify_by_web_heading')},
- {name: 'email', icon: 'envelope-o', label: app.trans('core.settings_notify_by_email_heading')}
+ {name: 'alert', icon: 'bell', label: app.trans('core.forum.settings_notify_by_web_heading')},
+ {name: 'email', icon: 'envelope-o', label: app.trans('core.forum.settings_notify_by_email_heading')}
];
/**
@@ -182,7 +182,7 @@ export default class NotificationGrid extends Component {
items.add('discussionRenamed', {
name: 'discussionRenamed',
icon: 'pencil',
- label: app.trans('core.settings_notify_discussion_renamed_label')
+ label: app.trans('core.forum.settings_notify_discussion_renamed_label')
});
return items;
diff --git a/js/forum/src/components/NotificationList.js b/js/forum/src/components/NotificationList.js
index 8ba947458..7f6f7a410 100644
--- a/js/forum/src/components/NotificationList.js
+++ b/js/forum/src/components/NotificationList.js
@@ -59,12 +59,12 @@ export default class NotificationList extends Component {
{Button.component({
className: 'Button Button--icon Button--link',
icon: 'check',
- title: app.trans('core.notifications_mark_all_as_read_tooltip'),
+ title: app.trans('core.forum.notifications_mark_all_as_read_tooltip'),
onclick: this.markAllAsRead.bind(this)
})}
-