diff --git a/Versionfiles b/Versionfiles index 8ffcbc6..b9cc3da 160000 --- a/Versionfiles +++ b/Versionfiles @@ -1 +1 @@ -Subproject commit 8ffcbc627d9d7eaf21cfe6d833dfa2f022434e2c +Subproject commit b9cc3da17d078b00138619372ab0e2ca7efb5ba5 diff --git a/build.gradle b/build.gradle index 22e1566..261140a 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,9 @@ buildscript { } } plugins { - id 'fabric-loom' version '0.4-SNAPSHOT' + id 'fabric-loom' version '0.5-SNAPSHOT' id "com.modrinth.minotaur" version "1.1.0" + id "com.matthewprenger.cursegradle" version "1.4.0" } apply plugin: 'de.guntram.mcmod.crowdin-translate' crowdintranslate.crowdinProjectName = 'durabilityviewer' @@ -40,7 +41,7 @@ sourceCompatibility = 1.8 targetCompatibility = 1.8 ext.Versions = new Properties() -Versions.load(file("Versionfiles/mcversion-1.16.4.properties").newReader()) +Versions.load(file("Versionfiles/mcversion-1.16.5.properties").newReader()) archivesBaseName = "durabilityviewer" ext.projectVersion = "1.10" @@ -109,3 +110,18 @@ task publishModrinth (type: TaskModrinthUpload){ addLoader('fabric') } +curseforge { + apiKey = System.getenv("CURSEFORGE_TOKEN") + project { + id = '262146' + releaseType = 'release' + addGameVersion("${Versions['minecraft_version']}") + addGameVersion("Java 8") + addGameVersion("Fabric") + + mainArtifact(remapJar) + } + options { + forgeGradleIntegration = false + } +} diff --git a/src/main/resources/assets/durabilityviewer/lang/cs_cz.json b/src/main/resources/assets/durabilityviewer/lang/cs_cz.json index f1e079f..aaf44b4 100644 --- a/src/main/resources/assets/durabilityviewer/lang/cs_cz.json +++ b/src/main/resources/assets/durabilityviewer/lang/cs_cz.json @@ -14,7 +14,7 @@ "durabilityviewer.config.showfreeslots": "Zobrazit prázdné sloty inventáře", "durabilityviewer.config.showalltrinkets": "Zobrazit všechny widgety", "durabilityviewer.config.percentvalues": "Procenta", - "durabilityviewer.config.warnmode": "Warning mode", + "durabilityviewer.config.warnmode": "Varovný režim", "durabilityviewer.config.tt.corner": "Roh 0 až 3 - vpravo dole, vlevo dole, vpravo nahoře, vlevo nahoře", "durabilityviewer.config.tt.armorhotbar": "Vykreslit brnění kolem hotbaru (místo pomocí nástrojů)", "durabilityviewer.config.tt.tooltipcolor": "Minecraft Barva 0 .. 15", @@ -26,13 +26,13 @@ "durabilityviewer.config.tt.showfreeslots": "Zobrazit ikonu truhly s počtem volných míst", "durabilityviewer.config.tt.showalltrinkets": "Pokud máte Trinkets mod, zobrazit všechny trinkety i v případě, že nemají životnost/poškození", "durabilityviewer.config.tt.percentvalues": "Zobrazit procenta namísto absolutních hodnot", - "durabilityviewer.config.tt.warnmode": "How to warn when an item is about to break", + "durabilityviewer.config.tt.warnmode": "Jak varovat když se má předmět rozbít", "key.categories.durabilityviewer": "Prohlížeč Životnosti", "key.durabilityviewer.showhide": "Zobrazit/skrýt zobrazení životnosti", "tooltip.durability": "Životnost %s", "durabilityviewer.subtitle.toolBreaking": "Nástroj těsně před rozbitím", - "durabilityviewer.config.warnmode.none": "None", - "durabilityviewer.config.warnmode.sound": "Sound only", - "durabilityviewer.config.warnmode.visual": "Visual only", - "durabilityviewer.config.warnmode.both": "Sound and visual" + "durabilityviewer.config.warnmode.none": "Žádný", + "durabilityviewer.config.warnmode.sound": "Pouze zvuk", + "durabilityviewer.config.warnmode.visual": "Pouze vizuálně", + "durabilityviewer.config.warnmode.both": "Zvukově i vizuálně" } diff --git a/src/main/resources/assets/durabilityviewer/lang/it_it.json b/src/main/resources/assets/durabilityviewer/lang/it_it.json index 76bcdf2..f848c52 100644 --- a/src/main/resources/assets/durabilityviewer/lang/it_it.json +++ b/src/main/resources/assets/durabilityviewer/lang/it_it.json @@ -1,38 +1,38 @@ { - "durabilityviewer.config.bottom_right": "Bottom right", - "durabilityviewer.config.bottom_left": "Bottom left", - "durabilityviewer.config.top_right": "Top right", - "durabilityviewer.config.top_left": "Top left", - "durabilityviewer.config.corner": "HUD Corner", - "durabilityviewer.config.armorhotbar": "Armor around hotbar", - "durabilityviewer.config.tooltipcolor": "Tooltip Color", - "durabilityviewer.config.effectduration": "Effect Duration", - "durabilityviewer.config.minpercent": "Sound below percent", - "durabilityviewer.config.mindurability": "Sound below durability", - "durabilityviewer.config.setwindowtitle": "Set window title", - "durabilityviewer.config.showdamagepercent": "Percent to show damage", - "durabilityviewer.config.showfreeslots": "Show free inventory slots", - "durabilityviewer.config.showalltrinkets": "Show all trinkets", - "durabilityviewer.config.percentvalues": "Percentages", - "durabilityviewer.config.warnmode": "Warning mode", - "durabilityviewer.config.tt.corner": "Corner 0 to 3 - bottom right, bottom left, top right, top left", - "durabilityviewer.config.tt.armorhotbar": "Render armor around hotbar (instead of with tools)", - "durabilityviewer.config.tt.tooltipcolor": "Minecraft Color 0 .. 15", - "durabilityviewer.config.tt.effectduration": "Show effect durations", - "durabilityviewer.config.tt.minpercent": "Play sound when durability below X percent", - "durabilityviewer.config.tt.mindurability": "Play sound when durability below X", - "durabilityviewer.config.tt.setwindowtitle": "Set window title to player and server name", - "durabilityviewer.config.tt.showdamagepercent": "Show damage instead of durability while the item is still better than this %", - "durabilityviewer.config.tt.showfreeslots": "Show chest icon with number of free inventory slots", - "durabilityviewer.config.tt.showalltrinkets": "If you have the trinkets mod, show all trinkets even when they don't have durability/damage", - "durabilityviewer.config.tt.percentvalues": "Show percentages instead of absolute values", - "durabilityviewer.config.tt.warnmode": "How to warn when an item is about to break", - "key.categories.durabilityviewer": "Durability Viewer", - "key.durabilityviewer.showhide": "Show/hide durability display", - "tooltip.durability": "Durability %s", - "durabilityviewer.subtitle.toolBreaking": "Item about to break", - "durabilityviewer.config.warnmode.none": "None", - "durabilityviewer.config.warnmode.sound": "Sound only", - "durabilityviewer.config.warnmode.visual": "Visual only", - "durabilityviewer.config.warnmode.both": "Sound and visual" + "durabilityviewer.config.bottom_right": "In basso a destra", + "durabilityviewer.config.bottom_left": "In basso a sinistra", + "durabilityviewer.config.top_right": "In alto a destra", + "durabilityviewer.config.top_left": "In alto a sinistra", + "durabilityviewer.config.corner": "Angolo del HUD", + "durabilityviewer.config.armorhotbar": "Armatura intorno alla barra rapida", + "durabilityviewer.config.tooltipcolor": "Colore Suggerimenti", + "durabilityviewer.config.effectduration": "Durata Effetto", + "durabilityviewer.config.minpercent": "Suono sotto la percentuale", + "durabilityviewer.config.mindurability": "Suono sotto la durabilità", + "durabilityviewer.config.setwindowtitle": "Imposta il titolo della finestra", + "durabilityviewer.config.showdamagepercent": "Percentuale per mostrare i danni", + "durabilityviewer.config.showfreeslots": "Mostra gli slot liberi nell'inventario", + "durabilityviewer.config.showalltrinkets": "Mostra tutti i trinket", + "durabilityviewer.config.percentvalues": "Percentuali", + "durabilityviewer.config.warnmode": "Modalità di avviso", + "durabilityviewer.config.tt.corner": "Angolo da 0 a 3 - in basso a destra, in basso a sinistra, in alto a destra, in alto a sinistra", + "durabilityviewer.config.tt.armorhotbar": "Mostra l'armatura intorno alla barra rapida (invece che con gli strumenti)", + "durabilityviewer.config.tt.tooltipcolor": "Colore di Minecraft 0 .. 15", + "durabilityviewer.config.tt.effectduration": "Mostra durata dell'effetto", + "durabilityviewer.config.tt.minpercent": "Riproduci un suono quando la percentuale della durabilità è inferiore a X", + "durabilityviewer.config.tt.mindurability": "Riproduci un suono quando la durabilità è inferiore a X", + "durabilityviewer.config.tt.setwindowtitle": "Imposta il titolo della finestra a nome del giocatore e del server", + "durabilityviewer.config.tt.showdamagepercent": "Mostra danno invece di durabilità se l'oggetto è ancora sopra a questa %", + "durabilityviewer.config.tt.showfreeslots": "Mostra l'icona del baule ed il numero di slot liberi nell'inventario", + "durabilityviewer.config.tt.showalltrinkets": "Se hai la mod trinkets, mostra tutti i trinket anche quando non hanno durabilità/danno", + "durabilityviewer.config.tt.percentvalues": "Mostra le percentuali invece dei valori assoluti", + "durabilityviewer.config.tt.warnmode": "Come avvertire quando un oggetto sta per rompersi", + "key.categories.durabilityviewer": "Visualizzatore di durabilità", + "key.durabilityviewer.showhide": "Mostra/nascondi il display della durabilità", + "tooltip.durability": "Durabilità %s", + "durabilityviewer.subtitle.toolBreaking": "Oggetto sta per rompersi", + "durabilityviewer.config.warnmode.none": "Nessuno", + "durabilityviewer.config.warnmode.sound": "Solo suono", + "durabilityviewer.config.warnmode.visual": "Solo visuale", + "durabilityviewer.config.warnmode.both": "Suono e visuale" } diff --git a/src/main/resources/assets/durabilityviewer/lang/nl_nl.json b/src/main/resources/assets/durabilityviewer/lang/nl_nl.json index 13acd11..aba520c 100644 --- a/src/main/resources/assets/durabilityviewer/lang/nl_nl.json +++ b/src/main/resources/assets/durabilityviewer/lang/nl_nl.json @@ -14,7 +14,7 @@ "durabilityviewer.config.showfreeslots": "Toon beschikbare inventarisvakken", "durabilityviewer.config.showalltrinkets": "Toon alle juwelen", "durabilityviewer.config.percentvalues": "Percentages", - "durabilityviewer.config.warnmode": "Warning mode", + "durabilityviewer.config.warnmode": "Waarschuwingsmodus", "durabilityviewer.config.tt.corner": "Hoek 0 tot 3 - rechtsonder, linksonder, rechtsboven, linksboven", "durabilityviewer.config.tt.armorhotbar": "Geef armor rond de hotbar (in plaats van met gereedschap)", "durabilityviewer.config.tt.tooltipcolor": "Minecraft Kleur 0 .. 15", @@ -26,13 +26,13 @@ "durabilityviewer.config.tt.showfreeslots": "Toon het borstpictogram met het aantal beschikbare inventarisvakken", "durabilityviewer.config.tt.showalltrinkets": "Als je de trinkets mod hebt, laat alle trinkets zien zelfs als ze geen duurzaamheid of schade hebben", "durabilityviewer.config.tt.percentvalues": "Toon percentages in plaats van absolute waarden", - "durabilityviewer.config.tt.warnmode": "How to warn when an item is about to break", + "durabilityviewer.config.tt.warnmode": "Hoe te waarschuwen wanneer een voorwerp op het punt is om kapot te gaan", "key.categories.durabilityviewer": "Duurzaamheid Viewer", "key.durabilityviewer.showhide": "Weergeven/verbergen duurzaamheid scherm", "tooltip.durability": "Duurzaamheid %s", "durabilityviewer.subtitle.toolBreaking": "Item gaat breken", - "durabilityviewer.config.warnmode.none": "None", - "durabilityviewer.config.warnmode.sound": "Sound only", - "durabilityviewer.config.warnmode.visual": "Visual only", - "durabilityviewer.config.warnmode.both": "Sound and visual" + "durabilityviewer.config.warnmode.none": "Gen", + "durabilityviewer.config.warnmode.sound": "Alleen geluid", + "durabilityviewer.config.warnmode.visual": "Alleen visueel", + "durabilityviewer.config.warnmode.both": "Geluid en visueel" } diff --git a/src/main/resources/assets/durabilityviewer/lang/tr_tr.json b/src/main/resources/assets/durabilityviewer/lang/tr_tr.json index 0c84caa..55d30b9 100644 --- a/src/main/resources/assets/durabilityviewer/lang/tr_tr.json +++ b/src/main/resources/assets/durabilityviewer/lang/tr_tr.json @@ -1,38 +1,38 @@ { - "durabilityviewer.config.bottom_right": "Sağ Alt", - "durabilityviewer.config.bottom_left": "Sol Alt", - "durabilityviewer.config.top_right": "Sağ Üst", - "durabilityviewer.config.top_left": "Sol Üst", + "durabilityviewer.config.bottom_right": "Sağ alt", + "durabilityviewer.config.bottom_left": "Sol alt", + "durabilityviewer.config.top_right": "Sağ üst", + "durabilityviewer.config.top_left": "Sol üst", "durabilityviewer.config.corner": "Gösterge Köşesi", - "durabilityviewer.config.armorhotbar": "Eşya Barının Etrafındaki Zırh", + "durabilityviewer.config.armorhotbar": "Sık kullananlar çubuğunun etrafında zırh", "durabilityviewer.config.tooltipcolor": "Eşya İpucunun Rengi", - "durabilityviewer.config.effectduration": "Efekt Süresi", - "durabilityviewer.config.minpercent": "Yüzdenin Altındaki ses", - "durabilityviewer.config.mindurability": "Dayanıklılığın Altındaki Ses", - "durabilityviewer.config.setwindowtitle": "Pencere Başlığı Seç", - "durabilityviewer.config.showdamagepercent": "Hasar Gösterme Yüzdesi", - "durabilityviewer.config.showfreeslots": "Boş Envanter Bölümünü Göster", - "durabilityviewer.config.showalltrinkets": "Tüm Gereksiz Eşyaları Göster", + "durabilityviewer.config.effectduration": "Etki Süresi", + "durabilityviewer.config.minpercent": "Yüzdenin altındaki ses", + "durabilityviewer.config.mindurability": "Dayanıklılığın altındaki ses", + "durabilityviewer.config.setwindowtitle": "Pencere başlığı ayarla", + "durabilityviewer.config.showdamagepercent": "Hasar gösterme yüzdesi", + "durabilityviewer.config.showfreeslots": "Boş envanter alanlarını göster", + "durabilityviewer.config.showalltrinkets": "Tüm gereksiz eşyaları göster", "durabilityviewer.config.percentvalues": "Yüzdeler", - "durabilityviewer.config.warnmode": "Warning mode", - "durabilityviewer.config.tt.corner": "Köse 0 dan 3 - Sağ Alt, Sol Alt, Sağ Üst, Sol Üst", - "durabilityviewer.config.tt.armorhotbar": "(Zırhları Eşyalarla Beraber Göstermek Yerine) Hotbar'ının Etrafında Göster", + "durabilityviewer.config.warnmode": "Uyarı modu", + "durabilityviewer.config.tt.corner": "Köşe 0'dan 3'e - sağ alt, sol alt, sağ üst, sol üst", + "durabilityviewer.config.tt.armorhotbar": "(Araçlar yerine) Sık kullanılanlar çubuğu etrafında zırhı göster", "durabilityviewer.config.tt.tooltipcolor": "Minecraft Renk 0 .. 15", - "durabilityviewer.config.tt.effectduration": "Efekt Süresini Göster", - "durabilityviewer.config.tt.minpercent": "Dayanıklılık Yüzde X in Altında ise Sesi Çal", - "durabilityviewer.config.tt.mindurability": "Dayanıklılık X in Altındaysa Sesi Çal", - "durabilityviewer.config.tt.setwindowtitle": "Oyuncu Ve Sunucu Adını Pencere Başlığı Olarak Ayarla", - "durabilityviewer.config.tt.showdamagepercent": "Eşya % Den İyi Durumda İse Dayanıklılık Yerine Verdiği Hasarı Göster", - "durabilityviewer.config.tt.showfreeslots": "Boş Envanter Bölümlerinin Sayısı Kadar Sandık İkonu Göster", - "durabilityviewer.config.tt.showalltrinkets": "Gereksiz Eşyalar Eklentisi Var ise, Tüm Boş Eşyaları Dayanıklılık Ve Hasarı Olsa Bile Göster", - "durabilityviewer.config.tt.percentvalues": "Kesin Değerler Yerine Yüzdelik Değerler Göster", - "durabilityviewer.config.tt.warnmode": "How to warn when an item is about to break", + "durabilityviewer.config.tt.effectduration": "Etki süresini göster", + "durabilityviewer.config.tt.minpercent": "Dayanıklılık yüzde X altındaysa ses çaldır", + "durabilityviewer.config.tt.mindurability": "Dayanıklılık X değerinin altındaysa ses çaldır", + "durabilityviewer.config.tt.setwindowtitle": "Oyuncu ve sunucu adını pencere başlığı olarak ayarla", + "durabilityviewer.config.tt.showdamagepercent": "Dayanıklılık yerine hasarı göster (eğer eşya % değerinden daha iyiyse)", + "durabilityviewer.config.tt.showfreeslots": "Boş envanter alan sayısıyla sandık simgesini göster", + "durabilityviewer.config.tt.showalltrinkets": "Eğer Trinkets moduna sahipseniz, dayanıklılığı/hasarı olmasa bile tüm aksesuarları göster", + "durabilityviewer.config.tt.percentvalues": "Kesin değerler yerine yüzdelik değerler göster", + "durabilityviewer.config.tt.warnmode": "Bir eşya tükenmek üzereyken nasıl uyaracağını belirler", "key.categories.durabilityviewer": "Dayanıklılık Gösterici", "key.durabilityviewer.showhide": "Dayanıklılık göstericiyi gizle/göster", "tooltip.durability": "Dayanıklılık: %s", "durabilityviewer.subtitle.toolBreaking": "Eşya kırılmak üzere", - "durabilityviewer.config.warnmode.none": "None", - "durabilityviewer.config.warnmode.sound": "Sound only", - "durabilityviewer.config.warnmode.visual": "Visual only", - "durabilityviewer.config.warnmode.both": "Sound and visual" + "durabilityviewer.config.warnmode.none": "Hiçbiri", + "durabilityviewer.config.warnmode.sound": "Sadece ses", + "durabilityviewer.config.warnmode.visual": "Sadece görsel", + "durabilityviewer.config.warnmode.both": "Ses ve görsel" } diff --git a/src/main/resources/assets/durabilityviewer/lang/zh_cn.json b/src/main/resources/assets/durabilityviewer/lang/zh_cn.json index 8583026..e80fcc4 100644 --- a/src/main/resources/assets/durabilityviewer/lang/zh_cn.json +++ b/src/main/resources/assets/durabilityviewer/lang/zh_cn.json @@ -6,33 +6,33 @@ "durabilityviewer.config.corner": "HUD位置", "durabilityviewer.config.armorhotbar": "在物品栏周围显示", "durabilityviewer.config.tooltipcolor": "工具提示颜色", - "durabilityviewer.config.effectduration": "效果持续时间显示", - "durabilityviewer.config.minpercent": "低于百分比有声音", - "durabilityviewer.config.mindurability": "低于耐久度有声音", + "durabilityviewer.config.effectduration": "显示效果持续时间", + "durabilityviewer.config.minpercent": "低百分比时提示声音", + "durabilityviewer.config.mindurability": "低耐久度时提示声音", "durabilityviewer.config.setwindowtitle": "改变游戏窗口标题", - "durabilityviewer.config.showdamagepercent": "耐久值损坏与剩余耐久显示转换", + "durabilityviewer.config.showdamagepercent": "耐久损坏值与剩余耐久度 转换显示", "durabilityviewer.config.showfreeslots": "显示背包剩余格数", "durabilityviewer.config.showalltrinkets": "显示所有工具", "durabilityviewer.config.percentvalues": "百分比", - "durabilityviewer.config.warnmode": "Warning mode", - "durabilityviewer.config.tt.corner": "位置0到3 右下,左下,右上,左上", + "durabilityviewer.config.warnmode": "警告模式", + "durabilityviewer.config.tt.corner": "位置0~3 - 右下,左下,右上,左上", "durabilityviewer.config.tt.armorhotbar": "在物品栏周围显示", - "durabilityviewer.config.tt.tooltipcolor": "MC颜色0 .. 15", + "durabilityviewer.config.tt.tooltipcolor": "Minecraft颜色 0~15", "durabilityviewer.config.tt.effectduration": "显示获得效果的持续时间", - "durabilityviewer.config.tt.minpercent": "耐久低于X%时播放声音", - "durabilityviewer.config.tt.mindurability": "耐久低于X时播放声音", - "durabilityviewer.config.tt.setwindowtitle": "将窗口标题设置为用户名和服务器名称", + "durabilityviewer.config.tt.minpercent": "耐久低于 X% 时播放声音", + "durabilityviewer.config.tt.mindurability": "耐久低于 X 时播放声音", + "durabilityviewer.config.tt.setwindowtitle": "将游戏窗口标题设置为用户名和服务器名称", "durabilityviewer.config.tt.showdamagepercent": "在装备比此百分比更高时显示损坏而不是耐久度", - "durabilityviewer.config.tt.showfreeslots": "显示你背包还有多少空位的图标", - "durabilityviewer.config.tt.showalltrinkets": "如果打开此选项,装备即使没有掉耐久,也显示", + "durabilityviewer.config.tt.showfreeslots": "显示背包空余数量的图标", + "durabilityviewer.config.tt.showalltrinkets": "如果打开此选项,即使装备没有掉耐久度也显示它", "durabilityviewer.config.tt.percentvalues": "显示百分比而不是绝对值", - "durabilityviewer.config.tt.warnmode": "How to warn when an item is about to break", + "durabilityviewer.config.tt.warnmode": "在物品即将损坏时如何发出警告", "key.categories.durabilityviewer": "耐久指示器", "key.durabilityviewer.showhide": "显示/隐藏 耐久显示", "tooltip.durability": "耐久度 %s", "durabilityviewer.subtitle.toolBreaking": "物品即将损坏", - "durabilityviewer.config.warnmode.none": "None", - "durabilityviewer.config.warnmode.sound": "Sound only", - "durabilityviewer.config.warnmode.visual": "Visual only", - "durabilityviewer.config.warnmode.both": "Sound and visual" + "durabilityviewer.config.warnmode.none": "无", + "durabilityviewer.config.warnmode.sound": "仅声音", + "durabilityviewer.config.warnmode.visual": "仅视觉效果", + "durabilityviewer.config.warnmode.both": "声音和视觉效果" } diff --git a/src/main/resources/assets/durabilityviewer/lang/zh_tw.json b/src/main/resources/assets/durabilityviewer/lang/zh_tw.json index 911cd6f..36179c0 100644 --- a/src/main/resources/assets/durabilityviewer/lang/zh_tw.json +++ b/src/main/resources/assets/durabilityviewer/lang/zh_tw.json @@ -3,11 +3,11 @@ "durabilityviewer.config.bottom_left": "左下", "durabilityviewer.config.top_right": "右上", "durabilityviewer.config.top_left": "左上", - "durabilityviewer.config.corner": "HUD Corner", + "durabilityviewer.config.corner": "HUD角", "durabilityviewer.config.armorhotbar": "Armor around hotbar", - "durabilityviewer.config.tooltipcolor": "Tooltip Color", - "durabilityviewer.config.effectduration": "Effect Duration", - "durabilityviewer.config.minpercent": "Sound below percent", + "durabilityviewer.config.tooltipcolor": "工具顏色", + "durabilityviewer.config.effectduration": "效果持續時間\n", + "durabilityviewer.config.minpercent": "聲音低於幾%", "durabilityviewer.config.mindurability": "Sound below durability", "durabilityviewer.config.setwindowtitle": "Set window title", "durabilityviewer.config.showdamagepercent": "Percent to show damage",