Package net.sf.freecol.tools
Class TranslationReport
- java.lang.Object
-
- net.sf.freecol.tools.TranslationReport
-
public class TranslationReport extends java.lang.Object
Document the state of the translations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TranslationReport.LanguageStatsRecord
-
Field Summary
Fields Modifier and Type Field Description private static boolean
printSummary
private static java.lang.String
stars
-
Constructor Summary
Constructors Constructor Description TranslationReport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
isInVariable(java.util.ArrayList<java.lang.String> superfluousVariables, java.lang.String key, java.lang.String value, java.lang.String propertiesValue, int lastIndex, boolean inVariable)
Sets inVariable as neededstatic void
main(java.lang.String[] args)
private static java.lang.StringBuilder
prettyPrint(int number)
Adds space after a number.private static java.lang.StringBuilder
shortenName(java.lang.String localFile)
Produces a shorter name.private static java.util.TreeSet<java.lang.String>
sort(java.util.ArrayList<java.lang.String> missingKeys)
-
-
-
Field Detail
-
stars
private static final java.lang.String stars
- See Also:
- Constant Field Values
-
printSummary
private static final boolean printSummary
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isInVariable
private static void isInVariable(java.util.ArrayList<java.lang.String> superfluousVariables, java.lang.String key, java.lang.String value, java.lang.String propertiesValue, int lastIndex, boolean inVariable)
Sets inVariable as needed
-
shortenName
private static java.lang.StringBuilder shortenName(java.lang.String localFile)
Produces a shorter name.
-
prettyPrint
private static java.lang.StringBuilder prettyPrint(int number)
Adds space after a number.
-
sort
private static java.util.TreeSet<java.lang.String> sort(java.util.ArrayList<java.lang.String> missingKeys)
-
-