Skip to content

Commit

Permalink
chore: cleanup translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Mar 14, 2024
1 parent 0dd1447 commit 11a0c55
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const ResetPassword = ({ type }: { type?: 'add' }) => {
await accountController.changePasswordWithToken(emailParam || '', password, resetToken, passwordConfirmation);
}

announce(t('reset.reset_password_succesful'), 'success');
announce(t('reset.password_reset_success'), 'success');
await accountController.logout();
navigate(modalURLFromLocation(location, 'login'));
} catch (error: unknown) {
Expand Down
13 changes: 5 additions & 8 deletions platforms/web/public/locales/en/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"checkout": {
"applicable_tax": "Applicable tax ({{taxRate}}%)",
"card_details_updated": "Your card details have been updated",
"card_holder_name": "Cardholder name",
"close": "Close",
"continue": "Continue",
Expand All @@ -25,15 +26,14 @@
"invalid_card_expiry": "Invalid card expiry",
"invalid_card_number": "Invalid card number",
"invalid_cvc_number": "Invalid CVC number",
"card_details_updated": "Your card details have been updated",
"monthly": "Monthly subscription",
"no_payment_needed": "No payment needed",
"payment_cancelled": "Payment cancelled",
"payment_cancelled_message": "You have cancelled the payment",
"payment_error": "Payment failed",
"payment_success": "Payment was successfully sent",
"payment_method": "Payment method",
"payment_method_fee": "Payment method fee",
"payment_success": "Payment was successfully sent",
"paypal": "PayPal",
"paypal_instructions": "Clicking 'continue' will bring you to the PayPal site.",
"periods_trial_one": "You will be charged after one {{period}}.",
Expand Down Expand Up @@ -67,10 +67,8 @@
"monthly": "Monthly",
"monthly_subscription": "Monthly subscription",
"no_pricing_available": "There are no pricing options available at the moment.",
"offer_not_found": "Offer not found, please try reloading the page",
"one_time_only": "This video",
"subscription": "Subscription",
"subscription_update_success": "Your subscription has been updated",
"title": "Choose plan",
"tvod_access_one": "{{count}} {{period}} access",
"tvod_access_other": "{{count}} {{period}} access",
Expand All @@ -88,8 +86,8 @@
"not_registered": "New to {{siteName}}?",
"password": "Password",
"sign_in": "Sign in",
"sign_up": "Sign up",
"sign_in_success": "Sign in successful",
"sign_up": "Sign up",
"simultaneous_logins": "The maximum number of active sessions for this account has been reached. Signing in here will sign you out from another session or device.",
"twitter": "Sign in with Twitter",
"unexpected_error": "An unexpected error occurred.",
Expand Down Expand Up @@ -158,7 +156,6 @@
"password_strength_prefix": "Password strength",
"sign_up": "Sign up",
"success": "Registration successful",
"account_delete_success": "Your account has been deleted",
"terms_and_conditions": "Terms and Conditions",
"terms_consent": "I accept the {{termsLink}}.",
"terms_consent_jwplayer": "I accept the {{termsLink}} of JW Player.",
Expand All @@ -169,9 +166,9 @@
"explanation": "By clicking the button below you can renew your plan.",
"next_billing_date_on": "Next billing date will be {{date}}",
"no_thanks": "No, thanks",
"success": "Your subscription has been renewed",
"renew_subscription": "Renew subscription",
"renew_your_subscription": "Renew your subscription",
"success": "Your subscription has been renewed",
"unknown_error_occurred": "An unknown error occurred!"
},
"reset": {
Expand All @@ -194,9 +191,9 @@
"password": "Password",
"password_helper_text": "Use a minimum of 8 characters (case sensitive) with at least one number",
"password_reset": "Password reset",
"password_reset_success": "Password reset successful",
"password_reset_text": "",
"password_strength": "Although your password meets the criteria for a strong password, it includes elements that are not advisable, such as prohibited phrases or repeated words. Please modify it to ensure account safety.",
"password_reset_success": "Password reset successful",
"passwords_do_not_match": "Passwords do not match",
"repeat_new_password": "Repeat new password",
"reset_password": "Edit Password",
Expand Down
1 change: 0 additions & 1 deletion platforms/web/public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"optional": "(Optional)",
"play_item": "Play {{title}}",
"scheduled": "Scheduled",
"series": "series",
"sign_in": "Sign in",
"sign_up": "Sign up",
"slide_indicator": "Page {{page}} of {{pages}}",
Expand Down
10 changes: 5 additions & 5 deletions platforms/web/public/locales/en/error.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"adyen_order_unknown": "Order is unknown",
"check_your_config": "There was a problem retrieving the application configuration. Try again later. If the problem persists contact technical support.",
"check_your_settings": "There was a problem loading the default settings. Try again later. If the problem persists contact technical support.",
"config_invalid": "Invalid or missing config",
"empty_shelves_description": "We apologize, but there is no content available in your region.",
"empty_shelves_heading": "No content available",
"generic_error_description": "Try refreshing this page or come back later.",
"generic_error_heading": "There was an issue loading the application",
"learn_more": "Learn more",
"notfound_error_description": "This page doesn't exist.",
"notfound_error_heading": "Not found",
"playlist_not_found": "Playlist not found",
"settings_invalid": "Invalid or missing settings",
"video_not_found": "Video not found",
"unknown_error": "Unknown error",
"adyen_order_unknown": "Order is unknown",
"empty_shelves_heading": "No content available",
"empty_shelves_description": "We apologize, but there is no content available in your region.",
"validation_form_error": {
"other": "Please correct your mistakes before proceeding.",
"required": "Please fill in all required fields before proceeding."
}
},
"video_not_found": "Video not found"
}
3 changes: 1 addition & 2 deletions platforms/web/public/locales/en/menu.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"close_menu": "Close menu",
"language_menu": "Open language menu",
"open_menu": "Open menu",
"open_user_menu": "Open user menu",
"profile_icon": "Profile icon",
"select_language": "Select language",
"language_menu": "Open language menu",
"sign_in": "Sign in",
"sign_up": "Sign up",
"skip_to_content": "Skip to content"
Expand Down
6 changes: 3 additions & 3 deletions platforms/web/public/locales/en/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
"error": "An error occurred while deleting your account. Please try again.",
"invalid_credentials": "The submitted password is not valid",
"modal": {
"description": "Enter password to continue",
"placeholder": "Enter your password",
"text_cant_be_undone": "Please be aware that this process cannot be undone, so proceed with caution.",
"text_contacts": "If you have any further questions or concerns, please do not hesitate to contact our support team.",
"text_data_erasure": "Please note that if you choose to proceed with this process, all of your personal data will be erased from our system. This includes any personal information you provided during the registration process, as well as any location and device information that we gathered during the authentication process. Additionally, all other personal information stored in various parts of our database will be deleted as well. However, please be aware that due to some legislations we are required to keep certain personal data as part of transaction and subscription records.",
"text_revoked_access": "Once the erasure is complete, all of your active accesses will be revoked, and any active login sessions, including this one, will be terminated. Your account information will no longer be accessible to our staff in any capacity.",
"description": "Enter password to continue",
"warning": "All active subscriptions that were purchased through a web browser will be automatically canceled upon erasure of personal data. However, if you purchased a subscription through iOS, Android, Roku, or Amazon apps, please be aware that it will not be canceled automatically. In this case, you will need to follow the usual subscription cancelation steps for each respective platform to manually cancel the subscription."
},
"success": "Your account has been deleted",
"title": "Delete account"
},
"delete_account_password_warning": {
Expand All @@ -32,7 +33,6 @@
"edit_information": "Edit information",
"edit_password": "Edit password",
"email": "Email",
"update_success": "Your {{section}} has been successfully updated.",
"errors": {
"email_exists": "Email already exists!",
"email_update_not_supported": "Email update not supported",
Expand Down Expand Up @@ -61,6 +61,7 @@
"security": "Password",
"terms_and_tracking": "Legal & Marketing",
"update_consents": "Update consents",
"update_success": "Your {{section}} has been successfully updated.",
"view_password": "View password",
"who_is_watching": "Who’s watching?"
},
Expand All @@ -74,7 +75,6 @@
"login": {
"field_required": "This field is required, please fill in a valid {{field}}."
},
"name": "Name",
"nav": {
"account": "Account",
"add_profile": "Add new profile",
Expand Down
1 change: 0 additions & 1 deletion platforms/web/public/locales/en/video.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"add_to_favorites": "Add to favorites",
"all_seasons": "All seasons",
"buy": "Buy",
"buy_to_start_watching": "Buy to start watching!",
Expand Down
13 changes: 5 additions & 8 deletions platforms/web/public/locales/es/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"checkout": {
"applicable_tax": "Impuesto aplicable ({{taxRate}}%)",
"card_details_updated": "Detalles de la tarjeta actualizados",
"card_holder_name": "Nombre del titular de la tarjeta",
"close": "Cerrar",
"continue": "Continuar",
Expand All @@ -27,15 +28,14 @@
"invalid_card_expiry": "Fecha de vencimiento Invalido para la tarjeta",
"invalid_card_number": "Número de tarjeta inválido",
"invalid_cvc_number": "Número de CVC inválido",
"card_details_updated": "Detalles de la tarjeta actualizados",
"monthly": "Suscripción mensual",
"no_payment_needed": "No se necesita pago",
"payment_cancelled": "Pago cancelado",
"payment_cancelled_message": "Has cancelado el pago",
"payment_error": "Error en el pago",
"payment_success": "Pago fue enviado con éxito",
"payment_method": "Método de pago",
"payment_method_fee": "Tarifa del método de pago",
"payment_success": "Pago fue enviado con éxito",
"paypal": "PayPal",
"paypal_instructions": "Al hacer clic en 'Continuar', serás redirigido al sitio de PayPal.",
"periods_trial_one": "Se te cobrará después de un {{period}}.",
Expand Down Expand Up @@ -72,10 +72,8 @@
"monthly": "Mensual",
"monthly_subscription": "Suscripción mensual",
"no_pricing_available": "No hay opciones de precios disponibles en este momento.",
"offer_not_found": "Oferta no encontrada, por favor intenta volver a cargar la página",
"one_time_only": "Este video",
"subscription": "Suscripción",
"subscription_update_success": "Suscripción actualizada",
"title": "Elige un plan",
"tvod_access_one": "Acceso de {{count}} {{period}}",
"tvod_access_many": "",
Expand All @@ -94,8 +92,8 @@
"not_registered": "¿Nuevo/a en {{siteName}}?",
"password": "Contraseña",
"sign_in": "Iniciar sesión",
"sign_up": "Registrarse",
"sign_in_success": "Has iniciado sesión correctamente.",
"sign_up": "Registrarse",
"simultaneous_logins": "Se ha alcanzado el número máximo de sesiones activas para esta cuenta. Iniciar sesión aquí lo cerrará en otra sesión o dispositivo.",
"twitter": "Inicia sesión con Twitter",
"unexpected_error": "Ocurrió un error inesperado.",
Expand Down Expand Up @@ -168,7 +166,6 @@
"password_strength_prefix": "Seguridad de la contraseña",
"sign_up": "Registrarse",
"success": "¡Cuenta creada!",
"account_delete_success": "Tu cuenta ha sido eliminada",
"terms_and_conditions": "Términos y condiciones",
"terms_consent": "Acepto los {{termsLink}}.",
"terms_consent_jwplayer": "Acepto los {{termsLink}} de JW Player.",
Expand All @@ -179,9 +176,9 @@
"explanation": "Al hacer clic en el botón de abajo, puedes renovar tu plan.",
"next_billing_date_on": "La próxima fecha de facturación será el {{date}}",
"no_thanks": "No, gracias",
"success": "¡Suscripción renovada!",
"renew_subscription": "Renovar suscripción",
"renew_your_subscription": "Renueva tu suscripción",
"success": "¡Suscripción renovada!",
"unknown_error_occurred": "¡Ocurrió un error desconocido!"
},
"reset": {
Expand All @@ -204,8 +201,8 @@
"password": "Contraseña",
"password_helper_text": "Utiliza un mínimo de 8 caracteres (distingue entre mayúsculas y minúsculas) con al menos un número",
"password_reset": "Restablecimiento de contraseña",
"password_reset_text": "",
"password_reset_success": "Contraseña restablecida",
"password_reset_text": "",
"password_strength": "Aunque tu contraseña cumple con los criterios de una contraseña segura, incluye elementos que no son recomendables, como frases prohibidas o palabras repetidas. Por favor, modifícala para garantizar la seguridad de tu cuenta.",
"passwords_do_not_match": "Las contraseñas no coinciden",
"repeat_new_password": "Repetir nueva contraseña",
Expand Down
1 change: 0 additions & 1 deletion platforms/web/public/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"optional": "(Opcional)",
"play_item": "Reproducir {{title}}",
"scheduled": "Programada",
"series": "serie",
"sign_in": "Iniciar sesión",
"sign_up": "Registrarse",
"slide_indicator": "Página {{page}} de {{pages}}",
Expand Down
10 changes: 5 additions & 5 deletions platforms/web/public/locales/es/error.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"adyen_order_unknown": "El orden es desconocido",
"check_your_config": "Hubo un problema al recuperar la configuración de la aplicación. Inténtalo de nuevo más tarde. Si el problema persiste, contacta al soporte técnico.",
"check_your_settings": "Hubo un problema al cargar los ajustes predeterminados. Inténtalo de nuevo más tarde. Si el problema persiste, contacta al soporte técnico.",
"config_invalid": "Configuración inválida o faltante",
"empty_shelves_description": "Nos disculpamos, pero no hay contenido disponible en su región.",
"empty_shelves_heading": "No hay contenido disponible",
"generic_error_description": "Intenta actualizar esta página o vuelve más tarde.",
"generic_error_heading": "Hubo un problema al cargar la aplicación",
"learn_more": "Más información",
"notfound_error_description": "Esta página no existe.",
"notfound_error_heading": "No encontrado",
"playlist_not_found": "Lista de reproducción no encontrada",
"settings_invalid": "Ajustes inválidos o faltantes",
"video_not_found": "Video no encontrado",
"unknown_error": "Error desconocido",
"adyen_order_unknown": "El orden es desconocido",
"empty_shelves_heading": "No hay contenido disponible",
"empty_shelves_description": "Nos disculpamos, pero no hay contenido disponible en su región.",
"validation_form_error": {
"other": "Corrija sus errores antes de continuar.",
"required": "Complete todos los campos obligatorios antes de continuar."
}
},
"video_not_found": "Video no encontrado"
}
3 changes: 1 addition & 2 deletions platforms/web/public/locales/es/menu.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"close_menu": "Cerrar menú",
"language_menu": "Abrir menú de idioma",
"open_menu": "Abrir menú",
"open_user_menu": "Abrir menú de usuario",
"profile_icon": "Icono de perfil",
"select_language": "Seleccionar idioma",
"language_menu": "Abrir menú de idioma",
"sign_in": "Iniciar sesión",
"sign_up": "Registrarse",
"skip_to_content": "Saltar al contenido"
Expand Down
6 changes: 3 additions & 3 deletions platforms/web/public/locales/es/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
"error": "Ocurrió un error al eliminar su cuenta. Inténtalo de nuevo.",
"invalid_credentials": "¡Contraseña incorrecta!",
"modal": {
"description": "Introduce la contraseña para continuar",
"placeholder": "Ingresa tu contraseña",
"text_cant_be_undone": "Tenga en cuenta que este proceso no se puede deshacer, así que proceda con precaución.",
"text_contacts": "Si tiene más preguntas o inquietudes, no dude en ponerse en contacto con nuestro equipo de soporte.",
"text_data_erasure": "Tenga en cuenta que si elige continuar con este proceso, todos sus datos personales se borrarán de nuestro sistema. Esto incluye cualquier información personal que haya proporcionado durante el proceso de registro, así como cualquier información de ubicación y dispositivo que hayamos recopilado durante el proceso de autenticación. Además, también se eliminará toda otra información personal almacenada en varias partes de nuestra base de datos. Sin embargo, tenga en cuenta que, debido a algunas legislaciones, estamos obligados a mantener ciertos datos personales como parte de los registros de transacciones y suscripciones.",
"text_revoked_access": "Una vez que se complete el borrado, se revocarán todos sus accesos activos y se cancelarán todas las sesiones de inicio de sesión activas, incluida esta. La información de su cuenta ya no será accesible para nuestro personal de ninguna manera.",
"description": "Introduce la contraseña para continuar",
"warning": "Todas las suscripciones activas que se compraron a través de un navegador web se cancelarán automáticamente al borrar los datos personales. Sin embargo, si compró una suscripción a través de las aplicaciones iOS, Android, Roku o Amazon, tenga en cuenta que no se cancelará automáticamente. En este caso, deberá seguir los pasos habituales de cancelación de suscripción para cada plataforma respectiva para cancelar manualmente la suscripción."
},
"success": "Tu cuenta ha sido eliminada",
"title": "Borrar cuenta"
},
"delete_account_password_warning": {
Expand All @@ -32,7 +33,6 @@
"edit_information": "Editar información",
"edit_password": "Editar contraseña",
"email": "Correo electrónico",
"update_success": "Tu {{section}} ha sido actualizado con éxito.",
"errors": {
"email_exists": "¡El correo electrónico ya existe!",
"email_update_not_supported": "No se admite la actualización del correo electrónico",
Expand Down Expand Up @@ -61,6 +61,7 @@
"security": "Contraseña",
"terms_and_tracking": "Jurídico y marketing",
"update_consents": "Actualizar consentimientos",
"update_success": "Tu {{section}} ha sido actualizado con éxito.",
"view_password": "Ver contraseña",
"who_is_watching": "¿Quién está mirando?"
},
Expand All @@ -74,7 +75,6 @@
"login": {
"field_required": "Este campo es obligatorio, por favor ingresa un {{field}} válido."
},
"name": "Nombre",
"nav": {
"account": "Cuenta",
"add_profile": "Añade un nuevo perfil",
Expand Down
3 changes: 1 addition & 2 deletions platforms/web/public/locales/es/video.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"add_to_favorites": "Agregar a favoritos",
"all_seasons": "Todas las temporadas",
"buy": "Comprar",
"buy_to_start_watching": "Compra para empezar a mirar!",
Expand All @@ -19,8 +18,8 @@
},
"season": "temporada",
"season_number_filter_template": "Temporada {{seasonNumber}}",
"series_error": "Se produjo un error al solicitar la serie",
"series": "Serie",
"series_error": "Se produjo un error al solicitar la serie",
"share": "Compartir",
"share_video": "Compartir este video",
"sign_up_to_start_watching": "¡Regístrate para comenzar a ver!",
Expand Down

0 comments on commit 11a0c55

Please sign in to comment.