diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index ac2893f..47e41d4 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -3,7 +3,8 @@
<%= t('screencast_text') %>
diff --git a/config/branding.yml b/config/branding.yml new file mode 100644 index 0000000..16af585 --- /dev/null +++ b/config/branding.yml @@ -0,0 +1,7 @@ +organisation: + full_name: 'University of California Curation Center' + abbreviation: 'UC3' + url: 'http://www.cdlib.org/uc3/' + +application: + name: 'DMPTool' diff --git a/config/environment/development.rb b/config/environment/development.rb deleted file mode 100644 index 3a37dff..0000000 --- a/config/environment/development.rb +++ /dev/null @@ -1,59 +0,0 @@ -Rails.application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # In the development environment your application's code is reloaded on - # every request. This slows down response time but is perfect for development - # since you don't have to restart the web server when you make code changes. - config.cache_classes = false - - # Do not eager load code on boot. - config.eager_load = true - - # Log error messages when you accidentally call methods on nil. - config.whiny_nils = true - - # Show full error reports and disable caching - config.consider_all_requests_local = true - config.action_controller.perform_caching = false - - # Don't care if the mailer can't send - config.action_mailer.raise_delivery_errors = false - - # Print deprecation notices to the Rails logger - config.active_support.deprecation = :log - - # Only use best-standards-support built into browsers - config.action_dispatch.best_standards_support = :builtin - - # Raise exception on mass assignment protection for Active Record models - config.active_record.mass_assignment_sanitizer = :strict - - # Raise an error on page load if there are pending migrations. - config.active_record.migration_error = :page_load - - # Debug mode disables concatenation and preprocessing of assets. - # This option may cause significant delays in view rendering with a large - # number of complex assets. - config.assets.debug = true - - config.assets.compress = false - - # Asset digests allow you to set far-future HTTP expiration dates on all assets, - # yet still be able to expire them through the digest params. - config.assets.digest = true - - # Adds additional error checking when serving assets at runtime. - # Checks for improperly declared sprockets dependencies. - # Raises helpful error messages. - config.assets.raise_runtime_errors = true - - # Raises error for missing translations - # config.action_view.raise_on_missing_translations = true - # - config.action_mailer.perform_deliveries = false - - config.web_console.whitelisted_ips = '192.168.33.1' -end - -BetterErrors::Midleware.allow_ip! "10.0.2.2" if defined?(BetterErrors) && Rails.env == :development - diff --git a/config/initializers/branding.rb b/config/initializers/branding.rb new file mode 100644 index 0000000..4274f77 --- /dev/null +++ b/config/initializers/branding.rb @@ -0,0 +1,3 @@ +Rails.application.configure do + config.app_config = config_for(:branding) +end diff --git a/config/locales/bootstrap/en-UK.bootstrap.yml b/config/locales/bootstrap/en-UK.bootstrap.yml index 664de2b..a2f4e3f 100644 --- a/config/locales/bootstrap/en-UK.bootstrap.yml +++ b/config/locales/bootstrap/en-UK.bootstrap.yml @@ -1,7 +1,7 @@ # Sample localization file for English. Add more files in this directory for other locales. # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. -en: +en-UK: helpers: actions: "Actions" links: diff --git a/config/locales/bootstrap/en-US.bootstrap.yml b/config/locales/bootstrap/en-US.bootstrap.yml index 664de2b..4d377ce 100644 --- a/config/locales/bootstrap/en-US.bootstrap.yml +++ b/config/locales/bootstrap/en-US.bootstrap.yml @@ -1,7 +1,7 @@ # Sample localization file for English. Add more files in this directory for other locales. # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. -en: +en-US: helpers: actions: "Actions" links: diff --git a/config/locales/contact_us/contact_us.en-UK.yml b/config/locales/contact_us/contact_us.en-UK.yml index c237d3b..045a445 100644 --- a/config/locales/contact_us/contact_us.en-UK.yml +++ b/config/locales/contact_us/contact_us.en-UK.yml @@ -1,7 +1,7 @@ # Sample localization file for English. Add more files in this directory for other locales. # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. -en: +en-UK: contact_us: contact_mailer: contact_email: diff --git a/config/locales/contact_us/contact_us.en-US.yml b/config/locales/contact_us/contact_us.en-US.yml index 82d8bb5..33f5573 100644 --- a/config/locales/contact_us/contact_us.en-US.yml +++ b/config/locales/contact_us/contact_us.en-US.yml @@ -1,7 +1,7 @@ # Sample localization file for English. Add more files in this directory for other locales. # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. -en: +en-US: contact_us: contact_mailer: contact_email: diff --git a/config/locales/devise/devise_invitable.en-UK.yml b/config/locales/devise/devise_invitable.en-UK.yml index 7d52710..e268eb1 100644 --- a/config/locales/devise/devise_invitable.en-UK.yml +++ b/config/locales/devise/devise_invitable.en-UK.yml @@ -1,4 +1,4 @@ -en: +en-UK: devise: invitations: send_instructions: 'An invitation email has been sent to %{email}.' diff --git a/config/locales/devise/devise_invitable.en-US.yml b/config/locales/devise/devise_invitable.en-US.yml index 7d52710..117862f 100644 --- a/config/locales/devise/devise_invitable.en-US.yml +++ b/config/locales/devise/devise_invitable.en-US.yml @@ -1,4 +1,4 @@ -en: +en-US: devise: invitations: send_instructions: 'An invitation email has been sent to %{email}.' diff --git a/config/locales/en-US.yml b/config/locales/en-US.yml index 2b87436..2df2c9d 100644 --- a/config/locales/en-US.yml +++ b/config/locales/en-US.yml @@ -2,14 +2,14 @@ # [+Description:+] This file contains all the text present on DMPonline that is not being retrieve from the database. # [+Copyright:+] Digital Curation Centre -en-UK: +en-US: date: formats: # Use the strftime parameters for formats. # When no format has been given, it uses default. # You can provide other formats here if you like! - default: "%d-%m-%Y" - short: "%d/%m/%Y" + default: "%m-%d-%Y" + short: "%m/%d/%Y" long: "%d %B, %Y" day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] @@ -26,30 +26,30 @@ time: formats: - default: "%a, %d %b %Y %H:%M:%S %z" + default: "%a, %b %d %Y %H:%M:%S %z" short: "%d %b %H:%M" - custom: "%d/%m/%Y %H:%M" + custom: "%m/%d/%Y %H:%M" long: "%B %d, %Y %H:%M" am: "am" pm: "pm" - tool_title: "DMPonline" + tool_title: "%{application_name}" tool_title2: "DMP title" - dmponline3_text: "DMPonline previous version" + dmponline3_text: "%{application_name} previous version" dcc_name: "Digital Curation Centre" welcome_title: "Welcome." - welcome_text: "DMPonline has been developed by the Digital Curation Centre to help you write data management plans.
" - screencast_text: "Screencast on how to use DMPonline" + welcome_text: "%{application_name} has been developed by the Digital Curation Centre to help you write data management plans.
" + screencast_text: "Screencast on how to use %{application_name}" screencast_error_text: "Your browser does not support the video tag." admin: - org_title: "Organisation name" - org: "Organisation" - orgs: "Organisations" - org_type: "Organisation type" + org_title: "Organization name" + org: "Organization" + orgs: "Organizations" + org_type: "Organization type" org_parent: "Parent organisation" - org_created_message: "Organisation was successfully created." - org_updated_message: "Organisation was successfully updated." + org_created_message: "Organization was successfully created." + org_updated_message: "Organization was successfully updated." plans: "Plans" title: "Title" desc: "Description" @@ -74,7 +74,7 @@ surname: "Surname" user: "User" user_created: 'User was successfully created.' - user_org_role: "User role on an Organisation" + user_org_role: "User role on an Organization" user_role_type: "User role type" user_role_type_created: 'User role type was successfully created.' user_role_type_updated: 'User role type was successfully updated.' @@ -109,7 +109,7 @@ token_permission_type: "Token Permission Type" permission_description: "Permission Description" token_permission: "Token Permission" - org_token_permission: "Organisation Token Permission" + org_token_permission: "Organization Token Permission" # choose_api_permissions: "Choose all API Permissions that apply." @@ -131,7 +131,7 @@ admin_details: "Admin Details" template_label: "Templates" user_list_label: "Users" - org_details_label: "Organisation details" + org_details_label: "Organization details" org_text: "These are the basic details for your organisation." org_abbr_help_text_html: "This is what displays as a label on your guidance, e.g. 'Glasgow guidance on Metadata'. It's best to use an abbreviation or short name." users_list: "List of users" @@ -145,7 +145,7 @@ org_desc: "Description" org_banner_text: "Top banner text" org_target_url: "Website" - org_type: "Organisation type" + org_type: "Organization type" parent_org: "Main organisation" last_updated: "Last updated" desc_help_text_html: "You are about to unlink DMPonline of your institutional credentials, would you like to continue?
" + shibboleth_unlink_dialog_text: "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
" select_phase: "Select a phase" select_version: "Select a version" @@ -498,8 +498,8 @@ funder: "Funder" institution: "Institution" project: "Project" - organisation: "Organisation" - org_name: "Organisation name" + organisation: "Organization" + org_name: "Organization name" school: "School" publisher: "Publisher" other_guidance: "Other guidance" @@ -561,7 +561,7 @@ share: tab_share: "Share" shared_label: "Shared?" - share_text_html: "You can give other people access to your plan here. There are three permission levels.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with DMPonline if they don't already have an account. A notification is also issued when a user's permission level is changed.
" + share_text_html: "You can give other people access to your plan here. There are three permission levels.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
" collaborators: "Collaborators" add_collaborator: "Add collaborator" add: "Add" @@ -617,7 +617,7 @@ export: pdf: question_not_answered: "Question not answered." - generated_by: "This document was generated by DMPonline (http://dmponline.dcc.ac.uk)" + generated_by: "This document was generated by %{application_name} (http://dmponline.dcc.ac.uk)" space_used: "approx. %{space_used}% of available space used (max %{num_pages} pages)" space_used_without_max: "approx. %{space_used}% of available space used" project_name: "Project Name" @@ -670,11 +670,11 @@ no_access_account: "This account does not have access to that plan." about_page: - title: "About DMPonline" + title: "About %{application_name}" tab_1: "Background" tab_2: "Latest news" - body_text_tab_1_html: "Funding bodies increasingly require their grant-holders to produce Data Management Plans(DMP), both during the bid-preparation stage and after funding has been secured. DMPonline has been produced by the UK's Digital Curation Centre to help research teams respond to this requirement, and any expectations that their institution or others may apply.
+ body_text_tab_1_html: "Funding bodies increasingly require their grant-holders to produce Data Management Plans(DMP), both during the bid-preparation stage and after funding has been secured. %{application_name} has been produced by the UK's Digital Curation Centre to help research teams respond to this requirement, and any expectations that their institution or others may apply.
The DCC has worked closely with research funders and universities to produce a tool that assists researchers to produce an effective data management plan (DMP) to cater for the whole lifecycle of a project, from bid-preparation stage through to completion.
If you have an account please sign in and start creating or editing your DMP.
-If you do not have a DMPonline account, click on 'Sign up' on the homepage.
+If you do not have a %{application_name} account, click on 'Sign up' on the homepage.
Please visit the 'Help' page for guidance.
We are constantly improving the user interface and functionality of DMPonline. +
We are constantly improving the user interface and functionality of %{application_name}. If you would like to contribute with feedback and suggestions, please contact us by emailing - dmponline@dcc.ac.uk. You can also report bugs and request new features directly on GitHub
-If you need to access plans from the earlier version of the tool please visit DMPonline v3.
" + dmponline@dcc.ac.uk. You can also report bugs and request new features directly on GitHub +If you need to access plans from the earlier version of the tool please visit %{application_name} v3.
" - body_text_tab_2_html: "DMPonline stories from the DCC website
" + body_text_tab_2_html: "%{application_name} stories from the DCC website
" help_page: title: "Help" - tab_1: "On DMPonline" + tab_1: "On %{application_name}" tab_2: "On data management planning" body_text_tab_2_html: "When you login to DMPonline you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
+ body_text_tab_1_html: "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to DMPonline you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
+From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
If you need to access plans from the earlier version of the tool please visit DMPonline v3.
" +If you need to access plans from the earlier version of the tool please visit %{application_name} v3.
" contact_page: title: "Contact us" - intro_text_html: "DMPonline is provided by the Digital Curation Centre. You can find out more about us on our website. If you would like to contact us about DMPonline, please enter your query in the form below or email dmponline@dcc.ac.uk.
" - github_text_html: "If you have a feature request or think you have found a bug, please check out the list of issues on GitHub. If your issue isn't listed there, please add it; if it is, please add a comment if you have more information or just to let us know how important it is to you. This will help us to help us prioritise future developments.
" + intro_text_html: "%{application_name} is provided by the Digital Curation Centre. You can find out more about us on our website. If you would like to contact us about %{application_name}, please enter your query in the form below or email dmponline@dcc.ac.uk.
" + github_text_html: "If you have a feature request or think you have found a bug, please check out the list of issues on GitHub. If your issue isn't listed there, please add it; if it is, please add a comment if you have more information or just to let us know how important it is to you. This will help us to help us prioritise future developments.
" address_text_html: "Tel. +44 (0) 131 651 1239
-Email dmponline@dcc.ac.uk
" +Email dmponline@dcc.ac.uk
" roadmap_page: title: "Future plans" @@ -815,24 +815,24 @@ tab_2: "Get involved" body_text_tab_1_html: "The DCC is collaborating with the DMPTool team to develop a joint codebase for Data Management Planning called DMP Roadmap. Both of our tools will be delivered using this in the future. We've agreed what features need to be included and are planning a few sprints to deliver these. The initial release will include all of the main priorities we already had flagged, including:
DMPonline has an active and growing user base, and we are grateful to the members who suggest ideas for new and improved features. If you would like to help shape our future plans, please join the user group. More information on how you can engage with us is available under the 'Get involved' tab.
+%{application_name} has an active and growing user base, and we are grateful to the members who suggest ideas for new and improved features. If you would like to help shape our future plans, please join the user group. More information on how you can engage with us is available under the 'Get involved' tab.
The current version of DMPonline is 4.2. This was released in August 2015 and included Institutional branding, optional guidance for funders, improvements to the question area, improvements to the admin interface, GitHub pull requests, new seed file, and an update of the gemfile.
+The current version of %{application_name} is 4.2. This was released in August 2015 and included Institutional branding, optional guidance for funders, improvements to the question area, improvements to the admin interface, GitHub pull requests, new seed file, and an update of the gemfile.
The code is available on GitHub
The previous version of DMPonline is 4.1. This was released in May 2015 and included a comment feature, improved guidance on signing in with institutional credentials, enhanced deployment guidance and proposed methods for internationalisation. Full details can be found in the release note and associated documents.
+The previous version of %{application_name} is 4.1. This was released in May 2015 and included a comment feature, improved guidance on signing in with institutional credentials, enhanced deployment guidance and proposed methods for internationalisation. Full details can be found in the release note and associated documents.
DMPonline is developed and maintained by the UK Digital Curation Centre. We’re a small team, and are happy to collaborate with others. There are various ways you can get involved:
+ body_text_tab_2_html: "%{application_name} is developed and maintained by the UK Digital Curation Centre. We’re a small team, and are happy to collaborate with others. There are various ways you can get involved:
We run a listserv for the DMPonline user group that you can request to join. We also host periodic meetings to consult on our plans. Being part of the user group gives you the opportunity to be informed about future developments and to provide feedback to help shape our plans.
+We run a listserv for the %{application_name} user group that you can request to join. We also host periodic meetings to consult on our plans. Being part of the user group gives you the opportunity to be informed about future developments and to provide feedback to help shape our plans.
Our user group sessions are usually focused around a certain topic (e.g. fleshing out use cases for an API) so invites are sent based on your areas of expertise. It is helpful for us to know your role and interests to invite relevant people to each session. Please introduce yourself on the list and share your ideas.
Notes from previous user group sessions are provided below:
Please let us know your interests and share your ideas for future developments via the mailing list so the community as a whole can feedback on them.
-DMPonline can be customised by institutions and disciplines. You can add templates for users in your organisation and tailored guidance that explains local support and services. Example answers can also be offered to help users understand what to write in a Data Management Plan. To do this you’ll need to request admin access, so please email us on dmponline@dcc.ac.uk.
-Futher guidance on customising DMPonline is available on the DCC website.
+%{application_name} can be customised by institutions and disciplines. You can add templates for users in your organisation and tailored guidance that explains local support and services. Example answers can also be offered to help users understand what to write in a Data Management Plan. To do this you’ll need to request admin access, so please email us on dmponline@dcc.ac.uk.
+Futher guidance on customising %{application_name} is available on the DCC website.
DMPonline is a Ruby on Rails application. The source code is made available under a GNU Affero General Public License. This permits others to reuse the code freely, but obligates you to share the source code for any extensions in the same way. Please inform us if you install an instance of DMPonline and offer your contributions back to the community.
-If you install an instance of DMPonline we require that you credit the DCC as originators of the tool. We recommend that the acknowledgement takes the form of the DMPonline logo with a link back to the DCC-hosted version of the tool.
+%{application_name} is a Ruby on Rails application. The source code is made available under a GNU Affero General Public License. This permits others to reuse the code freely, but obligates you to share the source code for any extensions in the same way. Please inform us if you install an instance of %{application_name} and offer your contributions back to the community.
+If you install an instance of %{application_name} we require that you credit the DCC as originators of the tool. We recommend that the acknowledgement takes the form of the %{application_name} logo with a link back to the DCC-hosted version of the tool.
We are willing to work with external developers to add new features to the tool. We are also open to delivering new features on a chargeable basis. If there are extensions you would like to see prioritised and have resource to support additional developer effort, please contact us on dmponline@dcc.ac.uk to negotiate terms.
We are impressed by the uptake of DMPonline both in the UK and internationally and are really keen to hear how you are using the tool and promoting it in your context. We are aware that others have run training courses, developed guidance materials and advocated use of the tool. Please notify us of this as it helps to show impact.
-We are currently investigating options for revenue generation. This will help us serve the increased demand more effectively and safeguard the long-term sustainability of DMPonline. Plans will be released for consultation soon but we also welcome your suggestions on how best to support our work.
" +We are impressed by the uptake of %{application_name} both in the UK and internationally and are really keen to hear how you are using the tool and promoting it in your context. We are aware that others have run training courses, developed guidance materials and advocated use of the tool. Please notify us of this as it helps to show impact.
+We are currently investigating options for revenue generation. This will help us serve the increased demand more effectively and safeguard the long-term sustainability of %{application_name}. Plans will be released for consultation soon but we also welcome your suggestions on how best to support our work.
" terms_page: title: "Terms of use" body_text_html: "The Digital Curation Centre ('DCC') is a consortium supported by Jisc and based at the Universities of Edinburgh, Glasgow and Bath. Our primary constituency is the UK research community, particularly the higher and further education sector.
DMPonline ('the tool', 'the system') is a tool developed by the DCC as a shared resource for the research community. It is hosted at the University of Edinburgh.
+%{application_name} ('the tool', 'the system') is a tool developed by the DCC as a shared resource for the research community. It is hosted at the University of Edinburgh.
In order to help identify and administer your account with DMPonline, we need to store your email address. We may also use it to contact you to obtain feedback on your use of the tool, or to inform you of the latest developments or releases. The information may be transferred between the DCC partner institutions but only for legitimate DCC purposes. We will not sell, rent or trade any personal information you provide to us.
+In order to help identify and administer your account with %{application_name}, we need to store your email address. We may also use it to contact you to obtain feedback on your use of the tool, or to inform you of the latest developments or releases. The information may be transferred between the DCC partner institutions but only for legitimate DCC purposes. We will not sell, rent or trade any personal information you provide to us.
Please note that DMPonline uses Cookies. Further information about Cookies and how we use them is available on the main DCC website.
+Please note that %{application_name} uses Cookies. Further information about Cookies and how we use them is available on the main DCC website.