feat(string extraction): add attribute download-button-text

This commit is contained in:
ShareVB committed 2026-01-03 23:54:34 +01:00
1 parent 6c862d6a33
commit 12c821fafa
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ function processVueComponent(filePath, toolName) {
if (filePath.endsWith('.vue')) {
// Regex to find label or placeholder attributes
regex = /(?<!:)((?:[a-z]+-)?(?:label|placeholder|title))="([^"]+)"/g;
regex = /(?<!:)((?:[a-z]+-)?(?:label|placeholder|title|download-button-text))="([^"]+)"/g;
content = content.replace(regex, (match, attr, text) => {
if (!text?.trim()) {
return match;