diff --git a/mobile/functions.php b/mobile/functions.php
index e5904d7b2..a37bc0207 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -9,16 +9,16 @@
print "
";
print "";
@@ -30,7 +30,7 @@
/* virtual feeds */
if (get_pref($link, 'ENABLE_FEED_CATS')) {
- print "- Special
";
+ print "- ".__("Special")."
";
print "";
}
@@ -72,7 +72,7 @@
if (db_num_rows($result) > 0) {
if (get_pref($link, 'ENABLE_FEED_CATS')) {
- print "- Labels
";
+ print "- ".__("Labels")."
";
print "";
} else {
// print "
";
@@ -139,9 +139,12 @@
$lnum = 0;
$category = "";
-
+
while ($line = db_fetch_assoc($result)) {
-
+ if (get_pref($link, 'HIDE_READ_FEEDS') && (int)$line['unread']==0) {
+ continue;
+ }
+
$feed = db_unescape_string($line["title"]);
$feed_id = $line["id"];
@@ -413,8 +416,9 @@
/// STOP //////////////////////////////////////////////////////////////////////////////////
if (!$result) {
- print "
- Could not display feed (query failed). Please check label match syntax or local configuration.
";
+ print "".
+ __("Could not display feed (query failed). Please check label match syntax or local configuration.").
+ "
";
return;
}
@@ -424,9 +428,9 @@
# }
print "$feed_title (";
- print "Back, ";
- print "Search, ";
- print "Update";
+ print "".__("Back").", ";
+ print "".__("Search").", ";
+ print "".__("Update")."";
# print "Mark as read: ";
# print "Page, ";
@@ -491,10 +495,10 @@
($line["unread"] != "t" && $line["unread"] != "1")) {
$update_pic = "";
+ alt=\"".__("Updated")."\">";
} else {
$update_pic = "";
+ alt=\"".__("Updated")."\">";
}
if ($line["unread"] == "t" || $line["unread"] == "1") {
@@ -560,20 +564,20 @@
print "Feed"; */
print "Select:
- All,
- Unread,
- None,
- Invert";
+ ".__("All").",
+ ".__("Unread").",
+ ".__("None").",
+ ".__("Invert")."";
print " ";
print "
- ";
+ ";
print "";
@@ -688,7 +692,7 @@
print "";
if ($num_tags > 0) {
- print "Tags: $tags_str
";
+ print "".__("Tags:")." $tags_str
";
}
if ($line["marked"] == "t" || $line["marked"] == "1") {
@@ -719,8 +723,8 @@
print "";
+ print __("Search")."
+ (".__("Go back").")";
print "