yeelp / Scaling-Feast

A simple, balanced way to increase your maximum hunger in Minecraft over the course of a world.
MIT License
0 stars 1 forks source link

Add Scaling-Feast-Chinese-translation #129

Open ElinM-Challenge opened 1 year ago

ElinM-Challenge commented 1 year ago

I have already translate language to Chinese, but there're some problems: 屏幕截图 2023-02-07 131825 屏幕截图 2023-02-07 132137 屏幕截图 2023-02-07 132148 I don't know how to solve them... :(

yeelp commented 1 year ago

Whoops, thought I answered this.

The double percent signs are required (I made changes to add them). A single percent sign is sort of a "formatted placeholder". (for example, %s is a placeholder for text, which is used throughout the lang file) %% is a placeholder for a single percent sign.

As for the potions, Can you try running the following command in game:

/give @p minecraft:potion{Potion:"minecraft:water",CustomPotionEffects:[{Id:1,Amplifier:3,Duration:1200}],display:{Name:"\"Custom Potion\""}}

and see what the tooltip says? I think the tooltips maybe be a problem with vanilla Minecraft. I think Minecraft doesn't have a way to translate higher potion potencies in Chinese. The command I gave gives a speed potion with potency 4. If that one doesn't look right with the tooltips, then there's nothing that can be done with the modded potions.