even more I18N
This commit is contained in:
parent
865cde4eaa
commit
8fd2dc95ba
|
@ -2035,7 +2035,7 @@
|
||||||
print "<select id=\"$id\" name=\"$id\" $attributes>";
|
print "<select id=\"$id\" name=\"$id\" $attributes>";
|
||||||
|
|
||||||
if ($include_all_cats) {
|
if ($include_all_cats) {
|
||||||
print "<option value=\"0\">Uncategorized</option>";
|
print "<option value=\"0\">"._('Uncategorized')."</option>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = db_query($link, "SELECT id,title FROM ttrss_feed_categories
|
$result = db_query($link, "SELECT id,title FROM ttrss_feed_categories
|
||||||
|
@ -2321,9 +2321,9 @@
|
||||||
$feed_title = "";
|
$feed_title = "";
|
||||||
|
|
||||||
if ($search && $search_mode == "all_feeds") {
|
if ($search && $search_mode == "all_feeds") {
|
||||||
$feed_title = "Global search results ($search)";
|
$feed_title = _("Global search results")." ($search)";
|
||||||
} else if ($search && preg_match('/^-?[0-9][0-9]*$/', $feed) == false) {
|
} else if ($search && preg_match('/^-?[0-9][0-9]*$/', $feed) == false) {
|
||||||
$feed_title = "Tag search results ($search, $feed)";
|
$feed_title = _("Tag search results")." ($search, $feed)";
|
||||||
} else if (preg_match('/^-?[0-9][0-9]*$/', $feed) == false) {
|
} else if (preg_match('/^-?[0-9][0-9]*$/', $feed) == false) {
|
||||||
$feed_title = $feed;
|
$feed_title = $feed;
|
||||||
} else if (preg_match('/^-?[0-9][0-9]*$/', $feed) != false && $feed >= 0) {
|
} else if (preg_match('/^-?[0-9][0-9]*$/', $feed) != false && $feed >= 0) {
|
||||||
|
@ -2335,11 +2335,11 @@
|
||||||
WHERE id = '$feed' AND owner_uid = " . $_SESSION["uid"]);
|
WHERE id = '$feed' AND owner_uid = " . $_SESSION["uid"]);
|
||||||
$feed_title = db_fetch_result($result, 0, "title");
|
$feed_title = db_fetch_result($result, 0, "title");
|
||||||
} else {
|
} else {
|
||||||
$feed_title = "Uncategorized";
|
$feed_title = _("Uncategorized");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($search) {
|
if ($search) {
|
||||||
$feed_title = "Category search results ($search, $feed_title)";
|
$feed_title = _("Category search results")." ($search, $feed_title)";
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -2728,16 +2728,16 @@
|
||||||
|
|
||||||
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
||||||
|
|
||||||
print "<td class=\"headlineActions$rtl_cpart\">
|
print "<td class=\"headlineActions$rtl_cpart\">".
|
||||||
Select:
|
_('Select:')."
|
||||||
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, '', true)\">All</a>,
|
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, '', true)\">All</a>,
|
||||||
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, 'Unread', true)\">Unread</a>,
|
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, 'Unread', true)\">Unread</a>,
|
||||||
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', false)\">None</a>
|
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', false)\">None</a>
|
||||||
|
".
|
||||||
Toggle: <a href=\"javascript:selectionToggleUnread()\">Unread</a>,
|
_('Toggle:')." <a href=\"javascript:selectionToggleUnread()\">Unread</a>,
|
||||||
<a href=\"javascript:selectionToggleMarked()\">Starred</a>
|
<a href=\"javascript:selectionToggleMarked()\">Starred</a>
|
||||||
|
".
|
||||||
Mark as read:
|
_('Mark as read:')."
|
||||||
<a href=\"#\" onclick=\"catchupPage()\">Page</a>,
|
<a href=\"#\" onclick=\"catchupPage()\">Page</a>,
|
||||||
<a href=\"#\" onclick=\"catchupCurrentFeed()\">Feed</a>";
|
<a href=\"#\" onclick=\"catchupCurrentFeed()\">Feed</a>";
|
||||||
print "</td>";
|
print "</td>";
|
||||||
|
@ -2746,23 +2746,23 @@
|
||||||
print "<td class=\"headlineActions$rtl_cpart\">
|
print "<td class=\"headlineActions$rtl_cpart\">
|
||||||
<a href=\"javascript:labelFromSearch('$search', '$search_mode',
|
<a href=\"javascript:labelFromSearch('$search', '$search_mode',
|
||||||
'$match_on', '$feed_id', '$is_cat');\">
|
'$match_on', '$feed_id', '$is_cat');\">
|
||||||
Convert this search to label</a></td>";
|
"._('Convert this search to label')."</a></td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
print "<td class=\"headlineActions$rtl_cpart\">
|
print "<td class=\"headlineActions$rtl_cpart\">".
|
||||||
Select:
|
_('Select:')."
|
||||||
<a href=\"javascript:cdmSelectArticles('all')\">All</a>,
|
<a href=\"javascript:cdmSelectArticles('all')\">"._('All')."</a>,
|
||||||
<a href=\"javascript:cdmSelectArticles('unread')\">Unread</a>,
|
<a href=\"javascript:cdmSelectArticles('unread')\">"._('Unread')."</a>,
|
||||||
<a href=\"javascript:cdmSelectArticles('none')\">None</a>
|
<a href=\"javascript:cdmSelectArticles('none')\">"._('None')."</a>
|
||||||
|
".
|
||||||
Toggle: <a href=\"javascript:selectionToggleUnread(true)\">Unread</a>,
|
_('Toggle:')." <a href=\"javascript:selectionToggleUnread(true)\">"._('Unread')."</a>,
|
||||||
<a href=\"javascript:selectionToggleMarked(true)\">Starred</a>
|
<a href=\"javascript:selectionToggleMarked(true)\">"._('Starred')."</a>
|
||||||
|
".
|
||||||
Mark as read:
|
_('Mark as read:').
|
||||||
<a href=\"#\" onclick=\"catchupPage()\">Page</a>,
|
"<a href=\"#\" onclick=\"catchupPage()\">"._('Page')."</a>,
|
||||||
<a href=\"#\" onclick=\"catchupCurrentFeed()\">Feed</a>";
|
<a href=\"#\" onclick=\"catchupCurrentFeed()\">"._('Feed')."</a>";
|
||||||
|
|
||||||
print "</td>";
|
print "</td>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue