contentdb icon indicating copy to clipboard operation
contentdb copied to clipboard

Char limit on translated title / short descriptions

Open Wuzzy2 opened this issue 11 months ago • 2 comments

Summary

I was trying to update Hades Revisited to version 0.16.0 on ContentDB but it keeps failing with the error message "Unknown server error".

Steps to reproduce

I entered the following:

  • Version: 0.16.0
  • Title: (empty)
  • Changelog:
* Pipes and tubes have been removed (too broken)
* Added glass tanks to transport water
* Fix wrong item dropping when wall/ceiling torch is flooded
* Some maintenance/security updates for Luanti version 5.11.0
* Fix various missing dependencies
* Fix crash if respawning on unknown node
* Mapgen now replaces falling block above water/lava
* Add translation for info_world and info_mission commands
* Fix some factual errors in those commands
* Explain jump dampener controls better
* Partially upgrade to formspec version 6
* Lava cooling sounds are less aggressive
* Player can no longer place bag into bag
* Update show_wielded_item to 1.2.1
  • Minimal version: 5.6.0
  • Maximum version: (none)

Wuzzy2 avatar Mar 26 '25 18:03 Wuzzy2

This error is because the german translation of the short description is longer than 200 characters. This limit was introduced as it encourages users to write short descriptions in the web interface, but it doesn't make sense to fail releases over this. I believe the UI will truncate the short description and show the rest in a tool tip, so I can raise the limit to say 1000 and just let the UI handle it based on available space

rubenwardy avatar Mar 29 '25 14:03 rubenwardy

Do you mean the game description in game.conf? Because then it doesn't make sense. The description is only 172 characters long. *shrug*

EDIT: Oh wait, the translation. Thanks for the answer, that explains it. I wish the error messages would be more useful in future. :-P

Wuzzy2 avatar Mar 29 '25 14:03 Wuzzy2