Task #1178

Improve translation consistency

Added by Timothy 9 months ago. Updated 8 months ago.

Status:New% Done:

0%

Priority:NormalSpent time:-
Assignee:Timothy
Category:General
Target version:2.78
OS: Arch:

Description

This is mainly a container issue for everything I’ve experienced translating the project to Dutch so far.


Naming

A lot of commands use a different naming in console. For example:

  • usage: vs type: (also in upper- or lowercase)
  • not enabled vs disabled (unnecessary negation)

Capitalization

Especially in menus some options use capitalized names and some do not. This also depends a lot on the target language: in English it’s common but we prefer to use lowercase in Dutch. However, we should maintain a consistent style across all UI components.


Reduce and remove duplicate phrases

Some phrases occur multiple times in the .pot file. This can be a complete sentence or parts of a sentence. For example:

^5You've been removed from the ^4Allies^7 team
^5You've been removed from the ^1Axis^7 team
could be reduced to
^5You've been removed from the ^1%s^7 team

This also happens quite a lot in the obituary list, where there’s a translatable entry for each of the weapons, since they basically consist of

's <weaponname>

A search for the following keywords should find most of these:
  • team names (Axis, Allies and spectators)
  • weapon names
  • class names

Remove formatting

There are a lot of texts that include formatting. Let’s make sure to remove these in order to relief translators with formatting questions.

Remove
  • colors
  • newlines
  • dashes and separations
  • indentation spaces/tabs

Remove untranslatable texts

Some texts don’t make sense when you translate them.

usage: ref warn [reason].
The prefix should be translated and the parameters probably. The command itself cannot be translated.
^7----------------------------------------------------------------------
Unnecessary.

Subtasks

Task #907: Rework translation code (obituary messages and CG_PickupI...New

History

#1 Updated by Timothy 9 months ago

  • Description updated (diff)

#2 Updated by Timothy 9 months ago

  • Description updated (diff)

#3 Updated by Timothy 9 months ago

  • Description updated (diff)

#4 Updated by Timothy 9 months ago

  • Description updated (diff)

#5 Updated by Spyhawk 9 months ago

  • Target version set to 2.77

#6 Updated by Spyhawk 8 months ago

  • Target version changed from 2.77 to 2.78

Also available in: Atom PDF