Bundle 1.14.2 translations

This commit is contained in:
md_5 2019-06-09 19:35:11 +10:00
parent 8fda060611
commit 8eb5683783
3 changed files with 4334 additions and 0 deletions

View File

@ -34,6 +34,13 @@ public final class TranslationRegistry
{
}
try
{
INSTANCE.addProvider( new JsonProvider( "/mojang-translations/en_us.json" ) );
} catch ( Exception ex )
{
}
try
{
INSTANCE.addProvider( new ResourceBundleProvider( "mojang-translations/en_US" ) );

File diff suppressed because it is too large Load Diff

View File

@ -167,6 +167,9 @@ public class ComponentsTest
Assert.assertEquals( "Page 5 of 50", positional.toPlainText() );
Assert.assertEquals( ChatColor.WHITE + "Page " + ChatColor.WHITE + "5" + ChatColor.WHITE + " of " + ChatColor.WHITE + "50", positional.toLegacyText() );
TranslatableComponent one_four_two = new TranslatableComponent( "filled_map.buried_treasure" );
Assert.assertEquals( "Buried Treasure Map", one_four_two.toPlainText() );
}
@Test