Author: saintgermain
Date: Sun Jul  6 22:09:29 2014
New Revision: 1608307

URL: http://svn.apache.org/r1608307
Log:
Fix translation problem in account manager

Add reference to bhtheme catalog in account manager templates

Modified:
    bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html
    bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html

Modified: 
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html?rev=1608307&r1=1608306&r2=1608307&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html 
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html Sun 
Jul  6 22:09:29 2014
@@ -68,7 +68,7 @@
                   <input id="username" type="text"
                          class="textwidget input-medium no-add-on"
                          name="username"
-                         value="${acctmgr.username}" placeholder="${_('e.g. 
myuser')}" />
+                         value="${acctmgr.username}" 
placeholder="${dgettext('bhtheme', 'e.g. myuser')}" />
                 </label>
               </div>
               <div class="field">
@@ -79,10 +79,10 @@
                     </span>
                     <input py:when="create_enabled or password_change_enabled"
                            type="password" class="textwidget input-medium"
-                           name="password" placeholder="${_('Type your 
password')}" />
+                           name="password" placeholder="${dgettext('bhtheme', 
'Type your password')}" />
                     <input py:otherwise=""
                            type="password" class="textwidget input-medium"
-                           name="password" placeholder="${_('Type your 
password')}"
+                           name="password" placeholder="${dgettext('bhtheme', 
'Type your password')}"
                            disabled="disabled" />
                   </div>
                 </label>
@@ -95,10 +95,10 @@
                     </span>
                     <input py:when="create_enabled or password_change_enabled"
                            type="password" class="textwidget input-medium"
-                           name="password_confirm" placeholder="${_('Must 
match password')}" />
+                           name="password_confirm" 
placeholder="${dgettext('bhtheme', 'Must match password')}" />
                     <input py:otherwise=""
                            type="password" class="textwidget input-medium"
-                           name="password_confirm" placeholder="${_('Must 
match password')}"
+                           name="password_confirm" 
placeholder="${dgettext('bhtheme', 'Must match password')}"
                            disabled="disabled" />
                   </div>
                 </label>
@@ -107,7 +107,7 @@
                 <label>Pre-/Surname (Nickname):<br />
                   <input type="text" class="textwidget input-medium no-add-on"
                          name="name" value="${acctmgr.name}"
-                         placeholder="${_('e.g. John Smith')}" />
+                         placeholder="${dgettext('bhtheme', 'e.g. John 
Smith')}" />
                 </label>
               </div>
               <div class="field">
@@ -118,7 +118,7 @@
                     </span>
                     <input type="text" class="textwidget input-medium"
                            name="email" value="${acctmgr.email}"
-                           placeholder="${_('[email protected]')}" />
+                           placeholder="${dgettext('bhtheme', 
'[email protected]')}" />
                   </div>
                 </label>
               </div>

Modified: 
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html?rev=1608307&r1=1608306&r2=1608307&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html 
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html 
Sun Jul  6 22:09:29 2014
@@ -55,7 +55,7 @@
                 <span class="add-on"><i class="icon-lock"></i></span>
                 <input type="password" id="password_rm"
                        class="textwidget input-large" name="password"
-                       placeholder="${_('Type your password')}" />
+                       placeholder="${dgettext('bhtheme', 'Type your 
password')}" />
               </div>
             </div>
           </div>
@@ -102,7 +102,7 @@
           </span>
           <input type="password" id="old_password_chg"
                  class="textwidget input-large" name="old_password"
-                 placeholder="${_('Type current password')}" />
+                 placeholder="${dgettext('bhtheme', 'Type current password')}" 
/>
         </div>
       </div>
     </div>
@@ -117,7 +117,7 @@
           </span>
           <input type="password"  id="password_chg"
                  class="textwidget input-large"
-                 name="password" placeholder="${_('Type new password')}" />
+                 name="password" placeholder="${dgettext('bhtheme', 'Type new 
password')}" />
         </div>
       </div>
     </div>
@@ -132,7 +132,7 @@
           </span>
           <input type="password" id="password_confirm_chg"
                  class="textwidget input-large" name="password_confirm"
-                 placeholder="${_('Must match new password')}" />
+                 placeholder="${dgettext('bhtheme', 'Must match new 
password')}" />
         </div>
       </div>
     </div>


Reply via email to