fix(lang): add missing string (#2370)

This commit is contained in:
TheCatLady
2021-12-26 16:22:43 -08:00
committed by GitHub
parent 5af06bd872
commit d36c1d2929
2 changed files with 5 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ const messages = defineMessages({
toastissuedeletefailed: 'Something went wrong while deleting the issue.', toastissuedeletefailed: 'Something went wrong while deleting the issue.',
nocomments: 'No comments.', nocomments: 'No comments.',
unknownissuetype: 'Unknown', unknownissuetype: 'Unknown',
commentplaceholder: 'Add a comment…',
}); });
const isMovie = (movie: MovieDetails | TvDetails): movie is MovieDetails => { const isMovie = (movie: MovieDetails | TvDetails): movie is MovieDetails => {
@@ -460,7 +461,9 @@ const IssueDetails: React.FC = () => {
id="message" id="message"
name="message" name="message"
as="textarea" as="textarea"
placeholder="Respond with a comment..." placeholder={intl.formatMessage(
messages.commentplaceholder
)}
className="h-20" className="h-20"
/> />
<div className="flex items-center justify-end mt-4 space-x-2"> <div className="flex items-center justify-end mt-4 space-x-2">

View File

@@ -42,6 +42,7 @@
"components.IssueDetails.allseasons": "All Seasons", "components.IssueDetails.allseasons": "All Seasons",
"components.IssueDetails.closeissue": "Close Issue", "components.IssueDetails.closeissue": "Close Issue",
"components.IssueDetails.closeissueandcomment": "Close with Comment", "components.IssueDetails.closeissueandcomment": "Close with Comment",
"components.IssueDetails.commentplaceholder": "Add a comment…",
"components.IssueDetails.comments": "Comments", "components.IssueDetails.comments": "Comments",
"components.IssueDetails.deleteissue": "Delete Issue", "components.IssueDetails.deleteissue": "Delete Issue",
"components.IssueDetails.deleteissueconfirm": "Are you sure you want to delete this issue?", "components.IssueDetails.deleteissueconfirm": "Are you sure you want to delete this issue?",