import { FRENCH } from '../utils/i18n/i18n';
var FrenchPlugin = {
    install: function (v, options) {
        v.prototype.$log.debug('FrenchPlugin', 'plugin.install');
        var i18n = (v.prototype).$i18n;
        if (i18n) {
            var msgs = [
                require('../components/accordion/accordion.lang.fr.json'),
                require('../components/accordion-group/accordion-group.lang.fr.json'),
                require('../components/address/address-editor/address-editor.lang.fr.json'),
                require('../components/address/address-lookup-field/address-lookup-field.lang.fr.json'),
                require('../components/calendar/calendar.lang.fr.json'),
                require('../components/chip/chip.lang.fr.json'),
                require('../components/copy-to-clipboard/copy-to-clipboard.lang.fr.json'),
                require('../components/datepicker/datepicker.lang.fr.json'),
                require('../components/daterangepicker/daterangepicker.lang.fr.json'),
                require('../components/dialog/dialog.lang.fr.json'),
                require('../components/dropdown/dropdown.lang.fr.json'),
                require('../components/list-item/list-item.lang.fr.json'),
                require('../components/error-pages/error-access-denied/error-access-denied.lang.fr.json'),
                require('../components/error-pages/error-browser-not-supported/error-browser-not-supported.lang.fr.json'),
                require('../components/error-pages/error-config-not-supported/error-config-not-supported.lang.fr.json'),
                require('../components/error-pages/error-conflict/error-conflict.lang.fr.json'),
                require('../components/error-pages/error-cookies-not-supported/error-cookies-not-supported.lang.fr.json'),
                require('../components/error-pages/error-page-not-found/error-page-not-found.lang.fr.json'),
                require('../components/error-pages/error-resource-unavailable/error-resource-unavailable.lang.fr.json'),
                require('../components/error-pages/error-technical-difficulty/error-technical-difficulty.lang.fr.json'),
                require('../components/error-pages/error-session-expired/error-session-expired.lang.fr.json'),
                require('../components/file-select/file-select.lang.fr.json'),
                require('../components/file-upload/file-upload.lang.fr.json'),
                require('../components/form/form.lang.fr.json'),
                require('../components/icon-file/icon-file.lang.fr.json'),
                require('../components/inplace-edit/inplace-edit.lang.fr.json'),
                require('../components/input-style/input-style.lang.fr.json'),
                require('../components/link/link.lang.fr.json'),
                require('../components/limit-elements/limit-elements.lang.fr.json'),
                require('../components/limit-text/limit-text.lang.fr.json'),
                require('../components/menu/menu.lang.fr.json'),
                require('../components/message/message.lang.fr.json'),
                require('../components/modal/modal.lang.fr.json'),
                require('../components/multi-select/multi-select.lang.fr.json'),
                require('../components/overlay/overlay.lang.fr.json'),
                require('../components/option/option.lang.fr.json'),
                require('../components/organize-table-columns-modal/organize-table-columns-modal.lang.fr.json'),
                require('../components/organize-table-columns-modal/organize-table-columns/organize-table-columns.lang.fr.json'),
                require('../components/pagination/pagination.lang.fr.json'),
                require('../components/photo-editor/photo-editor.lang.fr.json'),
                require('../components/repeater/repeater.lang.fr.json'),
                require('../components/rich-text-editor/rich-text-editor.lang.fr.json'),
                require('../components/select/select.lang.fr.json'),
                require('../components/scroll-top/scroll-top.lang.fr.json'),
                require('../components/show-more/show-more.lang.fr.json'),
                require('../components/sidebar/sidebar.lang.fr.json'),
                require('../components/spinner/spinner.lang.fr.json'),
                require('../components/switch/switch.lang.fr.json'),
                require('../components/table/table.lang.fr.json'),
                require('../components/toast/toast.lang.fr.json'),
                require('../components/tree/tree.lang.fr.json'),
                require('../components/textfield/textfield.lang.fr.json'),
                require('../components/timepicker/timepicker.lang.fr.json'),
                require('../components/tooltip/tooltip.lang.fr.json'),
                require('../components/typeahead/typeahead.lang.fr.json'),
                require('../components/validation-message/validation-message.lang.fr.json'),
                require('../filters/date/date/date.lang.fr.json'),
                require('../filters/date/date-time/date-time.lang.fr.json'),
                require('../filters/date/period/period.lang.fr.json'),
                require('../filters/date/time/time.lang.fr.json'),
                require('../filters/filesize/filesize.lang.fr.json'),
                require('../filters/date/time-elapsed/time-elapsed.lang.fr.json')
            ];
            msgs.forEach(function (msgs) { return i18n.addMessages(FRENCH, msgs); });
        }
        else {
            throw new Error('FrenchPlugin.install -> You must use the i18n plugin.');
        }
    }
};
export default FrenchPlugin;
//# sourceMappingURL=fr.js.map