Jaka Kranjc f1a3bd5001 transferGems: use receiver language translation for PM strings #7722 (#8173)
* transferGems: use receiver language translation for PM strings #7722

* chore(test): DRY up transfer gems test

* chore(test): Allow check for language in translation assertion

* chore(test): Add test that member locales are used in transfer gems msg

* sendMessage: optionally take also the message in sender's language

when present, it is stored in the sender's inbox instead of the version
in the target language.

* transferGems: prepare pm in both languages #7722

* sendMessage: take an object for the second parameter instead

* payments: made two more gift strings translatable

* buyGems: send both translations for gifted gems

* buyGems: send push notifications in target user's locale

* createSubscription: send both translations for gifted subs

* createSubscription: send push notifications in target user's locale

* transferGems: send push notifications in target user's locale

* tests: adjust payment tests for translation changes

* added function doc for sendMessage

* tests: added bilingual test for buyGems
2016-12-15 18:36:54 -06:00
2016-12-12 21:51:53 +01:00
2016-12-12 21:51:53 +01:00
2016-05-23 13:58:31 +02:00
2016-05-23 13:58:31 +02:00
2016-09-07 08:44:57 -05:00
2016-09-18 21:51:20 +02:00
2016-09-29 13:32:36 +02:00
2016-09-18 21:51:20 +02:00
2016-12-12 21:51:53 +01:00
2016-12-12 21:51:53 +01:00
2016-01-11 05:04:22 +00:00
2016-01-11 05:04:22 +00:00
2016-12-12 21:51:53 +01:00
2016-09-27 09:34:45 +02:00
2016-06-21 06:42:20 -05:00
2016-12-15 17:35:51 +00:00
2016-12-15 17:35:51 +00:00
2016-05-23 13:58:31 +02:00
2015-07-31 18:05:10 +10:00

Habitica Build Status Code Climate Coverage Status Bountysource

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated.

For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.

To set up a local install of Habitica for development and testing, see Setting up Habitica Locally, which contains instructions for Windows, *nix / Mac OS, and Vagrant.

Then read Guidance for Blacksmiths for additional instructions and useful tips.

S
Description
A habit tracker app which treats your goals like a Role Playing Game.
Readme 1.9 GiB
Languages
JavaScript 51.7%
Vue 23.8%
CSS 23.7%
SCSS 0.7%