mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
3674
i18n/fr.json
Normal file
3674
i18n/fr.json
Normal file
File diff suppressed because it is too large
Load Diff
1377
webapp/i18n/fr.json
Normal file
1377
webapp/i18n/fr.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,11 +2,13 @@
|
||||
// See License.txt for license information.
|
||||
|
||||
const es = require('!!file?name=i18n/[name].[ext]!./es.json');
|
||||
const fr = require('!!file?name=i18n/[name].[ext]!./fr.json');
|
||||
const pt = require('!!file?name=i18n/[name].[ext]!./pt.json');
|
||||
|
||||
import {addLocaleData} from 'react-intl';
|
||||
import enLocaleData from 'react-intl/locale-data/en';
|
||||
import esLocaleData from 'react-intl/locale-data/es';
|
||||
import frLocaleData from 'react-intl/locale-data/fr';
|
||||
import ptLocaleData from 'react-intl/locale-data/pt';
|
||||
|
||||
const languages = {
|
||||
@@ -20,6 +22,11 @@ const languages = {
|
||||
name: 'Español (Beta)',
|
||||
url: es
|
||||
},
|
||||
fr: {
|
||||
value: 'fr',
|
||||
name: 'Français (Beta)',
|
||||
url: fr
|
||||
},
|
||||
pt: {
|
||||
value: 'pt',
|
||||
name: 'Portugues (Beta)',
|
||||
@@ -40,11 +47,13 @@ export function safariFix(callback) {
|
||||
'intl',
|
||||
'intl/locale-data/jsonp/en.js',
|
||||
'intl/locale-data/jsonp/es.js',
|
||||
'intl/locale-data/jsonp/fr.js',
|
||||
'intl/locale-data/jsonp/pt.js'
|
||||
], (require) => {
|
||||
require('intl');
|
||||
require('intl/locale-data/jsonp/en.js');
|
||||
require('intl/locale-data/jsonp/es.js');
|
||||
require('intl/locale-data/jsonp/fr.js');
|
||||
require('intl/locale-data/jsonp/pt.js');
|
||||
callback();
|
||||
});
|
||||
@@ -53,5 +62,6 @@ export function safariFix(callback) {
|
||||
export function doAddLocaleData() {
|
||||
addLocaleData(enLocaleData);
|
||||
addLocaleData(esLocaleData);
|
||||
addLocaleData(frLocaleData);
|
||||
addLocaleData(ptLocaleData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user