mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
feat(content): Make mystery set strings translatable
Squashed and cleaned up version of https://github.com/HabitRPG/habitrpg/pull/6367
This commit is contained in:
committed by
Blade Barringer
parent
e638661c71
commit
35a921bf43
14
test/content/mysterySets.test.js
Normal file
14
test/content/mysterySets.test.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import {each} from 'lodash';
|
||||
import {
|
||||
expectValidTranslationString
|
||||
} from '../helpers/content.helper';
|
||||
|
||||
import mysterySets from '../../common/script/content/mystery-sets';
|
||||
|
||||
describe('Mystery Sets', () => {
|
||||
it('has a valid text string', () => {
|
||||
each(mysterySets, (set, key) => {
|
||||
expectValidTranslationString(set.text);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user