From a39a308ff1aa33d226ffbfca61051c0c2259a0c3 Mon Sep 17 00:00:00 2001 From: sk-ys Date: Sat, 19 Oct 2024 08:44:12 +0000 Subject: [PATCH] Unified comments to notes and small fixies --- .../enhanced_ux/issues/_custom_issue.html.erb | 146 +++++++++--------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/app/views/enhanced_ux/issues/_custom_issue.html.erb b/app/views/enhanced_ux/issues/_custom_issue.html.erb index ee7a20a..c78d246 100644 --- a/app/views/enhanced_ux/issues/_custom_issue.html.erb +++ b/app/views/enhanced_ux/issues/_custom_issue.html.erb @@ -13,7 +13,7 @@ minWidth: 500, minHeight: 200, }; - const commentDialogConfig = { + const notesDialogConfig = { width: 750, height: 520, }; @@ -26,7 +26,7 @@ sideBySideMode: "Side-by-side mode", labelView: "View", labelEdit: "Edit", - labelAddQuickComment: "Add quick comment", + labelAddQuickNotes: "Add quick notes", labelCancel: "Cancel", labelFixed: "Fixed", labelUnfixed: "Unfixed", @@ -36,12 +36,12 @@ labelMaximize: "Maximize", labelClose: "Close", messageSubmitAll: - "⚠️Sends all changes in edit fields, quick notes fields, " + - "and attachments, and reloads the page.", + "⚠️Sends all changes in the edit fields, quick notes fields, " + + "and attachments, and then reloads the page.", labelSubmitAll: "Submit all", - labelSubmitQuickCommentWithAttachments: - "Submit quick comment with attachments", - titleSubmitComment: "Note: Attachments are sent at the same time", + labelSubmitQuickNotesWithAttachments: + "Submit quick notes with attachments", + titleSubmitNotes: "Note: Attachments are sent at the same time", confirmResetWidth: "Do you want to reset the width?", helpSideBySideMode: "Display the history column to the right of the issue description " + @@ -50,14 +50,14 @@ closeQuickNotes: "Close Quick notes", labelSwitchQuickNotesPosition: "Switch Quick notes position", messageFailedToSend: "Failed to send", - messageDisplayCommentFieldHere: "Display the comment field here", + messageDisplayNotesFieldHere: "Display the notes field here", messageQuickNotesWillBeClosed: "⚠️The quick notes will be closed", }, ja: { sideBySideMode: "左右に並べて表示", labelView: "表示", labelEdit: "編集", - labelAddQuickComment: "クイックコメントの追加", + labelAddQuickNotes: "クイックコメントの追加", labelCancel: "キャンセル", labelFixed: "固定", labelUnfixed: "固定解除", @@ -70,7 +70,7 @@ "⚠️編集欄、クイックコメント欄、添付ファイルの変更内容の全てを送信し、" + "ページを再読み込みします。", labelSubmitAll: "全てを送信", - labelSubmitQuickCommentWithAttachments: + labelSubmitQuickNotesWithAttachments: "クイックコメントと添付ファイルを送信", confirmResetWidth: "幅をリセットしますか?", helpSideBySideMode: "履歴欄をチケット説明欄の右隣に表示します。", @@ -78,7 +78,7 @@ closeQuickNotes: "クイックコメントを閉じる", labelSwitchQuickNotesPosition: "クイックコメントの位置を切り替え", messageFailedToSend: "送信に失敗しました", - messageDisplayCommentFieldHere: "コメント欄をここに表示する", + messageDisplayNotesFieldHere: "コメント欄をここに表示する", messageQuickNotesWillBeClosed: "⚠️クイックコメント欄は閉じられます", }, }; @@ -306,7 +306,7 @@ .attr("id", "quick_notes2-open-button") .text(resources.labelQuickNotes) .appendTo($quickNotes2Buttons) - .on("click", enableInlineComment); + .on("click", enableInlineNotes); const $buttonCloseQuickNotes = $("