Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "or import from CSV" from the label in the admin panel - SP-72 #265

Merged
merged 2 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/views/spree/admin/dashboard/_getting_started.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<% else %>
<p>
<%= Spree.t('admin.gettting_started.products_section.message_without_products') %>
<%= link_to(Spree.t('admin.gettting_started.products_section.import_message'), 'https://api.spreecommerce.org/docs/api-v2/27527143a4edf-create-a-product') %>
</p>
<%= link_to_with_icon 'add.svg', Spree.t('admin.gettting_started.add_products'), spree.admin_products_path, class: 'btn btn-success btn-sm mb-2' %>
<% end %>
Expand Down
3 changes: 2 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ en:
setup_taxes_calculation: Setup tax calculation
products_section:
message_with_products_html: You have added <strong> %{count} products</strong> so far - good job!</p>
message_without_products: You can add products manually through API or import from a CSV file.
message_without_products: You can add products manually or
import_message: import them via the API.
shipping_section:
message_with_shipping: You have setup shipping for
message_without_shipping: You can add multiple shipping methods, different for each country, continent or region.
Expand Down
Loading