diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 13:00:10 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 13:00:10 +0200 |
commit | ff56413eb57818370093c482b617091e7b14814f (patch) | |
tree | 94f066e2ec47e316c13ee77e4698e2291d960504 /tpl/default/linklist.html | |
parent | bb83c07ccaff7b4935a1efe3ae234567d0076b55 (diff) | |
download | Shaarli-ff56413eb57818370093c482b617091e7b14814f.tar.gz Shaarli-ff56413eb57818370093c482b617091e7b14814f.tar.zst Shaarli-ff56413eb57818370093c482b617091e7b14814f.zip |
Apply translation function on all labels
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r-- | tpl/default/linklist.html | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 19a0c3c7..0a46c876 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -24,22 +24,22 @@ | |||
24 | <div class="pure-g pure-alert pure-alert-error search-result"> | 24 | <div class="pure-g pure-alert pure-alert-error search-result"> |
25 | <div class="pure-u-2-24"></div> | 25 | <div class="pure-u-2-24"></div> |
26 | <div class="pure-u-20-24"> | 26 | <div class="pure-u-20-24"> |
27 | <div id="searchcriteria">Nothing found.</div> | 27 | <div id="searchcriteria">{'Nothing found.'|t}</div> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
30 | {elseif="!empty($search_term) or !empty($search_tags)"} | 30 | {elseif="!empty($search_term) or !empty($search_tags)"} |
31 | <div class="pure-g pure-alert pure-alert-success search-result"> | 31 | <div class="pure-g pure-alert pure-alert-success search-result"> |
32 | <div class="pure-u-2-24"></div> | 32 | <div class="pure-u-2-24"></div> |
33 | <div class="pure-u-20-24"> | 33 | <div class="pure-u-20-24"> |
34 | {$result_count} results | 34 | {function="t('%s result', '%s results', $result_count)"} |
35 | {if="!empty($search_term)"} | 35 | {if="!empty($search_term)"} |
36 | for <em><strong>{$search_term}</strong></em> | 36 | {'for'|t} <em><strong>{$search_term}</strong></em> |
37 | {/if} | 37 | {/if} |
38 | {if="!empty($search_tags)"} | 38 | {if="!empty($search_tags)"} |
39 | {$exploded_tags=explode(' ', $search_tags)} | 39 | {$exploded_tags=explode(' ', $search_tags)} |
40 | tagged | 40 | {'tagged'|t} |
41 | {loop="$exploded_tags"} | 41 | {loop="$exploded_tags"} |
42 | <span class="label label-tag" title="Remove tag"> | 42 | <span class="label label-tag" title="{'Remove tag'|t}"> |
43 | <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times"></i></span></a> | 43 | <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times"></i></span></a> |
44 | </span> | 44 | </span> |
45 | {/loop} | 45 | {/loop} |
@@ -57,9 +57,10 @@ | |||
57 | <div class="linklist-item-title"> | 57 | <div class="linklist-item-title"> |
58 | {if="isLoggedIn()"} | 58 | {if="isLoggedIn()"} |
59 | <div class="linklist-item-editbuttons"> | 59 | <div class="linklist-item-editbuttons"> |
60 | <a href="#" title="Fold" class="fold-button"><i class="fa fa-chevron-up"></i></a> | 60 | <!-- FIXME! JS translation --> |
61 | <a href="?edit_link={$value.linkdate}" title="Edit"><i class="fa fa-pencil-square-o"></i></a> | 61 | <a href="#" title="{'Fold'|t}" class="fold-button"><i class="fa fa-chevron-up"></i></a> |
62 | <a href="?delete_link={$value.linkdate}&token={$token}" title="Delete" class="delete-link"> | 62 | <a href="?edit_link={$value.linkdate}" title="{'Edit'|t}"><i class="fa fa-pencil-square-o"></i></a> |
63 | <a href="?delete_link={$value.linkdate}&token={$token}" title="{'Delete'|t}" class="delete-link"> | ||
63 | <i class="fa fa-trash"></i> | 64 | <i class="fa fa-trash"></i> |
64 | </a> | 65 | </a> |
65 | </div> | 66 | </div> |
@@ -74,7 +75,7 @@ | |||
74 | {/if} | 75 | {/if} |
75 | 76 | ||
76 | {if="$value.private"} | 77 | {if="$value.private"} |
77 | <span class="label label-private">Private</span> | 78 | <span class="label label-private">{'Private'|t}</span> |
78 | {/if} | 79 | {/if} |
79 | 80 | ||
80 | {$value.title} | 81 | {$value.title} |
@@ -107,14 +108,14 @@ | |||
107 | 108 | ||
108 | <div class="pure-g"> | 109 | <div class="pure-g"> |
109 | <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1"> | 110 | <div class="linklist-item-infos-dateblock pure-u-lg-3-8 pure-u-1"> |
110 | <a href="?{$value.shorturl}" title="Permalink"> | 111 | <a href="?{$value.shorturl}" title="{'Permalink'|t}"> |
111 | {if="!$hide_timestamps || isLoggedIn()"} | 112 | {if="!$hide_timestamps || isLoggedIn()"} |
112 | <span class="linkdate"> | 113 | <span class="linkdate"> |
113 | <i class="fa fa-clock-o"></i> | 114 | <i class="fa fa-clock-o"></i> |
114 | {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} · | 115 | {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} · |
115 | </span> | 116 | </span> |
116 | {/if} | 117 | {/if} |
117 | permalink · | 118 | {'permalink'|t} · |
118 | </a> | 119 | </a> |
119 | 120 | ||
120 | {$link_plugin_counter=count($value.link_plugin)} | 121 | {$link_plugin_counter=count($value.link_plugin)} |