Changes between Version 18 and Version 19 of Internationalization


Ignore:
Timestamp:
Apr 25, 2014, 4:44:33 AM (10 years ago)
Author:
Adrián Chaves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internationalization

    v18 v19  
    238238}}}
    239239
     240Also, the keys array may be an object where properties are keys to translate and values are translation contexts to use for each key. For example, the following call translates “Player Name” with “playerName” as translation context (equivalent to `translateWithContext("playerName", "Player Name")`):
     241
     242{{{
     243translateObjectKeys({ "name": "Player Name" }, { "name": "playerName" });
     244}}}