You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/07/31 02:36:35 UTC
[incubator-echarts] branch next updated: Add french translation
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/next by this push:
new 5f7d712 Add french translation
new d17f801 Merge pull request #13056 from susiwen8/fr
5f7d712 is described below
commit 5f7d7127fd99077dfc58be7f8730b1c488bb96e1
Author: susiwen8 <su...@gmail.com>
AuthorDate: Fri Jul 31 09:50:24 2020 +0800
Add french translation
---
i18n/langFR-obj.js | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++
i18n/langFR.js | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++
src/i18n/langFR.ts | 142 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 482 insertions(+)
diff --git a/i18n/langFR-obj.js b/i18n/langFR-obj.js
new file mode 100644
index 0000000..db2d0c1
--- /dev/null
+++ b/i18n/langFR-obj.js
@@ -0,0 +1,172 @@
+
+
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+
+/**
+ * AUTO-GENERATED FILE. DO NOT MODIFY.
+ */
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD. Register as an anonymous module.
+ define(['exports'], factory);
+ } else if (
+ typeof exports === 'object' &&
+ typeof exports.nodeName !== 'string'
+ ) {
+ // CommonJS
+ factory(exports);
+ } else {
+ // Browser globals
+ factory({});
+ }
+})(this, function(exports) {
+
+
+/**
+ * Language: Français.
+ */
+
+var localeObj = {
+ time: {
+ month: [
+ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin',
+ 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'
+ ],
+ monthAbbr: [
+ 'Janv.', 'Févr', 'Mars', 'Avr', 'Mai', 'Juin',
+ 'Juill', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'
+ ],
+ dayOfWeek: [
+ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'
+ ],
+ dayOfWeekAbbr: [
+ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'
+ ]
+ },
+ legend: {
+ selector: {
+ all: 'Tout',
+ inverse: 'Inverse'
+ }
+ },
+ toolbox: {
+ brush: {
+ title: {
+ rect: 'Sélection de boîte',
+ polygon: 'Sélection au Lasso',
+ lineX: 'Sélectionner horizontalement',
+ lineY: 'Sélectionner verticalement',
+ keep: 'Garder la sélection',
+ clear: 'Effacer la sélection'
+ }
+ },
+ dataView: {
+ title: 'Visualisation des données',
+ lang: ['Visualisation des données', 'Fermer', 'Rafraîchir']
+ },
+ dataZoom: {
+ title: {
+ zoom: 'Zoom',
+ back: 'Zoom Reset'
+ }
+ },
+ magicType: {
+ title: {
+ line: 'Changer à Ligne',
+ bar: 'Changer à Histogramme',
+ stack: 'Superposition',
+ tiled: 'Tuile'
+ }
+ },
+ restore: {
+ title: 'Restaurer'
+ },
+ saveAsImage: {
+ title: 'Sauvegarde l\'image',
+ lang: ['Clic droit pour sauvegarde L\'image']
+ }
+ },
+ series: {
+ typeNames: {
+ pie: 'Circulaire',
+ bar: 'Histogramme',
+ line: 'Linéaire',
+ scatter: 'Nuage de points',
+ effectScatter: 'Ripple scatter plot',
+ radar: 'Radar',
+ tree: 'Arborescent',
+ treemap: 'Treemap',
+ boxplot: 'Boîte à moustaches',
+ candlestick: 'Chandelier',
+ k: 'Linéaire K',
+ heatmap: 'Carte de chaleur',
+ map: 'Carte',
+ parallel: 'Carte de coordonnées parallèles',
+ lines: 'Line graph',
+ graph: 'Relations',
+ sankey: 'Sankey',
+ funnel: 'Entonnoir',
+ gauge: 'Jauge',
+ pictorialBar: 'Pictorial bar',
+ themeRiver: 'Theme River Map',
+ sunburst: 'Sunburst'
+ }
+ },
+ aria: {
+ general: {
+ withTitle: 'Cette carte est pour "{title}"',
+ withoutTitle: 'Elle est une carte'
+ },
+ series: {
+ single: {
+ prefix: '',
+ withName: ' Avec le type de {seriesType} qui s\'appelle {seriesName}.',
+ withoutName: ' Avec le type de {seriesType}.'
+ },
+ multiple: {
+ prefix: '. Elle comprend {seriesCount} série.',
+ withName: ' La série {seriesId} représente {seriesName} de {seriesType}.',
+ withoutName: ' La série {seriesId} est un/une {seriesType}.',
+ separator: {
+ middle: '',
+ end: ''
+ }
+ }
+ },
+ data: {
+ allData: 'Les données sont: ',
+ partialData: 'Le premier {displayCnt} items are: ',
+ withName: 'Les données pour {name} sont {value}',
+ withoutName: '{value}',
+ separator: {
+ middle: ', ',
+ end: '. '
+ }
+ }
+ }
+};
+ for (var key in localeObj) {
+ if (localeObj.hasOwnProperty(key)) {
+ exports[key] = localeObj[key];
+ }
+ }
+
+});
\ No newline at end of file
diff --git a/i18n/langFR.js b/i18n/langFR.js
new file mode 100644
index 0000000..ffeb03d
--- /dev/null
+++ b/i18n/langFR.js
@@ -0,0 +1,168 @@
+
+
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+
+/**
+ * AUTO-GENERATED FILE. DO NOT MODIFY.
+ */
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD. Register as an anonymous module.
+ define(['exports', 'echarts'], factory);
+ } else if (
+ typeof exports === 'object' &&
+ typeof exports.nodeName !== 'string'
+ ) {
+ // CommonJS
+ factory(exports, require('echarts'));
+ } else {
+ // Browser globals
+ factory({}, root.echarts);
+ }
+})(this, function(exports, echarts) {
+
+
+/**
+ * Language: Français.
+ */
+
+var localeObj = {
+ time: {
+ month: [
+ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin',
+ 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'
+ ],
+ monthAbbr: [
+ 'Janv.', 'Févr', 'Mars', 'Avr', 'Mai', 'Juin',
+ 'Juill', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'
+ ],
+ dayOfWeek: [
+ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'
+ ],
+ dayOfWeekAbbr: [
+ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'
+ ]
+ },
+ legend: {
+ selector: {
+ all: 'Tout',
+ inverse: 'Inverse'
+ }
+ },
+ toolbox: {
+ brush: {
+ title: {
+ rect: 'Sélection de boîte',
+ polygon: 'Sélection au Lasso',
+ lineX: 'Sélectionner horizontalement',
+ lineY: 'Sélectionner verticalement',
+ keep: 'Garder la sélection',
+ clear: 'Effacer la sélection'
+ }
+ },
+ dataView: {
+ title: 'Visualisation des données',
+ lang: ['Visualisation des données', 'Fermer', 'Rafraîchir']
+ },
+ dataZoom: {
+ title: {
+ zoom: 'Zoom',
+ back: 'Zoom Reset'
+ }
+ },
+ magicType: {
+ title: {
+ line: 'Changer à Ligne',
+ bar: 'Changer à Histogramme',
+ stack: 'Superposition',
+ tiled: 'Tuile'
+ }
+ },
+ restore: {
+ title: 'Restaurer'
+ },
+ saveAsImage: {
+ title: 'Sauvegarde l\'image',
+ lang: ['Clic droit pour sauvegarde L\'image']
+ }
+ },
+ series: {
+ typeNames: {
+ pie: 'Circulaire',
+ bar: 'Histogramme',
+ line: 'Linéaire',
+ scatter: 'Nuage de points',
+ effectScatter: 'Ripple scatter plot',
+ radar: 'Radar',
+ tree: 'Arborescent',
+ treemap: 'Treemap',
+ boxplot: 'Boîte à moustaches',
+ candlestick: 'Chandelier',
+ k: 'Linéaire K',
+ heatmap: 'Carte de chaleur',
+ map: 'Carte',
+ parallel: 'Carte de coordonnées parallèles',
+ lines: 'Line graph',
+ graph: 'Relations',
+ sankey: 'Sankey',
+ funnel: 'Entonnoir',
+ gauge: 'Jauge',
+ pictorialBar: 'Pictorial bar',
+ themeRiver: 'Theme River Map',
+ sunburst: 'Sunburst'
+ }
+ },
+ aria: {
+ general: {
+ withTitle: 'Cette carte est pour "{title}"',
+ withoutTitle: 'Elle est une carte'
+ },
+ series: {
+ single: {
+ prefix: '',
+ withName: ' Avec le type de {seriesType} qui s\'appelle {seriesName}.',
+ withoutName: ' Avec le type de {seriesType}.'
+ },
+ multiple: {
+ prefix: '. Elle comprend {seriesCount} série.',
+ withName: ' La série {seriesId} représente {seriesName} de {seriesType}.',
+ withoutName: ' La série {seriesId} est un/une {seriesType}.',
+ separator: {
+ middle: '',
+ end: ''
+ }
+ }
+ },
+ data: {
+ allData: 'Les données sont: ',
+ partialData: 'Le premier {displayCnt} items are: ',
+ withName: 'Les données pour {name} sont {value}',
+ withoutName: '{value}',
+ separator: {
+ middle: ', ',
+ end: '. '
+ }
+ }
+ }
+};
+ echarts.registerLocale('FR', localeObj);
+
+});
\ No newline at end of file
diff --git a/src/i18n/langFR.ts b/src/i18n/langFR.ts
new file mode 100644
index 0000000..84d8246
--- /dev/null
+++ b/src/i18n/langFR.ts
@@ -0,0 +1,142 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+/**
+ * Language: Français.
+ */
+
+export default {
+ time: {
+ month: [
+ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin',
+ 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'
+ ],
+ monthAbbr: [
+ 'Janv.', 'Févr', 'Mars', 'Avr', 'Mai', 'Juin',
+ 'Juill', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'
+ ],
+ dayOfWeek: [
+ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'
+ ],
+ dayOfWeekAbbr: [
+ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'
+ ]
+ },
+ legend: {
+ selector: {
+ all: 'Tout',
+ inverse: 'Inverse'
+ }
+ },
+ toolbox: {
+ brush: {
+ title: {
+ rect: 'Sélection de boîte',
+ polygon: 'Sélection au Lasso',
+ lineX: 'Sélectionner horizontalement',
+ lineY: 'Sélectionner verticalement',
+ keep: 'Garder la sélection',
+ clear: 'Effacer la sélection'
+ }
+ },
+ dataView: {
+ title: 'Visualisation des données',
+ lang: ['Visualisation des données', 'Fermer', 'Rafraîchir']
+ },
+ dataZoom: {
+ title: {
+ zoom: 'Zoom',
+ back: 'Zoom Reset'
+ }
+ },
+ magicType: {
+ title: {
+ line: 'Changer à Ligne',
+ bar: 'Changer à Histogramme',
+ stack: 'Superposition',
+ tiled: 'Tuile'
+ }
+ },
+ restore: {
+ title: 'Restaurer'
+ },
+ saveAsImage: {
+ title: 'Sauvegarde l\'image',
+ lang: ['Clic droit pour sauvegarde L\'image']
+ }
+ },
+ series: {
+ typeNames: {
+ pie: 'Circulaire',
+ bar: 'Histogramme',
+ line: 'Linéaire',
+ scatter: 'Nuage de points',
+ effectScatter: 'Ripple scatter plot',
+ radar: 'Radar',
+ tree: 'Arborescent',
+ treemap: 'Treemap',
+ boxplot: 'Boîte à moustaches',
+ candlestick: 'Chandelier',
+ k: 'Linéaire K',
+ heatmap: 'Carte de chaleur',
+ map: 'Carte',
+ parallel: 'Carte de coordonnées parallèles',
+ lines: 'Line graph',
+ graph: 'Relations',
+ sankey: 'Sankey',
+ funnel: 'Entonnoir',
+ gauge: 'Jauge',
+ pictorialBar: 'Pictorial bar',
+ themeRiver: 'Theme River Map',
+ sunburst: 'Sunburst'
+ }
+ },
+ aria: {
+ general: {
+ withTitle: 'Cette carte est pour "{title}"',
+ withoutTitle: 'Elle est une carte'
+ },
+ series: {
+ single: {
+ prefix: '',
+ withName: ' Avec le type de {seriesType} qui s\'appelle {seriesName}.',
+ withoutName: ' Avec le type de {seriesType}.'
+ },
+ multiple: {
+ prefix: '. Elle comprend {seriesCount} série.',
+ withName: ' La série {seriesId} représente {seriesName} de {seriesType}.',
+ withoutName: ' La série {seriesId} est un/une {seriesType}.',
+ separator: {
+ middle: '',
+ end: ''
+ }
+ }
+ },
+ data: {
+ allData: 'Les données sont: ',
+ partialData: 'Le premier {displayCnt} items are: ',
+ withName: 'Les données pour {name} sont {value}',
+ withoutName: '{value}',
+ separator: {
+ middle: ', ',
+ end: '. '
+ }
+ }
+ }
+};
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org