From: ArthurHoaro Date: Sun, 7 Aug 2016 11:00:10 +0000 (+0200) Subject: Apply translation function on all labels X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=ff56413eb57818370093c482b617091e7b14814f;p=github%2Fshaarli%2FShaarli.git Apply translation function on all labels --- diff --git a/tpl/default/404.html b/tpl/default/404.html index a9738160..edc5ac4b 100644 --- a/tpl/default/404.html +++ b/tpl/default/404.html @@ -8,7 +8,7 @@ {include="page.header"}
-

Sorry, nothing to see here.

+

{'Sorry, nothing to see here.'|t}

{$error_message}

diff --git a/tpl/default/addlink.html b/tpl/default/addlink.html index 13adeb49..8e64064f 100644 --- a/tpl/default/addlink.html +++ b/tpl/default/addlink.html @@ -8,13 +8,13 @@
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 0630b4f1..a0ea91b2 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -10,28 +10,28 @@
-

Shaare

+

{'Shaare'|t}

- +
- +
- +
- +
-   +  
- + {if="!$link_is_new"} - + {/if}
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 @@
-
Nothing found.
+
{'Nothing found.'|t}
{elseif="!empty($search_term) or !empty($search_tags)"}
- {$result_count} results + {function="t('%s result', '%s results', $result_count)"} {if="!empty($search_term)"} - for {$search_term} + {'for'|t} {$search_term} {/if} {if="!empty($search_tags)"} {$exploded_tags=explode(' ', $search_tags)} - tagged + {'tagged'|t} {loop="$exploded_tags"} - + {$value} {/loop} @@ -57,9 +57,10 @@