Adding some localizations

This commit is contained in:
Eugen Rochko 2016-11-15 23:02:57 +01:00
parent a4313224d9
commit 3ce6ac0ce2
19 changed files with 91 additions and 88 deletions

View file

@ -1,23 +1,23 @@
# Files in the config/locales directory are used for internationalization
# and are automatically loaded by Rails. If you want to use locales other
# than English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
# I18n.t 'hello'
#
# In views, this is aliased to just `t`:
#
# <%= t('hello') %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# To learn more, please read the Rails Internationalization guide
# available at http://guides.rubyonrails.org/i18n.html.
en:
hello: "Hello world"
auth:
login: Log in
register: Sign up
forgot_password: Forgot your password?
didnt_get_confirmation: Didn't receive confirmation instructions?
resend_confirmation: Resend confirmation instructions
reset_password: Reset password
set_new_password: Set new password
change_password: Change password
generic:
save_changes: Save changes
validation_errors:
one: Something isn't quite right yet! Please review the error below
other: Something isn't quite right yet! Please review %{count} errors below
powered_by: powered by %{link}
changes_saved_msg: Changes successfully saved!
pagination:
next: Next
prev: Prev
settings:
edit_profile: Edit profile
preferences: Preferences

View file

@ -5,15 +5,27 @@ en:
required:
text: 'required'
mark: '*'
# You can uncomment the line below if you need to overwrite the whole required html.
# When using html, text and mark won't be used.
# html: '<abbr title="required">*</abbr>'
error_notification:
default_message: "Please review the problems below:"
# Examples
# labels:
# defaults:
# password: 'Password'
labels:
defaults:
email: E-mail address
password: Password
username: Username
confirm_password: Confirm password
new_password: New password
confirm_new_password: Confirm new password
current_password: Current password
display_name: Display name
note: Bio
avatar: Avatar
header: Header
notification_emails:
follow: Send e-mail when someone follows you
reblog: Send e-mail when someone reblogs your status
favourite: Send e-mail when someone favourites your status
mention: Send e-mail when someone mentions you
# user:
# new:
# email: 'E-mail to sign in.'