diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-11-01 03:03:51 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-11-01 03:03:51 -0700 |
commit | 38d74b12176722ce52dc1905c13816a78a2551ee (patch) | |
tree | be1082fd244ee34bb5c506e012dad305acc54ebe /inc/template.php | |
parent | 6589c60cca0146ef5c4f606105e1c2ed9cf23cbd (diff) | |
parent | a1288caece2153c08e04252643c89815c1be2a66 (diff) | |
download | rpg-38d74b12176722ce52dc1905c13816a78a2551ee.tar.gz rpg-38d74b12176722ce52dc1905c13816a78a2551ee.tar.bz2 |
Merge pull request #405 from splitbrain/FS#2409localizetemplatephp
Localize some meta header titels. Fixes FS#2409
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/template.php b/inc/template.php index e967bf27d..41f398016 100644 --- a/inc/template.php +++ b/inc/template.php @@ -318,11 +318,11 @@ function tpl_metaheaders($alt = true) { if($alt) { $head['link'][] = array( 'rel' => 'alternate', 'type'=> 'application/rss+xml', - 'title'=> 'Recent Changes', 'href'=> DOKU_BASE.'feed.php' + 'title'=> $lang['btn_recent'], 'href'=> DOKU_BASE.'feed.php' ); $head['link'][] = array( 'rel' => 'alternate', 'type'=> 'application/rss+xml', - 'title'=> 'Current Namespace', + 'title'=> $lang['currentns'], 'href' => DOKU_BASE.'feed.php?mode=list&ns='.$INFO['namespace'] ); if(($ACT == 'show' || $ACT == 'search') && $INFO['writable']) { @@ -336,21 +336,21 @@ function tpl_metaheaders($alt = true) { if($ACT == 'search') { $head['link'][] = array( 'rel' => 'alternate', 'type'=> 'application/rss+xml', - 'title'=> 'Search Result', + 'title'=> $lang['searchresult'], 'href' => DOKU_BASE.'feed.php?mode=search&q='.$QUERY ); } if(actionOK('export_xhtml')) { $head['link'][] = array( - 'rel' => 'alternate', 'type'=> 'text/html', 'title'=> 'Plain HTML', + 'rel' => 'alternate', 'type'=> 'text/html', 'title'=> $lang['plainhtml'], 'href'=> exportlink($ID, 'xhtml', '', false, '&') ); } if(actionOK('export_raw')) { $head['link'][] = array( - 'rel' => 'alternate', 'type'=> 'text/plain', 'title'=> 'Wiki Markup', + 'rel' => 'alternate', 'type'=> 'text/plain', 'title'=> $lang['wikimarkup'], 'href'=> exportlink($ID, 'raw', '', false, '&') ); } |