Translated some Korean comments to english, added some abnormalities for AINM/HM

This commit is contained in:
2025-03-24 01:04:14 -05:00
parent 627816bd20
commit 921d5f428e
73 changed files with 1123 additions and 858 deletions

View File

@@ -2,43 +2,43 @@
<InputRestrictionData>
<Enabled client="true" server="false"/>
<!--
<!--
=== READ ME ===
"svn\Design\사회\ETC\입력제한 기획서겸 사양서.doc"
===입력 규칙 목록===
"svn\Design\Society\ETC\InputRestrictionSpecification.doc"
=== Input Rule List ===
MaxLength
Maximum length restriction.
MinLength
Minimum length restriction.
LengthNarrowWordOnly
Maximum length restriction for how many characters can be included for English/Numbers.
StringTable
Checks for exact or partial matches with a list of forbidden words and restricts them.
If replace=true, the forbidden word will be changed arbitrarily to pass through (no input error).
RangedNumericOnly
Only numbers within the min~max range are allowed. Others are prohibited.
CharacterSet
Checks if the input satisfies the include or exclude conditions.
(Binary will return true when rangeOnly is true, even if the range (from ~ to) is not included).
ConvertUrlEncodeStr
Automatically converts '<', '>', and '"' (double quotes) to HTML special characters.
(There will be no input error, but CHAT should not use it as <font> will be converted).
-->
MaxLength
최대 길이 제한.
MinLength
최소 길이 제한.
LengthNarrowWordOnly
최대 길이 제한. 영어/숫자가 최대 몇 글자 포함될 수 있는지 제한
StringTable
금칙어 목록에서 완전(exact) 혹은 부분 일치를 확인하여 제한
replace=true일때는 금칙어를 임의로 변경한 후 통과시킴(입력 에러 나지 않음)
RangedNumericOnly
min~max 범위의 숫자만 허용. 그 외는 금지
CharacterSet
incldue 나 exclude 를 만족하는지 검사하여 제한
(Binary 는 BitTable 로 rangeOnly 가 true 일 때는 해당 영역(from ~ to) 에 포함되지 않아도 true 를 반환한다)
ConvertUrlEncodeStr
'<', '>', '"(큰따옴표)' 를 HTML용 특수기호로 자동 변환함.
(입력 오류가 나지는 않음)
(CHAT 는 <font> 까지 변환되므로 쓰면 안된다)
-->
<!-- RuleCategory에는 어떤 형식의 필터링 규칙이 있는지 목록을 나열한 것이다. 프로그램에서 사용하진 않음 -->
<!--
RuleCategory lists the types of filtering rules available. These are not used in the program.
-->
<RuleCategory>
<!-- -->
<Rule type="MinLength" awareNarrowWord="false" min="2" onFail="RE_MINLENGTH_RESTRICTION"/>
@@ -51,30 +51,31 @@ ConvertUrlEncodeStr
<Rule type="CharacterSet" include="Alphabet|Numeric|Hiragana|Katakana|Kanji|Kanji-Rare" onFail="RE_SPECIAL_CHARACTER_RESTRICTION"/>
</RuleCategory>
<!--
1234 0031
abcd 0061
ありがとう 3040
カタカナ 30A0
3402
日本 65E5
FF11
カタカナ FF76
FF41
<!--
1234 0031
abcd 0061
ありがとう 3040
カタカナ 30A0
3402
日本 65E5
FF11
カタカナ FF76
FF41
0x0000 ~ 0x00FF : 반각 영어, 반각 숫자, 반각 특수문자
0x3040 ~ 0x309F : 전각 히라가나
0x30A0 ~ 0x30FF : 전각 카타카나
0x3400 ~ 0x4DBF : 전각 레어 한자
0x4E00 ~ 0x9FAF : 전각 한자
0xFF00 ~ 0xFFFF : 전각 영어, 전각 특수문자, 전각 숫자, 반각 카타카나
-->
0x0000 ~ 0x00FF : Half-width English, Half-width Numbers, Half-width Special Characters
0x3040 ~ 0x309F : Full-width Hiragana
0x30A0 ~ 0x30FF : Full-width Katakana
0x3400 ~ 0x4DBF : Full-width Rare Kanji
0x4E00 ~ 0x9FAF : Full-width Kanji
0xFF00 ~ 0xFFFF : Full-width English, Full-width Special Characters, Full-width Numbers, Half-width Katakana
-->
<!--
When calculating MinLength and MaxLength, the rules are as follows:
1. If awareNarrowWord="false" -> Characters that are included in NarrowWord are counted as length 1. Others are counted as length 2.
2. If awareNarrowWord="false" -> All characters are counted as length 1.
-->
<!--
MinLength, MaxLength 계산 시 규칙은 다음과 같다.
1. awareNarrowWord="false" 인 경우 -> NarrowWord에 포함되는 것들은 길이를 1로 계산. 그렇지 않은 것들은 길이를 2로 계산.
2. awareNarrowWord="false" 인 경우 -> 모든 글자의 길이를 1로 계산
-->
<CharacterSetRestriction>
<CharacterSet name="NarrowWord">
<Range from="0x0000" to="0x007F"/>