From 24456a463ea62d799171b70eea720e67ae87b11a Mon Sep 17 00:00:00 2001 From: Esoteric Enderman Date: Wed, 30 Oct 2024 23:38:20 +0000 Subject: [PATCH] use correct language tag for UK English --- .../minecraft/plugins/library/messages/MessageManagerTest.kt | 2 +- lib/src/test/resources/messages/{en-uk.yml => en-GB.yml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/src/test/resources/messages/{en-uk.yml => en-GB.yml} (100%) diff --git a/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt b/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt index 4900c79..4c5d4c9 100644 --- a/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt +++ b/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt @@ -24,7 +24,7 @@ class MessageManagerTest { } @Test fun getMessageWorks() { - val message = messageManager!!.getRawMessage(Locale.forLanguageTag("en-uk"), "test-message") + val message = messageManager!!.getRawMessage(Locale.UK, "test-message") assertEquals(message, "Test") } diff --git a/lib/src/test/resources/messages/en-uk.yml b/lib/src/test/resources/messages/en-GB.yml similarity index 100% rename from lib/src/test/resources/messages/en-uk.yml rename to lib/src/test/resources/messages/en-GB.yml