mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
Lint: Adding more checks for non internationalized strings (#5625)
## Summary Catch more user visible (or audible) text that isn't internationalizable. ## Changes - **What**: Linter now checks other attributes for raw text. ## Review Focus What other properties have leaked English text to non-English locales that aren't in here?
This commit is contained in:
@@ -49,7 +49,13 @@
|
||||
size="small"
|
||||
class="font-bold"
|
||||
severity="secondary"
|
||||
:aria-label="progressDialogContent.isExpanded ? 'Collapse' : 'Expand'"
|
||||
:aria-label="
|
||||
$t(
|
||||
progressDialogContent.isExpanded
|
||||
? 'contextMenu.Collapse'
|
||||
: 'contextMenu.Expand'
|
||||
)
|
||||
"
|
||||
@click.stop="progressDialogContent.toggle"
|
||||
/>
|
||||
<Button
|
||||
@@ -59,7 +65,7 @@
|
||||
size="small"
|
||||
class="font-bold"
|
||||
severity="secondary"
|
||||
aria-label="Close"
|
||||
:aria-label="$t('g.close')"
|
||||
@click.stop="closeDialog"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user