aboutsummaryrefslogtreecommitdiff
path: root/example/src/main/kotlin/OtherTest.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-09 16:47:31 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-09 16:47:31 +0100
commit32ae3f959d35563396579a24d3989c2496b326b9 (patch)
tree012c84eff3cc38832793bafe5a92cc95d0de92bc /example/src/main/kotlin/OtherTest.kt
parentcb06ffa17537297ea1e8cca1d6fd01d8925d372d (diff)
downloadmcautotranslations-32ae3f959d35563396579a24d3989c2496b326b9.tar.gz
mcautotranslations-32ae3f959d35563396579a24d3989c2496b326b9.tar.bz2
mcautotranslations-32ae3f959d35563396579a24d3989c2496b326b9.zip
fix: Missing translations for standalone classes
Diffstat (limited to 'example/src/main/kotlin/OtherTest.kt')
-rw-r--r--example/src/main/kotlin/OtherTest.kt6
1 files changed, 6 insertions, 0 deletions
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")
+}