Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEB-3165]improvement: added translation to issues - lists, headers #6417

Closed
wants to merge 2 commits into from
Closed
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
96 changes: 94 additions & 2 deletions packages/i18n/src/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"dark": "Dark",
"light_contrast": "Light high contrast",
"dark_contrast": "Dark high contrast",
"custom": "Custom theme",
"custom": "Custom",
"select_your_theme": "Select your theme",
"customize_your_theme": "Customize your theme",
"background_color": "Background color",
Expand Down Expand Up @@ -316,5 +316,97 @@
"change_parent_issue": "Change parent issue",
"remove_parent_issue": "Remove parent issue",
"add_parent": "Add parent",
"loading_members": "Loading members..."
"loading_members": "Loading members...",
"issue": "Issue",
"layout": "Layout",
"filters": "Filters",
"display": "Display",
"display_properties": "Display properties",
"list_layout": "List layout",
"board_layout": "Board layout",
"calendar_layout": "Calendar layout",
"table_layout": "Table layout",
"timeline_layout": "Timeline layout",
"no_cycle": "No cycle",
"no_matches_found": "No matches found",
"module": "Module",
"no_module": "No module",
"state_group": "State group",
"view_less": "View less",
"view_all": "View all",
"mention": "Mention",
"created_by": "Created by",
"label": "Label",
"epic": "Epic",
"epics": "Epics",
"grouping": "Grouping",
"apply": "Apply",
"after": "After",
"before": "Before",
"range": "Range",
"all": "All",
"active": "Active",
"backlog": "Backlog",
"target_date": "Due date",
"search_results_for": "Search results for",
"in_project": "In project",
"type_to_search": "Type to search...",
"1_week_ago": "1 week ago",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not group them in a better way? These are part of our date filters.
Let's start organizing them so that it becomes easier to structure everything.

Also, let's keep all the common terms nested under common translations. That way we can access them like common.project and it will be easier to find and replace these terms if we want to group them.

"2_weeks_ago": "2 weeks ago",
"1_month_ago": "1 month ago",
"2_months_ago": "2 months ago",
"1_week_from_now": "1 week from now",
"2_weeks_from_now": "2 weeks from now",
"1_month_from_now": "1 month from now",
"2_months_from_now": "2 months from now",
"id": "ID",
"sub_issue_count": "Sub issue count",
"attachment_count": "Attachment count",
"link": "Link",
"group_by": "Group by",
"sub_group_by": "Sub-group by",
"states": "States",
"manual": "Manual",
"last_created": "Last created",
"last_updated": "Last updated",
"order_by": "Order by",
"show_sub_issues": "Show sub-issues",
"show_empty_groups": "Show empty groups",
"clear_all": "Clear all",
"save_view": "Save view",
"epic_title": "Epic title",
"issue_title": "Issue title",
"new": "New",
"created_successfully": "Created successfully",
"view": "View",
"copied": "Copied",
"your_issue_can_be_found_in_project_issues": "Your issue can be found in project issues.",
"restore_success": "Restore success",
"issue_could_not_be_restored_please_try_again": "Issue could not be restored. Please try again.",
"issue_delete_failed": "Issue delete failed",
"updates": "Updates",
"comment_created_successfully": "Comment created successfully",
"comment_creation_failed_please_try_again_later": "Comment creation failed. Please try again later.",
"missing_fields": "Missing fields",
"comment_updated_successfully": "Comment updated successfully",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can also be structured as:

"comments": {
  "create": {
    "success": {
      "title": "Comment created",
      description: "Your comment has been created successfully."
    },
    "error": {
      "title": "Comment creation failed",
      description: "Your comment could not be created. Please try again."
    }
  }
}

