From 13a8b920037b7a4e5d059cd39a65cc6174f21ec6 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Mon, 11 Nov 2019 13:36:56 +0800 Subject: [PATCH] add password message --- app/views/seminars/show.html.erb | 2 +- config/locales/en.yml | 1 + config/locales/zh_tw.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/seminars/show.html.erb b/app/views/seminars/show.html.erb index b567742..767e2f7 100644 --- a/app/views/seminars/show.html.erb +++ b/app/views/seminars/show.html.erb @@ -135,7 +135,7 @@
<%= f.text_field :password, :class=>"input-medium form-control", :placeholder=> t('seminar_signup.password') %> - ( 此密碼為下次投稿上傳檔案時必須輸入的密碼。 ) + <%= t('seminar_signup.password_message') %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 89c5687..e4afe95 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -77,6 +77,7 @@ en: address: Address #地址 email: Email #e-mail信箱 password: Password #密碼 + password_message: '( This password is for uploading file when contributing. )' note: Note #註解 time: 'Start / End Time' #(開始/結束)時間 place: Place #地點 diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 47acaf9..8466812 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -77,6 +77,7 @@ zh_tw: address: 地址 email: e-mail信箱 password: 密碼 + password_message: '( 此密碼為下次投稿上傳檔案時必須輸入的密碼。 )' note: 註解 time: (開始/結束)時間 place: 地點