Language Fixes

This commit is contained in:
2024-11-24 22:38:01 +01:00
parent d30fb5f949
commit 8bb2be52f2
4 changed files with 3 additions and 11 deletions
@@ -27,16 +27,11 @@ import de.steamwar.tntleague.command.RemoveCommand
import de.steamwar.tntleague.events.GlobalListener
import de.steamwar.tntleague.events.LobbyListener
import de.steamwar.tntleague.game.TNTLeagueTeam
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.NamedTextColor
import org.bukkit.plugin.java.JavaPlugin
lateinit var plugin: TNTLeague
lateinit var message: Message
val tntLeaguePrefix = Component.text("TNT").color(NamedTextColor.DARK_RED)
.append(Component.text("League").color(NamedTextColor.GOLD))
class TNTLeague : JavaPlugin() {
init {
plugin = this
@@ -44,7 +39,6 @@ class TNTLeague : JavaPlugin() {
override fun onEnable() {
saveResource("config.yml", false)
saveDefaultConfig()
message = Message("de.steamwar.tntleague.TNTLeague", classLoader)
@@ -18,7 +18,7 @@
#
PREFIX=§4TNT§6League§8»
join=§e{0} §ajoined the game!
join=§e{0} §7joined the game!
joinTeam={0} §7joined the {1} §7team!
quit={0} §cleft the game!
quitTeam={0} §7left the {1} §7team!
@@ -36,6 +36,7 @@ draw=§cThe game ended in a draw!
dealer=Shopkeeper
dealerItem={0} {1}
dealerPrice=
scoreboardTarget=
scoreboardTime=§7Time: §e{0}§8:§e{1}
scoreboardCoins=§7Coins: §e{0}
scoreboardTeam=§7Team {0}§8: §e{1}
@@ -16,8 +16,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
join=§e{0} §aist dem Spiel beigetreten!
join=§e{0} §7ist dem Spiel beigetreten!
joinTeam={0} §7ist dem {1} §7team begetreten!
quit={0} §chat das Spiel verlassen!
quitTeam={0} §7hat Team {1} §7verlassen!
@@ -25,8 +25,6 @@ import de.steamwar.tntleague.config.targetedBlocks
import de.steamwar.tntleague.game.TNTLeagueGame
import de.steamwar.tntleague.game.TNTLeagueTeam
import de.steamwar.tntleague.message
import de.steamwar.tntleague.tntLeaguePrefix
import net.kyori.adventure.text.Component
import org.bukkit.entity.Player
import kotlin.collections.HashMap