Unified tooltips in user sidebar
authorMarcel Werk <burntime@woltlab.com>
Wed, 27 Aug 2014 18:05:41 +0000 (20:05 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 27 Aug 2014 18:05:41 +0000 (20:05 +0200)
com.woltlab.wcf/templates/messageSidebar.tpl
com.woltlab.wcf/templates/userInformationStatistics.tpl
com.woltlab.wcf/templates/userSidebar.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index ba5237073e001c743a15b8683e7b7d31ed5d3f7e..be785a106cf030384aad5c833da3b1cc9eb8facc 100644 (file)
                                        <dl class="plain dataList">
                                                {content}
                                                        {if MODULE_LIKE && MESSAGE_SIDEBAR_ENABLE_LIKES_RECEIVED && $userProfile->likesReceived}
-                                                               <dt><a href="{link controller='User' object=$userProfile}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.likesReceived.showDetails{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
+                                                               <dt><a href="{link controller='User' object=$userProfile}{/link}#likes" class="jsTooltip" title="{lang user=$userProfile}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
                                                                <dd>{#$userProfile->likesReceived}</dd>
                                                        {/if}
                                                        
                                                        {if MESSAGE_SIDEBAR_ENABLE_ACTIVITY_POINTS && $userProfile->activityPoints}
-                                                               <dt><a class="activityPointsDisplay jsTooltip" title="{lang}wcf.user.activityPoint.showDetails{/lang}" data-user-id="{@$userProfile->userID}">{lang}wcf.user.activityPoint{/lang}</a></dt>
+                                                               <dt><a class="activityPointsDisplay jsTooltip" title="{lang user=$userProfile}wcf.user.activityPoint.showActivityPoints{/lang}" data-user-id="{@$userProfile->userID}">{lang}wcf.user.activityPoint{/lang}</a></dt>
                                                                <dd>{#$userProfile->activityPoints}</dd>
                                                        {/if}
                                                        {event name='userCredits'}
index 1437fdd0b35af47e8f56f64bbaa1c3ed45fd9730..833dfeb20b4258b687e6ead5af556c485ba37dca 100644 (file)
@@ -2,7 +2,7 @@
        {event name='statistics'}
        
        {if MODULE_LIKE && $user->likesReceived}
-               <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.likesReceived.showDetails{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
+               <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
                <dd>{#$user->likesReceived}</dd>
        {/if}
        
index 111690c518842cc49b17bd9b9ea3c407c018061b..995c653e059fea79fdc2d9a67dc946ec24f5b592 100644 (file)
                                {event name='statistics'}
                                
                                {if MODULE_LIKE && $user->likesReceived}
-                                       <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.likesReceived.showDetails{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
+                                       <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
                                        <dd>{#$user->likesReceived}</dd>
                                {/if}
                                
                                {if $user->activityPoints}
-                                       <dt>{if $user->activityPoints}<a class="activityPointsDisplay jsTooltip" title="{lang}wcf.user.activityPoint.showDetails{/lang}" data-user-id="{@$user->userID}">{lang}wcf.user.activityPoint{/lang}</a>{else}{lang}wcf.user.activityPoint{/lang}{/if}</dt>
+                                       <dt>{if $user->activityPoints}<a class="activityPointsDisplay jsTooltip" title="{lang}wcf.user.activityPoint.showActivityPoints{/lang}" data-user-id="{@$user->userID}">{lang}wcf.user.activityPoint{/lang}</a>{else}{lang}wcf.user.activityPoint{/lang}{/if}</dt>
                                        <dd>{#$user->activityPoints}</dd>
                                {/if}
                                
index ac3b4fd44fee15789909c2634b899dd04d33283c..6dba37f6894fc052db02b5dfa0980ef5af260d6b 100644 (file)
@@ -2154,7 +2154,7 @@ Fehler sind beispielsweise:
                <item name="wcf.like.button.like"><![CDATA[Gefällt mir]]></item>
                <item name="wcf.like.button.dislike"><![CDATA[Gefällt mir nicht]]></item>
                <item name="wcf.like.likesReceived"><![CDATA[Erhaltene Likes]]></item>
-               <item name="wcf.like.likesReceived.showDetails"><![CDATA[Erhaltene Likes anzeigen]]></item>
+               <item name="wcf.like.showLikesReceived"><![CDATA[Erhaltene Likes von „{$user->username}“ anzeigen]]></item>
                <item name="wcf.like.likesGiven"><![CDATA[Vergebene Likes]]></item>
                <item name="wcf.like.summary"><![CDATA[{literal}{if $others == 0}{@$users.slice(0, -1).join(", ")}{if $users.length > 1} und {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} und {if $others == 1}einem{else}{#$others}{/if} weiteren{/if} gefällt das.{/literal}]]></item>
                <item name="wcf.like.details"><![CDATA[Details]]></item>
@@ -2682,7 +2682,7 @@ Wenn Sie Probleme mit der Aktivierung haben, wenden Sie sich bitte an den Admini
                <item name="wcf.user.signature.current"><![CDATA[Aktuelle Signatur]]></item>
                <item name="wcf.user.signature.error.disabled"><![CDATA[Der Administrator hat{if $__wcf->user->signature} Ihre derzeitige Signatur gesperrt und{/if} Ihnen die weitere Nutzungsberechtigung der Signatur-Funktion {if !$__wcf->user->disableSignatureReason}entzogen.{else} aus folgenden Gründen entzogen: {$__wcf->user->disableSignatureReason}{/if}]]></item>
                <item name="wcf.user.activityPoint"><![CDATA[Punkte]]></item>
-               <item name="wcf.user.activityPoint.showDetails"><![CDATA[Zeige Details]]></item>
+               <item name="wcf.user.activityPoint.showActivityPoints"><![CDATA[Punkte von „{$user->username}“ anzeigen]]></item>
                <item name="wcf.user.activityPoint.objects"><![CDATA[Anzahl]]></item>
                <item name="wcf.user.activityPoint.objectType"><![CDATA[Art]]></item>
                <item name="wcf.user.activityPoint.pointsPerObject"><![CDATA[Punkte]]></item>
index 86d3fa79e5556e578483feced3f2475244d082e4..b41b8251cf41c5e318c927c6bd36520f679bbd4e 100644 (file)
@@ -2152,7 +2152,7 @@ Errors are:
                <item name="wcf.like.button.like"><![CDATA[Like]]></item>
                <item name="wcf.like.button.dislike"><![CDATA[Dislike]]></item>
                <item name="wcf.like.likesReceived"><![CDATA[Likes Received]]></item>
-               <item name="wcf.like.likesReceived.showDetails"><![CDATA[Show Likes Received]]></item>
+               <item name="wcf.like.showLikesReceived"><![CDATA[Show Likes Received by “{$user->username}”]]></item>
                <item name="wcf.like.likesGiven"><![CDATA[Likes Given]]></item>
                <item name="wcf.like.summary"><![CDATA[{literal}{if $others == 0}{@$users.slice(0, -1).join(", ")}{if $users.length > 1} and {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} and {if $others == 1}one{else}{#$others}{/if} other{if $others > 1}s{/if}{/if} like{if $users.length == 1}s{/if} this.{/literal}]]></item>
                <item name="wcf.like.details"><![CDATA[Details]]></item>
@@ -2570,7 +2570,7 @@ If you cannot activate your email address or have any troubles following the ins
                <item name="wcf.user.signature.current"><![CDATA[Current Signature]]></item>
                <item name="wcf.user.signature.error.disabled"><![CDATA[Your signature has been disabled{if $__wcf->user->disableSignatureReason}: {$__wcf->user->disableSignatureReason}{else}.{/if}]]></item>
                <item name="wcf.user.activityPoint"><![CDATA[Points]]></item>
-               <item name="wcf.user.activityPoint.showDetails"><![CDATA[Show Details]]></item>
+               <item name="wcf.user.activityPoint.showActivityPoints"><![CDATA[Show Points of “{$user->username}”]]></item>
                <item name="wcf.user.activityPoint.objects"><![CDATA[Count]]></item>
                <item name="wcf.user.activityPoint.objectType"><![CDATA[Type]]></item>
                <item name="wcf.user.activityPoint.pointsPerObject"><![CDATA[Points]]></item>