Adapt font size as needed for "Credits" title in rolling credits

In Italian, "Credits" is "Riconoscimenti", which runs offscreen with
the 3x font size that this title uses in the rolling credits at the end
of the game. I'm not sure if the translators saw that specific
instance, or thought the limit complaint was about the main menu button
all along (which is more prominent and *does* stick out far enough that
the complaint could plausibly have been about that, from a translator's
perspective!)

Either way, it's solved now: this string's width is now checked, and if
it will run offscreen at 3x size, it will now be displayed at 2x size
instead. The limit has been increased from 13 to 20 in the language
files accordingly.
This commit is contained in:
Dav999
2023-04-21 23:30:49 +02:00
committed by Misa Elizabeth Kai
parent 3b9d3a687b
commit 943362559c
13 changed files with 22 additions and 13 deletions

View File

@@ -107,7 +107,7 @@
<string english="sound volume" translation="volume des bruitages" explanation="audio menu option"/>
<string english="Sound Volume" translation="Volume bruitages" explanation="title" max="20"/>
<string english="Change the volume of sound effects." translation="Modifiez le volume des bruitages." explanation="" max="38*3"/>
<string english="Credits" translation="Générique" explanation="credits" max="13"/>
<string english="Credits" translation="Générique" explanation="credits" max="20"/>
<string english="VVVVVV is a game by" translation="VVVVVV est un jeu de" explanation="credits" max="40"/>
<string english="and features music by" translation="avec une musique de" explanation="credits" max="40"/>
<string english="Roomnames are by" translation="Noms des salles par" explanation="credits" max="40"/>