Fix translation labels
This commit is contained in:
parent
10e8daa49d
commit
6c4e468ec6
|
@ -6,5 +6,5 @@ en:
|
|||
redmine_cas_settings_attributes_mapping_helptext: 'This is how the plugin maps extended attributes from the CAS server to the redmine model.<br /><code>attribute_name_in_redmine=attribute_name_in_cas_response</code><br />Separate entries with <code>&</code> (query-string).<br />Example: <code>firstname=first_name&lastname=last_name&mail=email</code><br />Valid attribute names: <code>%{attribute_names}</code>'
|
||||
redmine_cas_settings_autocreate_users_label: 'Auto-create users'
|
||||
redmine_cas_settings_autocreate_users_helptext: 'Automatically create a redmine user if it is successfully authenticated.<br />Will only work if you specify firstname, lastname and mail in the attributes mapping setting above.'
|
||||
rbcas_cas_user_not_found: '"%{user}" was authenticated but needs to be created in Redmine first.'
|
||||
rbcas_cas_user_not_created: '"%{user}" was authenticated but could not be created automatically in Redmine. It must be added manually.'
|
||||
redmine_cas_user_not_found: '"%{user}" was authenticated but needs to be created in Redmine first.'
|
||||
redmine_cas_user_not_created: '"%{user}" was authenticated but could not be created automatically in Redmine. It must be added manually.'
|
||||
|
|
|
@ -59,11 +59,11 @@ module RedmineCAS
|
|||
end
|
||||
|
||||
def cas_user_not_found
|
||||
render_403 :message => l(:rbcas_cas_user_not_found, :user => session[:cas_user])
|
||||
render_403 :message => l(:redmine_cas_user_not_found, :user => session[:cas_user])
|
||||
end
|
||||
|
||||
def cas_user_not_created
|
||||
render_403 :message => l(:rbcas_cas_user_not_created, :user => session[:cas_user])
|
||||
render_403 :message => l(:redmine_cas_user_not_created, :user => session[:cas_user])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Reference in New Issue