code: function translateObject(language, key, destObj, keysArray, valuesArray) {
  	return new Promise(function (resolve, reject) {
  		translateService.translate(valuesArray, language, function (err, res) {
  			if (err || !res) {
  				reject(err);
  			} else {
  				// Google-translate doesn't return an array if we only send a single string to translate
  				res = _.concat(res);
  				for (var i = 0; i < keysArray.length; i++) {
  					destObj[key][keysArray[i]] = res[i].translatedText;
  				}
  
  				resolve(destObj);
  			}
  		});
  	});
  }
docs: eslint-disable-next-line max-params