[PATCH conductor] BZ #805586 - Fix bare string (un-translated) in view

Tzu-Mainn Chen tzumainn at redhat.com
Wed Apr 4 14:57:09 UTC 2012


ACK'd; fixes the problem for me.

Mainn

----- Original Message -----
> From: "Matt Wagner" <matt.wagner at redhat.com>
> To: aeolus-devel at lists.fedorahosted.org
> Sent: Wednesday, April 4, 2012 10:39:14 AM
> Subject: [PATCH conductor] BZ #805586 - Fix bare string (un-translated) in view
> 
> This was causing checking HWP matches to only work in English.
> ---
>  src/app/views/hardware_profiles/edit.html.haml |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/app/views/hardware_profiles/edit.html.haml
> b/src/app/views/hardware_profiles/edit.html.haml
> index 8a24948..51bfe4f 100644
> --- a/src/app/views/hardware_profiles/edit.html.haml
> +++ b/src/app/views/hardware_profiles/edit.html.haml
> @@ -15,4 +15,4 @@
>      = form_for @hardware_profile, :url =>
>      hardware_profile_path(@hardware_profile), :html => { :multipart
>      => true } do |hwp_form|
>        = render :partial => "form", :locals => { :hwp_form =>
>        hwp_form }
>  
> -    = render :partial => 'matching_provider_hardware_profiles' if
> params[:commit] == 'Check Matches'
> +    = render :partial => 'matching_provider_hardware_profiles' if
> params[:commit] == t('hardware_profiles.form.check_matches')
> --
> 1.7.7.6
> 
> 



More information about the aeolus-devel mailing list