diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb
index aff2e1a..6f191de 100644
--- a/app/views/search/index.html.erb
+++ b/app/views/search/index.html.erb
@@ -1,47 +1,47 @@
- Search
+ <%= t('.search') %>
<%= form_tag "/search", :method => :get do %>
<%= text_field_tag "q", @search.q, { :size => 40 }.
merge(@search.q.present? ? {} : { :autofocus => "autofocus" }) %>
-
+
-
+
<%= radio_button_tag "what", "all", @search.what == "all" %>
-
+
<%= radio_button_tag "what", "stories", @search.what == "stories" %>
-
+
<%= radio_button_tag "what", "comments", @search.what == "comments" %>
-
+
-
+
<%= radio_button_tag "order", "relevance", @search.order == "relevance" %>
-
+
<%= radio_button_tag "order", "newest", @search.order == "newest" %>
-
+
<%= radio_button_tag "order", "points", @search.order == "points" %>
-
+
<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index cf1205a..1b5a4f0 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -65,6 +65,18 @@ en:
actionline: "Action"
reasonline: "Reason"
page: "Page"
+ search:
+ index:
+ search: "Search"
+ searchbutton: "Search"
+ include: "Include:"
+ orderby: "Order By:"
+ all: "All"
+ stories: "Stories"
+ comments: "Comments"
+ newest: "Newest"
+ relevance: "Relevance"
+ points: "Points"
settings:
delete_account:
deleteaccountflash: "Your account has been deleted."
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index 77b5c13..973e52b 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -77,6 +77,18 @@ fr:
actionline: "Action"
reasonline: "Raison"
page: "Page"
+ search:
+ index:
+ search: "Rechercher"
+ searchbutton: "Rechercher"
+ include: "Inclus :"
+ orderby: "Ordonné par :"
+ all: "Tous"
+ stories: "Infos"
+ comments: "Commentaires"
+ newest: "Le plus récent"
+ relevance: "Pertinence"
+ points: "Score"
settings:
delete_account:
deleteaccountflash: "Votre compte a été supprimé."