From a287fe1c681ef29d6914025b145d1ce9f4d8aff7 Mon Sep 17 00:00:00 2001 From: Stephane Godin Date: Mon, 23 Sep 2024 00:04:27 +0200 Subject: [PATCH] added spanish and arabic translations --- src/components/locales.js | 4 +- src/locales/ar.json | 118 +++++++++++++++++++------------------- src/locales/es.json | 76 ++++++++++++------------ 3 files changed, 99 insertions(+), 99 deletions(-) diff --git a/src/components/locales.js b/src/components/locales.js index 45f3116..9318d8d 100644 --- a/src/components/locales.js +++ b/src/components/locales.js @@ -7,8 +7,8 @@ import Arabic from '../locales/ar.json'; import Ukrainian from '../locales/uk.json'; import SimpleChineese from '../locales/zh_hans.json'; const locales = { - //"ar": {lang:"ar", dir:"rtl", desc:"عربي", reverse:true, data:Arabic}, - //"es": {lang:"es", dir:'ltr', desc:'Español', reverse:false, data:Spanish}, + "ar": {lang:"ar", dir:"rtl", desc:"عربي", reverse:true, data:Arabic}, + "es": {lang:"es", dir:'ltr', desc:'Español', reverse:false, data:Spanish}, "de": {lang:"de", dir:'ltr', desc:'Deutch', reverse:false, data:Deutch}, "nl": {lang:"nl", dir:'ltr', desc:'Dutch', reverse:false, data:Netherland}, diff --git a/src/locales/ar.json b/src/locales/ar.json index 42f37e8..7c78537 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -1,61 +1,61 @@ { - "app.loading": "\u0627\u0644\u062a\u0639\u0628\u0626\u0629...", - "app.wait": "\u0645\u0646 \u0641\u0636\u0644\u0643 \u0627\u0646\u062a\u0638\u0631", - "file.open": "\u0645\u0641\u062a\u0648\u062d", - "file.save": "\u0623\u0646\u0642\u0630", - "file.saveas": "\u0623\u0646\u0642\u0630\u0652", - "file.desktopfile": "DesktopBrailleRAP File", - "file.svgfile": "SVG File", - "file.all": "\u0643\u0644 \u0634\u064a\u0621", - "menu.home": "\u0627\u0644\u0628\u064a\u062a", - "menu.file": "\u0627\u0644\u0645\u0644\u0641\u0627\u062a", - "menu.svg": "SVG import", - "menu.text": "\u0627\u0644\u0646\u0635", - "menu.position": "\u0627\u0644\u0645\u0646\u0635\u0628", - "menu.print": "\u0627\u0644\u0637\u0628\u0627\u0639\u0629", - "menu.param": "\u0627\u0644\u062e\u064a\u0627\u0631\u0627\u062a", - "menu.data": "\u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a", - "param.locale": "\u0644\u063a\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642", - "param.labelport": "\u0627\u0644\u0645\u064a\u0646\u0627\u0621 \u0627\u0644\u0645\u0633\u0644\u0633\u0644", - "param.nocomport": "\u0644\u0627 \u064a\u0648\u062c\u062f \u0645\u064a\u0646\u0627\u0621 \u0645\u062a\u0633\u0644\u0633\u0644", - "param.buttonrefresh": "\u0627\u0644\u062a\u062c\u062f\u064a\u062f", - "param.speed": "\u0627\u0644\u0633\u0631\u0639\u0629", - "param.accel": "\u0627\u0644\u062a\u0639\u062c\u064a\u0644 (\u0645/\u0645)", - "param.path_optim": "\u0623\u0641\u0636\u0640\u0640\u0644 \u0637\u0631\u064a\u0640\u0640\u0642 \u0644\u0644\u0645\u0640\u0640\u0648\u0627\u062f \u0627\u0644\u0633\u0647\u0644\u0629", - "param.usable_height": "\u0627\u0644\u0627\u0631\u062a\u0641\u0627\u0639 (\u0645)", - "param.usable_width": "Usable width (mm)", - "param.paper_height": "\u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u0648\u0631\u0642 (\u0645 \u0645)", - "param.paper_width": "\u0639\u0631\u0636 \u0627\u0644\u0648\u0631\u0642 (\u0645 \u0645)", - "param.paper_size": "\u062d\u062c\u0645 \u0627\u0644\u0648\u0631\u0642", - "param.formtitle": "\u0627\u0644\u0628\u0627\u0631\u0627\u0645\u062a\u0631\u0627\u062a", - "param.form_aria": "\u0646\u0645\u0648\u0630\u062c \u0628\u0627\u0631\u0627\u0645\u062a\u0631\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642", - "param.path_step": "Step delta along path (mm)", - "param.brailletable": "\u062c\u062f\u0648\u0644 \u0627\u0644\u0648\u0635\u0641", - "param.brailleselectlabel": "\u0637\u0627\u0648\u0644\u0629 \u0628\u0631\u0627\u064a\u0644", - "param.nobrailletable": "No Braille transcription table", - "param.comportrefreshed": "\u0645\u0648\u0627\u0646\u0626 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u0627\u062a", - "position.size": "\u0627\u0644\u062d\u062c\u0645", - "position.angle": "\u0623\u0646\u063a\u0644", - "position.setangle": "\u0627\u0644\u0632\u0627\u0648\u064a\u0629", - "position.position": "\u0627\u0644\u0645\u0646\u0635\u0628", - "position.setposition": "\u0627\u0644\u0645\u0648\u0642\u0641", - "position.scale": "Scale", - "position.setscale": "Set Scale", - "print.ended": "\u0627\u0644\u0637\u0628\u0627\u0639\u0629 \u0627\u0644\u0645\u0646\u062a\u0647\u064a\u0629", - "print.pending": "\u0627\u0644\u0637\u0628\u0627\u0639\u0629 \u0645\u0639\u0644\u0642\u0629", - "print.waiting": "\u0645\u0646 \u0641\u0636\u0644\u0643 \u0627\u0646\u062a\u0638\u0631", - "print.cancelbtn": "\u0637\u0628\u0639\u0629 \u0627\u0644\u063a\u0627\u0621", - "print.cancelpending": "\u0637\u0628\u0627\u0639\u0629 \u0625\u0644\u063a\u0627\u0621...", - "print.preview": "\u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0645\u0637\u0628\u0648\u0639", - "print.download": "\u062a\u062d\u0645\u064a\u0644", - "print.print": "\u0627\u0644\u0637\u0628\u0627\u0639\u0629", - "print.refresh": "\u0627\u0644\u062a\u062c\u062f\u064a\u062f", + "app.wait": "من فضلك انتظر…", + "file.open": "مفتوح", + "file.save": "أنقذ", + "file.saveas": "أنقذْ", + "file.desktopfile": "DesktopBrailleRAP ملف", + "file.svgfile": "SVGملف", + "file.all": "كل شيء", + "menu.home": "البيت", + "menu.file": "الملفات", + "menu.svg": "استيراد SVG", + "menu.text": "النص", + "menu.position": "المنصب", + "menu.print": "الطباعة", + "menu.param": "الخيارات", + "menu.data": "البيانات", + "param.locale": "لغة التطبيق", + "param.labelport": "الميناء المسلسل", + "app.loading": "التعبئة…", + "print.refresh": "التجديد", "svg.open": "SVG", - "svg.import": "SVG vector files import", - "svg.importfile": "\u0627\u0644\u0648\u0627\u0631\u062f\u0627\u062a", - "text.update": "\u0627\u0644\u0646\u0635 \u0627\u0644\u0645\u0633\u062a\u0643\u0645\u0644", - "text.updatebtn": "\u062c\u0647\u0627\u0632 \u062a\u0639\u062f\u064a\u0644", - "text.add": "\u064a\u0636\u0627\u0641 \u0646\u0635", - "text.addbtn": "\u0645\u0636\u0627\u0641\u0627 \u0625\u0644\u064a\u0647\u0627", - "toolbar.confirm.deleteall": "\u0647\u0630\u0627 \u0633\u064a\u0645\u0633\u062d \u0643\u0644 \u0627\u0644\u0648\u062b\u0627\u0626\u0642 \u0647\u0644 \u0623\u0646\u062a \u0645\u062a\u0623\u0643\u062f\u061f" -} \ No newline at end of file + "svg.import": "استيراد رسومات SVG", + "svg.importfile": "الواردات", + "text.update": "النص المستكمل", + "text.updatebtn": "جهاز تعديل", + "text.add": "يضاف نص", + "text.addbtn": "مضافا إليها", + "toolbar.confirm.deleteall": "هذا سيمسح كل الوثائق هل أنت متأكد؟", + "param.nocomport": "لا يوجد ميناء متسلسل", + "param.buttonrefresh": "التجديد", + "param.speed": "السرعة", + "param.accel": "التعجيل (م/م)", + "param.path_optim": "أفضل طريق للمواد السهلة", + "param.usable_height": "الارتفاع (م)", + "param.usable_width": "العرض المفيد (مم)", + "param.paper_height": "ارتفاع الورق (م م)", + "param.paper_width": "عرض الورق (م م)", + "param.paper_size": "حجم الورق", + "param.formtitle": "البارامترات", + "param.form_aria": "نموذج بارامترات التطبيق", + "param.path_step": "المسافة بين النقاط على المسارات (مم)", + "param.brailletable": "جدول الوصف ", + "param.brailleselectlabel": "طاولة برايل", + "param.nobrailletable": "لا يوجد جدول برايل", + "param.comportrefreshed": "موانئ الاتصالات", + "position.size": "الحجم", + "position.angle": "أنغل", + "position.setangle": "الزاوية", + "position.position": "المنصب", + "position.setposition": "الموقف", + "position.scale": "حجم", + "position.setscale": "أصلح السلم", + "print.ended": "الطباعة المنتهية", + "print.pending": "الطباعة معلقة", + "print.waiting": "من فضلك انتظر.", + "print.cancelbtn": "طبعة الغاء", + "print.cancelpending": "طباعة إلغاء…", + "print.preview": "العرض المطبوع", + "print.download": "تحميل", + "print.print": "الطباعة" +} diff --git a/src/locales/es.json b/src/locales/es.json index 3a3e3ad..55ff609 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -1,61 +1,61 @@ { - "app.loading": "Cargando...", + "app.loading": "Cargando…", "app.wait": "Por favor, espera...", - "file.open": "Abierto", + "toolbar.confirm.deleteall": "Esto borrará todo el documento. ¿Estás seguro?", + "file.open": "Abrir", "file.save": "Guardar", - "file.saveas": "Guardar", + "file.saveas": "Guardar como", "file.desktopfile": "DesktopBrailleRAP Archivo", "file.svgfile": "SVG Archivo", "file.all": "Todos", - "menu.home": "Home", + "menu.home": "Inicio", "menu.file": "Archivos", - "menu.svg": "Importaci\u00f3n SVG", + "menu.svg": "Importación SVG", "menu.text": "Texto", - "menu.position": "Posici\u00f3n", + "menu.position": "Posición", "menu.print": "Imprimir", - "menu.param": "Opciones", + "menu.param": "Configuración", "menu.data": "Datos", - "param.locale": "Idioma de aplicaci\u00f3n", - "param.labelport": "Puerto serial de comunicaci\u00f3n", + "param.locale": "Idioma de aplicación", + "param.labelport": "Puerto serial de comunicación", "param.nocomport": "No hay puerto serie disponible", - "param.buttonrefresh": "Refresh", "param.speed": "Velocidad (mm/m)", - "param.accel": "Aceleraci\u00f3n (mm/s²)", - "param.path_optim": "Optimizaci\u00f3n del camino para material f\u00e1cil", + "param.accel": "Aceleración (mm/s²)", + "param.path_optim": "Optimización del camino para material fácil", "param.usable_height": "Altura utilizable (mm)", "param.usable_width": "Ancho utilizable (mm)", "param.paper_height": "Altura de papel (mm)", "param.paper_width": "Ancho de papel (mm)", - "param.paper_size": "Tama\u00f1o del papel", - "param.formtitle": "Par\u00e1metros", - "param.form_aria": "Forma de par\u00e1metros de aplicaci\u00f3n", + "param.paper_size": "Tamaño del papel", + "param.formtitle": "Configuración", + "param.form_aria": "Parámetros de aplicación", "param.path_step": "Paso delta por el camino (mm)", - "param.brailletable": "Mesa de transcripci\u00f3n", - "param.brailleselectlabel": "Braille table", - "param.nobrailletable": "No Braille transcription table", - "param.comportrefreshed": "Puertos de comunicaci\u00f3n actualizados", - "position.size": "Tama\u00f1o", - "position.angle": "Angle", - "position.setangle": "\u00c1ngulo de configuraci\u00f3n", - "position.position": "Posici\u00f3n", - "position.setposition": "Establecer la posici\u00f3n", + "param.brailletable": "Mesa de transcripción ", + "param.brailleselectlabel": "Mesa Braille", + "param.nobrailletable": "Sin mesa Braille", + "param.comportrefreshed": "Puertos de comunicación actualizados", + "position.size": "Tamaño", + "position.angle": "Ángulo", + "position.setangle": "Establecer Ángulo", + "position.position": "Posición", + "position.setposition": "Establecer la posición", "position.scale": "Escala", - "position.setscale": "Set Scale", + "position.setscale": "Establecer la escala", "print.ended": "Imprimir terminado", - "print.pending": "Impresi\u00f3n pendiente", - "print.waiting": "Por favor, espere.", - "print.cancelbtn": "Cancelar impresi\u00f3n", - "print.cancelpending": "Cancelando la impresi\u00f3n...", + "print.pending": "Impresión pendiente", + "print.cancelbtn": "Cancelar impresión", + "print.cancelpending": "Cancelando la impresión…", "print.preview": "Imprimir vista previa", "print.download": "Descargar", "print.print": "Imprimir", - "print.refresh": "Actualizar", + "param.buttonrefresh": "Actualizar", "svg.open": "Abierto SVG", - "svg.import": "Importaci\u00f3n de archivos vectoriales SVG", - "svg.importfile": "Importaci\u00f3n", - "text.update": "L\u00ednea de texto actualizada", - "text.updatebtn": "Modificador", - "text.add": "Agregar la l\u00ednea de texto", - "text.addbtn": "A\u00f1adir", - "toolbar.confirm.deleteall": "Esto borrar\u00e1 todo el documento. \u00bfEst\u00e1s seguro?" -} \ No newline at end of file + "svg.import": "Importación de archivos vectoriales SVG", + "svg.importfile": "Importar", + "text.update": "Línea de texto actualizada", + "text.updatebtn": "Modificar", + "text.add": "Agregar la línea de texto", + "text.addbtn": "Añadir", + "print.refresh": "Actualizar", + "print.waiting": "Espere por favor" +}