From 32ae3f959d35563396579a24d3989c2496b326b9 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 9 Nov 2024 16:47:31 +0100 Subject: fix: Missing translations for standalone classes --- example/src/main/kotlin/OtherTest.kt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 example/src/main/kotlin/OtherTest.kt (limited to 'example/src/main/kotlin/OtherTest.kt') diff --git a/example/src/main/kotlin/OtherTest.kt b/example/src/main/kotlin/OtherTest.kt new file mode 100644 index 0000000..fe31a16 --- /dev/null +++ b/example/src/main/kotlin/OtherTest.kt @@ -0,0 +1,6 @@ +package moe.nea.mcautotranslations.example + +class OtherTest { + + fun testFunc(x: Int, y: Text) = tr("other-test.test-func", "Hello $y: $x") +} -- cgit