update path to sources directory and locales

This commit is contained in:
Amruth Pillai 2020-03-30 17:47:54 +05:30
parent 0cc67c7899
commit 2e5624e756
No known key found for this signature in database
GPG Key ID: 09959E21662F51A0
24 changed files with 3 additions and 5 deletions

View File

@ -1,3 +1,3 @@
files:
- source: /src/i18n/sources/**/*.json
translation: /src/i18n/resources/%two_letters_code%/**/%original_file_name%
- source: /src/i18n/source/**/*.json
translation: /src/i18n/locales/%two_letters_code%/**/%original_file_name%

View File

@ -1,7 +1,7 @@
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import resources from './resources';
import resources from './locales';
const languages = [
{

View File

@ -1,7 +1,5 @@
import en from './en';
import kn from './kn';
export default {
en,
kn,
};