mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Move translator to helpers.js
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {each, defaults, assign} from 'lodash';
|
||||
import capitalize from 'lodash.capitalize';
|
||||
import camelCase from 'lodash.camelcase';
|
||||
import t from '../helpers/translator';
|
||||
import {translator as t} from '../helpers';
|
||||
|
||||
let dilatoryDistressSeries = {
|
||||
dilatoryDistress1: {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {each, defaults} from 'lodash';
|
||||
import capitalize from 'lodash.capitalize';
|
||||
import t from '../helpers/translator';
|
||||
import {translator as t} from '../helpers';
|
||||
|
||||
let holidayQuests = {
|
||||
evilsanta: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {each, assign, defaults, sortBy} from 'lodash';
|
||||
import capitalize from 'lodash.capitalize';
|
||||
import camelCase from 'lodash.camelcase';
|
||||
import t from '../helpers/translator';
|
||||
import {translator as t} from '../helpers';
|
||||
|
||||
import worldQuests from './world';
|
||||
import holidayQuests from './holiday';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {each, defaults} from 'lodash';
|
||||
import capitalize from 'lodash.capitalize';
|
||||
import camelCase from 'lodash.camelcase';
|
||||
import t from '../helpers/translator';
|
||||
import {translator as t} from '../helpers';
|
||||
|
||||
let petQuests = {
|
||||
gryphon: {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {each, defaults, assign} from 'lodash';
|
||||
import t from '../helpers/translator';
|
||||
import {translator as t} from '../helpers';
|
||||
|
||||
let inviteFriends = {
|
||||
basilist: {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {each, defaults} from 'lodash';
|
||||
import capitalize from 'lodash.capitalize';
|
||||
import t from '../helpers/translator';
|
||||
import {translator as t} from '../helpers';
|
||||
|
||||
let worldQuests = {
|
||||
dilatory: {
|
||||
|
||||
Reference in New Issue
Block a user