Skip to content

Commit

Permalink
update: wiki locale
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Jul 26, 2024
1 parent 65fdf74 commit 938bbea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fuji-fabric.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,7 @@ public class DeathLog {
You can use multi-level escape in a convenient way: `%fuji:escape player:name%` = `%fuji:escape player:name 1`
Tips:
- You can also use [the default available placeholders](https://placeholders.pb4.eu/user/default-placeholders/)
in anywhere. (Yeah, you can use `placeholder` in the `en_us.json` language file, it works)
- You can also use [the default available placeholders](https://placeholders.pb4.eu/user/default-placeholders/) in anywhere. (Yeah, you can use `placeholder` in the `en_us.json` language file, it works)
- There are some mods also provides extra placeholders, see: [other mods that provides extra placeholders](https://placeholders.pb4.eu/user/mod-placeholders/)
""")
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/generator/DocsGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ private String getLanguageCode(String fileName) {
return fileName.toLowerCase();
}


@SneakyThrows
private void generate(JsonObject jsonObject, String configFileName, String languageCode) {
Path outputPath = LOCALE_PATH.resolve(languageCode);
Expand All @@ -50,7 +49,6 @@ private void generate(Object javaObject, String configFileName, String languageC
private void generate(Path jsonFile, String languageCode) {
JsonReader jsonReader = new JsonReader(new FileReader(jsonFile.toFile()));
JsonObject jsonObject = GSON.fromJson(jsonReader, JsonObject.class);
System.out.println(jsonObject);
generate(jsonObject, jsonFile.toFile().getName(), languageCode);
}

Expand Down

0 comments on commit 938bbea

Please sign in to comment.