Skip to content

Commit

Permalink
Merge pull request Laskyyy#424 from nageih/Astral-Experimental
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
Laskyyy authored Nov 6, 2024
2 parents d41b293 + d0cfff6 commit ae684a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Does not include mods, or most configs, only pack specific files which are used

## Contributing

For developers: If you just want to edit the text, do it in this [file](resources\createastral\lang\en_us.json) (Ponders are in this [file](kubejs\assets\ponderjs_generated\lang\en_us.json)), editing the text in other files will NOT work! If you want to add items, blocks, fluids, tooltips and everything else that contains text, please use the translation key and the [lang file](resources\createastral\lang\en_us.json).
For developers: If you just want to edit the text, do it in this [file](resources/createastral/lang/en_us.json) (Ponders are in this [file](kubejs/assets/ponderjs_generated/lang/en_us.json)), editing the text in other files will NOT work! If you want to add items, blocks, fluids, tooltips and everything else that contains text, please use the translation key and the [lang file](resources/createastral/lang/en_us.json).

Here's an [example](https://github.com/Laskyyy/Create-Astral/pull/389) of changing the added tooltip and some other text to a translation key. For adding a new item/block/fluid, the naming of the key in the language file needs to follow these rules.

To name keys in the [lang file](resources\createastral\lang\en_us.json) correctly, you need use the **prefix** (`item/block/fluid`) + the **namespace** of mod (such as `kubejs`,`create_astral`) + the **id** of item/block/fluid. For vaules, it's the **displayed name** instead of translation keys. There is a example.
To name keys in the [lang file](resources/createastral/lang/en_us.json) correctly, you need use the **prefix** (`item/block/fluid`) + the **namespace** of mod (such as `kubejs`,`create_astral`) + the **id** of item/block/fluid. For vaules, it's the **displayed name** instead of translation keys. There is a example.

```json
{
Expand Down

0 comments on commit ae684a6

Please sign in to comment.