Replace "by" for level authors with happy face

"by {author}" is a string that will cause a lot of localization-related
problems, which then become much worse when different languages and
levels can also need different fonts:

- If the author name is set to something in English instead of a name,
  then it'll come out a bit weird if your VVVVVV is set to a different
  language: "de various people", "por various people", etc. It's the
  same problem with Discord bots completing "playing" or "watching" in
  their statuses.

- Translators can't always fit "by" in two letters, and level creators
  have understandably always assumed, and will continue to assume, that
  "by" is two letters. So if you have your VVVVVV set to a language that
  translates "by" as something long, then:
  | by Various People and Others |
  ...may suddenly show up as something like:
  |thorer Various People and Othe|

- "by" and author may need mutually incompatible fonts. For example, a
  Japanese level in a Korean VVVVVV needs to be displayed with "by" in
  Korean characters and the author name with Japanese characters, which
  would need some very special code since languages may want to add
  text both before and after the name.

- It's very possible that some languages can't translate "by" without
  knowing the gender of the name, and I know some languages even
  inflect names in really interesting ways (adding and even replacing
  letters in first names, surnames, and anything in between, depending
  on gender and what else is in the sentence).

So to solve all of this, the "by" is now replaced by a 10x10 face from
sprites.png, like a :viridian: emote. See it as a kind of avatar next
to a username, to clarify and assert that this line is for the author's
name. It should be a fairly obvious/recognizable icon, it fixes all the
above problems, and it's a bonus that we now have more happy faces in
VVVVVV.
This commit is contained in:
Dav999-v
2023-01-31 00:41:46 +01:00
committed by Misa Elizabeth Kai
parent ed7379c41b
commit d1f6c1adf2
9 changed files with 37 additions and 29 deletions

View File

@@ -35,7 +35,6 @@
<string english="secret lab" translation="laboratori secret" explanation="menu option"/>
<string english="play modes" translation="modes de joc" explanation="menu option"/>
<string english="ERROR: No levels found." translation="ERROR: No sha trobat cap nivell." explanation="" max="38*3"/>
<string english="by {author}" translation="de {author}" explanation="{author}: author of custom level, appears in the custom levels list and editor"/>
<string english="ERROR: This level has no start point!" translation="ERROR: Aquest nivell no té|cap punt dinici!" explanation="" max="38*5"/>
<string english="ERROR" translation="ERROR" explanation="title" max="20"/>
<string english="WARNING" translation="ADVERTIMENT" explanation="title" max="20"/>