Compare commits

...

2 Commits

Author SHA1 Message Date
Jill 5a3f8fe32f add translations by MIPOHBOPOHIH 2022-11-11 15:01:57 +03:00
Jill b043f18088 automate publishing w/ cursegradle and minotaur 2022-11-08 18:46:56 +03:00
5 changed files with 84 additions and 1 deletions

1
CHANGELOG.md Normal file
View File

@ -0,0 +1 @@
- Added Russian translations by MIPOHBOPOHIH

View File

@ -2,6 +2,8 @@ plugins {
id 'fabric-loom' version '1.0-SNAPSHOT'
id 'maven-publish'
id 'io.github.juuxel.loom-quiltflower' version '1.7.+'
id 'me.hypherionmc.cursegradle' version '2.+'
id "com.modrinth.minotaur" version "2.+"
}
version = project.mod_version
@ -92,3 +94,59 @@ publishing {
// retrieving dependencies.
}
}
import com.modrinth.minotaur.dependencies.ModDependency
curseforge {
if (!file('./CHANGELOG.md').canRead()) { throw new FileNotFoundException("Could not read changelog file") }
apiKey = project.hasProperty("CURSEFORGE_TOKEN") ? project.CURSEFORGE_TOKEN : ""
project {
id = '699839'
changelog = file('./CHANGELOG.md')
changelogType = 'markdown'
releaseType = 'release'
accepted_minecraft_version.split(",").each {
addGameVersion it.trim()
}
mainArtifact(remapJar) {
displayName = "${mod_version_friendly}"
relations {
requiredDependency 'fabric-api'
requiredDependency 'cloth-config'
optionalDependency 'modmenu'
}
}
}
options {
//debug = true
javaVersionAutoDetect = false
forgeGradleIntegration = false
}
}
modrinth {
if (!file('./CHANGELOG.md').canRead()) { throw new FileNotFoundException("Could not read changelog file") }
token = project.hasProperty("MODRINTH_TOKEN") ? project.MODRINTH_TOKEN : ""
projectId = '3Ug95SjF'
versionNumber = "${mod_version}"
versionName = "${mod_version_friendly}"
changelog = file('./CHANGELOG.md').text
uploadFile = remapJar
accepted_minecraft_version.split(",").each {
gameVersions.add it.trim()
}
loaders = ['fabric', 'quilt']
dependencies = [
// https://modrinth.com/mod/fabric-api
new ModDependency('P7dR8mSH', 'required'),
// https://modrinth.com/mod/cloth-config
new ModDependency('9s6osm5g', 'required'),
]
//debugMode = true
}
task publishToModSites {
publishToModSites.dependsOn modrinth
publishToModSites.dependsOn curseforge
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -4,11 +4,13 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.18.2
accepted_minecraft_version=1.18,1.18.1,1.18.2
yarn_mappings=1.18.2+build.4
loader_version=0.14.10
# Mod Properties
mod_version = 1.0+1.18
mod_version = 1.1+1.18
mod_version_friendly = 1.1 for 1.18.2
maven_group = zone.oat
archives_base_name = gmod-title-screen

View File

@ -0,0 +1,22 @@
{
"menu.gmod-title-screen.singleplayer": "Начать новую игру",
"menu.gmod-title-screen.multiplayer": "Сетевая игра",
"menu.gmod-title-screen.options": "Настройки",
"menu.gmod-title-screen.modmenu": "Аддоны",
"menu.gmod-title-screen.modmenu.not-installed": "Скачайте мод меню, чтобы использовать это!",
"menu.gmod-title-screen.dupes": "Дюпы",
"menu.gmod-title-screen.demos": "Демо",
"menu.gmod-title-screen.saves": "Сохранения",
"menu.gmod-title-screen.quit": "Выйти",
"menu.gmod-title-screen.version": "Сейчас вы используете minecraft-%s branch. Нажмите сюда, чтобы узнать большее. ( %s )",
"title.gmod-title-screen.config": "GMod Title Screen Конфиг",
"category.gmod-title-screen.general": "Основные",
"text.autoconfig.gmod-title-screen.title": "GMod Title Screen Конфиг",
"text.autoconfig.gmod-title-screen.option.showGModLogo": "Показывать GMod логотип",
"text.autoconfig.gmod-title-screen.option.showSplashText": "Показывать сплеши",
"text.autoconfig.gmod-title-screen.option.showGModLogo.@Tooltip[0]": "Показывать иконку GMod вместо иконки Minecraft",
"text.autoconfig.gmod-title-screen.option.showGModLogo.@Tooltip[1]": "сделайте это более интересным"
}