Add translations for OmniPrice module in French and Italian, and update upgrade scripts

- Added French translations for the OmniPrice module (fr.php).
- Added Italian translations for the OmniPrice module (it.php).
- Created empty Dutch translation file (nl.php).
- Implemented upgrade script for version 1.1.11 to update configuration for showing real discount.
- Implemented upgrade script for version 1.2.0 to update configuration for indexing inactive products.
- Implemented upgrade script for version 1.2.3 to update configuration for ignoring non-EU countries.
This commit is contained in:
2025-10-28 19:50:04 +01:00
parent aab78c71e3
commit daf1c60209
146 changed files with 3468 additions and 1886 deletions

View File

@@ -1,4 +1,7 @@
<span class="gm_omniprice" style="color:{$gm_omniprice_color}; background-color: {$gm_omniprice_background};">
{l s='Lowest price within %d days before promotion:' sprintf=[$gm_omniprice_days] mod='gm_omniprice'}
<span class="gm_omniprice_lowest" style="color:{$gm_omniprice_price_color};">{$gm_omniprice_lowest}</span>
{if $gm_omniprice_show_real_discount && $gm_omniprice_real_discount}
<span class="gm_omniprice_real_discount">({$gm_omniprice_real_discount})</span>
{/if}
</span>

View File

@@ -6,14 +6,14 @@
<tr>
<th class="fixed-width-md"><span class="title_box">{l s='Date' mod='gm_omniprice'}</span></th>
<th class="fixed-width-md"><span class="title_box">{l s='Price' mod='gm_omniprice'}</span></th>
<th class="fixed-width-md"><span class="title_box">{l s='Promotion' mod='gm_omniprice'}</span></th>
<th class="fixed-width-md"><span class="title_box">{l s='Price type' mod='gm_omniprice'}</span></th>
</tr>
</thead>
{foreach from=$historyData item=historyItem}
<tr>
<td>{$historyItem.date}</td>
<td>{$historyItem.price_tin}</td>
<td>{if $historyItem.is_specific_price == '1'}{l s='Yes' mod='gm_omniprice'}{/if}{if $historyItem.is_specific_price == '0'}{l s='No' mod='gm_omniprice'}{/if}</td>
<td>{$historyItem.type}</td>
</tr>
{/foreach}
</table>