Update announcement and change user account characters
This commit is contained in:
parent
e591499de5
commit
0db4afe643
|
@ -89,7 +89,7 @@ class User
|
||||||
|
|
||||||
validates :user_id,
|
validates :user_id,
|
||||||
:presence => { :message => I18n.t("users.user_id_not_null") } ,
|
:presence => { :message => I18n.t("users.user_id_not_null") } ,
|
||||||
:length => {:minimum => 3, :maximum => 50, :message => I18n.t("users.user_id_length") },
|
:length => {:minimum => 2, :maximum => 50, :message => I18n.t("users.user_id_length") },
|
||||||
:uniqueness => true
|
:uniqueness => true
|
||||||
|
|
||||||
scope :approval_pending, where(:approved => false)
|
scope :approval_pending, where(:approved => false)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#built-in-modules
|
#built-in-modules
|
||||||
gem 'archive', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-archive.git'
|
gem 'archive', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-archive.git'
|
||||||
gem 'announcement', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-announcement.git', :branch => 'approval'
|
gem 'announcement', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-announcement.git'
|
||||||
gem 'gallery', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-gallery.git'
|
gem 'gallery', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-gallery.git'
|
||||||
gem 'member', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-member.git'
|
gem 'member', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-member.git'
|
||||||
gem 'member_staff', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-memberstaff.git'
|
gem 'member_staff', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-memberstaff.git'
|
||||||
|
|
|
@ -600,7 +600,7 @@ en:
|
||||||
user_id: User Account
|
user_id: User Account
|
||||||
user_id_note: Should be more than 3 characters and less than 50 characters
|
user_id_note: Should be more than 3 characters and less than 50 characters
|
||||||
user_id_not_null: User account cannot be null
|
user_id_not_null: User account cannot be null
|
||||||
user_id_length: User account should be more than 3 characters
|
user_id_length: User account should be more than 2 characters
|
||||||
user_id_error: Someone already use that user account
|
user_id_error: Someone already use that user account
|
||||||
user_basic_id_form: Account Info.
|
user_basic_id_form: Account Info.
|
||||||
user_basic_data: Personal Profile
|
user_basic_data: Personal Profile
|
||||||
|
|
|
@ -600,7 +600,7 @@ zh_tw:
|
||||||
user_id: 使用者帳號
|
user_id: 使用者帳號
|
||||||
user_id_note: 需介於3個字元至50個字元之間
|
user_id_note: 需介於3個字元至50個字元之間
|
||||||
user_id_not_null: 使用者帳號不能是空值
|
user_id_not_null: 使用者帳號不能是空值
|
||||||
user_id_length: 使用者帳號至少需要3個字元
|
user_id_length: 使用者帳號至少需要2個字元
|
||||||
user_id_error: 該使用者帳號已被使用
|
user_id_error: 該使用者帳號已被使用
|
||||||
user_basic_id_form: 帳號資料
|
user_basic_id_form: 帳號資料
|
||||||
user_basic_data: 個人資料
|
user_basic_data: 個人資料
|
||||||
|
|
Loading…
Reference in New Issue