fix failing tests

This commit is contained in:
Reinier Balt 2010-11-09 10:47:09 +01:00
parent fd3f69d927
commit 6b36d6eb8f
8 changed files with 17 additions and 11 deletions

View file

@ -61,6 +61,10 @@ Rails::Initializer.run do |config|
# to enable "link":onenote://... or "link":blah://... hyperlinks
config.action_view.sanitized_allowed_protocols = 'onenote', 'message'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
# See Rails::Configuration for more options
if ( SITE_CONFIG['authentication_schemes'].include? 'cas')
#requires rubycas-client gem to be installed

View file

@ -170,7 +170,7 @@ en:
note_header: "Note {{id}}"
note_link_title: "Show note {{id}}"
delete_note_title: "Delete this note"
delete_confirmation: "Are you sure that you want to delete the note \'{{id}}\'?"
delete_confirmation: "Are you sure that you want to delete the note '{{id}}'?"
edit_item_title: "Edit item"
show_note_title: "Show note"
deleted_note: "Deleted note '{{id}}'"
@ -270,7 +270,7 @@ en:
month_avg_created: "{{months}} Month Avg Created"
month_avg_completed: "{{months}} Month Avg Completed"
click_to_update_actions: "Click on a bar in the chart to update the actions below."
click_to_return: "Click {{here}} to return to the statistics page."
click_to_return: "Click {{link}} to return to the statistics page."
click_to_return_link: "here"
click_to_show_actions_from_week: "Click {{link}} to show the actions from week {{week}} and further."
running_time_all: "Current running time of all incomplete actions"
@ -431,7 +431,7 @@ en:
total_projects: "Total projects"
total_notes: "Total notes"
destroy_user: "Destroy user"
destroy_confirmation: "Warning: this will delete user \'{{login}}\', all their actions, contexts, project and notes. Are you sure that you want to continue?"
destroy_confirmation: "Warning: this will delete user '{{login}}', all their actions, contexts, project and notes. Are you sure that you want to continue?"
signup_new_user: "Signup new user"
manage_users: "Manage users"
total_users_count: "You have a total of {{count}} users"
@ -442,4 +442,4 @@ en:
confirm_password: "Confirm password"
signup: "Signup"
errors:
user_unauthorized: "Only administrative users are allowed access to this function."
user_unauthorized: "401 Unauthorized: Only administrative users are allowed access to this function."