Skip to content

Commit

Permalink
[FIX] small changes, related to #10
Browse files Browse the repository at this point in the history
  • Loading branch information
SamBrishes committed Jan 24, 2024
1 parent 6fe8521 commit 0d304be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions controllers/currencies/config_form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ modelClass: OFFLINE\Mall\Models\Currency
form: $/offline/mall/models/currency/fields.yaml
defaultRedirect: offline/mall/currencies
create:
title: offline.mall::lang.titles.currencies.create
redirect: 'offline/mall/currencies/update/:id'
redirectClose: offline/mall/currencies
update:
title: offline.mall::lang.titles.currencies.update
redirect: offline/mall/currencies
redirectClose: offline/mall/currencies
preview: { }
4 changes: 4 additions & 0 deletions lang/de/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
'create' => 'Review erstellen',
'update' => 'Review bearbeiten',
],
'currencies' => [
'create' => 'Währung erstellen',
'update' => 'Währung bearbeiten',
]
],
'menu_items' => [
'all_categories' => 'Alle Shop-Kategorien',
Expand Down
4 changes: 4 additions & 0 deletions lang/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
'create' => 'Create review',
'update' => 'Edit review',
],
'currencies' => [
'create' => 'New Currency',
'update' => 'Update Currency',
]
],
'menu_items' => [
'all_categories' => 'All shop categories',
Expand Down
2 changes: 1 addition & 1 deletion models/currency/_help.htm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="callout offline-callout fade in callout-info">
<div class="header d-flex align-items-center py-3 collapsed" data-bs-toggle="collapse" href="#currenyFormatHelp" role="button" aria-expanded="false" aria-controls="currenyFormatHelp">
<i class="icon-info"></i>
<p class="py-0 my-0 ml-3 ms-3">
<p class="py-0 my-0" style="margin-left: 0.6175rem;">
<b><?= trans('offline.mall::lang.currency_settings.help_title') ?></b>
</p>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left ml-auto ms-auto"> <path d="m15 18-6-6 6-6"/>
Expand Down

0 comments on commit 0d304be

Please sign in to comment.