summaryrefslogtreecommitdiff
path: root/templates/headers/_display_folders.html.ep
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-09 00:51:36 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-09 00:51:36 +0200
commit0583b0115114ba9357789d3aa153c472eb7071ab (patch)
tree16885616efed9d704639259881f58bd6748a1d7b /templates/headers/_display_folders.html.ep
parent77992072b7963d9a96c11a3913f553c820cc21da (diff)
improvements to i18n development experience
Diffstat (limited to 'templates/headers/_display_folders.html.ep')
-rw-r--r--templates/headers/_display_folders.html.ep10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/headers/_display_folders.html.ep b/templates/headers/_display_folders.html.ep
index bf8a346..856844d 100644
--- a/templates/headers/_display_folders.html.ep
+++ b/templates/headers/_display_folders.html.ep
@@ -4,14 +4,14 @@
<nav class="pure-menu pure-menu-horizontal">
<strong class="pure-menu-heading">
- %= l($folder) || $folder || 'Root'
+ %= l($folder || '_mailbox_root')
</strong>
<ul class="pure-menu-list">
% for my $v (grep {$_ ne $folder} @$mail_folders) {
<li class="pure-menu-item">
%= link_to '' => {folder => $v} => (class => 'bright') => begin
- %= $v ? (l($v) || $v) : l 'Home'
+ %= l($v || '_mailbox_root')
% end
</li>
% }
@@ -21,9 +21,9 @@
</div>
<p class="pure-u-1-1 pure-u-md-1-2">
- <%= "$first_item - $last_item " . l('of') . " $total_items " . l('messages') %>\
- <%= ", $total_new_mails " . l('new') if $total_new_mails > 0 =%>
- <%= ' - ' . ucfirst(l 'mbox_size') . ": " . print_sizes10 $total_size if $total_size %>
+ <%= l('[_1] of [_2] messages', $last_item - $first_item + 1, $total_items) %>\
+ <%= l(', [_1] new', $total_new_mails) if $total_new_mails > 0 =%>
+ <%= l(' - mailbox size: [_1]', print_sizes10 $total_size) if $total_size %>
</p>
</div>