diff --git a/framework/core/js/forum/src/components/IndexPage.js b/framework/core/js/forum/src/components/IndexPage.js index ad03dff99..ff59a0664 100644 --- a/framework/core/js/forum/src/components/IndexPage.js +++ b/framework/core/js/forum/src/components/IndexPage.js @@ -147,7 +147,6 @@ export default class IndexPage extends Page { items.add('newDiscussion', Button.component({ - // Core Key Reorganization: Extracted the "Can't Start Discussion" string children: app.trans(canStartDiscussion ? 'core.index_start_discussion_button' : 'core.index_cannot_start_discussion_button'), icon: 'edit', className: 'Button Button--primary IndexPage-newDiscussion', @@ -202,7 +201,6 @@ export default class IndexPage extends Page { const sortOptions = {}; for (const i in app.cache.discussionList.sortMap()) { - // Core Key Reorganization: Adjusted syntax for new key names sortOptions[i] = app.trans('core.index_sort_' + i + '_button'); } diff --git a/framework/core/js/forum/src/components/LogInModal.js b/framework/core/js/forum/src/components/LogInModal.js index a2ee8bad4..c1a70b05f 100644 --- a/framework/core/js/forum/src/components/LogInModal.js +++ b/framework/core/js/forum/src/components/LogInModal.js @@ -77,7 +77,6 @@ export default class LogInModal extends Modal { {app.forum.attribute('allowSignUp') ? (
- // Core Key Reorganization: Moved hardcoded space into preceding string. {app.trans('core.log_in_no_account_text')} {app.trans('core.log_in_sign_up_link')}
diff --git a/framework/core/js/forum/src/components/SignUpModal.js b/framework/core/js/forum/src/components/SignUpModal.js index cd72fcf38..8b91fb73a 100644 --- a/framework/core/js/forum/src/components/SignUpModal.js +++ b/framework/core/js/forum/src/components/SignUpModal.js @@ -140,7 +140,6 @@ export default class SignUpModal extends Modal { footer() { return [- // Core Key Reorganization: Moved hardcoded space into preceding string. {app.trans('core.sign_up_already_have_account_text')} {app.trans('core.sign_up_log_in_link')}
diff --git a/framework/core/js/forum/src/utils/DiscussionControls.js b/framework/core/js/forum/src/utils/DiscussionControls.js index 20395e4fa..4cac667a9 100644 --- a/framework/core/js/forum/src/utils/DiscussionControls.js +++ b/framework/core/js/forum/src/utils/DiscussionControls.js @@ -55,7 +55,6 @@ export default { !app.session.user || discussion.canReply() ? Button.component({ icon: 'reply', - // Core Key Reorganization: Combined two app.trans calls into one using Toby's slightly slicker way. children: app.trans(app.session.user ? 'core.discussion_controls_reply_button' : 'core.discussion_controls_log_in_to_reply_button'), onclick: this.replyAction.bind(discussion, true, false) }) diff --git a/framework/core/js/lib/helpers/username.js b/framework/core/js/lib/helpers/username.js index 0bc3c4f0f..842392ee5 100644 --- a/framework/core/js/lib/helpers/username.js +++ b/framework/core/js/lib/helpers/username.js @@ -6,7 +6,6 @@ * @return {Object} */ export default function username(user) { - // Core Key Reorganization: Added core namespacing to the key. const name = (user && user.username()) || app.trans('core.deleted_username'); return {name};