]> git.wh0rd.org Git - tt-rss.git/commitdiff
tweak subtoolbar (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 May 2007 04:36:13 +0000 (05:36 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 May 2007 04:36:13 +0000 (05:36 +0100)
functions.php

index 77161e8c29106c3dbfffcf17cd898c651e09ff71..678f11311a8279bac246c6fedf9b945702360a11 100644 (file)
                        $feed_title = "";
 
                        if ($search && $search_mode == "all_feeds") {
-                               $feed_title = __("Global search results")." ($search)";
+                               $feed_title = __("Search results")." ($search)";
                        } else if ($search && preg_match('/^-?[0-9][0-9]*$/', $feed) == false) {
-                               $feed_title = __("Tag search results")." ($search, $feed)";
+                               $feed_title = __("Search results")." ($search, $feed)";
                        } else if (preg_match('/^-?[0-9][0-9]*$/', $feed) == false) {
                                $feed_title = $feed;
                        } else if (preg_match('/^-?[0-9][0-9]*$/', $feed) != false && $feed >= 0) {
                                        }
 
                                        if ($search) {
-                                               $feed_title = __("Category search results")." ($search, $feed_title)";
+                                               $feed_title = __("Searched for")." $search ($feed_title)";
                                        }
 
                                } else {
                                        $last_error = db_fetch_result($result, 0, "last_error");
 
                                        if ($search) {
-                                               $feed_title = __("Feed search results") . " ($search, $feed_title)";
+                                               $feed_title = __("Searched for") . " $search ($feed_title)";
                                        }
                                }
        
                                $feed_title = db_fetch_result($result, 0, "description");
 
                                if ($search) {
-                                       $feed_title = __("Label search results") . " ($search, $feed_title)";
+                                       $feed_title = __("Searched for") . " $search ($feed_title)";
                                }
                        } else {
                                $feed_title = "?";
                                                print "<li class=\"top3\">
                                                        <a href=\"javascript:labelFromSearch('$search', '$search_mode',
                                                                '$match_on', '$feed_id', '$is_cat');\">
-                                                               ".__('Convert to Label')."</a></td>";
+                                                               ".__('Convert to label')."</a></td>";
                                        }
                                        print " 
                                        </td>"; 
                                        print "&nbsp;&nbsp;
                                                        <a href=\"javascript:labelFromSearch('$search', '$search_mode',
                                                                '$match_on', '$feed_id', '$is_cat');\">
-                                                       ".__('Convert to Label')."</a>";
+                                                       ".__('Convert to label')."</a>";
                                }
 
                                print "</td>";