"comment_update_failed_please_try_again_later": "Comment update failed. Please try again later.",
"comment_removed_successfully": "Comment removed successfully",
"comment_remove_failed_please_try_again_later": "Comment remove failed. Please try again later.",
"asset_upload_failed_please_try_again_later": "Asset upload failed. Please try again later.",
"issue_could_not_be_added_to_the_cycle_please_try_again": "Issue could not be added to the cycle. Please try again.",
"issue_removed_from_the_cycle_successfully": "Issue removed from the cycle successfully",
"issue_could_not_be_removed_from_the_cycle_please_try_again": "Issue could not be removed from the cycle. Please try again.",
"issue_removed_from_the_module_successfully": "Issue removed from the module successfully",
"issue_could_not_be_removed_from_the_module_please_try_again": "Issue could not be removed from the module. Please try again.",
"issue_update_failed_please_try_again_later": "Issue update failed. Please try again later.",
"project_issues_count": {
"one": "There is {{count}} issue in this project",
"other": "There are {{count}} issues in this project"
},
"adding": "Adding {entity}...",
"entity_created_successfully": "{entity} created successfully",
"entity_title_required": "{entity} title is required.",
"some_error_occurred_please_try_again": "Some error occurred. Please try again.",
"press_enter_to_add_another_entity": "Press 'Enter' to add another {entity}",
"select_date": "Select date"
}
93 changes: 91 additions & 2 deletions packages/i18n/src/locales/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"dark": "Oscuro",
"light_contrast": "Alto contraste claro",
"dark_contrast": "Alto contraste oscuro",
"custom": "Tema personalizado",
"custom": "Personalizado",
"select_your_theme": "Selecciona tu tema",
"customize_your_theme": "Personaliza tu tema",
"background_color": "Color de fondo",
Expand Down Expand Up @@ -316,5 +316,94 @@
"remove_parent_issue": "Eliminar problema padre",
"add_parent": "Agregar padre",
"loading_members": "Cargando miembros...",
"inbox": "bandeja de entrada"
"inbox": "bandeja de entrada",
"issue": "Problema",
"layout": "Diseño",
"filters": "Filtros",
"display": "Mostrar",
"display_properties": "Propiedades de visualización",
"list_layout": "Diseño de lista",
"board_layout": "Diseño de tabla",
"calendar_layout": "Diseño de calendario",
"table_layout": "Diseño de tabla",
"timeline_layout": "Diseño de cronología",
"no_cycle": "Sin ciclo",
"no_matches_found": "No hay resultados coincidentes",
"module": "Módulo",
"no_module": "Sin módulo",
"state_group": "Grupo de estado",
"view_less": "Ver menos",
"view_all": "Ver todo",
"mention": "Mención",
"created_by": "Creado por",
"label": "Etiqueta",
"epic": "Epic",
"epics": "Epics",
"grouping": "Agrupación",
"apply": "Aplicar",
"after": "Después",
"before": "Antes",
"range": "Rango",
"all": "Todos",
"active": "Activo",
"backlog": "Backlog",
"target_date": "Fecha de vencimiento",
"search_results_for": "Resultados de la búsqueda",
"in_project": "En el proyecto",
"type_to_search": "Buscar...",
"1_week_ago": "1 semana atrás",
"2_weeks_ago": "2 semanas atrás",
"1_month_ago": "1 mes atrás",
"2_months_ago": "2 meses atrás",
"1_week_from_now": "1 semana después",
"2_weeks_from_now": "2 semanas después",
"1_month_from_now": "1 mes después",
"2_months_from_now": "2 meses después",
"id": "ID",
"sub_issue_count": "Número de subproblemas",
"attachment_count": "Número de archivos adjuntos",
"link": "Enlace",
"group_by": "Agrupar por",
"sub_group_by": "Subagrupar por",
"states": "Estados",
"manual": "Manual",
"last_created": "Último creado",
"last_updated": "Último actualizado",
"order_by": "Ordenar por",
"show_sub_issues": "Mostrar subproblemas",
"show_empty_groups": "Mostrar grupos vacíos",
"clear_all": "Limpiar todo",
"save_view": "Guardar vista",
"epic_title": "Título de epic",
"issue_title": "Título de problema",
"new": "Nuevo",
"created_successfully": "Creado con éxito",
"view": "Ver",
"copied": "Copiado",
"your_issue_can_be_found_in_project_issues": "Tu problema puede ser encontrado en los problemas del proyecto.",
"restore_success": "Restauración exitosa",
"issue_could_not_be_restored_please_try_again": "El problema no pudo ser restaurado. Por favor, inténtalo de nuevo.",
"issue_delete_failed": "El problema no pudo ser eliminado. Por favor, inténtalo de nuevo.",
"updates": "Actualizaciones",
"comment_created_successfully": "Comentario creado con éxito",
"comment_creation_failed_please_try_again_later": "Error al crear el comentario. Por favor, inténtalo de nuevo más tarde.",
"missing_fields": "Faltan campos",
"comment_updated_successfully": "Comentario actualizado con éxito",
"comment_update_failed_please_try_again_later": "Error al actualizar el comentario. Por favor, inténtalo de nuevo más tarde.",
"comment_removed_successfully": "Comentario eliminado con éxito",
"comment_remove_failed_please_try_again_later": "Error al eliminar el comentario. Por favor, inténtalo de nuevo más tarde.",
"asset_upload_failed_please_try_again_later": "Error al subir el archivo. Por favor, inténtalo de nuevo más tarde.",
"issue_could_not_be_added_to_the_cycle_please_try_again": "El problema no pudo ser agregado al ciclo. Por favor, inténtalo de nuevo.",
"issue_removed_from_the_cycle_successfully": "El problema fue removido del ciclo con éxito",
"issue_could_not_be_removed_from_the_cycle_please_try_again": "El problema no pudo ser removido del ciclo. Por favor, inténtalo de nuevo.",
"issue_removed_from_the_module_successfully": "El problema fue removido del módulo con éxito",
"issue_could_not_be_removed_from_the_module_please_try_again": "El problema no pudo ser removido del módulo. Por favor, inténtalo de nuevo.",
"issue_update_failed_please_try_again_later": "El problema no pudo ser actualizado. Por favor, inténtalo de nuevo más tarde.",
"project_issues_count": "{{count, plural, =0{Sin problemas} one{# problema} other{# problemas}}}",
"adding": "Agregando {entity}...",
"entity_created_successfully": "{entity} creado con éxito",
"entity_title_required": "El título de {entity} es obligatorio.",
"press_enter_to_add_another_entity": "Presiona 'Enter' para agregar otro {entity}",
"some_error_occurred_please_try_again": "Ocurrió un error. Por favor, inténtalo de nuevo.",
"select_date": "Seleccionar fecha"
}
93 changes: 91 additions & 2 deletions packages/i18n/src/locales/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"dark": "Foncé",
"light_contrast": "Clair de haut contraste",
"dark_contrast": "Foncé de haut contraste",
"custom": "Thème personnalisé",
"custom": "Personnalisé",
"select_your_theme": "Sélectionnez votre thème",
"customize_your_theme": "Personnalisez votre thème",
"background_color": "Couleur de fond",
Expand Down Expand Up @@ -316,5 +316,94 @@
"remove_parent_issue": "Supprimer le problème parent",
"add_parent": "Ajouter un parent",
"loading_members": "Chargement des membres...",
"inbox": "Boîte de réception"
"inbox": "Boîte de réception",
"issue": "Problème",
"layout": "Disposition",
"filters": "Filtres",
"display": "Affichage",
"display_properties": "Propriétés d'affichage",
"list_layout": "Disposition de liste",
"board_layout": "Disposition de tableau",
"calendar_layout": "Disposition de calendrier",
"table_layout": "Disposition de tableau",
"timeline_layout": "Disposition de chronologie",
"no_cycle": "Aucun cycle",
"no_matches_found": "Aucun résultat correspondant",
"module": "Module",
"no_module": "Aucun module",
"state_group": "Groupe d'état",
"view_less": "Voir moins",
"view_all": "Voir tout",
"mention": "Mention",
"created_by": "Créé par",
"label": "Étiquette",
"epic": "Épique",
"epics": "Épiques",
"grouping": "Groupement",
"apply": "Appliquer",
"after": "Après",
"before": "Avant",
"range": "Plage",
"all": "Tous",
"active": "Actif",
"backlog": "Backlog",
"target_date": "Date d'échéance",
"search_results_for": "Résultats de la recherche",
"in_project": "Dans le projet",
"type_to_search": "Rechercher...",
"1_week_ago": "1 semaine avant",
"2_weeks_ago": "2 semaines avant",
"1_month_ago": "1 mois avant",
"2_months_ago": "2 mois avant",
"1_week_from_now": "1 semaine après",
"2_weeks_from_now": "2 semaines après",
"1_month_from_now": "1 mois après",
"2_months_from_now": "2 mois après",
"id": "ID",
"sub_issue_count": "Nombre de sous-problèmes",
"attachment_count": "Nombre d'attachments",
"link": "Lien",
"group_by": "Groupement",
"sub_group_by": "Sous-groupement",
"states": "États",
"manual": "Manuel",
"last_created": "Dernier créé",
"last_updated": "Dernier mis à jour",
"order_by": "Trier par",
"show_sub_issues": "Afficher les sous-problèmes",
"show_empty_groups": "Afficher les groupes vides",
"clear_all": "Tout effacer",
"save_view": "Enregistrer la vue",
"epic_title": "Titre de l'épique",
"issue_title": "Titre du problème",
"new": "Nouveau",
"created_successfully": "Créé avec succès",
"view": "Voir",
"copied": "Copié",
"your_issue_can_be_found_in_project_issues": "Le problème peut être trouvé dans les problèmes du projet.",
"restore_success": "Restauration réussie",
"issue_could_not_be_restored_please_try_again": "Le problème n'a pas pu être restauré. Veuillez réessayer.",
"issue_delete_failed": "Le problème n'a pas pu être supprimé. Veuillez réessayer.",
"updates": "Mises à jour",
"comment_created_successfully": "Commentaire créé avec succès",
"comment_creation_failed_please_try_again_later": "Erreur lors de la création du commentaire. Veuillez réessayer plus tard.",
"missing_fields": "Champs manquants",
"comment_updated_successfully": "Commentaire mis à jour avec succès",
"comment_update_failed_please_try_again_later": "Erreur lors de la mise à jour du commentaire. Veuillez réessayer plus tard.",
"comment_removed_successfully": "Commentaire supprimé avec succès",
"comment_remove_failed_please_try_again_later": "Erreur lors de la suppression du commentaire. Veuillez réessayer plus tard.",
"asset_upload_failed_please_try_again_later": "Erreur lors de l'upload de l'asset. Veuillez réessayer plus tard.",
"issue_could_not_be_added_to_the_cycle_please_try_again": "Le problème n'a pas pu être ajouté au cycle. Veuillez réessayer.",
"issue_removed_from_the_cycle_successfully": "Le problème a été supprimé du cycle avec succès",
"issue_could_not_be_removed_from_the_cycle_please_try_again": "Le problème n'a pas pu être supprimé du cycle. Veuillez réessayer.",
"issue_removed_from_the_module_successfully": "Le problème a été supprimé du module avec succès",
"issue_could_not_be_removed_from_the_module_please_try_again": "Le problème n'a pas pu être supprimé du module. Veuillez réessayer.",
"issue_update_failed_please_try_again_later": "Le problème n'a pas pu être mis à jour. Veuillez réessayer plus tard.",
"project_issues_count": "{{count, plural, =0{Aucun problème} one{# problème} other{# problèmes}}}",
"adding_issue": "Ajout de {entity}...",
"entity_created_successfully": "{entity} créé avec succès",
"entity_title_required": "{entity} title is required.",
Copy link
Contributor

@coderabbitai coderabbitai bot Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Fix untranslated text.

Line 405 contains English text that needs to be translated to French.

-  "entity_title_required": "{entity} title is required.",
+  "entity_title_required": "Le titre de {entity} est requis.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"entity_title_required": "{entity} title is required.",
"entity_title_required": "Le titre de {entity} est requis.",

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update this as well @mathalav55

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

"press_enter_to_add_another_entity": "Appuyez sur 'Entrer' pour ajouter un autre {entity}",
"some_error_occurred_please_try_again": "Une erreur est survenue. Veuillez réessayer.",
"select_date": "Sélectionner la date"
}
Loading
Loading