Skip to content

Instantly share code, notes, and snippets.

@marugoshi
Created September 20, 2010 18:16
Show Gist options
  • Save marugoshi/588354 to your computer and use it in GitHub Desktop.
Save marugoshi/588354 to your computer and use it in GitHub Desktop.
ja:
# extract from activesupport
date:
formats:
default: "%Y/%m/%d"
short: "%m/%d"
long: "%Y年%m月%d日(%a)"
day_names: [日曜日, 月曜日, 火曜日, 水曜日, 木曜日, 金曜日, 土曜日]
abbr_day_names: [日, 月, 火, 水, 木, 金, 土]
month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
order:
- :year
- :month
- :day
time:
formats:
default: "%Y/%m/%d %H:%M:%S"
short: "%y/%m/%d %H:%M"
long: "%Y年%m月%d日(%a) %H時%M分%S秒 %Z"
am: "午前"
pm: "午後"
support:
array:
words_connector: "と"
two_words_connector: "と"
last_word_connector: "と"
# extract from actionpack/actionview
number:
format:
separator: "."
delimiter: ","
precision: 3
currency:
format:
format: "%n%u"
unit: "円"
separator: "."
delimiter: ","
precision: 0
percentage:
format:
delimiter: ""
precision:
format:
delimiter: ""
human:
format:
delimiter: ""
precision: 1
storage_units:
format: "%u%n"
units:
byte:
one: "バイト"
other: "バイト"
kb: "キロバイト"
mb: "メガバイト"
gb: "ギガバイト"
tb: "テラバイト"
datetime:
distance_in_words:
half_a_minute: "30秒前後"
less_than_x_seconds:
one: "1秒以内"
other: "%{count}秒以内"
x_seconds:
one: "1秒"
other: "%{count}秒"
less_than_x_minutes:
one: "1分以内"
other: "%{count}分以内"
x_minutes:
one: "1分"
other: "%{count}分"
about_x_hours:
one: "約1時間"
other: "約%{count}時間"
x_days:
one: "1日"
other: "%{count}日"
about_x_months:
one: "約1ヶ月"
other: "約%{count}ヶ月"
x_months:
one: "1ヶ月"
other: "%{count}ヶ月"
about_x_years:
one: "約%{count}年"
other: "約%{count}年"
over_x_years:
one: "%{count}年以上"
other: "%{count}年以上"
almost_x_years:
one: "約%{count}年"
other: "約%{count}年"
prompts:
year: "年"
month: "月"
day: "日"
hour: "時"
minute: "分"
second: "秒"
helpers:
select:
prompt: "選択してください。"
submit:
create: '%{model}を登録'
update: '%{model}を更新'
submit: '%{model}を保存'
# extract from activemodel
errors:
format: "%{attribute}%{message}"
messages:
inclusion: "は一覧にありません。"
exclusion: "は予約されています。"
invalid: "は不正な値です。"
confirmation: "が一致しません。"
accepted: "を受諾してください。"
empty: "を入力してください。"
blank: "を入力してください。"
too_long: "は%{count}文字以内で入力してください。"
too_short: "は%{count}文字以上で入力してください。"
wrong_length: "は%{count}文字で入力してください。"
not_a_number: "は数値で入力してください。"
not_an_integer: "は整数で入力してください。"
greater_than: "は%{count}より大きい値にしてください。"
greater_than_or_equal_to: "は%{count}以上の値にしてください。"
equal_to: "は%{count}にしてください。"
less_than: "は%{count}より小さい値にしてください。"
less_than_or_equal_to: "は%{count}以下の値にしてください。"
odd: "は奇数にしてください。"
even: "は偶数にしてください。"
# extract from activerecord
# Attributes names common to most models
attributes:
created_at: "登録日時"
updated_at: "更新日時"
# Active Record models configuration
activerecord:
errors:
messages:
taken: "はすでに存在します。"
record_invalid: "バリデーションに失敗しました。 %{errors}"
# Append your own errors here or at the model/attributes scope.
# You can define own errors for models or model attributes.
# The values :model, :attribute and :value are always available for interpolation.
#
# For example,
# models:
# user:
# blank: "This is a custom blank message for %{model}: %{attribute}"
# attributes:
# login:
# blank: "This is a custom blank message for User login"
# Will define custom blank validation message for User model and
# custom blank validation message for login attribute of User model.
#models:
# Translate model names. Used in Model.human_name().
#models:
# For example,
# user: "Dude"
# will translate User model name to "Dude"
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
#attributes:
# For example,
# user:
# login: "Handle"
# will translate User attribute "login" as "Handle"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment