Label can be translated normally.

This commit is contained in:
Martin Edenhofer 2014-11-15 08:29:26 +01:00
parent 3867374c98
commit bf028a16f0

View file

@ -1,7 +1,6 @@
<div class="userInfo">
<div class="userInfo-entry">
<td>
<%- @user.avatar("50") %>
<%- @user.avatar("50") %>
<div class="userInfo-name">
<div class="u-textTruncate" title="<%- @Ti( 'Name') %>">
<%= @user.displayName() %>
@ -12,10 +11,10 @@
<% if @user[row.name] || row.name is 'note': %>
<div class="userInfo-entry">
<% if row.tag isnt 'textarea': %>
<div class="userInfo-label"><%- @Ti( row.display ) %></div>
<div class="userInfo-label"><%- @T( row.display ) %></div>
<div class="userInfo-value"><%- @L( @P( @user[row.name] ) ) %></div>
<% else: %>
<div class="userInfo-label"><%- @Ti( row.display ) %></div>
<div class="userInfo-label"><%- @T( row.display ) %></div>
<div class="userInfo-value">
<div contenteditable="true" data-name="<%= row.name %>" data-type="update" data-placeholder="<%- @T('Add a Note') %>"><%= @user[row.name] %></div>
</div>