Skip to content

Commit

Permalink
chore: add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed Sep 18, 2023
1 parent 4670b80 commit 48e2d43
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 50 deletions.
48 changes: 30 additions & 18 deletions mindmap/locale/en/LC_MESSAGES/text.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-14 16:56-0500\n"
"POT-Creation-Date: 2023-09-18 11:39-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Bryann Valderrama <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -83,10 +83,6 @@ msgstr ""
msgid "Whether the student has submitted their submission."
msgstr ""

#: mindmap.py:681
msgid "Dummy"
msgstr ""

#: public/html/mindmap.html:8
msgid "Instructions for use"
msgstr ""
Expand Down Expand Up @@ -180,54 +176,70 @@ msgstr ""
msgid "Username"
msgstr ""

#: public/js/src/mindmap.js:90
#: public/js/src/mindmap.js:84
msgid "Uploaded"
msgstr ""

#: public/js/src/mindmap.js:91 public/js/src/mindmap.js:163
#: public/js/src/mindmap.js:85 public/js/src/mindmap.js:165
msgid "Grade"
msgstr ""

#: public/js/src/mindmap.js:92
#: public/js/src/mindmap.js:86
msgid "Actions"
msgstr ""

#: public/js/src/mindmap.js:114
#: public/js/src/mindmap.js:108
msgid "Mindmap submissions"
msgstr ""

#: public/js/src/mindmap.js:115
#: public/js/src/mindmap.js:109
msgid "Review"
msgstr ""

#: public/js/src/mindmap.js:116
#: public/js/src/mindmap.js:110
msgid "Search"
msgstr ""

#: public/js/src/mindmap.js:117
#: public/js/src/mindmap.js:111
msgid "Showing _START_ to _END_ of _TOTAL_ entries"
msgstr ""

#: public/js/src/mindmap.js:160
#: public/js/src/mindmap.js:112
msgid "No data available in table"
msgstr ""

#: public/js/src/mindmap.js:113
msgid "Showing 0 to 0 of 0 entries"
msgstr ""

#: public/js/src/mindmap.js:114
msgid "No matching records found"
msgstr ""

#: public/js/src/mindmap.js:115
msgid "(filtered from _MAX_ total entries)"
msgstr ""

#: public/js/src/mindmap.js:162
msgid "Remove grade"
msgstr ""

#: public/js/src/mindmap.js:161
#: public/js/src/mindmap.js:163
msgid "Loading..."
msgstr ""

#: public/js/src/mindmap.js:162
#: public/js/src/mindmap.js:164
msgid "Back"
msgstr ""

#: public/js/src/mindmap.js:184
#: public/js/src/mindmap.js:186
msgid "Reviewing Mindmap for student: "
msgstr ""

#: public/js/src/mindmap.js:228
#: public/js/src/mindmap.js:230
msgid "Invalid grade must be a number"
msgstr ""

#: public/js/src/mindmap.js:229
#: public/js/src/mindmap.js:231
msgid "Please enter a lower grade, maximum grade allowed is:"
msgstr ""
Binary file modified mindmap/locale/es_419/LC_MESSAGES/text.mo
Binary file not shown.
46 changes: 31 additions & 15 deletions mindmap/locale/es_419/LC_MESSAGES/text.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-08 13:11-0500\n"
"POT-Creation-Date: 2023-09-18 11:39-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Bryann Valderrama <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -186,54 +186,70 @@ msgstr "Cancelar"
msgid "Username"
msgstr "Nombre de usuario"

#: public/js/src/mindmap.js:90
#: public/js/src/mindmap.js:84
msgid "Uploaded"
msgstr "Subido"

#: public/js/src/mindmap.js:91 public/js/src/mindmap.js:163
#: public/js/src/mindmap.js:85 public/js/src/mindmap.js:165
msgid "Grade"
msgstr "Calificación"

#: public/js/src/mindmap.js:92
#: public/js/src/mindmap.js:86
msgid "Actions"
msgstr "Acciones"

#: public/js/src/mindmap.js:114
#: public/js/src/mindmap.js:108
msgid "Mindmap submissions"
msgstr "Envíos de mapas mentales"

#: public/js/src/mindmap.js:115
#: public/js/src/mindmap.js:109
msgid "Review"
msgstr "Revisar"

#: public/js/src/mindmap.js:116
#: public/js/src/mindmap.js:110
msgid "Search"
msgstr "Buscar"

#: public/js/src/mindmap.js:117
#: public/js/src/mindmap.js:111
msgid "Showing _START_ to _END_ of _TOTAL_ entries"
msgstr "Mostrando _START_ al _END_ de un total de _TOTAL_ registro(s)"
msgstr "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros"

#: public/js/src/mindmap.js:112
msgid "No data available in table"
msgstr "Ningún dato disponible en esta tabla"

