Skip to content

Commit

Permalink
CLDR-13380 Use better anchor in summary chart (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
macchiati committed Mar 28, 2020
1 parent 86a1a92 commit 3588dc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/java/org/unicode/cldr/tool/ShowData.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.unicode.cldr.util.LocaleIDParser;
import org.unicode.cldr.util.PathHeader;
import org.unicode.cldr.util.PathHeader.SectionId;
import org.unicode.cldr.util.StringId;
import org.unicode.cldr.util.TransliteratorUtilities;

import com.ibm.icu.dev.tool.UOption;
Expand Down Expand Up @@ -100,7 +101,7 @@ public static void main(String[] args) throws Exception {
// + "main/";
String targetDir = options[DESTDIR].value; // Utility.GEN_DIRECTORY +
// "main/";
cldrFactory = Factory.make(sourceDir, ".*");
cldrFactory = CLDRConfig.getInstance().getMainAndAnnotationsFactory(); // ignore source directory for now
english = cldrFactory.make("en", true);
String lastSourceDir = options[LAST_DIR].value; // Utility.COMMON_DIRECTORY

Expand Down Expand Up @@ -330,7 +331,7 @@ public static void main(String[] args) throws Exception {
(hide ? "<tr class='xx'><td" : "<tr><td")
+ statusClass
+ ">"
+ CldrUtility.getDoubleLinkedText(String.valueOf(++count))
+ CldrUtility.getDoubleLinkedText(Long.toHexString(StringId.getId(path)), String.valueOf(++count))
+ addPart(oldParts == null ? null : oldParts.getSection(), prettyPath.getSection())
+ addPart(oldParts == null ? null : oldParts.getPage(), prettyPath.getPage())
+ addPart(oldParts == null ? null : oldParts.getHeader(), prettyPath.getHeader())
Expand Down

0 comments on commit 3588dc4

Please sign in to comment.