Bundle 1.14.2 translations
This commit is contained in:
parent
8fda060611
commit
8eb5683783
@ -34,6 +34,13 @@ public final class TranslationRegistry
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
INSTANCE.addProvider( new JsonProvider( "/mojang-translations/en_us.json" ) );
|
||||||
|
} catch ( Exception ex )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
INSTANCE.addProvider( new ResourceBundleProvider( "mojang-translations/en_US" ) );
|
INSTANCE.addProvider( new ResourceBundleProvider( "mojang-translations/en_US" ) );
|
||||||
|
4324
chat/src/main/resources/mojang-translations/en_us.json
Normal file
4324
chat/src/main/resources/mojang-translations/en_us.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -167,6 +167,9 @@ public class ComponentsTest
|
|||||||
|
|
||||||
Assert.assertEquals( "Page 5 of 50", positional.toPlainText() );
|
Assert.assertEquals( "Page 5 of 50", positional.toPlainText() );
|
||||||
Assert.assertEquals( ChatColor.WHITE + "Page " + ChatColor.WHITE + "5" + ChatColor.WHITE + " of " + ChatColor.WHITE + "50", positional.toLegacyText() );
|
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
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user