Skip to content

Commit

Permalink
Extract common index pages translations to the super component
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Dec 29, 2023
1 parent 014150a commit afc8e8c
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 75 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
en:
add: 'Add new'
"yes": "Yes"
"no": "No"
status:
Expand All @@ -11,5 +10,3 @@ en:
admin: Admin
storefront: Storefront
all: All
batch_actions:
delete: 'Delete'
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
en:
image: 'Image'
add: 'Add new'
batch_actions:
delete: 'Delete'
discontinue: 'Discontinue'
activate: 'Activate'
filters:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
en:
promotion_image: 'Image'
add: 'Add new'
batch_actions:
delete: 'Delete'
scopes:
active: Active
draft: Draft
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
en:
active: 'Active'
inactive: 'Inactive'
add: 'Add new'
batch_actions:
delete: 'Delete'

This file was deleted.

4 changes: 0 additions & 4 deletions admin/app/components/solidus_admin/stores/index/component.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def columns
header: :is_default,
data: ->(tax_category) {
if tax_category.is_default?
component('ui/badge').new(name: t('.yes'), color: :green)
component('ui/badge').yes
else
component('ui/badge').new(name: t('.no'), color: :graphite_light)
component('ui/badge').no
end
},
},
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions admin/app/components/solidus_admin/users/index/component.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
en:
promotion_image: 'Image'
add: 'Add new'
batch_actions:
delete: 'Delete'
discontinue: 'Discontinue'
activate: 'Activate'
filters:
Expand Down
4 changes: 0 additions & 4 deletions admin/app/components/solidus_admin/zones/index/component.yml

This file was deleted.

0 comments on commit afc8e8c

Please sign in to comment.