Skip to content

Commit

Permalink
Merge pull request #341 from weni-ai/feat/update-switch-label
Browse files Browse the repository at this point in the history
Feat: Update switch label
  • Loading branch information
paulobernardoaf authored Oct 30, 2023
2 parents 23e2e61 + 641be4a commit 44b6506
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions src/components/whatsAppCatalogs/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
size="small"
:textRight="
catalog.is_connected
? $t('WhatsApp.catalog.list.actions.enabled_catalog')
: $t('WhatsApp.catalog.list.actions.disabled_catalog')
? $t('WhatsApp.catalog.list.actions.active_catalog')
: $t('WhatsApp.catalog.list.actions.inactive_catalog')
"
@input="toggleCatalogConnect($event)"
/>
Expand All @@ -36,8 +36,8 @@
size="small"
:textRight="
enabledCart
? $t('WhatsApp.catalog.list.actions.enabled_cart')
: $t('WhatsApp.catalog.list.actions.disabled_cart')
? $t('WhatsApp.catalog.list.actions.active_cart')
: $t('WhatsApp.catalog.list.actions.inactive_cart')
"
@click.native="toggleCart()"
/>
Expand Down
8 changes: 4 additions & 4 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@
"advanced_settings": "Advanced Settings",
"identification": "Identification",
"actions": {
"enabled_cart": "Cart enabled",
"disabled_cart": "Cart disabled",
"enabled_catalog": "Catalog enabled",
"disabled_catalog": "Disabled"
"active_cart": "Active cart",
"inactive_cart": "Inactive cart",
"active_catalog": "Active catalog",
"inactive_catalog": "Inactive"
},
"disable_modal": {
"title": "Are you really going to disable the catalogue?",
Expand Down
8 changes: 4 additions & 4 deletions src/locales/es_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@
"advanced_settings": "Configuraciones avanzadas",
"identification": "Identificación",
"actions": {
"enabled_cart": "Carrito habilitado",
"disabled_cart": "Carrito inhabilitado",
"enabled_catalog": "Catálogo habilitado",
"disabled_catalog": "Desactivado"
"active_cart": "Carrito activo",
"inactive_cart": "Carrito inactivo",
"active_catalog": "Catálogo activo",
"inactive_catalog": "Inactivo"
},
"disable_modal": {
"title": "¿De verdad vas a desactivar el catálogo?",
Expand Down
10 changes: 5 additions & 5 deletions src/locales/pt_br.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,13 +476,13 @@
"advanced_settings": "Configurações avançadas",
"identification": "Identificação",
"actions": {
"enabled_cart": "Carrinho habilitado",
"disabled_cart": "Carrinho desabilitado",
"enabled_catalog": "Catálogo habilitado",
"disabled_catalog": "Desabilitado"
"active_cart": "Carrinho ativo",
"inactive_cart": "Carrinho inativo",
"active_catalog": "Catálogo ativo",
"inactive_catalog": "Inativo"
},
"disable_modal": {
"title": "Vai mesmo desabilitar o catálogo?",
"title": "Vai mesmo desativar o catálogo?",
"description": "Para continuar enviando seus produtos no Whatsapp você precisa de um catálogo ativo.",
"label": "Digite “{name}” para confirmar",
"confirm": "Desabilitar"
Expand Down

0 comments on commit 44b6506

Please sign in to comment.