MCPcopy Create free account
hub / github.com/Card-Forge/forge / getMessage

Method getMessage

forge-core/src/main/java/forge/util/Localizer.java:79–81  ·  view source on GitHub ↗
(final String key, final Object... messageArguments)

Source from the content-addressed store, hash-verified

77 }
78 //FIXME: localizer should return default value from english locale or it will crash some GUI element like the NewGameMenu->NewGameScreen Popup when returned null...
79 public String getMessage(final String key, final Object... messageArguments) {
80 return getMessage(false, key, messageArguments);
81 }
82 public String getMessage(boolean forcedEnglish, final String key, final Object... messageArguments) {
83 MessageFormat formatter = null;
84

Callers 15

prepareAllZonesMethod · 0.95
GameTypeMethod · 0.95
toStringMethod · 0.95
updateSpeedEffectMethod · 0.95
toUnsuppressedStringMethod · 0.95
buildMenuMethod · 0.95
buildMenuMethod · 0.95
buildMenuMethod · 0.95
onCloseMethod · 0.95
loadDialogMethod · 0.95
loadDialogMethod · 0.95
performImportMethod · 0.95

Calls 4

charsetMethod · 0.95
convertMethod · 0.95
getStringMethod · 0.80
toStringMethod · 0.45

Tested by 1

initForgePreferencesMethod · 0.76