i18n of controllers/comments_controllers
This commit is contained in:
parent
8def5c46da
commit
a587e2d32c
|
@ -198,7 +198,7 @@ class CommentsController < ApplicationController
|
||||||
@rss_link ||= { :title => "RSS 2.0 - Newest Comments",
|
@rss_link ||= { :title => "RSS 2.0 - Newest Comments",
|
||||||
:href => "/comments.rss#{@user ? "?token=#{@user.rss_token}" : ""}" }
|
:href => "/comments.rss#{@user ? "?token=#{@user.rss_token}" : ""}" }
|
||||||
|
|
||||||
@heading = @title = "Newest Comments"
|
@heading = @title = I18n.t 'controllers.comments_controller.commentstitle'
|
||||||
@cur_url = "/comments"
|
@cur_url = "/comments"
|
||||||
|
|
||||||
@page = params[:page].to_i
|
@page = params[:page].to_i
|
||||||
|
@ -256,7 +256,7 @@ class CommentsController < ApplicationController
|
||||||
return redirect_to "/login"
|
return redirect_to "/login"
|
||||||
else
|
else
|
||||||
@showing_user = @user
|
@showing_user = @user
|
||||||
@heading = @title = "Your Threads"
|
@heading = @title = I18n.t 'controllers.comments_controller.threadstitle'
|
||||||
@cur_url = "/threads"
|
@cur_url = "/threads"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -317,6 +317,9 @@ en:
|
||||||
sendinvitation: "Send Invitation"
|
sendinvitation: "Send Invitation"
|
||||||
# controllers
|
# controllers
|
||||||
controllers:
|
controllers:
|
||||||
|
comments_controller:
|
||||||
|
commentstitle: "Newest Comments"
|
||||||
|
threadstitle: "Your Threads"
|
||||||
home_controllers:
|
home_controllers:
|
||||||
recenttitle: "Recent Stories"
|
recenttitle: "Recent Stories"
|
||||||
abouttitle: "About"
|
abouttitle: "About"
|
||||||
|
@ -329,3 +332,4 @@ en:
|
||||||
stories_controller:
|
stories_controller:
|
||||||
submitstorytitle: "Submit Story"
|
submitstorytitle: "Submit Story"
|
||||||
editstorytitle: "Edit Story"
|
editstorytitle: "Edit Story"
|
||||||
|
|
||||||
|
|
|
@ -329,6 +329,9 @@ fr:
|
||||||
sendinvitation: "Envoyer l'invitation"
|
sendinvitation: "Envoyer l'invitation"
|
||||||
# controllers
|
# controllers
|
||||||
controllers:
|
controllers:
|
||||||
|
comments_controller:
|
||||||
|
commentstitle: "Derniers commentaires"
|
||||||
|
threadstitle: "Vos sujets"
|
||||||
home_controller:
|
home_controller:
|
||||||
recenttitle: "Infos récentes"
|
recenttitle: "Infos récentes"
|
||||||
abouttitle: "À propos"
|
abouttitle: "À propos"
|
||||||
|
|
Loading…
Reference in a new issue