mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-04-01 09:51:29 +08:00
Rename sciNote -> SciNote (app/javascript folder)
This commit is contained in:
parent
dac44acf2a
commit
cea18a44d5
4 changed files with 17 additions and 17 deletions
app/javascript/src
components
config/locales
scenes/SettingsPage/scenes/preferences/components
|
@ -84,7 +84,7 @@ class Navigation extends Component {
|
||||||
<StyledNavbar onSelect={this.selectItemCallback}>
|
<StyledNavbar onSelect={this.selectItemCallback}>
|
||||||
<Navbar.Header>
|
<Navbar.Header>
|
||||||
<Navbar.Brand>
|
<Navbar.Brand>
|
||||||
<StyledBrand href="/" title="sciNote">
|
<StyledBrand href="/" title="SciNote">
|
||||||
<img src="/images/logo.png" alt="Logo" />
|
<img src="/images/logo.png" alt="Logo" />
|
||||||
</StyledBrand>
|
</StyledBrand>
|
||||||
</Navbar.Brand>
|
</Navbar.Brand>
|
||||||
|
|
|
@ -92,7 +92,7 @@ class DataGrid extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
transformColumns() {
|
transformColumns() {
|
||||||
// Transform columns from the "sciNote" representation into
|
// Transform columns from the "SciNote" representation into
|
||||||
// ReactDataGrid-compatible representation
|
// ReactDataGrid-compatible representation
|
||||||
this._columns =
|
this._columns =
|
||||||
this.props.columns
|
this.props.columns
|
||||||
|
|
|
@ -7,8 +7,8 @@ export default {
|
||||||
edit: "Edit",
|
edit: "Edit",
|
||||||
loading: "Loading ...",
|
loading: "Loading ...",
|
||||||
upload: "Upload",
|
upload: "Upload",
|
||||||
about_scinote: "About sciNote",
|
about_scinote: "About SciNote",
|
||||||
core_version: "sciNote core version",
|
core_version: "SciNote core version",
|
||||||
addon_versions: "Addon versions",
|
addon_versions: "Addon versions",
|
||||||
project: "Project",
|
project: "Project",
|
||||||
task: "Task"
|
task: "Task"
|
||||||
|
@ -34,7 +34,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
page_title: "sciNote",
|
page_title: "SciNote",
|
||||||
home_label: "Home",
|
home_label: "Home",
|
||||||
protocols_label: "Protocols",
|
protocols_label: "Protocols",
|
||||||
repositories_label: "Repositories",
|
repositories_label: "Repositories",
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
||||||
},
|
},
|
||||||
invite_users: {
|
invite_users: {
|
||||||
modal_title: "Invite users to team {team}",
|
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_help:
|
||||||
"Input one or multiple emails, confirm each email with ENTER key.",
|
"Input one or multiple emails, confirm each email with ENTER key.",
|
||||||
dropdown_button: {
|
dropdown_button: {
|
||||||
|
@ -61,20 +61,20 @@ export default {
|
||||||
admin: "Administrator"
|
admin: "Administrator"
|
||||||
},
|
},
|
||||||
results_msg: {
|
results_msg: {
|
||||||
user_exists: "User is already a member of sciNote.",
|
user_exists: "User is already a member of SciNote.",
|
||||||
user_exists_unconfirmed:
|
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_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_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_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_exists_invited_to_team:
|
||||||
"User was already a member of sciNote - successfully invited to team {team} as {role}.",
|
"User was already a member of SciNote - successfully invited to team {team} as {role}.",
|
||||||
user_created: "User succesfully invited to sciNote.",
|
user_created: "User succesfully invited to SciNote.",
|
||||||
user_created_invited_to_team:
|
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.",
|
user_invalid: "Invalid email.",
|
||||||
too_many_emails:
|
too_many_emails:
|
||||||
"Only invited first {nr} emails. To invite more users, fill in another invitation form."
|
"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: "System message",
|
||||||
system_message_msg:
|
system_message_msg:
|
||||||
"System message notifications are specifically sent by site maintainers to notify all users about a system update.",
|
"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",
|
notify_me_via_email: "Notify me via email",
|
||||||
no: "No",
|
no: "No",
|
||||||
yes: "Yes",
|
yes: "Yes",
|
||||||
|
@ -210,7 +210,7 @@ export default {
|
||||||
release_notes: "Release notes",
|
release_notes: "Release notes",
|
||||||
premium: "Premium",
|
premium: "Premium",
|
||||||
contact_us: "Contact us",
|
contact_us: "Contact us",
|
||||||
about_scinote: "About sciNote"
|
about_scinote: "About SciNote"
|
||||||
},
|
},
|
||||||
user_account_dropdown: {
|
user_account_dropdown: {
|
||||||
greeting: "Hi, {name}",
|
greeting: "Hi, {name}",
|
||||||
|
|
|
@ -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() {
|
buttonGroupStatus() {
|
||||||
return (
|
return (
|
||||||
this.props.type !== SYSTEM_NOTIFICATION && !this.props.inAppNotification
|
this.props.type !== SYSTEM_NOTIFICATION && !this.props.inAppNotification
|
||||||
|
|
Loading…
Add table
Reference in a new issue