Truinto / ONI-Modloader-SimpleMods

OxygenNotIncluded Mods
MIT License
18 stars 6 forks source link

Chinese translation update #27

Closed Ventulus-lab closed 2 years ago

Ventulus-lab commented 2 years ago

strings_zh.zip I update some strings translation more accurately after testing

Ventulus-lab commented 2 years ago

oh,no! I find it doesn't work for skill station. though I have translated the strings of Atrributes & Traits ..etc, but in game the entry of skill station shows English and Missing Strings. Take a look please

Truinto commented 2 years ago

Oh weird. I am sure I checked that these entries are translatable. Something must have changed that it's not working anymore. I will need time to investigate.

Truinto commented 2 years ago

Made progress. Still missing the category headers...

pic

Truinto commented 2 years ago

Ah, I just realized why. The IDs were missing from the *.pot table before my latest patches. So naturally nobody could have translated them :) Would you help me with this. Here is the new pot file. Also the next mod version in case you want to try it before release.

strings_.zip CustomizeBuildingsV57pre.zip .

Ventulus-lab commented 2 years ago

well,I was confused by your mod AirConditionerSliders. Can you explain these parameters and formulas? about AirConditionerAbsolutePowerFactor factorDPU in your mod and WattsNeededWhenActive BaseWattageRating in game

Ventulus-lab commented 2 years ago

done strings_zh.pot.zip

Truinto commented 2 years ago

Let's see. You have

factorDPU isn't in the config file. I assume you looked at the source code. I made it more complicated than it had to. It runs faster, but even if you fill the map with air conditioners you wouldn't notice a difference :P

If I remember correctly it works like this: Take the buildings normal power consumption, multiply it with the factor of maximum allowed DPU divide through actual DPU. Since that usually ends up at a very low value I added 100W as a base cost. AirConditionerAbsolutePowerFactor will multiply the cost, so it scales faster to the maximum. It never costs more than the buildings normal power consumption (1200W or 240W, I think).

BaseWattageRating is used by the electric net to determine how much power is actually consumed WattsNeededWhenActive is the normal power consumption without mod (1200W or 240W) DPU is the heat unit

Truinto commented 2 years ago

v57 does now display the correct translations.