From cea18a44d5dab3a061d791acfc982a43f7623a07 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Mon, 21 May 2018 15:18:30 +0200 Subject: [PATCH] Rename sciNote -> SciNote (app/javascript folder) --- .../src/components/Navigation/index.jsx | 2 +- .../src/components/data_grid/index.jsx | 2 +- app/javascript/src/config/locales/messages.js | 28 +++++++++---------- .../components/NotificationsGroup.jsx | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/javascript/src/components/Navigation/index.jsx b/app/javascript/src/components/Navigation/index.jsx index be939c850..edeca8648 100644 --- a/app/javascript/src/components/Navigation/index.jsx +++ b/app/javascript/src/components/Navigation/index.jsx @@ -84,7 +84,7 @@ class Navigation extends Component { - + Logo diff --git a/app/javascript/src/components/data_grid/index.jsx b/app/javascript/src/components/data_grid/index.jsx index 0c1de4b98..0f8cf40e9 100644 --- a/app/javascript/src/components/data_grid/index.jsx +++ b/app/javascript/src/components/data_grid/index.jsx @@ -92,7 +92,7 @@ class DataGrid extends Component { } transformColumns() { - // Transform columns from the "sciNote" representation into + // Transform columns from the "SciNote" representation into // ReactDataGrid-compatible representation this._columns = this.props.columns diff --git a/app/javascript/src/config/locales/messages.js b/app/javascript/src/config/locales/messages.js index 315652a3e..bef33aaef 100644 --- a/app/javascript/src/config/locales/messages.js +++ b/app/javascript/src/config/locales/messages.js @@ -7,8 +7,8 @@ export default { edit: "Edit", loading: "Loading ...", upload: "Upload", - about_scinote: "About sciNote", - core_version: "sciNote core version", + about_scinote: "About SciNote", + core_version: "SciNote core version", addon_versions: "Addon versions", project: "Project", task: "Task" @@ -34,7 +34,7 @@ export default { } }, navbar: { - page_title: "sciNote", + page_title: "SciNote", home_label: "Home", protocols_label: "Protocols", repositories_label: "Repositories", @@ -45,7 +45,7 @@ export default { }, invite_users: { modal_title: "Invite users to team {team}", - input_text: "Invite more people to team {team} and start using sciNote.", + input_text: "Invite more people to team {team} and start using SciNote.", input_help: "Input one or multiple emails, confirm each email with ENTER key.", dropdown_button: { @@ -61,20 +61,20 @@ export default { admin: "Administrator" }, results_msg: { - user_exists: "User is already a member of sciNote.", + user_exists: "User is already a member of SciNote.", user_exists_unconfirmed: - "User is already a member of sciNote but is not confirmed yet.", + "User is already a member of SciNote but is not confirmed yet.", user_exists_and_in_team_unconfirmed: - "User is already a member of sciNote and team {team} as {role} but is not confirmed yet.", + "User is already a member of SciNote and team {team} as {role} but is not confirmed yet.", user_exists_invited_to_team_unconfirmed: - "User is already a member of sciNote but is not confirmed yet - successfully invited to team {team} as {role}.", + "User is already a member of SciNote but is not confirmed yet - successfully invited to team {team} as {role}.", user_exists_and_in_team: - "User is already a member of sciNote and team {team} as {role}.", + "User is already a member of SciNote and team {team} as {role}.", user_exists_invited_to_team: - "User was already a member of sciNote - successfully invited to team {team} as {role}.", - user_created: "User succesfully invited to sciNote.", + "User was already a member of SciNote - successfully invited to team {team} as {role}.", + user_created: "User succesfully invited to SciNote.", user_created_invited_to_team: - "User successfully invited to sciNote and team {team} as {role}.", + "User successfully invited to SciNote and team {team} as {role}.", user_invalid: "Invalid email.", too_many_emails: "Only invited first {nr} emails. To invite more users, fill in another invitation form." @@ -126,7 +126,7 @@ export default { system_message: "System message", system_message_msg: "System message notifications are specifically sent by site maintainers to notify all users about a system update.", - show_in_scinote: "Show in sciNote", + show_in_scinote: "Show in SciNote", notify_me_via_email: "Notify me via email", no: "No", yes: "Yes", @@ -210,7 +210,7 @@ export default { release_notes: "Release notes", premium: "Premium", contact_us: "Contact us", - about_scinote: "About sciNote" + about_scinote: "About SciNote" }, user_account_dropdown: { greeting: "Hi, {name}", diff --git a/app/javascript/src/scenes/SettingsPage/scenes/preferences/components/NotificationsGroup.jsx b/app/javascript/src/scenes/SettingsPage/scenes/preferences/components/NotificationsGroup.jsx index b7d92d4a0..da4029eaf 100644 --- a/app/javascript/src/scenes/SettingsPage/scenes/preferences/components/NotificationsGroup.jsx +++ b/app/javascript/src/scenes/SettingsPage/scenes/preferences/components/NotificationsGroup.jsx @@ -113,7 +113,7 @@ class NotificationsGroup extends Component { } } - // check if the in sciNote notification is disabled + // check if the in SciNote notification is disabled buttonGroupStatus() { return ( this.props.type !== SYSTEM_NOTIFICATION && !this.props.inAppNotification