« Previous | Next » 

Revision e7141cb6

IDe7141cb693168c2785c0b7e075ead8c73b96194a

Added by Karsten Dambekalns over 9 years ago

[FEATURE] Makes quantity optional in translation methods

When using plural forms, the quantity to be used for finding
the correct plural form had to be given explicitly. This was
cumbersome when using a single numeric argument, as it meant
to pass the same value twice.

With this change the quantity is determined automatically if
a single numeric argument is given to translateById() or
translateByOriginalLabel() in Translator.

Also fixes a few I18n unit tests along the way.

Change-Id: I1a2c505a8bc4a5c61d1e2a46704231a12b763839
Resolves: #33959
Releases: 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted