[PATCH conductor] BZ 800277 "Return to default cloud" link should change to "return to cloud"

Tomas Sedovic tsedovic at redhat.com
Mon Mar 12 17:07:19 UTC 2012


On 03/12/2012 05:17 PM, jzigmund at redhat.com wrote:
> From: Jozef Zigmund<jzigmund at redhat.com>
>
> We passed the environment's name to translation but it didn't show
>
> https://bugzilla.redhat.com/show_bug.cgi?id=800277
> ---
>   src/config/locales/en.yml |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
> index 67f5b11..194bc29 100644
> --- a/src/config/locales/en.yml
> +++ b/src/config/locales/en.yml
> @@ -728,7 +728,7 @@ en:
>           delete_failed: Unable to Delete Target Image
>           not_found: Target Image not found
>     images:
> -    environment: "Environment:"
> +    environment: "Environment: %{environment}"
>       environment_header: Environment
>       import:
>         import_image: Import Image

ACK with one nit:

app/views/images/show.html.haml line 23:

     %tr
       %td= t('images.environment')
       %td= @image.environment


This patch breaks this. Please fix it to

       %td= t('images.environment', :environment => @image.environment)

and remove the last line.



More information about the aeolus-devel mailing list