2023-02-13 20:20:08 +03:30
|
|
|
/*
|
|
|
|
|
* Copyright (C) Contributors to the Suwayomi project
|
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* 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/. */
|
|
|
|
|
|
2023-02-13 20:13:39 +03:30
|
|
|
import en from 'i18n/resources/en.json';
|
|
|
|
|
import fr from 'i18n/resources/fr.json';
|
|
|
|
|
|
|
|
|
|
const translationHelper = (lng: any) => ({
|
|
|
|
|
translation: lng,
|
|
|
|
|
});
|
|
|
|
|
|
2023-02-13 20:20:08 +03:30
|
|
|
const resources = {
|
2023-02-13 20:13:39 +03:30
|
|
|
en: translationHelper(en),
|
|
|
|
|
fr: translationHelper(fr),
|
2023-02-13 20:20:08 +03:30
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default resources;
|