]> git.wh0rd.org - tt-rss.git/blobdiff - modules/opml_domdoc.php
more I18N work
[tt-rss.git] / modules / opml_domdoc.php
index 156e46c7f5780517b7449205f5da2233d63ad67e..bd10284b2151465ea1b1032d85a46dd1622b4b9b 100644 (file)
@@ -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) {
 
                                                db_query($link, $add_query);
 
-                                               print "<td><b>Done.</b></td>";
+                                               print "<td><b>".__('Done.')."</b></td>";
                                        }
 
                                        print "</tr>";
                                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>";
                }