From 532c9cc55b4c8e957a6c90e8b1ccc74b02995fff Mon Sep 17 00:00:00 2001 From: elm Date: Mon, 12 Dec 2011 16:46:55 +0100 Subject: [PATCH] Use consistent naming to fix translation in error message --- app/views/ldap_auth_sources/_form.rhtml | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/ldap_auth_sources/_form.rhtml b/app/views/ldap_auth_sources/_form.rhtml index ef0fd5b1..8699a2cd 100644 --- a/app/views/ldap_auth_sources/_form.rhtml +++ b/app/views/ldap_auth_sources/_form.rhtml @@ -26,7 +26,7 @@

<%= check_box 'auth_source', 'onthefly_register' %>

-

+

<%= text_field 'auth_source', 'custom_filter', :size => 60 %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index c89a1fa3..afce4f4c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -307,7 +307,7 @@ en: field_text: Text field field_visible: Visible field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" - field_custom_ldap_filter: Custom LDAP filter + field_custom_filter: Custom LDAP filter setting_app_title: Application title setting_app_subtitle: Application subtitle