You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixing(commitlint): add translation parameter to consistency prompt function
Add a translation parameter to the GEN_COMMITLINT_CONSISTENCY_PROMPT function to
support localization of commit messages. This change enhances the flexibility of
the commitlint integration by allowing prompts to be generated in different languages,
improving usability for non-English speakers.
content: `${IDENTITY} Your mission is to create clean and comprehensive commit messages for two different changes in a single codebase and output them in the provided JSON format: one for a bug fix and another for a new feature.
222
223
224
+
IMPORTANT: You MUST write all commit messages and descriptions in ${
225
+
translation.localLanguage
226
+
}. Use the exact language and style shown in the example below.
227
+
223
228
Here are the specific requirements and conventions that should be strictly followed:
224
229
225
230
Commit Message Conventions:
@@ -247,9 +252,22 @@ JSON Output Format:
247
252
- The "commitDescription" should not include the commit message's header, only the description.
248
253
- Description should not be more than 74 characters.
249
254
255
+
Reference Example (you MUST follow this language and style):
0 commit comments