Merge pull request #1908 from bjrambo/pr/notify-type-lang

알림센터 관리자 페이지에서 알림의 언어가 이상하게 나타나는 문제 고침
This commit is contained in:
Johnny 2022-03-24 23:52:28 +09:00 committed by GitHub
commit 961f5f04bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,6 @@
<?php
$lang->ncenterlite = 'Notification Center Lite';
$lang->ncenterlite_notify = 'notification';
$lang->ncenterlite_install_version = 'Installed version';
$lang->ncenterlite_advenced_config = 'Advenced Setting';
$lang->ncenterlite_document = 'post';

View file

@ -1,5 +1,6 @@
<?php
$lang->ncenterlite = '알림센터 Lite';
$lang->ncenterlite_notify = '알림';
$lang->ncenterlite_install_version = '설치된 버전';
$lang->ncenterlite_advenced_config = '고급 설정';
$lang->ncenterlite_document = '글';

View file

@ -10,7 +10,17 @@
<section class="section">
<div class="x_control-group">
<!--@foreach($notify_types as $notify_type => $notify_srl)-->
<label class="x_control-label">{$lang->get('ncenterlite_type_' . $notify_type)}</label>
<!--@if($notify_srl > 0 && lang('ncenterlite_type_' . $notify_type) === 'ncenterlite_type_' . $notify_type)-->
<label class="x_control-label">{$notify_type} {$lang->ncenterlite_notify}</label>
<!--@else-->
<!--@if($notify_srl > 0)-->
<label class="x_control-label">
{$lang->get('ncenterlite_type_' . $notify_type)}
</label>
<!--@else-->
<label class="x_control-label">{$lang->get('ncenterlite_type_' . $notify_type)}</label>
<!--@end-->
<!--@end-->
<div class="x_controls">
<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][web]" value="1" checked="checked"|cond="isset($config->use[$notify_type]['web'])" /> {$lang->cmd_web_notify}</label>
<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][mail]" value="1" checked="checked"|cond="isset($config->use[$notify_type]['mail'])" /> {$lang->cmd_mail_notify}</label>