Skip to content

Commit

Permalink
fixes #14708, correct translation and status message .
Browse files Browse the repository at this point in the history
  • Loading branch information
jimyhuang committed Sep 15, 2015
1 parent 24aa4be commit b230e65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion civicrm_event_parent/civicrm_event_parent.module
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function civicrm_event_parent_civicrm_buildForm_regRegister( $formName, &$form )
else{
$status = t("Please continue enter this form. We suppose you are !relationship of belows, then we will create relationship between you and belows. If you would like to register for yourself, please <a href='!register_link'>use alternative form to register this event</a>.", $status_msg);
}
CRM_Core_Session::setStatus($status);
CRM_Core_Session::setStatus($status, FALSE);
if($rTypeDir == 'b_a'){
$title_label = 'label_a_b';
}
Expand Down Expand Up @@ -326,6 +326,7 @@ function civicrm_event_parent_set_default($cid, &$form, $type){
$retrieved = & civicrm_contact_get( $params );

$fields = array_keys($form->_fields);
$phone_types = array();
foreach($fields as $v){
if(strstr($v, 'phone')){
list($p, $t, $phone_type) = explode('-', $v);
Expand Down
2 changes: 1 addition & 1 deletion civicrm_event_parent/translations/zh-hant.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ msgid "!relation profile form"
msgstr "!relation 基本資料表"

msgid "Hello !name! After finish this form, we will create a relashionship between you and belows. If you are not below's !relationship, or you would like to register for yourself, please <a href='!register_link'>use alternative form to register this event</a>."
msgstr "!name 您好!請在這張表格填寫!relationship資料,填完表格後,再到下一頁填寫活動參加者(而非你自己)的資料。若您是為自己報名,請您<a href='!register_link'>使用另一張表格進行登記</a>。"
msgstr "!name 你好,填寫完表後,我們會將您與下列的參加者建立關係。若您是為自己報名,或您並非參加者的「!relationship」,請您<a href='!register_link'>使用另一張表格進行登記</a>。"

msgid "Please continue enter this form. We suppose you are !relationship of belows, then we will create relationship between you and belows. If you would like to register for yourself, please <a href='!register_link'>use alternative form to register this event</a>."
msgstr "剛才您已成功填寫了!relationship資料,請在此繼續為其他人報名活動。若您是自己想要參加活動,而非幫他人報名,應<a href='!register_link'>使用另一張表格進行登記</a>。"
Expand Down

0 comments on commit b230e65

Please sign in to comment.