translate title of tag page. fixes #9
This commit is contained in:
parent
58ddd6cc27
commit
695adad2c3
|
@ -1,7 +1,7 @@
|
|||
class TagsController < ApplicationController
|
||||
def index
|
||||
@cur_url = "/tags"
|
||||
@title = "Tags"
|
||||
@title = I18n.t 'controllers.tags_controller.tagstitle'
|
||||
|
||||
@tags = Tag.all_with_story_counts_for(nil)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="box wide">
|
||||
<div class="legend">
|
||||
Tags
|
||||
<%= t '.tagstitle' %>
|
||||
</div>
|
||||
|
||||
<% max_size = @tags.map{|t| t.stories_count }.max %>
|
||||
|
|
|
@ -330,6 +330,9 @@ en:
|
|||
newestusers: "Newest users:"
|
||||
administrator: "(administrator)"
|
||||
moderator: "(moderator)"
|
||||
tags:
|
||||
index:
|
||||
tagstitle: "Tags"
|
||||
# data for users/invitationform which is a partial view
|
||||
invitationtext: "Invitations are unlimited, but persons you invite will be associated with your account in the <a href=\"/u\">user tree</a> and you may be responsible for them if they cause problems. Please use your discretion when inviting persons you don't personally know."
|
||||
emailaddress: "E-mail Address:"
|
||||
|
@ -377,6 +380,8 @@ en:
|
|||
editstorytitle: "Edit Story"
|
||||
flashnotallowedsuggestion: "You are not allowed to offer suggestions on that story."
|
||||
flashallowedsuggestion: "Your suggested changes have been noted."
|
||||
tags_controller:
|
||||
tagstitle: "Tags"
|
||||
users_controller:
|
||||
usertitle: "Users"
|
||||
# views.stories.suggest scop, unable to get it, I don't know why
|
||||
|
|
|
@ -343,6 +343,9 @@ fr:
|
|||
newestusers: "Plus récents utilisateurs"
|
||||
administrator: "(administrateur)"
|
||||
moderator: "(modérateur)"
|
||||
tags:
|
||||
index:
|
||||
tagstitle: "Marques"
|
||||
# data for users/invitationform which is a partial view
|
||||
invitationtext: "Le nombre d'invitations est illimité, mais les personnes que vous invitez sont associées à votre compte dans <a href=\"/u\">l'arbre des utilisateurs</a> et vous pourriez être tenu pour responsable s'ils causent des problèmes. Merci d'évaluer le fait d'inviter des gens que vous ne connaissez pas personnellement."
|
||||
emailaddress: "Adresse e-mail :"
|
||||
|
@ -390,6 +393,8 @@ fr:
|
|||
editstorytitle: "Éditer une info"
|
||||
flashnotallowedsuggestion: "Vous n'êtes pas autorisé à offrir des suggestions pour cette info."
|
||||
flashallowedsuggestion: "Les changements que vous avez suggérés ont été notés."
|
||||
tags_controller:
|
||||
tagstitle: "Marques"
|
||||
users_controller:
|
||||
usertitle: "Utilisateurs"
|
||||
# suggest.stories scope, unable to get it so global, I don't know why
|
||||
|
|
Loading…
Reference in a new issue