[PATCH conductor] Fix some untranslated strings

Tomáš Hrčka thrcka at redhat.com
Tue Jun 12 13:25:06 UTC 2012


On 05/29/2012 11:30 AM, ifarkas at redhat.com wrote:
> From: Imre Farkas <ifarkas at redhat.com>
>
> ---
>   .../_deployment_card_show.html.mustache            |    2 +-
>   src/app/views/images/_status.html.mustache         |    8 ++++----
>   .../views/pools/_pretty_list_header.html.mustache  |    3 ++-
>   src/config/locales/en.yml                          |    1 +
>   4 files changed, 8 insertions(+), 6 deletions(-)
>
> diff --git a/src/app/views/deployments/_deployment_card_show.html.mustache b/src/app/views/deployments/_deployment_card_show.html.mustache
> index 0f36ee1..4a8cadd 100644
> --- a/src/app/views/deployments/_deployment_card_show.html.mustache
> +++ b/src/app/views/deployments/_deployment_card_show.html.mustache
> @@ -2,7 +2,7 @@
>     <h3 class="name">
>       <%= link_to('{{name}}', '{{path}}') %>
>     </h3>
> -  <span title="{{translated_state}}" class="status {{state}}">alma</span>
> +  <span title="{{translated_state}}" class="status {{state}}">{{state}}</span>
>     <dl class="statistics">
>       <ul>
>         <li class="uptime">
> diff --git a/src/app/views/images/_status.html.mustache b/src/app/views/images/_status.html.mustache
> index b0688c4..069b14d 100644
> --- a/src/app/views/images/_status.html.mustache
> +++ b/src/app/views/images/_status.html.mustache
> @@ -32,16 +32,16 @@
>           <table class="light_table">
>             <thead>
>               <tr><th>
> -              <strong>Account</strong>
> +              <strong><%= t('images.show.account') %></strong>
>               </th>
>               <th>
> -              Provider
> +              <%= t('images.show.provider') %>
>               </th>
>               <th>
> -              Image UUID
> +              <%= t('images.show.image_uuid') %>
>               </th>
>               <th>
> -              Image URI
> +              <%= t('images.show.image_uri') %>
>               </th>
>               <th class="image_controls"></th>
>             </tr></thead>
> diff --git a/src/app/views/pools/_pretty_list_header.html.mustache b/src/app/views/pools/_pretty_list_header.html.mustache
> index 140cd67..38a6008 100644
> --- a/src/app/views/pools/_pretty_list_header.html.mustache
> +++ b/src/app/views/pools/_pretty_list_header.html.mustache
> @@ -19,6 +19,7 @@
>       </li>
>     </ul>
>   </dl>
> +
>   <a class="control" href="#">
> -  <span>Expand/Collapse</span>
> +  <span><%= t('pools.index.pool_toggle') %></span>
>   </a>
> diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
> index e8c91a3..59c29a0 100644
> --- a/src/config/locales/en.yml
> +++ b/src/config/locales/en.yml
> @@ -494,6 +494,7 @@ en:
>         not_all_deployments_displayed_alert_html: "Not all deployments are displayed! Go to %{name} Pool details for more! &raquo;"
>         global_uptime: Global uptime
>         destroy: Destroy
> +      pool_toggle: Expand/Collapse
>       images:
>         catalog: Catalog
>         catalog_entry: Deployable
ACK.




More information about the aeolus-devel mailing list