[Kimchi-devel] [PATCH] Remove colon character from template cpu edit window

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Thu Sep 10 12:55:26 UTC 2015


Reviewed-By: Paulo Vital <pvital at linux.vnet.ibm.com>

On Wed, 2015-09-09 at 19:14 -0300, Rodrigo Trujillo wrote:
> This is the only window that has colons in fields labels. For better
> consistence and avoid problems with translation, like chinese, this
> patch is removing them.
> 
> Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
> ---
>  ui/pages/template-edit.html.tmpl | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/ui/pages/template-edit.html.tmpl b/ui/pages/template
> -edit.html.tmpl
> index 5191f54..0ba24bc 100644
> --- a/ui/pages/template-edit.html.tmpl
> +++ b/ui/pages/template-edit.html.tmpl
> @@ -120,7 +120,7 @@
>              </form>
>              <form id="form-template-processor">
>                  <div>
> -                    <label for="cpus">$_("CPU Number"):</label>
> +                    <label for="cpus">$_("CPU Number")</label>
>                      <input type="text" value="1" id="cpus" />
>                  </div>
>                  <div class="manual">
> @@ -129,11 +129,11 @@
>                  </div>
>                  <div class="topology hide">
>                      <div>
> -                        <label for="cores">$_("Cores"):</label>
> +                        <label for="cores">$_("Cores")</label>
>                          <input type="text" value="1" id="cores" />
>                      </div>
>                      <div>
> -                        <label for="threads">$_("Threads"):</label>
> +                        <label for="threads">$_("Threads")</label>
>                          <select id="threads"></select>
>                      </div>
>                  </div>




More information about the Kimchi-devel mailing list