Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Add custom fmj field parsing #24

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a50ae42
update to work with 20w49a
gbl Dec 5, 2020
2a108c4
Merge branch 'master' into fabric_1_17
gbl Dec 5, 2020
8e3c84a
add another call for mod developers
gbl Dec 5, 2020
cc0b1f1
document having several mod translations in the same crowdin project
gbl Dec 5, 2020
3d48afa
fix header word wrap in README
gbl Dec 5, 2020
589b154
Update DownloadTask.java
Hugman76 Jun 4, 2021
3b639a7
Merge pull request #7 from Hugman76/gradle_7
gbl Jun 4, 2021
b955d26
temporary version, creates wrong dependency
gbl Jun 4, 2021
d95fdcd
update to 1.17-pre5
gbl Jun 4, 2021
b1fc62a
update to 1.17
gbl Jun 8, 2021
d98f167
better .gitignore
Sep 9, 2021
8daf49c
support for all MC languages
Sep 9, 2021
2d1e84a
Merge pull request #8 from Flourick/fabric_1_17
gbl Sep 9, 2021
05c1fdf
update to 1.18-pre1, add a lot of languages, and allow several "sourc…
gbl Nov 21, 2021
0b4c070
1.18-pre5
gbl Nov 21, 2021
19869d0
Add support for new SLF4J logger
triphora Jan 21, 2022
c7d8a42
Make the mod a 'library' in modmenu
MeeniMc Feb 9, 2022
0823ebe
Update to 1.18.2
triphora Mar 11, 2022
053b83c
update to 1.18, should have commited this long ago
gbl Mar 13, 2022
941ce7f
Merge branch 'pr12' into fabric_1_18
gbl Mar 13, 2022
0668032
1.18.2
gbl Mar 13, 2022
2f30b5f
Added Shakespearean English, Pirate Speak and Upside Down English + a…
oliviathevampire Apr 15, 2022
6cbdef0
Update CrowdinTranslate.java
oliviathevampire Apr 15, 2022
e72caf3
Merge pull request #16 from oliviathevampire/patch-1
gbl May 24, 2022
41f01f7
Update CrowdinTranslate.java
OliverDeBrisbane Oct 2, 2021
79e4482
1.19-pre2
gbl May 24, 2022
8e3a271
1.19
gbl Jun 12, 2022
c2bb9c8
22w45a
gbl Nov 12, 2022
de7ab50
1.19.3, finally commit what should have been committed half a year ago
gbl Jul 11, 2023
6cba935
Update to 1.21
Luncaaa Jun 15, 2024
4f8964d
implemented entrypoint
supersaiyansubtlety Jun 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update to 1.17
  • Loading branch information
gbl committed Jun 8, 2021
commit b1fc62a9be050843ef0c627853299dc2edbdbc8c
24 changes: 4 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ In your build.gradle, at the very top (before `plugins`), add this:
```
buildscript {
dependencies {
classpath 'de.guntram.mcmod:crowdin-translate:1.3+1.16'
classpath 'de.guntram.mcmod:crowdin-translate:1.3+1.17'
}
repositories {
maven {
@@ -54,7 +54,7 @@ buildscript {
```

(note that you can use this no matter which Minecraft version you're compiling
for, even if the maven version number says 1.16).
for, even if the maven version number says 1.17).

Then, somewhere later (after plugins) add:

@@ -99,9 +99,9 @@ dependencies {
}
```

where `version` is currently either `1.3+1.16` or `1.3+1.17-alpha20w49a`.
where `version` is currently either `1.3+1.16` or `1.3+1.17`.
(The `1.3+1.16` version actually works for all versions from 1.15.2 to 20w48a,
20w49a introduced an incompatible change.)
20w49a introduced an incompatible change. 1.3+1.17 works from 1.17 on.)

and this to your ClientModInitializer:

@@ -161,19 +161,3 @@ crowdintranslate.jsonSourceName = 'thisisnotbaz'
```
CrowdinTranslate.downloadTranslations("allmymods", "baz", "thisisnotbaz");
```

### Getting started
(this needs some redoing)
- Create an account on CrowdIn (https://crowdin.com)
- Optional but recommended: apply for a open source membership so you can start multiple projects, for free
- Create a project. This will ask for a project name, and a project address.
If possible, select your address so the identifier matches your mod id
(the mod `foobar` should have `https://crowdin.com/project/foobar`).
- Switch the source language from English to English, United States. This is not
100% neccesary, but will make things easier, especially if your original json
file is named `en_us.json`.
- Add the target languages you want to use. (In a future version of CrowdinTranslate,
there will be an easy way to consistently set the languages for a collection
of mods)
- Once your project is created, upload your en_us.json. Then, do some translations,
or get people to do that for you.
23 changes: 6 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.7-SNAPSHOT'
id 'fabric-loom' version '0.8-SNAPSHOT'
id 'java-gradle-plugin'
id 'maven-publish'
}
@@ -8,7 +8,7 @@ sourceCompatibility = 16
targetCompatibility = 16

archivesBaseName = "crowdin-translate"
version = "1.3+1.17-pre5b"
version = "1.3+1.17"

minecraft {
refmapName = "crowdin-translate-refmap.json";
@@ -26,8 +26,8 @@ processResources {
// They are only included to make loom happy.
// Use old versions intentionally to make this work with a broad range of MCs.
dependencies {
minecraft "com.mojang:minecraft:1.17-pre5"
mappings "net.fabricmc:yarn:1.17-pre5+build.1:v2"
minecraft "com.mojang:minecraft:1.17"
mappings "net.fabricmc:yarn:1.17+build.1:v2"
modImplementation "net.fabricmc:fabric-loader:0.11.3"
}

@@ -47,7 +47,6 @@ jar {
'Main-Class': 'de.guntram.mcmod.crowdintranslate.CrowdinTranslate'
)
}

}

gradlePlugin {
@@ -64,7 +63,7 @@ publishing {
publications {
mavenJava(MavenPublication) {
artifact(remapJar) {
builtBy remapJar
// builtBy remapJar
}
}
}
@@ -75,16 +74,6 @@ publishing {
}
}

/*
uploadArchives {
repositories {
mavenDeployer {
repository(url: "file://localhost/tmp/mymavenrepo")
}
}
}

task publish(dependsOn: uploadArchives, type: Exec) {
task mypublish(dependsOn: publish, type: Exec) {
commandLine "rsync", "-av", "/tmp/mymavenrepo/", "[email protected]:/var/www/html/maven/"
}
*/