From 1582f919e4ba2141dcff83b21ff9c1883cf583fc Mon Sep 17 00:00:00 2001 From: Peter Edberg Date: Thu, 18 Jul 2024 15:22:25 -0700 Subject: [PATCH] CLDR-17812 v46 vxml: Add {0} for de speed-light-speed one, fix error wording in TestCheckCLDR/TestPlaceholders --- common/main/de.xml | 10 +++++----- .../java/org/unicode/cldr/unittest/TestCheckCLDR.java | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/common/main/de.xml b/common/main/de.xml index 44b7a9cdf5b..69ddc6ea823 100644 --- a/common/main/de.xml +++ b/common/main/de.xml @@ -10677,10 +10677,10 @@ Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/ feminine Lichtgeschwindigkeit - Lichtgeschwindigkeit - Lichtgeschwindigkeit - Lichtgeschwindigkeit - Lichtgeschwindigkeit + {0} Lichtgeschwindigkeit + {0} Lichtgeschwindigkeit + {0} Lichtgeschwindigkeit + {0} Lichtgeschwindigkeit {0}-fache Lichtgeschwindigkeit {0}-fache Lichtgeschwindigkeit {0}-facher Lichtgeschwindigkeit @@ -11781,7 +11781,7 @@ Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/ Lichtgeschw. - Lichtgeschw. + {0} Lichtgeschw. {0}-fache Lichtg. diff --git a/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestCheckCLDR.java b/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestCheckCLDR.java index 13ac7d2f6d1..8f04577f91c 100644 --- a/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestCheckCLDR.java +++ b/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestCheckCLDR.java @@ -424,11 +424,13 @@ public void checkPlaceholders(CLDRFile cldrFileToTest) { } } else { // not disallowed if (!containsMessagePattern) { + // The following error seems wrong if placeholderStatus is LOCALE_DEPENDENT + // in which case some entries might not have placeholders; see CLDR-17820 errln( cldrFileToTest.getLocaleID() + " Value (" + value - + ") contains placeholder, but placeholder info = «" + + ") does not contain placeholder, but placeholder info = «" + placeholderStatus + "»\t" + path);