+ :equal_to => "ต้องมีค่าเท่ากับ {{count}}",
+ :less_than => "ต้องมีค่าน้อยกว่า {{count}}",
+ :less_than_or_equal_to => "ต้องมีค่าน้อยกว่าหรือเท่ากับ {{count}}",
+ :odd => "ต้องเป็นจำนวนคี่",
+ :even => "ต้องเป็นจำนวนคู่",
+ :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"
+ # },
+ },
+
+ :date => {
+ :formats => {
+ # Use the strftime parameters for formats.
+ # When no format has been given, it uses default.
+ # You can provide other formats here if you like!
+ :default => lambda { |date, opts| "%d-%m-#{date.year + 543}" },
+ :short => "%e %b",
+ :long => lambda { |date, opts| "%e %B #{date.year + 543}" },
+ },
+
+ :day_names => ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์"],
+ :abbr_day_names => ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
+
+ # Don't forget the nil at the beginning; there's no such thing as a 0th month
+ :month_names => [nil, "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
+ :abbr_month_names => [nil, "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
+ # Used in date_select and datime_select.
+ :order => [ :day, :month, :year ]
+ },
+
+ :time => {
+ :formats => {
+ :default => lambda { |date, opts| "%a %d %b #{date.year + 543} %H:%M:%S %z" },
+ :short => "%e %b %H:%M น.",
+ :long => lambda { |date, opts| "%e %B #{date.year + 543} %H:%M น." },
+ },
+ :am => "",
+ :pm => "",
+ },
+
+ # Used in array.to_sentence.
+ :support => {
+ :array => {
+ :words_connector => ", ",
+ :two_words_connector => " และ ",
+ :last_word_connector => ", และ ",
+ },
+ :select => {
+ # default value for :prompt => true in FormOptionsHelper
+ :prompt => "โปรดเลือก"