Add tooltips for status icons.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 19 Oct 2010 07:22:52 +0000 (09:22 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 19 Oct 2010 07:22:52 +0000 (09:22 +0200)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/include/viewSone.html

index 06ad735..94bb74d 100644 (file)
@@ -137,6 +137,11 @@ View.Sone.Button.UnfollowSone=unfollow
 View.Sone.Button.FollowSone=follow
 View.Sone.Button.UnblockSone=unblock
 View.Sone.Button.BlockSone=block
+View.Sone.Status.Modified=This Sone was modified and waits to be inserted.
+View.Sone.Status.Unknown=This Sone has not yet been retrieved.
+View.Sone.Status.Idle=This Sone is idle, i.e. not being inserted or downloaded.
+View.Sone.Status.Downloading=This Sone is currently being downloaded.
+View.Sone.Status.Inserting=This Sone is currently being inserted.
 
 View.Post.DeleteLink=Delete
 View.Post.SendReply=Post Reply!
index 615510a..5f001ba 100644 (file)
@@ -1,11 +1,11 @@
 <div class="sone <% sone.status><%if sone.modified> modified<%/if>">
        <div class="profile-link"><a href="viewSone.html?sone=<% sone.id>" title="<% sone.requestUri|html>"><% sone.niceName|html></a></div>
        <div class="last-update">(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)</div>
-       <div class="unknown-marker">?</div>
-       <div class="modified-marker">!</div>
-       <div class="download-marker">⬊</div>
-       <div class="insert-marker">⬈</div>
-       <div class="idle-marker"></div>
+       <div class="unknown-marker" title="<%= View.Sone.Status.Unknown|l10n|html>">?</div>
+       <div class="modified-marker" title="<%= View.Sone.Status.Modified|l10n|html>">!</div>
+       <div class="download-marker" title="<%= View.Sone.Status.Downloading|l10n|html>">⬊</div>
+       <div class="insert-marker" title="<%= View.Sone.Status.Inserting|l10n|html>">⬈</div>
+       <div class="idle-marker" title="<%= View.Sone.Status.Idle|l10n|html>"></div>
        <%ifnull ! currentSone>
                <%if ! sone.current>
                        <%if sone.friend>