@pulmonary-institute/moxie-intl 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # Moxie Intl - Translations
2
+
3
+ Translation files for Moxie Health application.
4
+
5
+ ## Publishing Updates
6
+
7
+ 1. Edit translation files (messages/en.json, messages/es.json)
8
+
9
+ 2. Commit changes
10
+
11
+ ```bash
12
+ git add .
13
+ git commit -m "feat: add patient form labels"
14
+ ```
15
+
16
+ 3. Update version in `package.json` (1.0.1 → 1.0.2)
17
+
18
+ change:
19
+
20
+ ```json
21
+ "version": "1.0.1",
22
+ ```
23
+
24
+ to:
25
+
26
+ ```json
27
+ "version": "1.0.2",
28
+ ```
29
+
30
+ 4. Commit version bump
31
+
32
+ ```bash
33
+ git add package.json
34
+ git commit -m "v1.0.2" # should be the version you just upgraded
35
+ ```
36
+
37
+ 5. Tag and push
38
+
39
+ ```bash
40
+ git tag v1.0.2 # Version you just upgraded
41
+ git push # Pushes commits
42
+ git push origin v1.0.2 # Pushes tag
43
+ ```
44
+
45
+ ## Using in Moxie Link FE
46
+
47
+ ```bash
48
+ # Update version in package.json
49
+ "@pulmonary-institute/moxie-intl": "git+https://github.com/Pulmonary-Institute/moxie-intl.git#v1.0.2"
50
+
51
+ # Install
52
+ pnpm install
@@ -0,0 +1,23 @@
1
+ # Common Translations
2
+
3
+ Shared translations used across the application.
4
+
5
+ ## Files
6
+
7
+ - **buttons.{lang}.json** - Button labels (Add, Edit, Delete, Save)
8
+ - **labels.{lang}.json** - Field labels (Name, Date, Status)
9
+ - **errors.{lang}.json** - Error messages and validation texts
10
+
11
+ ## Usage
12
+
13
+ Add translations here that will be repeated across the whole application:
14
+
15
+ - Buttons and actions
16
+ - Navigation items
17
+ - Common form labels
18
+ - Error messages and validation
19
+ - Generic UI text
20
+
21
+ ## ⚠️ Please consider
22
+
23
+ Domain-specific translations must stay in the main `en.json` and `es.json` files.
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://inlang.com/schema/inlang-message-format",
3
+ "add": "Add",
4
+ "edit": "Edit",
5
+ "delete": "Delete",
6
+ "save": "Save",
7
+ "cancel": "Cancel",
8
+ "create": "Create",
9
+ "update": "Update",
10
+ "close": "Close",
11
+ "open": "Open",
12
+ "submit": "Submit",
13
+ "approve": "Approve",
14
+ "archive": "Archive",
15
+ "restore": "Restore",
16
+ "confirm": "Confirm",
17
+ "back": "Back",
18
+ "done": "Done",
19
+ "select": "Select",
20
+ "selectAll": "Select All",
21
+ "validate": "Validate",
22
+ "generate": "Generate",
23
+ "export": "Export to Excel",
24
+ "upload": "Upload",
25
+ "download": "Download",
26
+ "view": "View",
27
+ "expand": "Expand",
28
+ "minimize": "Minimize",
29
+ "more": "More"
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://inlang.com/schema/inlang-message-format",
3
+ "add": "Agregar",
4
+ "edit": "Editar",
5
+ "delete": "Eliminar",
6
+ "save": "Guardar",
7
+ "cancel": "Cancelar",
8
+ "create": "Crear",
9
+ "update": "Actualizar",
10
+ "close": "Cerrar",
11
+ "open": "Abrir",
12
+ "submit": "Enviar",
13
+ "approve": "Aprobar",
14
+ "archive": "Archivar",
15
+ "restore": "Restaurar",
16
+ "confirm": "Confirmar",
17
+ "back": "Atrás",
18
+ "done": "Listo",
19
+ "select": "Seleccionar",
20
+ "selectAll": "Seleccionar todo",
21
+ "validate": "Validar",
22
+ "generate": "Generar",
23
+ "export": "Exportar a Excel",
24
+ "upload": "Cargar",
25
+ "download": "Descargar",
26
+ "view": "Ver",
27
+ "expand": "Expandir",
28
+ "minimize": "Minimizar",
29
+ "more": "Más"
30
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://inlang.com/schema/inlang-message-format",
3
+ "unexpectedError": "An unexpected error occurred. Please try again.",
4
+ "networkError": "Network error. Please check your connection.",
5
+ "tryAgainLater": "Try again later.",
6
+ "pleaseTryAgainLater": "Please try again later.",
7
+ "somethingWentWrong": "Something went wrong",
8
+ "accessDenied": "Access denied. Please contact your administrator.",
9
+ "accountLocked": "Your account has been locked. Please contact your administrator.",
10
+ "contactSupport": "If you believe this is a mistake, please contact support.",
11
+ "noPermissionForAction": "You don't have permission to perform this action.",
12
+ "sessionExpired": "Your session has expired. Please log in again.",
13
+ "sessionExpiredTitle": "Session Expired",
14
+ "invalidCredentials": "Wrong name or password. Please try again.",
15
+ "loginFailed": "Login Failed",
16
+ "tooManyAttempts": "Too many login attempts. Please wait a moment and try again.",
17
+ "failedToLoad": "Failed to load {resource}",
18
+ "failedToCreate": "Failed to create {resource}",
19
+ "failedToUpdate": "Failed to update {resource}",
20
+ "failedToDelete": "Failed to delete {resource}",
21
+ "failedToArchive": "Failed to archive {resource}",
22
+ "failedToRestore": "Failed to restore {resource}",
23
+ "failedToSave": "Failed to save {resource}",
24
+ "errorLoading": "Error loading {resource}. Please try again.",
25
+ "requiredField": "{field} is required",
26
+ "invalidFormat": "Invalid {field} format",
27
+ "mustBe": "{field} must be {constraint}",
28
+ "cannotBeEmpty": "{field} cannot be empty",
29
+ "alreadyExists": "{resource} already exists",
30
+ "notFound": "{resource} not found",
31
+ "operationFailed": "Operation failed",
32
+ "validationError": "Validation error",
33
+ "backendValidationError": "Error validating {resource}. Please try again.",
34
+ "pdfGenerationFailed": "PDF Generation Failed",
35
+ "pdfGenerationFailedDescription": "Failed to generate the PDF. Please try again.",
36
+ "uploadFailed": "Upload failed",
37
+ "downloadFailed": "Download failed",
38
+ "exportFailed": "Export Failed",
39
+ "importFailed": "Import failed",
40
+ "connectionLost": "Connection lost. Please check your network.",
41
+ "timeoutError": "Request timed out. Please try again.",
42
+ "serverError": "Server error. Please try again later.",
43
+ "badRequest": "Invalid request. Please check your input.",
44
+ "unauthorized": "Unauthorized access. Please log in.",
45
+ "forbidden": "You don't have permission to access this resource.",
46
+ "notFoundError": "The requested resource was not found.",
47
+ "conflictError": "A conflict occurred. Please refresh and try again.",
48
+ "unprocessableEntity": "Unable to process your request. Please check the data.",
49
+ "tooManyRequests": "Too many requests. Please slow down.",
50
+ "serviceUnavailable": "Service temporarily unavailable. Please try again later."
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://inlang.com/schema/inlang-message-format",
3
+ "unexpectedError": "Ocurrió un error inesperado. Por favor intenta de nuevo.",
4
+ "networkError": "Error de red. Por favor verifica tu conexión.",
5
+ "tryAgainLater": "Intenta de nuevo más tarde.",
6
+ "pleaseTryAgainLater": "Por favor intenta de nuevo más tarde.",
7
+ "somethingWentWrong": "Algo salió mal",
8
+ "accessDenied": "Acceso denegado. Por favor contacta al administrador.",
9
+ "accountLocked": "Tu cuenta ha sido bloqueada. Por favor contacta al administrador.",
10
+ "contactSupport": "Si crees que esto es un error, por favor contacta a soporte.",
11
+ "noPermissionForAction": "No tienes permiso para realizar esta acción.",
12
+ "sessionExpired": "Tu sesión ha expirado. Por favor inicia sesión nuevamente.",
13
+ "sessionExpiredTitle": "Sesión Expirada",
14
+ "invalidCredentials": "Nombre o contraseña incorrecta. Por favor intenta de nuevo.",
15
+ "loginFailed": "Error al iniciar sesión",
16
+ "tooManyAttempts": "Demasiados intentos de inicio de sesión. Por favor espera un momento e intenta de nuevo.",
17
+ "failedToLoad": "Error al cargar {resource}",
18
+ "failedToCreate": "Error al crear {resource}",
19
+ "failedToUpdate": "Error al actualizar {resource}",
20
+ "failedToDelete": "Error al eliminar {resource}",
21
+ "failedToArchive": "Error al archivar {resource}",
22
+ "failedToRestore": "Error al restaurar {resource}",
23
+ "failedToSave": "Error al guardar {resource}",
24
+ "errorLoading": "Error al cargar {resource}. Por favor intenta de nuevo.",
25
+ "requiredField": "{field} es requerido",
26
+ "invalidFormat": "Formato de {field} inválido",
27
+ "mustBe": "{field} debe ser {constraint}",
28
+ "cannotBeEmpty": "{field} no puede estar vacío",
29
+ "alreadyExists": "{resource} ya existe",
30
+ "notFound": "{resource} no encontrado",
31
+ "operationFailed": "Operación fallida",
32
+ "validationError": "Error de validación",
33
+ "backendValidationError": "Error al validar {resource}. Por favor intenta de nuevo.",
34
+ "pdfGenerationFailed": "Error al Generar PDF",
35
+ "pdfGenerationFailedDescription": "Error al generar el PDF. Por favor intenta de nuevo.",
36
+ "uploadFailed": "Error al subir archivo",
37
+ "downloadFailed": "Error al descargar archivo",
38
+ "exportFailed": "Error al Exportar",
39
+ "importFailed": "Error al importar",
40
+ "connectionLost": "Conexión perdida. Por favor verifica tu red.",
41
+ "timeoutError": "Tiempo de espera agotado. Por favor intenta de nuevo.",
42
+ "serverError": "Error del servidor. Por favor intenta más tarde.",
43
+ "badRequest": "Solicitud inválida. Por favor verifica tu entrada.",
44
+ "unauthorized": "Acceso no autorizado. Por favor inicia sesión.",
45
+ "forbidden": "No tienes permiso para acceder a este recurso.",
46
+ "notFoundError": "El recurso solicitado no fue encontrado.",
47
+ "conflictError": "Ocurrió un conflicto. Por favor actualiza e intenta de nuevo.",
48
+ "unprocessableEntity": "No se puede procesar tu solicitud. Por favor verifica los datos.",
49
+ "tooManyRequests": "Demasiadas solicitudes. Por favor reduce la velocidad.",
50
+ "serviceUnavailable": "Servicio temporalmente no disponible. Por favor intenta más tarde."
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://inlang.com/schema/inlang-message-format",
3
+ "name": "Name",
4
+ "description": "Description",
5
+ "date": "Date",
6
+ "time": "Time",
7
+ "status": "Status",
8
+ "actions": "Actions",
9
+ "search": "Search",
10
+ "filters": "Filters",
11
+ "loading": "Loading...",
12
+ "saving": "Saving...",
13
+ "deleting": "Deleting...",
14
+ "creating": "Creating...",
15
+ "updating": "Updating...",
16
+ "yes": "Yes",
17
+ "no": "No",
18
+ "other": "Other",
19
+ "all": "All",
20
+ "none": "None",
21
+ "code": "Code",
22
+ "content": "Content",
23
+ "phone": "Phone",
24
+ "email": "Email",
25
+ "address": "Address",
26
+ "city": "City",
27
+ "state": "State",
28
+ "country": "Country",
29
+ "zipCode": "ZIP Code",
30
+ "home": "Home",
31
+ "administration": "Administration",
32
+ "settings": "Settings",
33
+ "profile": "Profile",
34
+ "overview": "Overview",
35
+ "details": "Details",
36
+ "information": "Information",
37
+ "back": "Back",
38
+ "backToEdit": "Back to Edit",
39
+ "backToForm": "Back to Form",
40
+ "continueEditing": "Continue Editing",
41
+ "continueReviewing": "Continue Reviewing",
42
+ "goToFirstPage": "Go to first page",
43
+ "goToLastPage": "Go to last page",
44
+ "goToNextPage": "Go to next page",
45
+ "goToPreviousPage": "Go to previous page",
46
+ "toggleSidebar": "Toggle Sidebar",
47
+ "reset": "Reset",
48
+ "reviewChanges": "Review Changes",
49
+ "reviewEncounter": "Review Encounter",
50
+ "total": "Total"
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://inlang.com/schema/inlang-message-format",
3
+ "name": "Nombre",
4
+ "description": "Descripción",
5
+ "date": "Fecha",
6
+ "time": "Hora",
7
+ "status": "Estado",
8
+ "actions": "Acciones",
9
+ "search": "Buscar",
10
+ "filters": "Filtros",
11
+ "loading": "Cargando...",
12
+ "saving": "Guardando...",
13
+ "deleting": "Eliminando...",
14
+ "creating": "Creando...",
15
+ "updating": "Actualizando...",
16
+ "yes": "Sí",
17
+ "no": "No",
18
+ "other": "Otro",
19
+ "all": "Todo",
20
+ "none": "Ninguno",
21
+ "code": "Código",
22
+ "content": "Contenido",
23
+ "phone": "Teléfono",
24
+ "email": "Correo electrónico",
25
+ "address": "Dirección",
26
+ "city": "Ciudad",
27
+ "state": "Estado",
28
+ "country": "País",
29
+ "zipCode": "Código Postal",
30
+ "home": "Inicio",
31
+ "administration": "Administración",
32
+ "settings": "Configuración",
33
+ "profile": "Perfil",
34
+ "overview": "Resumen",
35
+ "details": "Detalles",
36
+ "information": "Información",
37
+ "back": "Atrás",
38
+ "backToEdit": "Volver a Editar",
39
+ "backToForm": "Volver al Formulario",
40
+ "continueEditing": "Continuar Editando",
41
+ "continueReviewing": "Continuar Revisando",
42
+ "goToFirstPage": "Ir a la primera página",
43
+ "goToLastPage": "Ir a la última página",
44
+ "goToNextPage": "Ir a la página siguiente",
45
+ "goToPreviousPage": "Ir a la página anterior",
46
+ "toggleSidebar": "Alternar barra lateral",
47
+ "reset": "Reiniciar",
48
+ "reviewChanges": "Revisar Cambios",
49
+ "reviewEncounter": "Revisar Encuentro",
50
+ "total": "Total"
51
+ }