Skip to content

Commit 3e3d0fc

Browse files
author
Adrian Ortiz
committed
🐛 fix (prompt): usa locales para el nombre del idioma en el prompt
1 parent 9e2f961 commit 3e3d0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/commit-ai/prompt.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function M.default_prompt(diff, format_lines)
2020
"- <icon> <prefix> (<scope>): <commit message>",
2121
"",
2222
"Commit rules:",
23-
"0. Use " .. config.language .. " for commit messages.",
23+
"0. Use " .. locales[config.language] .. " for commit messages.",
2424
"1. Only use the above icons and prefixes.",
2525
"2. Use \"chore\" for configuration files (*.yml, *.json, *.env), CI/CD changes, build systems, or general non-code tasks.",
2626
"3. Use \"fix\" for bug fixes.",

0 commit comments

Comments
 (0)