Skip to content

Commit 8893dc7

Browse files
author
lorisadmin
committed
Updating .po and .pot files.
2 parents e198bec + 0d164ab commit 8893dc7

10 files changed

Lines changed: 282 additions & 72 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ locales:
123123
msgfmt -o modules/imaging_uploader/locale/ja/LC_MESSAGES/imaging_uploader.mo modules/imaging_uploader/locale/ja/LC_MESSAGES/imaging_uploader.po
124124
msgfmt -o modules/instrument_builder/locale/ja/LC_MESSAGES/instrument_builder.mo modules/instrument_builder/locale/ja/LC_MESSAGES/instrument_builder.po
125125
msgfmt -o modules/instrument_list/locale/ja/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/ja/LC_MESSAGES/instrument_list.po
126+
msgfmt -o modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.mo modules/instrument_list/locale/es/LC_MESSAGES/instrument_list.po
126127
msgfmt -o modules/instrument_manager/locale/ja/LC_MESSAGES/instrument_manager.mo modules/instrument_manager/locale/ja/LC_MESSAGES/instrument_manager.po
127128
msgfmt -o modules/instruments/locale/ja/LC_MESSAGES/instruments.mo modules/instruments/locale/ja/LC_MESSAGES/instruments.po
128129
msgfmt -o modules/issue_tracker/locale/ja/LC_MESSAGES/issue_tracker.mo modules/issue_tracker/locale/ja/LC_MESSAGES/issue_tracker.po

locale/es/LC_MESSAGES/loris.po

Lines changed: 62 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ msgstr ""
8686
#: modules/imaging_uploader/php/module.class.inc:54
8787
#: modules/mri_violations/php/module.class.inc:53
8888
msgid "Imaging"
89-
msgstr ""
89+
msgstr "Imágenes"
9090

9191
#: modules/candidate_list/php/module.class.inc:76
9292
#: modules/new_profile/php/module.class.inc:50
@@ -110,7 +110,7 @@ msgstr ""
110110

111111
# Common loris terms. Consider moving these to their own textdomain?
112112
msgid "TimePoint"
113-
msgstr ""
113+
msgstr "Punto en el tiempo"
114114

115115
# Common select option labels
116116
msgid "Yes"
@@ -119,6 +119,12 @@ msgstr "Sí"
119119
msgid "No"
120120
msgstr "No"
121121

122+
msgid "Create"
123+
msgstr "Crear"
124+
125+
msgid "N/A"
126+
msgstr "N/A"
127+
122128
# Common swal labels
123129
msgid "Cancel"
124130
msgstr ""
@@ -145,11 +151,16 @@ msgstr ""
145151
msgid "Project"
146152
msgstr "Projecto"
147153

148-
msgid "Cohort"
149-
msgstr "Cohorte"
154+
msgid "Candidate Registration Project"
155+
msgstr "Projecto donde se registró al Candidato"
156+
157+
msgid "Timepoint Project"
158+
msgstr "Punto en el tiempo del Projecto"
150159

151-
msgid "Cohorts"
152-
msgstr "Cohortes"
160+
msgid "Cohort"
161+
msgid_plural "Cohorts"
162+
msgstr[0] "Cohorte"
163+
msgstr[1] "Cohortes"
153164

154165
msgid "Session"
155166
msgstr ""
@@ -178,6 +189,9 @@ msgstr "Etapa"
178189
msgid "Sent To DCC"
179190
msgstr "Enviar a CCD"
180191

192+
msgid "Reverse Send To DCC"
193+
msgstr "Revertir Enviar al CCD"
194+
181195
msgid "Date of Birth"
182196
msgstr ""
183197

@@ -259,3 +273,45 @@ msgstr "Retirado"
259273

260274
msgid "In Progress"
261275
msgstr "En Progreso"
276+
277+
msgid "Complete"
278+
msgstr "Completo"
279+
280+
msgid "Instrument"
281+
msgid_plural "Instruments"
282+
msgstr[0] "Instrumento"
283+
msgstr[1] "Instrumentos"
284+
285+
msgid "None"
286+
msgstr "Ninguna"
287+
288+
msgid "Partial"
289+
msgstr "Parcial"
290+
291+
msgid "All"
292+
msgstr "Completa"
293+
294+
msgid "Data Entry"
295+
msgstr "Entrada de datos"
296+
297+
msgid "Administration"
298+
msgstr "Administración"
299+
300+
msgid "Double Data Entry Form"
301+
msgstr "Formulario de entrada de datos duplicado"
302+
303+
msgid "Double Data Entry Status"
304+
msgstr "Estado del formulario de entrada de datos duplicado"
305+
306+
msgid "Double Data Entry"
307+
msgstr "Entrada de datos duplicada"
308+
309+
# Age related terms
310+
msgid "Age"
311+
msgstr "Edad"
312+
313+
msgid "{{months}} meses"
314+
msgstr ""
315+
316+
msgid "{{years}} años"
317+
msgstr ""

locale/loris.pot

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ msgstr ""
151151
msgid "Project"
152152
msgstr ""
153153

154+
msgid "Candidate Registration Project"
155+
msgstr ""
156+
157+
msgid "Timepoint Project"
158+
msgstr ""
159+
154160
msgid "Cohort"
155161
msgid_plural "Cohorts"
156162
msgstr[0] ""
@@ -182,6 +188,9 @@ msgstr ""
182188
msgid "Sent To DCC"
183189
msgstr ""
184190

191+
msgid "Reverse Send To DCC"
192+
msgstr ""
193+
185194
msgid "Date of Birth"
186195
msgstr ""
187196

@@ -267,6 +276,37 @@ msgstr ""
267276
msgid "In Progress"
268277
msgstr ""
269278

279+
msgid "Complete"
280+
msgstr ""
281+
282+
msgid "Instrument"
283+
msgid_plural "Instruments"
284+
msgstr[0] ""
285+
286+
msgid "None"
287+
msgstr ""
288+
289+
msgid "Partial"
290+
msgstr ""
291+
292+
msgid "All"
293+
msgstr ""
294+
295+
msgid "Data Entry"
296+
msgstr ""
297+
298+
msgid "Administration"
299+
msgstr ""
300+
301+
msgid "Double Data Entry Form"
302+
msgstr ""
303+
304+
msgid "Double Data Entry Status"
305+
msgstr ""
306+
307+
msgid "Double Data Entry"
308+
msgstr ""
309+
270310
# Age related terms
271311
msgid "Age"
272312
msgstr ""
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Default LORIS strings to be translated (English).
2+
# Copy this to a language specific file and add translations to the
3+
# new file.
4+
# Copyright (C) 2025
5+
# This file is distributed under the same license as the LORIS package.
6+
# Dave MacFarlane <dave.macfarlane@mcin.ca>, 2025.
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: LORIS 27\n"
11+
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
12+
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
13+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15+
"Language-Team: LANGUAGE <LL@li.org>\n"
16+
"Language: es\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
21+
msgid "Instrument List"
22+
msgstr "Lista de Instrumentos"
23+
24+
msgid "Visit to Site"
25+
msgstr "Visita al Sitio"
26+
27+
msgid "Within Optimal"
28+
msgstr "Dentro de lo óptimo"
29+
30+
msgid "Within Permitted"
31+
msgstr "Dentro de permitido"
32+
33+
msgid "Behavioural Battery of Instruments"
34+
msgstr "Batería de instrumentos de comportamiento"
35+
36+
msgid "The battery has no registered instruments"
37+
msgstr "La batería no tiene instrumentos registrados"
38+
39+
msgid "View Imaging data"
40+
msgstr "Ver datos de Imágenes"
41+
42+
msgid "Send TimePoint"
43+
msgstr "Enviar Punto en el Tiempo"
44+
45+
msgid "No actions"
46+
msgstr "No acciones"
47+
48+
msgid "Stage: %s"
49+
msgstr "Etapa: %s"
50+
51+
msgid "Start %s Stage"
52+
msgstr "Iniciar %s Etapa"

modules/instrument_list/locale/instrument_list.po renamed to modules/instrument_list/locale/instrument_list.pot

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,32 @@ msgstr ""
2121
msgid "Instrument List"
2222
msgstr ""
2323

24+
msgid "Visit to Site"
25+
msgstr ""
26+
27+
msgid "Within Optimal"
28+
msgstr ""
29+
30+
msgid "Within Permitted"
31+
msgstr ""
32+
33+
msgid "Behavioural Battery of Instruments"
34+
msgstr ""
35+
36+
msgid "The battery has no registered instruments"
37+
msgstr ""
38+
39+
msgid "View Imaging data"
40+
msgstr ""
41+
42+
msgid "Send TimePoint"
43+
msgstr ""
44+
45+
msgid "No actions"
46+
msgstr ""
47+
48+
msgid "Stage: %s"
49+
msgstr ""
50+
51+
msgid "Start %s Stage"
52+
msgstr ""

modules/instrument_list/php/instrument_list.class.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ class Instrument_List extends \NDB_Menu_Filter
309309
$current_date = new \DateTime();
310310
$dob_year = abs($current_date->diff($dob_date)->y);
311311
$dob_month = abs($current_date->diff($dob_date)->m);
312-
$dob_age = $dob_year . " y / " . $dob_month . " m";
312+
$dob_age = $dob_year . dgettext("timepoint_list", " y / ")
313+
. $dob_month . dgettext("timepoint_list", " m");
313314
$this->tpl_data['dob_age'] = $dob_age;
314315
}
315316
// EDC to EDC Age
@@ -319,7 +320,8 @@ class Instrument_List extends \NDB_Menu_Filter
319320
$current_date = new \DateTime();
320321
$edc_year = abs($current_date->diff($edc_date)->y);
321322
$edc_month = abs($current_date->diff($edc_date)->m);
322-
$edc_age = $edc_year . " y / " . $edc_month . " m";
323+
$edc_age = $edc_year . dgettext("timepoint_list", " y / ")
324+
. $edc_month . dgettext("timepoint_list", " m");
323325
$this->tpl_data['edc_age'] = $edc_age;
324326
}
325327
}

0 commit comments

Comments
 (0)