#: public/js/src/mindmap.js:113
msgid "Showing 0 to 0 of 0 entries"
msgstr "Mostrando registros del 0 al 0 de un total de 0 registros"

#: public/js/src/mindmap.js:114
msgid "No matching records found"
msgstr "No se encontraron resultados"

#: public/js/src/mindmap.js:115
msgid "(filtered from _MAX_ total entries)"
msgstr "(filtrado de un total de _MAX_ registros)"

#: public/js/src/mindmap.js:160
#: public/js/src/mindmap.js:162
msgid "Remove grade"
msgstr "Eliminar calificación"

#: public/js/src/mindmap.js:161
#: public/js/src/mindmap.js:163
msgid "Loading..."
msgstr "Cargando..."

#: public/js/src/mindmap.js:162
#: public/js/src/mindmap.js:164
msgid "Back"
msgstr "Volver"

#: public/js/src/mindmap.js:184
#: public/js/src/mindmap.js:186
msgid "Reviewing Mindmap for student: "
msgstr "Revisando Mapa Mental para el estudiante: "

#: public/js/src/mindmap.js:228
#: public/js/src/mindmap.js:230
msgid "Invalid grade must be a number"
msgstr "Calificación inválida, debe ser un número"

#: public/js/src/mindmap.js:229
#: public/js/src/mindmap.js:231
msgid "Please enter a lower grade, maximum grade allowed is:"
msgstr "Por favor ingresa una calificación menor, la calificación máxima permitida es:"
Binary file modified mindmap/locale/es_ES/LC_MESSAGES/text.mo
Binary file not shown.
46 changes: 31 additions & 15 deletions mindmap/locale/es_ES/LC_MESSAGES/text.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-08 13:11-0500\n"
"POT-Creation-Date: 2023-09-18 11:39-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Bryann Valderrama <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -186,54 +186,70 @@ msgstr "Cancelar"
msgid "Username"
msgstr "Nombre de usuario"

#: public/js/src/mindmap.js:90
#: public/js/src/mindmap.js:84
msgid "Uploaded"
msgstr "Subido"

#: public/js/src/mindmap.js:91 public/js/src/mindmap.js:163
#: public/js/src/mindmap.js:85 public/js/src/mindmap.js:165
msgid "Grade"
msgstr "Calificación"

#: public/js/src/mindmap.js:92
#: public/js/src/mindmap.js:86
msgid "Actions"
msgstr "Acciones"

#: public/js/src/mindmap.js:114
#: public/js/src/mindmap.js:108
msgid "Mindmap submissions"
msgstr "Envíos de mapas mentales"

#: public/js/src/mindmap.js:115
#: public/js/src/mindmap.js:109
msgid "Review"
msgstr "Revisar"

#: public/js/src/mindmap.js:116
#: public/js/src/mindmap.js:110
msgid "Search"
msgstr "Buscar"

#: public/js/src/mindmap.js:117
#: public/js/src/mindmap.js:111
msgid "Showing _START_ to _END_ of _TOTAL_ entries"
msgstr "Mostrando _START_ al _END_ de un total de _TOTAL_ registro(s)"
msgstr "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros"

#: public/js/src/mindmap.js:112
msgid "No data available in table"
msgstr "Ningún dato disponible en esta tabla"

#: public/js/src/mindmap.js:113
msgid "Showing 0 to 0 of 0 entries"
msgstr "Mostrando registros del 0 al 0 de un total de 0 registros"

#: public/js/src/mindmap.js:114
msgid "No matching records found"
msgstr "No se encontraron resultados"

#: public/js/src/mindmap.js:115
msgid "(filtered from _MAX_ total entries)"
msgstr "(filtrado de un total de _MAX_ registros)"

#: public/js/src/mindmap.js:160
#: public/js/src/mindmap.js:162
msgid "Remove grade"
msgstr "Eliminar calificación"

#: public/js/src/mindmap.js:161
#: public/js/src/mindmap.js:163
msgid "Loading..."
msgstr "Cargando..."

#: public/js/src/mindmap.js:162
#: public/js/src/mindmap.js:164
msgid "Back"
msgstr "Volver"

#: public/js/src/mindmap.js:184
#: public/js/src/mindmap.js:186
msgid "Reviewing Mindmap for student: "
msgstr "Revisando Mapa Mental para el estudiante: "

#: public/js/src/mindmap.js:228
#: public/js/src/mindmap.js:230
msgid "Invalid grade must be a number"
msgstr "Calificación inválida, debe ser un número"

