Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ locales:
msgfmt -o modules/imaging_uploader/locale/ja/LC_MESSAGES/imaging_uploader.mo modules/imaging_uploader/locale/ja/LC_MESSAGES/imaging_uploader.po
msgfmt -o modules/instrument_builder/locale/ja/LC_MESSAGES/instrument_builder.mo modules/instrument_builder/locale/ja/LC_MESSAGES/instrument_builder.po
msgfmt -o modules/instrument_list/locale/ja/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/ja/LC_MESSAGES/instrument_list.po
msgfmt -o modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.po
msgfmt -o modules/instrument_manager/locale/ja/LC_MESSAGES/instrument_manager.mo modules/instrument_manager/locale/ja/LC_MESSAGES/instrument_manager.po
msgfmt -o modules/instruments/locale/ja/LC_MESSAGES/instruments.mo modules/instruments/locale/ja/LC_MESSAGES/instruments.po
msgfmt -o modules/issue_tracker/locale/ja/LC_MESSAGES/issue_tracker.mo modules/issue_tracker/locale/ja/LC_MESSAGES/issue_tracker.po
Expand Down
107 changes: 84 additions & 23 deletions locale/es/LC_MESSAGES/loris.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"

# Smarty template main.tpl strings
msgid "LORIS"
Expand Down Expand Up @@ -86,7 +87,7 @@ msgstr ""
#: modules/imaging_uploader/php/module.class.inc:54
#: modules/mri_violations/php/module.class.inc:53
msgid "Imaging"
msgstr ""
msgstr "Imágenes"

#: modules/candidate_list/php/module.class.inc:76
#: modules/new_profile/php/module.class.inc:50
Expand All @@ -110,7 +111,7 @@ msgstr ""

# Common loris terms. Consider moving these to their own textdomain?
msgid "TimePoint"
msgstr ""
msgstr "Punto en el tiempo"

# Common select option labels
msgid "Yes"
Expand All @@ -119,6 +120,12 @@ msgstr "Sí"
msgid "No"
msgstr "No"

msgid "Create"
msgstr "Crear"

msgid "N/A"
msgstr "N/A"

# Common swal labels
msgid "Cancel"
msgstr ""
Expand All @@ -145,11 +152,16 @@ msgstr ""
msgid "Project"
msgstr "Projecto"

msgid "Cohort"
msgstr "Cohorte"
msgid "Candidate Registration Project"
msgstr "Projecto donde se registró al Candidato"

msgid "Cohorts"
msgstr "Cohortes"
msgid "Timepoint Project"
msgstr "Punto en el tiempo del Projecto"

msgid "Cohort"
msgid_plural "Cohorts"
msgstr[0] "Cohorte"
msgstr[1] "Cohortes"

msgid "Session"
msgstr ""
Expand All @@ -175,59 +187,68 @@ msgstr ""
msgid "Stage"
msgstr "Etapa"

msgid "Sent To DCC"
msgid "Send To DCC"
msgstr "Enviar a CCD"

msgid "Sent To DCC"
msgstr "Enviado a CCD"

msgid "Reverse Send To DCC"
msgstr "Revertir Enviar al CCD"

msgid "Date of Birth"
msgstr ""
msgstr "Fecha de Nacimiento"

msgid "Visits"
msgstr ""
msgstr "Visitas"

msgid "An error occured while loading the page."
msgstr ""
msgstr "Un error ocurrió minstras cargaba la página"

msgid "Entity Type"
msgstr ""
msgstr "Tipo de Entidad"

msgid "Scan Done"
msgstr ""
msgstr "Scan hecho"

msgid "Show Advanced Filters"
msgstr ""
msgstr "Mostras filtros avanzados"

msgid "Hide Advanced Filters"
msgstr ""
msgstr "Ocultar filtros avanzados"

msgid "Language"
msgstr "Lenguaje"

# Data table strings
msgid "{{pageCount}} rows displayed of {{totalCount}}."
msgstr ""
msgstr "{{pageCount}} filas mostradas de {{totalCount}}."

msgid "Maximum rows per page:"
msgstr ""
msgstr "Máximo de filasa por página"

msgid "Download Table as CSV"
msgstr ""
msgid "Download Data as CSV"
msgstr "Descargar Datos como CSV"

# Dashboard panel strings
msgid "Views"
msgstr ""
msgstr "Vistas"

# Common strings on widgets
msgid "NEW"
msgstr ""
msgstr "Nuevo"

msgid "Updated"
msgstr ""
msgstr "Actualizado"

msgid "Uploaded"
msgstr ""
msgstr "Subido"

msgid "Total"
msgstr ""
msgstr "Total"

msgid "Error!"
msgstr "Error!"

# Common timepoint and vist terms
msgid "Not Started"
Expand Down Expand Up @@ -259,3 +280,43 @@ msgstr "Retirado"

msgid "In Progress"
msgstr "En Progreso"

msgid "Complete"
msgstr "Completo"

msgid "Instruments"
msgstr "Instrumentos"

msgid "None"
msgstr "Ninguna"

msgid "Partial"
msgstr "Parcial"

msgid "All"
msgstr "Completa"

msgid "Data Entry"
msgstr "Entrada de datos"

msgid "Administration"
msgstr "Administración"

msgid "Double Data Entry Form"
msgstr "Formulario de entrada de datos duplicado"

msgid "Double Data Entry Status"
msgstr "Estado del formulario de entrada de datos duplicado"

msgid "Double Data Entry"
msgstr "Entrada de datos duplicada"

# Age related terms
msgid "Age"
msgstr "Edad"

msgid "{{months}} months old"
msgstr "{{months}} meses"

msgid "{{years}} years old"
msgstr "{{years}} años"
42 changes: 42 additions & 0 deletions locale/loris.pot
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ msgstr ""
msgid "Project"
msgstr ""

msgid "Candidate Registration Project"
msgstr ""

msgid "Timepoint Project"
msgstr ""

msgid "Cohort"
msgid_plural "Cohorts"
msgstr[0] ""
Expand Down Expand Up @@ -179,9 +185,15 @@ msgstr ""
msgid "Stage"
msgstr ""

msgid "Send To DCC"
msgstr ""

msgid "Sent To DCC"
msgstr ""

msgid "Reverse Send To DCC"
msgstr ""

msgid "Date of Birth"
msgstr ""

Expand Down Expand Up @@ -267,6 +279,36 @@ msgstr ""
msgid "In Progress"
msgstr ""

msgid "Complete"
msgstr ""

msgid "Instruments"
msgstr ""

msgid "None"
msgstr ""

msgid "Partial"
msgstr ""

msgid "All"
msgstr ""

msgid "Data Entry"
msgstr ""

msgid "Administration"
msgstr ""

msgid "Double Data Entry Form"
msgstr ""

msgid "Double Data Entry Status"
msgstr ""

msgid "Double Data Entry"
msgstr ""

# Age related terms
msgid "Age"
msgstr ""
Expand Down
52 changes: 52 additions & 0 deletions modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Default LORIS strings to be translated (English).
# Copy this to a language specific file and add translations to the
# new file.
# Copyright (C) 2025
# This file is distributed under the same license as the LORIS package.
# Dave MacFarlane <[email protected]>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: LORIS 27\n"
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "Instrument List"
msgstr "Lista de Instrumentos"

msgid "Visit to Site"
msgstr "Visita al Sitio"

msgid "Within Optimal"
msgstr "Dentro de lo óptimo"

msgid "Within Permitted"
msgstr "Dentro de permitido"

msgid "Behavioural Battery of Instruments"
msgstr "Batería de instrumentos de comportamiento"

msgid "The battery has no registered instruments"
msgstr "La batería no tiene instrumentos registrados"

msgid "View Imaging data"
msgstr "Ver datos de Imágenes"

msgid "Send TimePoint"
msgstr "Enviar Punto en el Tiempo"

msgid "No actions"
msgstr "No acciones"

msgid "Stage: %s"
msgstr "Etapa: %s"

msgid "Start %s Stage"
msgstr "Iniciar %s Etapa"
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,32 @@ msgstr ""
msgid "Instrument List"
msgstr ""

msgid "Visit to Site"
msgstr ""

msgid "Within Optimal"
msgstr ""

msgid "Within Permitted"
msgstr ""

msgid "Behavioural Battery of Instruments"
msgstr ""

msgid "The battery has no registered instruments"
msgstr ""

msgid "View Imaging data"
msgstr ""

msgid "Send TimePoint"
msgstr ""

msgid "No actions"
msgstr ""

msgid "Stage: %s"
msgstr ""

msgid "Start %s Stage"
msgstr ""
6 changes: 4 additions & 2 deletions modules/instrument_list/php/instrument_list.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ class Instrument_List extends \NDB_Menu_Filter
$current_date = new \DateTime();
$dob_year = abs($current_date->diff($dob_date)->y);
$dob_month = abs($current_date->diff($dob_date)->m);
$dob_age = $dob_year . " y / " . $dob_month . " m";
$dob_age = $dob_year . dgettext("timepoint_list", " y / ")
. $dob_month . dgettext("timepoint_list", " m");
$this->tpl_data['dob_age'] = $dob_age;
}
// EDC to EDC Age
Expand All @@ -319,7 +320,8 @@ class Instrument_List extends \NDB_Menu_Filter
$current_date = new \DateTime();
$edc_year = abs($current_date->diff($edc_date)->y);
$edc_month = abs($current_date->diff($edc_date)->m);
$edc_age = $edc_year . " y / " . $edc_month . " m";
$edc_age = $edc_year . dgettext("timepoint_list", " y / ")
. $edc_month . dgettext("timepoint_list", " m");
$this->tpl_data['edc_age'] = $edc_age;
}
}
Expand Down
Loading
Loading