fixed a translation, keep up the new format in en.yml, set pagination labels in application controller
This commit is contained in:
parent
42a361dcce
commit
a05c9b0010
4 changed files with 12 additions and 13 deletions
|
|
@ -67,7 +67,11 @@ class ApplicationController < ActionController::Base
|
||||||
else
|
else
|
||||||
I18n.locale = request.compatible_language_from AVAILABLE_LANGUAGE_CODES
|
I18n.locale = request.compatible_language_from AVAILABLE_LANGUAGE_CODES
|
||||||
end
|
end
|
||||||
|
|
||||||
|
WillPaginate::ViewHelpers.pagination_options[:previous_label] = "« #{I18n.t('previous')}"
|
||||||
|
WillPaginate::ViewHelpers.pagination_options[:next_label] = "#{I18n.t('next')} »"
|
||||||
end
|
end
|
||||||
|
|
||||||
def clear_gc_stats
|
def clear_gc_stats
|
||||||
GC.clear_stats if GC.respond_to?(:clear_stats)
|
GC.clear_stats if GC.respond_to?(:clear_stats)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
%h3
|
%h3
|
||||||
.right
|
.right
|
||||||
= link_to t('.new_message'), new_conversation_path, :class => 'button', :rel => 'facebox'
|
= link_to t('.new_message'), new_conversation_path, :class => 'button', :rel => 'facebox'
|
||||||
Inbox
|
= t('.inbox')
|
||||||
|
|
||||||
#conversation_inbox
|
#conversation_inbox
|
||||||
- if @conversations.count > 0
|
- if @conversations.count > 0
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# Copyright (c) 2010, Diaspora Inc. This file is
|
|
||||||
# licensed under the Affero General Public License version 3 or later. See
|
|
||||||
# the COPYRIGHT file.
|
|
||||||
|
|
||||||
WillPaginate::ViewHelpers.pagination_options[:previous_label] = "« #{I18n.t('previous')}"
|
|
||||||
WillPaginate::ViewHelpers.pagination_options[:next_label] = "#{I18n.t('next')} »"
|
|
||||||
|
|
@ -184,6 +184,7 @@ en:
|
||||||
no_conversation_selected: "no conversation selected"
|
no_conversation_selected: "no conversation selected"
|
||||||
create_a_new_message: "create a new message"
|
create_a_new_message: "create a new message"
|
||||||
no_messages: "no messages"
|
no_messages: "no messages"
|
||||||
|
inbox: "Inbox"
|
||||||
show:
|
show:
|
||||||
reply: "reply"
|
reply: "reply"
|
||||||
delete: "delete and block conversation"
|
delete: "delete and block conversation"
|
||||||
|
|
@ -406,12 +407,6 @@ en:
|
||||||
posts:
|
posts:
|
||||||
doesnt_exist: "that post does not exist!"
|
doesnt_exist: "that post does not exist!"
|
||||||
|
|
||||||
tags:
|
|
||||||
show:
|
|
||||||
posts_tagged_with: "Posts tagged with #%{tag}"
|
|
||||||
nobody_talking: "Nobody is talking about %{tag} yet."
|
|
||||||
people_tagged_with: "People tagged with %{tag}"
|
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
edit:
|
edit:
|
||||||
your_public_profile: "Your public profile"
|
your_public_profile: "Your public profile"
|
||||||
|
|
@ -560,6 +555,12 @@ en:
|
||||||
show_comments: "show all comments"
|
show_comments: "show all comments"
|
||||||
hide_comments: "hide comments"
|
hide_comments: "hide comments"
|
||||||
|
|
||||||
|
tags:
|
||||||
|
show:
|
||||||
|
posts_tagged_with: "Posts tagged with #%{tag}"
|
||||||
|
nobody_talking: "Nobody is talking about %{tag} yet."
|
||||||
|
people_tagged_with: "People tagged with %{tag}"
|
||||||
|
|
||||||
users:
|
users:
|
||||||
edit:
|
edit:
|
||||||
export_data: "Export Data"
|
export_data: "Export Data"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue