Permalink
Browse files

Added a showLabelsTitle i18n string so the "Show Labels" link can be …

…translated. Be sure to check out issue #3 and help me create the appropriate translations.
  • Loading branch information...
1 parent c018f7a commit 904309c659e4a41e22e9373aa32a440e0164a20e @aceat64 committed Nov 17, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 popup.html
  2. +2 −1 src/i18n.js
View
@@ -74,7 +74,7 @@
<a class="openLink" mailId="<#= mail.id #>" href="#" title="<#= mail.title #>"><#= mail.shortTitle #></a>
</div>
<div class="hbox">
- <a class="labelLink imageLink" mailId="<#= mail.id #>" href="#" title="Show labels"><img src="img/label.png" /></a>
+ <a class="labelLink imageLink" mailId="<#= mail.id #>" href="#" title="<#= i18n.get('showLabelsTitle') #>"><img src="img/label.png" /></a>
<a class="fullLink imageLink" mailId="<#= mail.id #>" href="#" title="<#= i18n.get('fullLinkTitle') #>"><img src="img/more.png" /></a>
<a class="replyLink imageLink" mailId="<#= mail.id #>" href="#" title="<#= i18n.get('replyLinkTitle') #>"><img src="img/reply.png" /></a>
</div>
View
@@ -235,7 +235,8 @@ languages["en"] = {
"noUnreadText" : "No unread mail",
"oneUnreadText" : "unread mail", // One unread item: "1 unread mail"
"severalUnreadText" : "unread mail", // Several unread items: "3 unread mail"
- "popupText" : "You have received new mail!"
+ "popupText" : "You have received new mail!",
+ "showLabelsTitle" : "Show Labels"
};
// Esperanto

0 comments on commit 904309c

Please sign in to comment.