Skip to content

Commit 05b89d1

Browse files
authored
Add the InPC value alias Not_Applicable=NA (#1175)
* UTC-184-A68 Action Item for Robin Leroy, PAG: For property value Indic_Positional_Category=NA, add a long alias Not_Applicable in both PropertyValueAliases.txt and IndicPositionalCategory.txt. For Unicode Version 17.0. See L2/25-183 item 2.2. * GenerateEnums * Regenerate UCD
1 parent 4f8d536 commit 05b89d1

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

unicodetools/data/ucd/dev/IndicPositionalCategory.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# IndicPositionalCategory-17.0.0.txt
2-
# Date: 2025-06-30, 06:18:52 GMT
2+
# Date: 2025-07-29, 13:35:52 GMT
33
# © 2025 Unicode®, Inc.
44
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
55
# For terms of use and license, see https://www.unicode.org/terms_of_use.html
@@ -127,9 +127,9 @@
127127
# Property: Indic_Positional_Category
128128
#
129129
# All code points not explicitly listed for Indic_Positional_Category
130-
# have the value NA (not applicable).
130+
# have the value Not_Applicable (NA).
131131
#
132-
# @missing: 0000..10FFFF; NA
132+
# @missing: 0000..10FFFF; Not_Applicable
133133

134134
# ------------------------------------------------
135135

unicodetools/data/ucd/dev/PropertyValueAliases.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ InPC; Bottom_And_Left ; Bottom_And_Left
887887
InPC; Bottom_And_Right ; Bottom_And_Right
888888
InPC; Left ; Left
889889
InPC; Left_And_Right ; Left_And_Right
890-
InPC; NA ; NA
890+
InPC; NA ; Not_Applicable
891891
InPC; Overstruck ; Overstruck
892892
InPC; Right ; Right
893893
InPC; Top ; Top

unicodetools/src/main/java/org/unicode/props/UcdPropertyValues.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ public enum Indic_Positional_Category_Values implements Named {
12151215
Bottom_And_Right("Bottom_And_Right"),
12161216
Left("Left"),
12171217
Left_And_Right("Left_And_Right"),
1218-
NA("NA"),
1218+
Not_Applicable("NA"),
12191219
Overstruck("Overstruck"),
12201220
Right("Right"),
12211221
Top("Top"),

unicodetools/src/main/java/org/unicode/text/UCD/MakeUnicodeFiles.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,10 +1281,7 @@ public static void generatePropertyFile(String filename) throws IOException {
12811281
}
12821282
pwProp.println(ps.roozbehFile ? "#" : "");
12831283
pwProp.println("# All code points not explicitly listed for " + prop.getName());
1284-
pwProp.println(
1285-
"# have the value "
1286-
+ v
1287-
+ (ps.roozbehFile && v.equals("NA") ? " (not applicable)." : "."));
1284+
pwProp.println("# have the value " + v + ".");
12881285
}
12891286

12901287
if (!ps.interleaveValues && prop.isType(UnicodeProperty.BINARY_MASK)) {

unicodetools/src/main/resources/org/unicode/text/UCD/MakeUnicodeFiles.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ File: IndicPositionalCategory
10191019
# * U+119D2 NANDINAGARI VOWEL SIGN I has stylistically variable placement
10201020
# in Nandinagari.
10211021
Property: Indic_Positional_Category
1022-
Format: roozbehFile separateValues=false valueStyle=short skipValue=NA
1022+
Format: roozbehFile separateValues=false valueStyle=short skipValue=Not_Applicable
10231023
Value: Right
10241024
Value: Left
10251025
Value: Visual_Order_Left

0 commit comments

Comments
 (0)