Skip to content

Commit

Permalink
Translations (#429)
Browse files Browse the repository at this point in the history
* Translations 2 electric boogaloo

* Translate moooaaarrrrrr

* Translate everything that's already in the bundle

* Translate some of the moderation packages

* Translate Moderation Commands

* Translate Moderation Utilities

* Translate Report

* Translate Gallery channels

* Translate GitHub, Announcements and Info commands.
Clean up public utilities

* Translate news channels

* Translate Reminders

* Translate Role Menus

* Translate Tags and online notification

* Translate utility config command

* Translate About Commands, Checks and Utilities

* Fix some errors and incorrect strings

* Fix missing translation keys
  • Loading branch information
NoComment1105 authored Nov 28, 2024
1 parent b4c3fd9 commit a7d03c6
Show file tree
Hide file tree
Showing 43 changed files with 3,279 additions and 1,973 deletions.
27 changes: 27 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import dev.kordex.gradle.plugins.kordex.DataCollection
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Expand All @@ -12,6 +13,7 @@ plugins {
alias(libs.plugins.git.hooks)
alias(libs.plugins.grgit)
alias(libs.plugins.blossom)
alias(libs.plugins.kord.extensions.plugin)
}

group = "org.hyacinthbots.lilybot"
Expand All @@ -32,6 +34,16 @@ repositories {
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

maven {
name = "Kord Snapshots"
url = uri("https://repo.kord.dev/snapshots")
}

maven {
name = "Kord Extensions (Releases)"
url = uri("https://releases-repo.kordex.dev")
}

maven {
name = "Kord Extensions (Snapshots)"
url = uri("https://snapshots-repo.kordex.dev")
Expand Down Expand Up @@ -67,6 +79,21 @@ dependencies {
implementation(libs.docgenerator)
}

kordEx {
addDependencies = false
addRepositories = false
kordExVersion = libs.versions.kord.extensions

bot {
dataCollection(DataCollection.None)
}

i18n {
classPackage = "lilybot.i18n"
translationBundle = "lilybot.strings"
}
}

application {
mainClass.set(className)
}
Expand Down
Loading

0 comments on commit a7d03c6

Please sign in to comment.