From a65c3bc892f60bc74258bf5c8660685c3b81a906 Mon Sep 17 00:00:00 2001 From: Teisha McRae Date: Thu, 8 Feb 2024 18:56:43 -0500 Subject: [PATCH 1/2] Add missing translations to language json files --- resources/lang/de.json | 4 ++++ resources/lang/en.json | 46 +++++++++++++++++++++++++++++++++++++----- resources/lang/es.json | 12 ++++++++--- resources/lang/fr.json | 4 ++++ 4 files changed, 58 insertions(+), 8 deletions(-) diff --git a/resources/lang/de.json b/resources/lang/de.json index 164646a80c..89025a7240 100644 --- a/resources/lang/de.json +++ b/resources/lang/de.json @@ -762,9 +762,11 @@ "Started By Me": "Von mir begonnen", "Started import of": "Import gestartet von:", "Started": "Begonnen", + "STARTED": "Begonnen", "Starting": "Start", "State or Region": "Bundesland oder Region", "Status": "Status", + "STATUS": "STATUS", "statuses": "Status", "Sub Process": "Unterprozess", "Sub process has multiple blank start events": "Der Unterprozess hat mehrere leere Startereignisse", @@ -1863,7 +1865,9 @@ "Case #": "Fall Nr.", "Case title": "Falltitel", "Task name": "Aufgabenname", + "TASK NAME": "Aufgabenname", "Due date": "Fälligkeitsdatum", + "DUE DATE": "Fälligkeitsdatum", "Inbox": "Posteingang", "{{- subject }} caused an error": "{{- subject }} hat einen Fehler verursacht", "{{- subject }} completed": "{{- subject }} abgeschlossen", diff --git a/resources/lang/en.json b/resources/lang/en.json index 1a47723878..259810cb7a 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -64,6 +64,7 @@ "Add Rule": "Add Rule", "Add Screen": "Add Screen", "Add Self Service": "Add Self Service", + "Add to Project": "Add to Project", "Add to a Project": "Add to a Project", "Add to My Bookmarks": "Add to My Bookmarks", "Add URL Restriction": "Add URL Restriction", @@ -87,10 +88,13 @@ "Align Left": "Align Left", "Align Right": "Align Right", "Align Top": "Align Top", + "All {{assets}} will be included in this export.": "All {{assets}} will be included in this export.", "All assignments were saved.": "All assignments were saved.", "All Clear": "All Clear", + "All elements related to this process will be imported.": "All elements related to this process will be imported.", "All Notifications": "All Notifications", "All Processes": "All Processes", + "All Process Elements": "All Process Elements", "All Request Data": "All Request Data", "All Requests": "All Requests", "All rights reserved.": "All rights reserved.", @@ -233,6 +237,7 @@ "Build Your Own": "Build Your Own", "Button Label": "Button Label", "Button Variant Style": "Button Variant Style", + "By": "By", "By Creation Date": "By Creation Date", "By Due Date": "By Due Date", "By default, all process screens will be auto translated via our AI tooling.": "By default, all process screens will be auto translated via our AI tooling.", @@ -313,6 +318,7 @@ "Complete Task": "Complete Task", "Completed Tasks": "Completed Tasks", "Completed": "Completed", + "COMPLETED": "Completed", "completed": "completed", "Condition": "Condition", "Conditional Start Event": "Conditional Start Event", @@ -388,6 +394,7 @@ "Create Vocabularies": "Create Vocabularies", "Created At": "Created At", "Created By": "Created By", + "Created Date": "Created Date", "Created_at": "Created At", "Created": "Created", "CreatedGroup": "Created Group", @@ -449,6 +456,7 @@ "Default Loop Count": "Default Loop Count", "Default Value": "Default Value", "Default": "Default", + "Define a password to protect your export file.": "Define a password to protect your export file.", "Delay": "Delay", "Delete Auth Clients": "Delete Auth Clients", "Delete Auth-Clients": "Delete Auth-Clients", @@ -509,6 +517,8 @@ "Document Type": "Document Type", "Documentation": "Documentation", "Double": "Double", + "Download a process model and its associated assets.": "Download a process model and its associated assets", + "Download all related assets.": "Download all related assets.", "Download BPMN": "Download BPMN", "Download button for {{fileName}} will appear here.": "Download button for {{fileName}} will appear here.", "Download Name": "Download Name", @@ -663,6 +673,7 @@ "Export Screens": "Export Screens", "Export Template": "Export Template", "Export": "Export", + "export": "export", "Expression to evaluate condition": "Expression to evaluate condition", "Expression to evaluate. Mustache syntax supported.": "Expression to evaluate. Mustache syntax supported.", "Expression": "Expression", @@ -726,6 +737,7 @@ "Forms": "Forms", "Formula:": "Formula:", "Formula": "Formula", + "Full": "Full", "Full Name": "Full Name", "Gateway :flow_label": "Gateway :flow_label", "Gateway forks and joins": "Gateway forks and joins", @@ -797,12 +809,14 @@ "Import Screen": "Import Screen", "Import Screens": "Import Screens", "Import": "Import", + "import": "import", "Imported {{- subject }}": "Imported {{- subject }}", "Importing": "Importing", "In Progress": "In Progress", "In": "In", "Inactive": "Inactive", "Inbox": "Inbox", + "Include all elements related to this process in your export file.": "Include all elements related to this process in your export file.", "Inclusive Gateway": "Inclusive Gateway", "Incoming flows do not join": "Incoming flows do not join", "Incomplete import of": "Incomplete import of", @@ -858,6 +872,7 @@ "Language:": "Language:", "Language": "Language", "Last Login": "Last Login", + "Last Modified Date": "Last Modified Date", "Last Name": "Last Name", "Last Saved:": "Last Saved:", "Last_modified": "Last Modified", @@ -872,6 +887,7 @@ "Light": "Light", "Line Input": "Line Input", "Link": "Link", + "Linked Assets": "Linked Assets", "List Endpoints": "List Endpoints", "List Label": "List Label", "List Name": "List Name", @@ -916,6 +932,7 @@ "Maximum Iterations": "Maximum Iterations", "Maximum length": "Maximum length", "Maximum password length allowed.": "Maximum password length allowed.", + "may contain sensitive information.": "may contain sensitive information.", "Message End Event": "Message End Event", "Message Event Identifier": "Message Event Identifier", "Message Flow": "Message Flow", @@ -1121,6 +1138,9 @@ "Passwords must contain minimum one numeric character.": "Passwords must contain minimum one numeric character.", "Passwords must contain minimum one special character.": "Passwords must contain minimum one special character.", "Passwords must contain minimum one uppercase character.": "Passwords must contain minimum one uppercase character.", + "Password must have at least 8 characters.": "Password must have at least 8 characters.", + "Password Protect Export": "Password Protect Export", + "Password protect is required because some assets may have sensitive data.": "Password protect is required because some assets may have sensitive data.", "passwords.password": "Passwords must be at least six characters and match the confirmation.", "passwords.reset": "Your password has been reset!", "passwords.sent": "We have e-mailed your password reset link!", @@ -1253,6 +1273,7 @@ "Reassign to": "Reassign to", "Reassign": "Reassign", "Recent Assets": "Recent Assets", + "RECENT ASSETS": "Recent Assets", "Recent Assets from my Projects": "Recent Assets from my Projects", "Recent Projects": "Recent Projects", "Recently searched": "Recently searched", @@ -1331,6 +1352,7 @@ "Retry_attempts": "Retry Attempts", "Retry_wait_time": "Retry wait time", "Return to Login": "Return to Login", + "Return to Summary": "Return to Summary", "Rich Text Content": "Rich Text Content", "Rich Text": "Rich Text", "Right Bottom": "Right Bottom", @@ -1466,12 +1488,14 @@ "Select to interrupt the current Request workflow and route to the alternate workflow, thereby preventing parallel workflow": "Select to interrupt the current Request workflow and route to the alternate workflow, thereby preventing parallel workflow", "Select user or type here to search users": "Select user or type here to search users", "Select which assets from the uploaded package should be imported to this environment.":"Select which assets from the uploaded package should be imported to this environment.", + "Select which assets to include in the export file for a custom export package.": "Select which assets to include in the export file for a custom export package.", "Select which font to use throughout the system.": "Select which font to use throughout the system.", "Select which Process this element calls": "Select which Process this element calls", "Select who may start a Request of this Process": "Select who may start a Request of this Process", "Select who may start a Request": "Select who may start a Request", "Select...": "Select...", "Select": "Select", + "Select Export Type": "Select Export Type", "Selected Option Type": "Selected Option Type", "Self Service": "Self Service", "Self-Service": "Self-Service", @@ -1490,6 +1514,7 @@ "Set maximum run retry wait time in seconds. Leave empty to use script default. Set to 0 for no retry wait time.": "Set maximum run retry wait time in seconds. Leave empty to use script default. Set to 0 for no retry wait time.", "Set maximum run time in seconds. Leave empty to use data connector default. Set to 0 for no timeout.": "Set maximum run time in seconds. Leave empty to use data connector default. Set to 0 for no timeout.", "Set maximum run time in seconds. Leave empty to use script default. Set to 0 for no timeout.": "Set maximum run time in seconds. Leave empty to use script default. Set to 0 for no timeout.", + "Set Password" : "Set Password", "Set the element's background color": "Set the element's background color", "Set the element's text color": "Set the element's text color", "Set the periodic interval to trigger this element again": "Set the periodic interval to trigger this element again", @@ -1547,7 +1572,7 @@ "Start event is missing event definition": "Start event is missing event definition", "Start event must be blank": "Start event must be blank", "Start Event": "Start Event", - "Start new Request": "Start new Request", + "Start New Request": "Start New Request", "Start Permissions": "Start Permissions", "Start Sub Process As": "Start Sub Process As", "Start Timer Event": "Start Timer Event", @@ -1556,10 +1581,12 @@ "Started By Me": "Started By Me", "Started import of": "Started import of", "Started": "Started", + "STARTED": "Started", "Starting": "Starting", "Starting events": "Starting events", "State or Region": "State or Region", "Status": "Status", + "STATUS": "STATUS", "statuses": "statuses", "String": "String", "Sub process has multiple blank start events": "Sub process has multiple blank start events", @@ -1779,6 +1806,8 @@ "This must be valid JSON": "This must be valid JSON", "This password reset link will expire in :count minutes.": "This password reset link will expire in :count minutes.", "This password reset token is invalid.": "This password reset token is invalid.", + "This password will be required when importing the exported package/process." : "This password will be required when importing the exported package/process.", + "This process contains no dependent assets to": "This process contains no dependent assets to", "This process was started by an anonymous user so this task can not be assigned to the requester": "This process was started by an anonymous user so this task can not be assigned to the requester", "This record list is empty or contains no data.": "This record list is empty or contains no data.", "This Request is currently in progress.": "This Request is currently in progress.", @@ -1818,6 +1847,7 @@ "Top Left": "Top Left", "Top Right": "Top Right", "Top": "Top", + "Total Elements": "Total Elements", "Translate process screens to a desired language": "Translate process screens to a desired language", "Translation in progress": "Translation in progress", "Translation Options": "Translation Options", @@ -1914,6 +1944,7 @@ "Variable": "Variable", "Variables": "Variables", "Variant": "Variant", + "Verify Password": "Verify Password", "Version History": "Version History", "Version Name": "Version Name", "Vertical alignment of the text": "Vertical alignment of the text", @@ -1987,6 +2018,7 @@ "Welcome": "Welcome", "Welcome Back": "Welcome Back", "Well, it seems nothing in here": "Well, it seems nothing in here", + "What do you want to search?": "What do you want to search?", "What is the URL of this ProcessMaker installation? (Ex: https://pm.example.com, with no trailing slash)": "What is the URL of this ProcessMaker installation? (Ex: https://pm.example.com, with no trailing slash)", "What Screen Should Be Used For Rendering This Interstitial": "What Screen Should Be Used For Rendering This Interstitial", "What Screen Should Be Used For Rendering This Task": "What Screen Should Be Used For Rendering This Task", @@ -1995,7 +2027,9 @@ "whitelist": "whitelist", "Whitelist": "Whitelist", "Width": "Width", + "will": "will", "will use the value stored in variable var1": "will use the value stored in variable var1", + "will be included in this": "will be included in this", "Write": "Write", "year": "year", "Yes": "Yes", @@ -2035,10 +2069,12 @@ "Zoom Out": "Zoom Out", "Pan Tool": "Pan Tool", "Type value": "Type value", - "Case #": "Case #", - "Case title": "Case title", - "Task name": "Task name", - "Due date": "Due date", + "CASE #": "Case #", + "CASE TITLE": "CASE TITLE", + "Task Name": "Task Name", + "TASK NAME": "Task Name", + "Due Date": "Due Date", + "DUE DATE": "Due Date", "AI Generated": "AI Generated", "Photo/Video": "Photo/Video", "Bootstrap Component": "Bootstrap Component", diff --git a/resources/lang/es.json b/resources/lang/es.json index c4d94ae687..b7ca5ea1d5 100644 --- a/resources/lang/es.json +++ b/resources/lang/es.json @@ -152,6 +152,7 @@ "Common file types: application/msword, image/gif, image/jpeg, application/pdf, application/vnd.ms-powerpoint, application/vnd.ms-excel, text/plain": "Tipos de archivos comunes: aplicación/msword, imagen/ gif, imagen/ jpeg, aplicación/pdf, aplicación/vnd.ms-powerpoint, aplicación/vnd.ms-excel, texto/plano", "Completed Tasks": "Tareas terminadas", "Completed": "Completado", + "COMPLETED": "Completado", "completed": "completado", "Configuration": "Configuración", "Configure Process": "Configurar procesos", @@ -763,9 +764,11 @@ "Started By Me": "Iniciado por mí", "Started import of": "Se ha iniciado la importación de", "Started": "Iniciado", + "STARTED": "Iniciado", "Starting": "Comenzando", "State or Region": "Estado o Región", "Status": "Estado", + "STATUS": "Estado", "statuses": "estados", "Sub Process": "Subproceso", "Sub process has multiple blank start events": "El subproceso tiene varios eventos de inicio en blanco", @@ -1861,10 +1864,12 @@ "No new notifications at the moment.": "No hay nuevas notificaciones en este momento.", "All Clear": "Todo claro", "Notifications, No New Messages": "Notificaciones, No hay mensajes nuevos", - "Case #": "Caso #", - "Case title": "Título del caso", + "CASE #": "Caso #", + "CASE TITLE": "Título del caso", "Task name": "Nombre de la tarea", + "TASK NAME": "Nombre de la tarea", "Due date": "Fecha de vencimiento", + "DUE DATE": "Fecha de vencimiento", "Inbox": "Bandeja de entrada", "{{- subject }} caused an error": "{{- subject }} causó un error", "{{- subject }} completed": "{{- subject }} completado", @@ -1972,6 +1977,7 @@ "Publish PM Block": "Publicar Bloque PM", "Open in Modeler": "Abrir en Modeler", "Recent Assets": "Activos Recientes", + "RECENT ASSETS": "Activos Recientes", "Recent Assets from my Projects": "Activos Recientes de mis Proyectos", "Remove from My Bookmarks": "Eliminar de Mis Marcadores", "Repository Name": "Nombre del Repositorio", @@ -1995,7 +2001,7 @@ "Sign In": "Iniciar Sesión", "Smarter processes,": "Procesos más inteligentes,", "Specifies the file storage service, server, or file access protocol through which your Microsoft Excel files are stored and retreived.": "Especifica el servicio de almacenamiento de archivos, servidor o protocolo de acceso a archivos a través del cual se almacenan y recuperan sus archivos de Microsoft Excel.", - "Start new Request": "Iniciar nueva Solicitud", + "Start New Request": "Iniciar Nueva Solicitud", "Start this process": "Inicia este proceso", "Starting events": "Iniciando eventos", "successfully authorized": "autorizado con éxito", diff --git a/resources/lang/fr.json b/resources/lang/fr.json index 3c4903fb3b..7cbd514115 100644 --- a/resources/lang/fr.json +++ b/resources/lang/fr.json @@ -762,9 +762,11 @@ "Started By Me": "Initiée par moi", "Started import of": "Importation commencée de", "Started": "Initiée", + "STARTED": "Initiée", "Starting": "Début", "State or Region": "État ou région", "Status": "Statut", + "STATUS": "Statut", "statuses": "statuts", "Sub Process": "Sous-processus", "Sub process has multiple blank start events": "Le sous-processus comporte plusieurs événements de début vides", @@ -1863,7 +1865,9 @@ "Case #": "Cas n°", "Case title": "Titre du cas", "Task name": "Nom de la tâche", + "TASK NAME": "Nom de la tâche", "Due date": "Date d'échéance", + "DUE DATE": "Date d'échéance", "Inbox": "Boîte de réception", "{{- subject }} caused an error": "{{- subject }} a provoqué une erreur", "{{- subject }} completed": "{{- subject }} terminé", From 050bd6bc1be65386879abb3b6e9963337f52fe8d Mon Sep 17 00:00:00 2001 From: Teisha McRae Date: Thu, 8 Feb 2024 18:57:55 -0500 Subject: [PATCH 2/2] Wrap untranslated strings in translation method --- resources/js/components/shared/DataCard.vue | 18 +++++------ .../js/components/shared/FilterTable.vue | 2 +- resources/js/components/shared/SidebarNav.vue | 2 +- .../components/ProcessTab.vue | 4 +-- .../export/components/DependentAssetView.vue | 26 ++++++++-------- .../export/components/MainAssetView.vue | 31 ++++++++++--------- .../export/components/SetPasswordModal.vue | 6 ++-- 7 files changed, 45 insertions(+), 44 deletions(-) diff --git a/resources/js/components/shared/DataCard.vue b/resources/js/components/shared/DataCard.vue index 706e9ab707..bc104f91a0 100644 --- a/resources/js/components/shared/DataCard.vue +++ b/resources/js/components/shared/DataCard.vue @@ -4,13 +4,13 @@ @@ -20,13 +20,13 @@
- {{ info.typeHumanPlural }} may contain sensitive information. + {{ $t(info.typeHumanPlural) }} {{ $t('may contain sensitive information.') }}
- Status: + {{ $t('Status') }}: - Full {{ $root.operation }} + {{ $t('Full') }} {{ $t($root.operation) }} @@ -38,17 +38,17 @@
- Details + {{ $t('Details') }}
diff --git a/resources/js/components/shared/FilterTable.vue b/resources/js/components/shared/FilterTable.vue index 92fed23042..46aed20ef5 100644 --- a/resources/js/components/shared/FilterTable.vue +++ b/resources/js/components/shared/FilterTable.vue @@ -28,7 +28,7 @@ :style="{ width: column.width + 'px' }" > - {{ column.label }} + {{ $t(column.label) }}
diff --git a/resources/js/components/shared/SidebarNav.vue b/resources/js/components/shared/SidebarNav.vue index 1282a12afd..ace4ca8688 100644 --- a/resources/js/components/shared/SidebarNav.vue +++ b/resources/js/components/shared/SidebarNav.vue @@ -31,7 +31,7 @@ class="text-capitalize" @click="onClick(i)" > - {{ formatAssetName(page.title) }} + {{ formatAssetName($t(page.title)) }} diff --git a/resources/js/processes-catalogue/components/ProcessTab.vue b/resources/js/processes-catalogue/components/ProcessTab.vue index 8f8c84ea05..7ffed618ee 100644 --- a/resources/js/processes-catalogue/components/ProcessTab.vue +++ b/resources/js/processes-catalogue/components/ProcessTab.vue @@ -5,7 +5,7 @@ lazy >
-

{{ $root.operation }} Process: {{ processName }}

+

{{ $t($root.operation) }} {{ $t('Process') }}: {{ processName }}


-

{{ group.typeHumanPlural }}

+

{{ $t(group.typeHumanPlural) }}

-
{{ $root.operation }} Status: +
{{ $t($root.operation) }} {{ $t('Status') }}: - Full {{ $root.operation }} + {{ $t('Full') }} {{ $t($root.operation) }}
- All {{ group.typeHumanPlural }} will be included in this {{ $root.operation.toLowerCase() }}. + {{ $t('All') }} {{ $t(group.typeHumanPlural) }} will be included in this {{ $root.operation.toLowerCase() }}.
-
{{ $root.operation }} Status: +
{{ $t($root.operation) }} {{ $t('Status') }}: Not {{ $root.operation }}ing
- {{ group.typeHumanPlural }} will Not be included in this {{ $root.operation.toLowerCase() }}. + {{ $t(group.typeHumanPlural) }} will Not be included in this {{ $root.operation.toLowerCase() }}.
- Return to Summary + {{ $t('Return to Summary') }}

@@ -42,18 +42,18 @@