generated from boboko/starter
Feat: Updating entrypoint and missing lunar translations!
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* lunarphp/table-rate-shipping v1.5.0 ships no Greek translations for this
|
||||
* namespace at all (only 'en' and a handful of other locales — no 'el'
|
||||
* directory exists in the package), so this override is the only source
|
||||
* for these keys in Greek, not a merge over an existing package file.
|
||||
* ManageShippingRates.php:58 calls the 'prices_inc_tax' key specifically
|
||||
* (missing the 'l' the package's own English file uses — see the 'en'
|
||||
* override's docblock), so that's the one included here.
|
||||
*/
|
||||
return [
|
||||
'shipping_rates' => [
|
||||
'notices' => [
|
||||
'prices_inc_tax' => 'Όλες οι τιμές περιλαμβάνουν ΦΠΑ, το οποίο θα ληφθεί υπόψη στον υπολογισμό της ελάχιστης αξίας παραγγελίας.',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Override for lunarphp/table-rate-shipping v1.5.0's own relationmanagers.php
|
||||
* (vendor/lunarphp/table-rate-shipping/resources/lang/en/relationmanagers.php)
|
||||
* — that file defines 'prices_incl_tax', but ManageShippingRates.php:58 calls
|
||||
* __('lunarpanel.shipping::relationmanagers.shipping_rates.notices.prices_inc_tax')
|
||||
* (missing the 'l'), so the key is genuinely never found. Merged over the
|
||||
* package's own file (array_replace_recursive, see Illuminate\Translation\
|
||||
* FileLoader::loadNamespaceOverrides()), so only the broken key needs
|
||||
* restating here — everything else in that file still applies.
|
||||
*/
|
||||
return [
|
||||
'shipping_rates' => [
|
||||
'notices' => [
|
||||
'prices_inc_tax' => 'All prices include tax, which will be considered when calculating minimum spend.',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user