From 573d9c87b1ce06d83d1f1377b54bde192bd64c30 Mon Sep 17 00:00:00 2001 From: BJRambo Date: Tue, 30 Jun 2020 14:22:20 +0900 Subject: [PATCH] Fix to respond to document without letter. --- modules/comment/lang/en.php | 1 + modules/comment/lang/ko.php | 1 + modules/trash/tpl/trash_list.html | 10 +++++++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/comment/lang/en.php b/modules/comment/lang/en.php index 3e5b2041e..cab0e7db8 100644 --- a/modules/comment/lang/en.php +++ b/modules/comment/lang/en.php @@ -26,6 +26,7 @@ $lang->search_target_list['last_update'] = 'Last update'; $lang->search_target_list['ipaddress'] = 'IP Address'; $lang->search_target_list['is_secret'] = 'Status'; $lang->no_text_comment = 'No text in this comment.'; +$lang->no_text_document = 'No text in this document.'; $lang->secret_name_list['Y'] = 'Secret'; $lang->secret_name_list['N'] = 'Public'; $lang->published_name_list[0] = 'Waiting'; diff --git a/modules/comment/lang/ko.php b/modules/comment/lang/ko.php index 24d7d208f..1fb8e2adf 100644 --- a/modules/comment/lang/ko.php +++ b/modules/comment/lang/ko.php @@ -26,6 +26,7 @@ $lang->search_target_list['last_update'] = '최근수정일 '; $lang->search_target_list['ipaddress'] = 'IP 주소'; $lang->search_target_list['is_secret'] = '상태'; $lang->no_text_comment = '글자가 없는 댓글입니다.'; +$lang->no_text_document = '글자가 없는 게시글입니다.'; $lang->secret_name_list['Y'] = '비밀'; $lang->secret_name_list['N'] = '공개'; $lang->published_name_list[0] = '대기'; diff --git a/modules/trash/tpl/trash_list.html b/modules/trash/tpl/trash_list.html index e13491c92..07740aa92 100644 --- a/modules/trash/tpl/trash_list.html +++ b/modules/trash/tpl/trash_list.html @@ -54,7 +54,15 @@ var no_text_comment = '{$lang->no_text_comment}'; {$lang->document}{$lang->comment} - {$lang->no_text_comment} + + + + {$lang->no_text_comment} + + {$lang->no_text_document} + + + {$module_list[$oTrashVO->unserializedObject['module_srl']]->browser_title} -