Commit 30af9787 authored by Keval Pandya's avatar Keval Pandya
Browse files

[Resolved] Localize labels for privacy settings: We have added new Localize labels for Show.html

parent 44b7bf9d
Pipeline #6570 passed with stages
in 2 minutes and 36 seconds
...@@ -15,6 +15,39 @@ ...@@ -15,6 +15,39 @@
<trans-unit id="old-users.email"> <trans-unit id="old-users.email">
<source>Email</source> <source>Email</source>
</trans-unit> </trans-unit>
<trans-unit id="tx_userprofile.firstname">
<source>Firstname</source>
</trans-unit>
<trans-unit id="tx_userprofile.lastname">
<source>Lastname</source>
</trans-unit>
<trans-unit id="tx_userprofile.address">
<source>Street</source>
</trans-unit>
<trans-unit id="tx_userprofile.zip">
<source>Zip</source>
</trans-unit>
<trans-unit id="tx_userprofile.city">
<source>City</source>
</trans-unit>
<trans-unit id="tx_userprofile.phone">
<source>Phone</source>
</trans-unit>
<trans-unit id="tx_userprofile.country">
<source>Country</source>
</trans-unit>
<trans-unit id="tx_userprofile.www">
<source>WWW</source>
</trans-unit>
<trans-unit id="tx_userprofile.name">
<source>Name</source>
</trans-unit>
<trans-unit id="tx_userprofile.email">
<source>Email</source>
</trans-unit>
<trans-unit id="tx_userprofile.about_me">
<source>About me</source>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>
...@@ -4,43 +4,43 @@ ...@@ -4,43 +4,43 @@
<h1>{user.name}</h1> <h1>{user.name}</h1>
<ul> <ul>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'name', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'name', user:user)}">
<li>Name: {user.name}</li> <li><f:translate key="tx_userprofile.name" extensionName="t3omy" />: {user.name}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'firstname', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'firstname', user:user)}">
<li>Firstname: {user.firstname}</li> <li><f:translate key="tx_userprofile.firstname" extensionName="t3omy" />: {user.firstname}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'lastname', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'lastname', user:user)}">
<li>Lastname: {user.lastname}</li> <li><f:translate key="tx_userprofile.lastname" extensionName="t3omy" />: {user.lastname}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'address', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'address', user:user)}">
<li>Street: {user.address}</li> <li><f:translate key="tx_userprofile.address" extensionName="t3omy" />: {user.address}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'zip', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'zip', user:user)}">
<li>Zip: {user.zip}</li> <li><f:translate key="tx_userprofile.zip" extensionName="t3omy" />: {user.zip}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'city', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'city', user:user)}">
<li>City: {user.city}</li> <li><f:translate key="tx_userprofile.city" extensionName="t3omy" />: {user.city}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'telephone', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'telephone', user:user)}">
<li>Phone: {user.telephone}</li> <li><f:translate key="tx_userprofile.phone" extensionName="t3omy" />: {user.telephone}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'email', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'email', user:user)}">
<li>Email: {user.email}</li> <li><f:translate key="tx_userprofile.email" extensionName="t3omy" />: {user.email}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'country', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'country', user:user)}">
<li>Country: {user.country}</li> <li><f:translate key="tx_userprofile.country" extensionName="t3omy" />: {user.country}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'www', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'www', user:user)}">
<li>www: {user.www}</li> <li><f:translate key="tx_userprofile.www" extensionName="t3omy" />: {user.www}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'image', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'image', user:user)}">
...@@ -49,14 +49,11 @@ ...@@ -49,14 +49,11 @@
</f:for> </f:for>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'about_me', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'about_me', user:user)}">
<li>About me: {user.aboutMe}</li> <li><f:translate key="tx_userprofile.about_me" extensionName="t3omy" />: {user.aboutMe}</li>
</f:if> </f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'slack_id', user:user)}"> <f:if condition="{userprofile:isPropertyVisible(propertyName:'slack_id', user:user)}">
<li><slack:showSlackLink frontendUserUID="{user.uid}" /></li> <li><f:format.raw><slack:showSlackLink frontendUserUID="{user.uid}" /></f:format.raw> </li>
</f:if> </f:if>
<f:if condition="{isOwnProfile}"> <f:if condition="{isOwnProfile}">
<f:render partial="ShowEdit" arguments="{_all}" /> <f:render partial="ShowEdit" arguments="{_all}" />
</f:if> </f:if>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment