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