diff options
author | Andrew Dolgov <[email protected]> | 2007-03-05 10:04:55 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-05 10:04:55 +0100 |
commit | 1025ad87633f30d00a3c283b3e8ad2bafa384a5c (patch) | |
tree | 4991677b859501c3a2b5161ebaa92cec0d37e696 /modules/opml_domdoc.php | |
parent | d1db26aa1c18130accf6e536a063efadbab65a1d (diff) |
more I18N work
Diffstat (limited to 'modules/opml_domdoc.php')
-rw-r--r-- | modules/opml_domdoc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/opml_domdoc.php b/modules/opml_domdoc.php index 156e46c7f..bd10284b2 100644 --- a/modules/opml_domdoc.php +++ b/modules/opml_domdoc.php @@ -41,7 +41,7 @@ if (db_num_rows($result) == 0) { - print "Adding category <b>$cat_title</b>...<br>"; + printf(__("Adding category <b>%s</b>...<br>"), $cat_title); db_query($link, "INSERT INTO ttrss_feed_categories (title,owner_uid) @@ -86,7 +86,7 @@ (<a target='_new' href=\"$feed_url\">rss</a>)</td>"; if (db_num_rows($result) > 0) { - print "<td>Already imported.</td>"; + print "<td>".__('Already imported.')."</td>"; } else { if ($cat_id) { @@ -104,7 +104,7 @@ db_query($link, $add_query); - print "<td><b>Done.</b></td>"; + print "<td><b>".__('Done.')."</b></td>"; } print "</tr>"; @@ -115,11 +115,11 @@ print "</table>"; } else { - print "<div class=\"error\">Error while parsing document.</div>"; + print "<div class=\"error\">".__('Error while parsing document.')."</div>"; } } else { - print "<div class=\"error\">Error: please upload OPML file.</div>"; + print "<div class=\"error\">".__('Error: please upload OPML file.')."</div>"; } |