summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorPascal Chevrel <pascal@chevrel.org>2012-04-30 13:41:57 +0200
committerPascal Chevrel <pascal@chevrel.org>2012-04-30 13:41:57 +0200
commitf391082595732fedb7c5627c7e924ac68446de1e (patch)
treedb3c9682402367884c4a3e0454604ae7ce7724dc /custom
parent2626ea9b5ce18cf980eb869efa691e3d078a76d0 (diff)
downloadplanet-f391082595732fedb7c5627c7e924ac68446de1e.tar
planet-f391082595732fedb7c5627c7e924ac68446de1e.tar.gz
planet-f391082595732fedb7c5627c7e924ac68446de1e.tar.bz2
planet-f391082595732fedb7c5627c7e924ac68446de1e.tar.xz
planet-f391082595732fedb7c5627c7e924ac68446de1e.zip
Update l10n support:
- improved regex logic in the extraction parser (fixes a couple of bugs in edge cases) - *.tpl.php files were not parsed because of the double dot, now fixed - strings requiring translation are now indicated in the source file to make them stand out - support for the {ok} tag, adding this tag allows the localizer to indicate that a string remains in English (or that it is spelt the same in his language) - add an english reference file, in case we want to send it to volunteers
Diffstat (limited to 'custom')
-rwxr-xr-xcustom/views/default/index.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/views/default/index.tpl.php b/custom/views/default/index.tpl.php
index 8153f2f..1bf037a 100755
--- a/custom/views/default/index.tpl.php
+++ b/custom/views/default/index.tpl.php
@@ -26,9 +26,9 @@ header('Content-type: text/html; charset=UTF-8');
<?php if (0 == count($items)) : ?>
<div class="article">
<h2 class="article-title">
- No article
+ <?=_g('No article', 'note de trad')?>
</h2>
- <p class="article-content">No news, good news.</p>
+ <p class="article-content"><?=_g('No news, good news.')?></p>
</div>
<?php else : ?>
<?php foreach ($items as $item): ?>