add translations

This commit is contained in:
Bomrah Harry 2023-10-08 00:33:13 +08:00
parent c937242f76
commit d110b8e129
3 changed files with 7 additions and 3 deletions

View File

@ -3,7 +3,7 @@ class SeminarSignup
include Mongoid::Document include Mongoid::Document
include Mongoid::Timestamps include Mongoid::Timestamps
HiddenFields = ['seminar_signup_id','_id', 'created_at', 'updated_at','seminar_main_id',"serial_number","final_session","final_sessions","preferred_sessions",'seminar_session_id',"seminar_session_ids","preferred_session","sort_number","abstract_number","presentation_type", "filename", "token", "reset_token"] HiddenFields = ['seminar_signup_id','_id', 'created_at', 'updated_at','seminar_main_id',"serial_number","final_session","final_sessions","preferred_sessions",'seminar_session_id',"seminar_session_ids","preferred_session","sort_number","abstract_number","presentation_type", "filename", "token", "reset_token", "emails_sent"]
DefaultEnableFields = ['status','name','tel','phone','email','password','recaptcha'] DefaultEnableFields = ['status','name','tel','phone','email','password','recaptcha']
field :sort_number , type: Integer, default: 10000 field :sort_number , type: Integer, default: 10000

View File

@ -251,4 +251,6 @@ en:
signup_not_confirmed: Signup not confirmed signup_not_confirmed: Signup not confirmed
send_email: Send Email send_email: Send Email
edit_form: Edit Form edit_form: Edit Form
emails_already_sent: Emails Already Sent emails_already_sent: Emails Already Sent
is_confirmed_date: Email confirmed time
signup_confirmed_date: Signup confirmed time

View File

@ -251,4 +251,6 @@ zh_tw:
signup_not_confirmed: 註冊尚未查核確認 signup_not_confirmed: 註冊尚未查核確認
send_email: 寄送Email send_email: 寄送Email
edit_form: 編輯註冊表單 edit_form: 編輯註冊表單
emails_already_sent: 已寄送Email emails_already_sent: 已寄送Email
is_confirmed_date: Email認證時間
signup_confirmed_date: 註冊查核確認時間