Public bug reported:

There are duplicated and nested 'translated' mark in theme-preview.html.

               <div class="col-lg-10">
                 <div class="themable-radio">
                   <input type="radio" name="optionsThemableRadios" 
id="optionsRadios3" value="option1" checked="">
                   <label translate for="optionsRadios3">
                     <span>{$ 'Themable Option 1' | translate $}</span>
                   </label>
                 </div>
                 <div class="themable-radio">
                   <input type="radio" name="optionsThemableRadios" 
id="optionsRadios4" value="option2">
                   <label translate for="optionsRadios4">
                    <span>{$ 'Themable Option 2' | translate $}</span>
                   </label>
                 </div>

As a result, we have the following entries in PO files.

<span>{$ 'Themable Option 1' | translate $}</span>
<span>{$ 'Themable Option 2' | translate $}</span>

Themable Option 1/2 should be extracted.

** Affects: horizon
     Importance: Low
     Assignee: Akihiro Motoki (amotoki)
         Status: In Progress


** Tags: i18n

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1624751

Title:
  i18n: duplicate 'translate' marking in theme-preview.html

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  There are duplicated and nested 'translated' mark in theme-
  preview.html.

                 <div class="col-lg-10">
                   <div class="themable-radio">
                     <input type="radio" name="optionsThemableRadios" 
id="optionsRadios3" value="option1" checked="">
                     <label translate for="optionsRadios3">
                       <span>{$ 'Themable Option 1' | translate $}</span>
                     </label>
                   </div>
                   <div class="themable-radio">
                     <input type="radio" name="optionsThemableRadios" 
id="optionsRadios4" value="option2">
                     <label translate for="optionsRadios4">
                      <span>{$ 'Themable Option 2' | translate $}</span>
                     </label>
                   </div>

  As a result, we have the following entries in PO files.

  <span>{$ 'Themable Option 1' | translate $}</span>
  <span>{$ 'Themable Option 2' | translate $}</span>

  Themable Option 1/2 should be extracted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1624751/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to