[LIB-9] Links to FormatConstants in chesshog-format module
authorgotty <gotty@hedgecode.org>
Sat, 25 Jan 2020 03:47:22 +0000 (06:47 +0300)
committergotty <gotty@hedgecode.org>
Sat, 25 Jan 2020 03:47:22 +0000 (06:47 +0300)
chesshog-format/src/main/java/org/hedgecode/chess/wiki/WikiBuilder.java

index 81731c9..2b3365a 100644 (file)
@@ -20,7 +20,7 @@ import java.util.Map;
 import java.util.ResourceBundle;
 
 import org.hedgecode.chess.Builder;
-import org.hedgecode.chess.ChessHogConstants;
+import org.hedgecode.chess.FormatConstants;
 import org.hedgecode.chess.position.Color;
 import org.hedgecode.chess.position.ColorPiece;
 import org.hedgecode.chess.position.Position;
@@ -52,7 +52,7 @@ public final class WikiBuilder implements Builder {
 
         if (withTemplate) {
             ResourceBundle resourceBundle =
-                    ResourceBundle.getBundle(ChessHogConstants.LOCALE_BUNDLE_FILE);
+                    ResourceBundle.getBundle(FormatConstants.LOCALE_BUNDLE_FILE);
             sb.append(Wiki.TEMPLATE_BEGIN).append(
                     resourceBundle.getString("wiki.chess.diagram.name")
             ).append(Wiki.CRLF);