Skip to content

Commit

Permalink
feat: language support for issues (#6513)
Browse files Browse the repository at this point in the history
* chore: added language support to issue detail widgets

* improvement: added translation for issue detail

* enhancement: added language trasnlation to issue layouts
  • Loading branch information
vamsikrishnamathala authored Jan 30, 2025
1 parent ea78653 commit 6db7421
Show file tree
Hide file tree
Showing 55 changed files with 984 additions and 378 deletions.
108 changes: 101 additions & 7 deletions packages/i18n/src/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,10 @@
"public": "Public",
"private": "Private"
},
"done": "Done",
"sub_work_items": "Sub-work items",
"comment": "Comment",
"workspace_level": "Workspace level",
"order_by": {
"label": "Order by",
"manual": "Manual",
Expand All @@ -543,7 +546,9 @@
"comments": "Comments",
"updates": "Updates",
"clear_all": "Clear all",
"link_copied": "Link copied",
"copied": "Copied!",
"link_copied": "Link copied!",
"link_copied_to_clipboard": "Link copied to clipboard",
"copied_to_clipboard": "Work item link copied to clipboard",
"is_copied_to_clipboard": "Work item is copied to clipboard",
"no_links_added_yet": "No links added yet",
Expand All @@ -556,6 +561,7 @@
"go_back": "Go back",
"continue": "Continue",
"resend": "Resend",
"relations": "Relations",
"errors": {
"default": {
"title": "Error!",
Expand All @@ -571,6 +577,18 @@
"url_is_invalid": "URL is invalid",
"display_title": "Display title",
"link_title_placeholder": "What you'd like to see this link as",
"url": "URL",
"side_peek": "Side Peek",
"modal": "Modal",
"full_screen": "Full Screen",
"close_peek_view": "Close the peek view",
"toggle_peek_view_layout": "Toggle peek view layout",
"options": "Options",
"duration": "Duration",
"today": "Today",
"week": "Week",
"month": "Month",
"quarter": "Quarter",
"search": {
"label": "Search",
"placeholder": "Type to search...",
Expand All @@ -583,7 +601,12 @@
"open_in_new_tab": "Open in new tab",
"copy_link": "Copy link",
"archive": "Archive",
"delete": "Delete"
"delete": "Delete",
"remove_relation": "Remove relation",
"subscribe": "Subscribe",
"unsubscribe": "Unsubscribe",
"clear_sorting": "Clear sorting",
"show_weekends": "Show weekends"
}
},

Expand All @@ -596,7 +619,7 @@

"entity": {
"grouping_title": "{entity} Grouping",
"priority": "{entity} ",
"priority": "{entity} Priority",
"all": "All {entity}",
"drop_here_to_move": "Drop here to move the {entity}",
"delete": {
Expand All @@ -605,7 +628,16 @@
"failed": "{entity} delete failed"
},
"update": {
"failed": "{entity} update failed"
"failed": "{entity} update failed",
"success": "{entity} updated successfully"
},
"link_copied_to_clipboard": "{entity} link copied to clipboard",
"fetch": {
"failed": "Error fetching {entity}"
},
"add": {
"success": "{entity} added successfully",
"failed": "Error adding {entity}"
}
},

Expand All @@ -618,7 +650,8 @@
"success": "Epic created successfully"
},
"add": {
"press_enter": "Press 'Enter' to add another epic"
"press_enter": "Press 'Enter' to add another epic",
"label": "Add Epic"
},
"title": {
"label": "Epic Title",
Expand All @@ -629,6 +662,7 @@
"issue": {
"label": "{count, plural, one {Work item} other {Work items}}",
"all": "All Work items",
"edit": "Edit work item",
"title": {
"label": "Work item title",
"required": "Work item title is required."
Expand All @@ -637,17 +671,21 @@
"press_enter": "Press 'Enter' to add another work item",
"label": "Add Work item",
"cycle": {
"failed": "Work item could not be added to the cycle. Please try again."
"failed": "Work item could not be added to the cycle. Please try again.",
"success": "{count, plural, one {Work item} other {Work items}} added to the cycle successfully.",
"loading": "Adding {count, plural, one {work item} other {work items}} to the cycle..."
},
"assignee": "Add assignees",
"start_date": "Add start date",
"due_date": "Add due date",
"parent": "Add parent work item",
"sub_issue": "Add sub-work item",
"relation": "Add relation",
"link": "Add link"
"link": "Add link",
"existing": "Add existing work item"
},
"remove": {
"label": "Remove work item",
"cycle": {
"loading": "Removing work item from the cycle...",
"success": "Work item removed from the cycle successfully.",
Expand Down Expand Up @@ -708,6 +746,7 @@
"backlog": "Backlog"
},
"comments": {
"placeholder": "Add comment...",
"create": {
"success": "Comment created successfully",
"error": "Comment creation failed. Please try again later."
Expand Down Expand Up @@ -748,11 +787,66 @@
"message": "Work item could not be archived. Please try again."
}
},
"restore": {
"success": {
"title": "Restore success",
"message": "Your work item can be found in project work items."
},
"failed": {
"message": "Work item could not be restored. Please try again."
}
},
"relation": {
"relates_to": "Relates to",
"duplicate": "Duplicate of",
"blocked_by": "Blocked by",
"blocking": "Blocking"
},
"copy_link": "Copy work item link",
"delete": {
"label": "Delete work item",
"error": "Error deleting work item"
},
"subscription": {
"actions": {
"subscribed": "Work item subscribed successfully",
"unsubscribed": "Work item unsubscribed successfully"
}
},
"select": {
"error": "Please select at least one work item",
"empty": "No work items selected",
"add_selected": "Add selected issues"
},
"open_in_full_screen": "Open work item in full screen"
},

"attachment": {
"error": "File could not be attached. Try uploading again.",
"only_one_file_allowed": "Only one file can be uploaded at a time.",
"file_size_limit": "File must be of {size}MB or less in size.",
"drag_and_drop": "Drag and drop anywhere to upload",
"delete": "Delete attachment"
},

"label": {
"select": "Select label",
"create": {
"success": "Label created successfully",
"failed": "Label creation failed",
"already_exists": "Label already exists",
"type": "Type to add a new label"
}
},

"sub_work_item": {
"update": {
"success": "Sub-work item updated successfully",
"error": "Error updating sub-work item"
},
"remove": {
"success": "Sub-work item removed successfully",
"error": "Error removing sub-work item"
}
},

Expand Down
Loading

0 comments on commit 6db7421

Please sign in to comment.