#: public/js/src/mindmap.js:229
#: public/js/src/mindmap.js:231
msgid "Please enter a lower grade, maximum grade allowed is:"
msgstr "Por favor ingresa una calificación menor, la calificación máxima permitida es:"
8 changes: 8 additions & 0 deletions mindmap/public/js/src/mindmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ function MindMapXBlock(runtime, element, context) {
const reviewButtonText = gettext("Review");
const dataTableSearchText = gettext("Search");
const dataTableEntriesText = gettext("Showing _START_ to _END_ of _TOTAL_ entries");
const dataTableEmptyText = gettext("No data available in table");
const dataTableInfoEmptyText = gettext("Showing 0 to 0 of 0 entries");
const dataTableZeroRecordsText = gettext("No matching records found");
const dataTableInfoFilteredText = gettext("(filtered from _MAX_ total entries)");
$(element).find(".modal__data").html(dataTableHTML);
$(element).find("#modal_title").html(modalTitleSubmissions);

Expand All @@ -133,6 +137,10 @@ function MindMapXBlock(runtime, element, context) {
language: {
info: dataTableEntriesText,
search: dataTableSearchText,
emptyTable: dataTableEmptyText,
infoEmpty: dataTableInfoEmptyText,
zeroRecords: dataTableZeroRecordsText,
infoFiltered: dataTableInfoFilteredText,
},
});

Expand Down
6 changes: 5 additions & 1 deletion mindmap/public/js/translations/es_419/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
django.catalog = django.catalog || {};

const newcatalog = {
"(filtered from _MAX_ total entries)": "(filtrado de un total de _MAX_ registros)",
"Actions": "Acciones",
"Back": "Volver",
"Cancel": "Cancelar",
Expand All @@ -43,6 +44,8 @@
"Mindmap body": "Contenido del mapa mental",
"Mindmap student body": "Contenido del mapa mental del estudiante",
"Mindmap submissions": "Env\u00edos de mapas mentales",
"No data available in table": "Ning\u00fan dato disponible en esta tabla",
"No matching records found": "No se encontraron resultados",
"Please enter a lower grade, maximum grade allowed is:": "Por favor ingresa una calificaci\u00f3n menor, la calificaci\u00f3n m\u00e1xima permitida es:",
"Points": "Puntos",
"Problem Weight": "Peso del problema",
Expand All @@ -52,7 +55,8 @@
"Save": "Guardar",
"Save assignment": "Guardar asignaci\u00f3n",
"Search": "Buscar",
"Showing _START_ to _END_ of _TOTAL_ entries": "Mostrando _START_ al _END_ de un total de _TOTAL_ registro(s)",
"Showing 0 to 0 of 0 entries": "Mostrando registros del 0 al 0 de un total de 0 registros",
"Showing _START_ to _END_ of _TOTAL_ entries": "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros",
"Submit": "Enviar",
"Submitted": "Enviado",
"The body of the mind map. It is a dictionary with the following structure: {'root': {'text': 'Root', 'children': [{'text': 'Child 1', 'children': []}]}}": "El contenido del mapa mental. Es un diccionario con la siguiente estructura: {'root': {'text': 'Root', 'children': [{'text': 'Child 1', 'children': []}]}}",
Expand Down
6 changes: 5 additions & 1 deletion mindmap/public/js/translations/es_ES/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
django.catalog = django.catalog || {};

const newcatalog = {
"(filtered from _MAX_ total entries)": "(filtrado de un total de _MAX_ registros)",
"Actions": "Acciones",
"Back": "Volver",
"Cancel": "Cancelar",
Expand All @@ -43,6 +44,8 @@
"Mindmap body": "Contenido del mapa mental",
"Mindmap student body": "Contenido del mapa mental del estudiante",
"Mindmap submissions": "Env\u00edos de mapas mentales",
"No data available in table": "Ning\u00fan dato disponible en esta tabla",
"No matching records found": "No se encontraron resultados",
"Please enter a lower grade, maximum grade allowed is:": "Por favor ingresa una calificaci\u00f3n menor, la calificaci\u00f3n m\u00e1xima permitida es:",
"Points": "Puntos",
"Problem Weight": "Peso del problema",
Expand All @@ -52,7 +55,8 @@
"Save": "Guardar",
"Save assignment": "Guardar asignaci\u00f3n",
"Search": "Buscar",
"Showing _START_ to _END_ of _TOTAL_ entries": "Mostrando _START_ al _END_ de un total de _TOTAL_ registro(s)",
"Showing 0 to 0 of 0 entries": "Mostrando registros del 0 al 0 de un total de 0 registros",
"Showing _START_ to _END_ of _TOTAL_ entries": "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros",
"Submit": "Enviar",
"Submitted": "Enviado",
"The body of the mind map. It is a dictionary with the following structure: {'root': {'text': 'Root', 'children': [{'text': 'Child 1', 'children': []}]}}": "El contenido del mapa mental. Es un diccionario con la siguiente estructura: {'root': {'text': 'Root', 'children': [{'text': 'Child 1', 'children': []}]}}",
Expand Down

0 comments on commit 48e2d43

Please sign in to comment.