clean up translations

This commit is contained in:
Aria Moradi
2023-02-14 16:28:37 +03:30
parent 6f3bc1bc4e
commit 76d44bd657
6 changed files with 25 additions and 18 deletions

View File

@@ -5,8 +5,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import en from 'i18n/resources/en.json';
import fr from 'i18n/resources/fr.json';
import en from 'i18n/locale/en.json';
const translationHelper = (lng: any) => ({
translation: lng,
@@ -14,7 +13,6 @@ const translationHelper = (lng: any) => ({
const resources = {
en: translationHelper(en),
fr: translationHelper(fr),
};
export default resources;