summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-09 19:12:31 +0100
committerAndrew Dolgov <[email protected]>2007-03-09 19:12:31 +0100
commit3692e98fe393502dec785fceaf5e14f5b67da5ef (patch)
tree2b1d32918354328c6e05c0e6ef24d0bba34aad32 /modules
parent99e37e09a5367be191d80e6c6849825f34b50905 (diff)
update translation
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feed-browser.php10
-rw-r--r--modules/pref-feeds.php27
-rw-r--r--modules/pref-filters.php2
-rw-r--r--modules/pref-users.php6
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&nbsp;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&nbsp;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%'>&nbsp;</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&nbsp;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&nbsp;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 "&nbsp;|&nbsp;";
@@ -993,7 +994,7 @@
type=\"submit\" value=\"".__('Import')."\">
</form></div>";
- print "&nbsp; or &nbsp;";
+ print "&nbsp;";
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%\">&nbsp;</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;