Return different "Not permitted" error message depending on what is required #2548

This commit is contained in:
Kijin Sung 2025-05-22 13:20:48 +09:00
parent 7cba835065
commit bb4cd62e31
5 changed files with 91 additions and 35 deletions

View file

@ -201,6 +201,9 @@ $lang->msg_email_address_not_changeable = 'You cannot change your email address
$lang->msg_signup_disabled = 'You are not able to sign up';
$lang->msg_already_logged = 'You have already signed up.';
$lang->msg_not_logged = 'Please log in.';
$lang->msg_required_not_logged = 'This page is only available to users who are not logged in.';
$lang->msg_required_specific_group = 'You need to belong to a certain group in order to access this page.';
$lang->msg_required_minimum_level = 'YOu need to be level %d or higher in order to access this page.';
$lang->msg_insert_group_name = 'Please enter the name of group.';
$lang->msg_check_group = 'Please select the group.';
$lang->msg_not_uploaded_profile_image = 'Profile image could not be registered.';

View file

@ -203,6 +203,9 @@ $lang->msg_email_address_not_changeable = '이메일 주소는 이 화면에서
$lang->msg_signup_disabled = '회원 가입할 수 없습니다.';
$lang->msg_already_logged = '이미 로그인되어 있습니다.';
$lang->msg_not_logged = '로그인이 필요합니다.';
$lang->msg_required_not_logged = '로그인하지 않은 상태에서만 사용할 수 있는 기능입니다.';
$lang->msg_required_specific_group = '이 기능을 사용할 수 있는 그룹이 제한되어 있습니다.';
$lang->msg_required_minimum_level = '이 기능을 사용하려면 레벨 %d 이상이어야 합니다.';
$lang->msg_insert_group_name = '그룹명을 입력해 주세요.';
$lang->msg_check_group = '그룹을 선택해 주세요.';
$lang->msg_not_uploaded_profile_image = '프로필 이미지를 등록할 수 없습니다.';