@@ -111,9 +111,9 @@ public enum Choice {
111
111
"The English value has changed in CLDR, but the corresponding value for your language has not. Check if any changes are needed in your language." ,
112
112
6 ),
113
113
/**
114
- * The value changed from the last version of CLDR
114
+ * The value changed from the baseline
115
115
*/
116
- changedOldValue ('N ' , "New " , "The winning value was altered from the last-released CLDR value. (Informational)" , 7 ),
116
+ changedOldValue ('C ' , "Changed " , "The winning value was altered from the baseline value. (Informational)" , 7 ),
117
117
/**
118
118
* Given the users' coverage, some items are missing.
119
119
*/
@@ -479,10 +479,9 @@ public String getUrl(CLDRLocale locale) {
479
479
* @param localeId
480
480
* @param user
481
481
* @param usersLevel
482
- * @param nonVettingPhase
483
482
*/
484
483
public void generateHtmlErrorTables (Appendable output , EnumSet <Choice > choices , String localeID , T user ,
485
- Level usersLevel , boolean nonVettingPhase , boolean quick ) {
484
+ Level usersLevel , boolean quick ) {
486
485
487
486
// Gather the relevant paths
488
487
// each one will be marked with the choice that it triggered.
@@ -501,7 +500,7 @@ public void generateHtmlErrorTables(Appendable output, EnumSet<Choice> choices,
501
500
}
502
501
}
503
502
504
- FileInfo fileInfo = new FileInfo ().getFileInfo (sourceFile , baselineFile , sorted , choices , localeID , nonVettingPhase , user ,
503
+ FileInfo fileInfo = new FileInfo ().getFileInfo (sourceFile , baselineFile , sorted , choices , localeID , user ,
505
504
usersLevel , quick );
506
505
507
506
// now write the results out
@@ -522,14 +521,14 @@ public void generateHtmlErrorTables(Appendable output, EnumSet<Choice> choices,
522
521
* Called only by writeVettingViewerOutput
523
522
*/
524
523
public Relation <R2 <SectionId , PageId >, WritingInfo > generateFileInfoReview (Appendable output , EnumSet <Choice > choices , String localeID , T user ,
525
- Level usersLevel , boolean nonVettingPhase , boolean quick , CLDRFile sourceFile , CLDRFile baselineFile ) {
524
+ Level usersLevel , boolean quick , CLDRFile sourceFile , CLDRFile baselineFile ) {
526
525
527
526
// Gather the relevant paths
528
527
// each one will be marked with the choice that it triggered.
529
528
Relation <R2 <SectionId , PageId >, WritingInfo > sorted = Relation .of (
530
529
new TreeMap <R2 <SectionId , PageId >, Set <WritingInfo >>(), TreeSet .class );
531
530
532
- new FileInfo ().getFileInfo (sourceFile , baselineFile , sorted , choices , localeID , nonVettingPhase , user ,
531
+ new FileInfo ().getFileInfo (sourceFile , baselineFile , sorted , choices , localeID , user ,
533
532
usersLevel , quick );
534
533
535
534
// now write the results out
@@ -551,16 +550,30 @@ public void addAll(FileInfo other) {
551
550
552
551
private FileInfo getFileInfo (CLDRFile sourceFile , CLDRFile baselineFile ,
553
552
Relation <R2 <SectionId , PageId >, WritingInfo > sorted ,
554
- EnumSet <Choice > choices , String localeID , boolean nonVettingPhase ,
553
+ EnumSet <Choice > choices , String localeID ,
555
554
T user , Level usersLevel , boolean quick ) {
556
555
return this .getFileInfo (sourceFile , baselineFile , sorted ,
557
- choices , localeID , nonVettingPhase ,
556
+ choices , localeID ,
558
557
user , usersLevel , quick , null );
559
558
}
560
559
560
+ /**
561
+ * Loop through paths for the Dashboard
562
+ *
563
+ * @param sourceFile
564
+ * @param baselineFile
565
+ * @param sorted
566
+ * @param choices
567
+ * @param localeID
568
+ * @param user
569
+ * @param usersLevel
570
+ * @param quick
571
+ * @param xpath
572
+ * @return
573
+ */
561
574
private FileInfo getFileInfo (CLDRFile sourceFile , CLDRFile baselineFile ,
562
575
Relation <R2 <SectionId , PageId >, WritingInfo > sorted ,
563
- EnumSet <Choice > choices , String localeID , boolean nonVettingPhase ,
576
+ EnumSet <Choice > choices , String localeID ,
564
577
T user , Level usersLevel , boolean quick , String xpath ) {
565
578
566
579
errorChecker .initErrorStatus (sourceFile );
@@ -860,7 +873,7 @@ private void writeSummaryTable(Appendable output, String header, Level desiredLe
860
873
if (organization != null ) {
861
874
level = StandardCodes .make ().getLocaleCoverageLevel (organization .toString (), localeID );
862
875
}
863
- FileInfo fileInfo = new FileInfo ().getFileInfo (sourceFile , baselineFile , null , choices , localeID , true , organization , level , false );
876
+ FileInfo fileInfo = new FileInfo ().getFileInfo (sourceFile , baselineFile , null , choices , localeID , organization , level , false );
864
877
localeNameToFileInfo .put (name , fileInfo );
865
878
totals .addAll (fileInfo );
866
879
@@ -1426,7 +1439,7 @@ public ArrayList<String> getErrorOnPath(EnumSet<Choice> choices, String localeID
1426
1439
} catch (Exception e ) {
1427
1440
}
1428
1441
1429
- EnumSet <Choice > errors = new FileInfo ().getFileInfo (sourceFile , baselineFile , sorted , choices , localeID , nonVettingPhase , user , usersLevel ,
1442
+ EnumSet <Choice > errors = new FileInfo ().getFileInfo (sourceFile , baselineFile , sorted , choices , localeID , user , usersLevel ,
1430
1443
false , path ).problems ;
1431
1444
1432
1445
ArrayList <String > out = new ArrayList <String >();
@@ -1739,7 +1752,7 @@ public static void writeFile(String myOutputDir, VettingViewer<Organization> tab
1739
1752
1740
1753
switch (newCode ) {
1741
1754
case newCode :
1742
- tableView .generateHtmlErrorTables (out , choiceSet , localeStringID , organization , usersLevel , SHOW_ALL , false );
1755
+ tableView .generateHtmlErrorTables (out , choiceSet , localeStringID , organization , usersLevel , false );
1743
1756
break ;
1744
1757
// case oldCode:
1745
1758
// tableView.generateHtmlErrorTablesOld(out, choiceSet, localeStringID, userNumericID, usersLevel, SHOW_ALL);
0 commit comments