diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pref-feed-browser.php | 10 | ||||
-rw-r--r-- | modules/pref-feeds.php | 27 | ||||
-rw-r--r-- | modules/pref-filters.php | 2 | ||||
-rw-r--r-- | modules/pref-users.php | 6 |
4 files changed, 23 insertions, 22 deletions
diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php index 250705a15..725389362 100644 --- a/modules/pref-feed-browser.php +++ b/modules/pref-feed-browser.php @@ -72,7 +72,7 @@ return; } - print "<div>This panel shows feeds subscribed by other users of this system, just in case you are interested in them too.</div>"; + print "<div>".__('This panel shows feeds subscribed by other users of this system, just in case you are interested in them too.')."</div>"; $limit = db_escape_string($_GET["limit"]); @@ -88,7 +88,7 @@ print "<div style=\"float : right\"> - Top <select id=\"feedBrowserLimit\">"; + ".__('Top')." <select id=\"feedBrowserLimit\">"; foreach (array(25, 50, 100) as $l) { $issel = ($l == $limit) ? "selected" : ""; @@ -97,12 +97,12 @@ print "</select> <input type=\"submit\" class=\"button\" - onclick=\"updateBigFeedBrowser()\" value=\"Show\"> + onclick=\"updateBigFeedBrowser()\" value=\"".__('Show')."\"> </div>"; - print "<p id=\"fbrOpToolbar\">Selection: + print "<p id=\"fbrOpToolbar\"> <input type='submit' class='button' onclick=\"feedBrowserSubscribe()\" - disabled=\"true\" value=\"Subscribe\">"; + disabled=\"true\" value=\"".__('Subscribe')."\">"; print "<ul class='nomarks' id='browseBigFeedList'>"; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 57a224eb9..ffdbcf25b 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -293,7 +293,7 @@ } print "<br><input type=\"checkbox\" id=\"rtl_content\" name=\"rtl_content\" - $checked><label for=\"rtl_content\">Right-to-left content</label>"; + $checked><label for=\"rtl_content\">".__('Right-to-left content')."</label>"; $hidden = sql_bool_to_bool(db_fetch_result($result, 0, "hidden")); @@ -757,7 +757,7 @@ size=\"40\"> <input type=\"submit\" class=\"button\" disabled=\"true\" id=\"fadd_submit_btn\" - onclick=\"addFeed()\" value=\"Subscribe\">"; + onclick=\"addFeed()\" value=\"".__('Subscribe')."\">"; if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) { print " <input type=\"submit\" class=\"button\" @@ -833,10 +833,10 @@ } print " - <td width='35%'><a href=\"javascript:updateFeedList('title')\">Title</a></td> - <td width='35%'><a href=\"javascript:updateFeedList('feed_url')\">Feed</a></td> - <td width='15%'><a href=\"javascript:updateFeedList('last_article')\">Last Article</a></td> - <td width='15%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">Updated</a></td>"; + <td width='35%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td> + <td width='35%'><a href=\"javascript:updateFeedList('feed_url')\">".__('Feed')."</a></td> + <td width='15%'><a href=\"javascript:updateFeedList('last_article')\">".__('Last Article')."</a></td> + <td width='15%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>"; } $lnum = 0; @@ -854,7 +854,7 @@ $hidden = sql_bool_to_bool($line["hidden"]); - if (!$edit_cat) $edit_cat = "Uncategorized"; + if (!$edit_cat) $edit_cat = __("Uncategorized"); $last_updated = $line["last_updated"]; @@ -886,10 +886,10 @@ print "<td width='3%'> </td>"; } - print "<td width='35%'><a href=\"javascript:updateFeedList('title')\">Title</a></td> - <td width='35%'><a href=\"javascript:updateFeedList('feed_url')\">Feed</a></td> - <td width='15%'><a href=\"javascript:updateFeedList('last_article')\">Last Article</a></td> - <td width='15%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">Updated</a></td>"; + print "<td width='35%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td> + <td width='35%'><a href=\"javascript:updateFeedList('feed_url')\">".__('Feed')."</a></td> + <td width='15%'><a href=\"javascript:updateFeedList('last_article')\">".__('Last Article')."</a></td> + <td width='15%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>"; $cur_cat_id = $cat_id; } @@ -973,7 +973,8 @@ if (get_pref($link, 'ENABLE_FEED_CATS')) { print " <input type=\"submit\" class=\"button\" - onclick=\"javascript:editFeedCats()\" value=\"".__('Edit categories')."\">"; + onclick=\"javascript:editFeedCats()\" value=\"". + __("Edit categories")."\">"; # print " | "; @@ -993,7 +994,7 @@ type=\"submit\" value=\"".__('Import')."\"> </form></div>"; - print " or "; + print " "; print "<input type=\"submit\" class=\"button\" onclick=\"gotoExportOpml()\" diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 57432955a..da9cbdaa2 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -42,7 +42,7 @@ print "<table width='100%'>"; - print "<tr><td>Match:</td> + print "<tr><td>".__('Match:')."</td> <td><input onkeypress=\"return filterCR(event, filterEditSave)\" onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\" onchange=\"toggleSubmitNotEmpty(this, 'infobox_submit')\" diff --git a/modules/pref-users.php b/modules/pref-users.php index fbd6d7762..b337a1a09 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -210,9 +210,9 @@ print "<tr class=\"title\"> <td align='center' width=\"5%\"> </td> - <td width='40%'><a href=\"javascript:updateUsersList('login')\">Login</a></td> - <td width='40%'><a href=\"javascript:updateUsersList('access_level')\">Access Level</a></td> - <td width='30%'><a href=\"javascript:updateUsersList('last_login')\">Last login</a></td></tr>"; + <td width='40%'><a href=\"javascript:updateUsersList('login')\">".__('Login')."</a></td> + <td width='40%'><a href=\"javascript:updateUsersList('access_level')\">".__('Access Level')."</a></td> + <td width='30%'><a href=\"javascript:updateUsersList('last_login')\">".__('Last login')."</a></td></tr>"; $lnum = 0; |