mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-02 20:22:08 +00:00
[i18n] g global namespace (#1843)
* Batch move global scope i18n to g. namespace * Minor fix * Update locale * Update locales [skip ci] * More moves * Regroup icon/color * nit * Fix component test --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
class="workflows-search-box p-2 2xl:p-4"
|
||||
v-model:modelValue="searchQuery"
|
||||
@search="handleSearch"
|
||||
:placeholder="$t('searchWorkflows') + '...'"
|
||||
:placeholder="$t('g.searchWorkflows') + '...'"
|
||||
/>
|
||||
</template>
|
||||
<template #body>
|
||||
@@ -116,8 +116,8 @@
|
||||
<NoResultsPlaceholder
|
||||
v-else
|
||||
icon="pi pi-folder"
|
||||
:title="$t('empty')"
|
||||
:message="$t('noWorkflowsFound')"
|
||||
:title="$t('g.empty')"
|
||||
:message="$t('g.noWorkflowsFound')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -278,7 +278,7 @@ const renderTreeNode = (
|
||||
contextMenuItems: (node: TreeExplorerNode<ComfyWorkflow>) => {
|
||||
return [
|
||||
{
|
||||
label: t('insert'),
|
||||
label: t('g.insert'),
|
||||
icon: 'pi pi-file-export',
|
||||
command: () => {
|
||||
const workflow = node.data
|
||||
|
||||
Reference in New Issue
Block a user