summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-05 09:37:13 +0100
committerAndrew Dolgov <[email protected]>2007-03-05 09:37:13 +0100
commit659468ebf0197e682cc70629c3b538e793e765a2 (patch)
tree75a4a19c03439b718fc90df0e7119b9c20cf851f /tt-rss.php
parent439bbe63ef88e530ec538884207a31c57a55c560 (diff)
add php-gettext, i18n stuff
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tt-rss.php b/tt-rss.php
index fe7cc01ae..052a52523 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -2,6 +2,9 @@
error_reporting(E_ERROR | E_WARNING | E_PARSE);
require_once "functions.php";
+
+ startup_gettext();
+
require_once "sessions.php";
require_once "sanity_check.php";
require_once "version.php";
@@ -104,7 +107,7 @@ window.onload = init;
<div id="header">
<div style="float : right">
<?php if (!SINGLE_USER_MODE) { ?>
- <?php echo _('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
+ <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
(<a href="logout.php">Logout</a>)
<?php } ?>
<img id="newVersionIcon" onclick="javascript:explainError(2)"