]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
update translations
[tt-rss.git] / functions.php
index 1058d43a0c7836514ba3b91d061d1db824a7fe8d..4b80c5e0f5980101b23c47abf6b6c448f3555332 100644 (file)
                if (SESSION_CHECK_ADDRESS && $_SESSION["uid"]) {
                        if ($_SESSION["ip_address"]) {
                                if ($_SESSION["ip_address"] != $_SERVER["REMOTE_ADDR"]) {
-                                       $_SESSION["login_error_msg"] = "Session failed to validate (incorrect IP)";
+                                       $_SESSION["login_error_msg"] = __("Session failed to validate (incorrect IP)");
                                        return false;
                                }
                        }
 
                                        return;
                                } else {
-                                       $_SESSION["login_error_msg"] = "Incorrect username or password";
+                                       $_SESSION["login_error_msg"] = __("Incorrect username or password");
                                }
                        }
 
 
                                                        $cur_feed_title = htmlspecialchars($cur_feed_title);
 
-                                                       $vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id);' href='#'>mark as read</a>)";
+                                                       $vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id);' href='#'>".__('mark as read')."</a>)";
 
                                                        print "<tr class='feedTitle'><td colspan='7'>".
                                                                "<div style=\"float : right\">$feed_icon_img</div>".
 
                                                        $cur_feed_title = htmlspecialchars($cur_feed_title);
 
-                                                       $vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id);' href='#'>mark as read</a>)";
+                                                       $vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id);' href='#'>".__('mark as read')."</a>)";
 
                                                        $has_feed_icon = feed_has_icon($feed_id);