Fix #1854 inconsistent use of point name in config screen

This commit is contained in:
Kijin Sung 2022-02-04 22:08:41 +09:00
parent 21c176313f
commit c1e41e87ad
3 changed files with 8 additions and 8 deletions

View file

@ -66,7 +66,7 @@ $lang->point_recal_finished = 'Point recalculation is finished.';
$lang->point_update_desc = 'Insert + in front of the number to increase the point or - to decrease, and update the point. If you don\'t insert + or -, the point will be set as the value you entered.'; $lang->point_update_desc = 'Insert + in front of the number to increase the point or - to decrease, and update the point. If you don\'t insert + or -, the point will be set as the value you entered.';
$lang->give_point = 'Give or Take Points'; $lang->give_point = 'Give or Take Points';
$lang->point_given_prefix = ''; $lang->point_given_prefix = '';
$lang->point_given_suffix = 'points'; $lang->point_given_suffix = '$point';
$lang->point_time_limit_prefix = 'until'; $lang->point_time_limit_prefix = 'until';
$lang->point_time_limit_suffix = 'days after submission'; $lang->point_time_limit_suffix = 'days after submission';
$lang->search_target_list['nick_name'] = 'Nick Name'; $lang->search_target_list['nick_name'] = 'Nick Name';

View file

@ -67,7 +67,7 @@ $lang->point_recal_finished = '포인트 재계산이 완료되었습니다.';
$lang->point_update_desc = '포인트를 증가시키려면 +를 감소시키려면 -를 숫자앞에 표기한 후 업데이트해 주세요. + 또는 - 표시가 없으면 입력한 값으로 설정됩니다.'; $lang->point_update_desc = '포인트를 증가시키려면 +를 감소시키려면 -를 숫자앞에 표기한 후 업데이트해 주세요. + 또는 - 표시가 없으면 입력한 값으로 설정됩니다.';
$lang->give_point = '포인트 부여/차감'; $lang->give_point = '포인트 부여/차감';
$lang->point_given_prefix = ''; $lang->point_given_prefix = '';
$lang->point_given_suffix = '포인트'; $lang->point_given_suffix = '$point';
$lang->point_time_limit_prefix = '작성 후'; $lang->point_time_limit_prefix = '작성 후';
$lang->point_time_limit_suffix = '일까지'; $lang->point_time_limit_suffix = '일까지';
$lang->search_target_list['nick_name'] = '닉네임'; $lang->search_target_list['nick_name'] = '닉네임';

View file

@ -89,18 +89,18 @@
<tr> <tr>
<th class="nowr">{$lang->cmd_signup}</td> <th class="nowr">{$lang->cmd_signup}</td>
<td class="nowr"> <td class="nowr">
&nbsp;{$lang->point_given_prefix} {strtr($lang->point_given_prefix, ['$'.'point' => $config->point_name])}
<input type="number" value="{$config->signup_point ?: '0'}" name="signup_point" id="signup_point" /> <input type="number" value="{$config->signup_point ?: '0'}" name="signup_point" id="signup_point" />
&nbsp;{$lang->point_given_suffix} &nbsp;{strtr($lang->point_given_suffix, ['$'.'point' => $config->point_name])}
</td> </td>
<td class="nowr"></td> <td class="nowr"></td>
</tr> </tr>
<tr> <tr>
<th class="nowr">{$lang->cmd_login}</td> <th class="nowr">{$lang->cmd_login}</td>
<td class="nowr"> <td class="nowr">
&nbsp;{$lang->point_given_prefix} {strtr($lang->point_given_prefix, ['$'.'point' => $config->point_name])}
<input type="number" value="{$config->login_point ?: '0'}" name="login_point" id="login_point" /> <input type="number" value="{$config->login_point ?: '0'}" name="login_point" id="login_point" />
&nbsp;{$lang->point_given_suffix} &nbsp;{strtr($lang->point_given_suffix, ['$'.'point' => $config->point_name])}
</td> </td>
<td class="nowr"></td> <td class="nowr"></td>
</tr> </tr>
@ -108,9 +108,9 @@
<tr> <tr>
<th class="nowr">{lang('point_' . $action_type)}</td> <th class="nowr">{lang('point_' . $action_type)}</td>
<td class="nowr"> <td class="nowr">
&nbsp;{$lang->point_given_prefix} {strtr($lang->point_given_prefix, ['$'.'point' => $config->point_name])}
<input type="number" value="{$config_array[$action_type] ?: '0'}" name="{$action_type}" id="{$action_type}" /> <input type="number" value="{$config_array[$action_type] ?: '0'}" name="{$action_type}" id="{$action_type}" />
&nbsp;{$lang->point_given_suffix} &nbsp;{strtr($lang->point_given_suffix, ['$'.'point' => $config->point_name])}
<block cond="$action_config['except_notice']"> <block cond="$action_config['except_notice']">
<label class="x_inline" for="{$action_type}_except_notice" style="margin-left:10px"> <label class="x_inline" for="{$action_type}_except_notice" style="margin-left:10px">
<input type="checkbox" value="Y" name="{$action_type}_except_notice" id="{$action_type}_except_notice" checked="checked"|cond="$config_array[$action_type . '_except_notice']" /> <input type="checkbox" value="Y" name="{$action_type}_except_notice" id="{$action_type}_except_notice" checked="checked"|cond="$config_array[$action_type . '_except_notice']" />