Changed translation syntax to normal t() call and lazy lookup.

This commit is contained in:
Robin Klaus
2020-05-26 15:14:26 +10:00
parent 53c0bcbd0b
commit 50a63139e3
2 changed files with 2 additions and 1 deletions

View File

@@ -57,7 +57,7 @@
<button class="add_variant no-text icon-plus icon_link with-tip" data-stock-location-id="{{variant.stock_location_id}}" title="Add" data-action="add"></button>
</td>
{{else}}
<td><%= t('admin.subscriptions.stock.out_of_stock') %></td>
<td><%= t('.out_of_stock') %></td>
<td>0</td>
{{/if}}
</tr>

View File

@@ -3368,6 +3368,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
display_as_placeholder: 'eg. 2 kg'
display_name_placeholder: 'eg. Tomatoes'
autocomplete:
out_of_stock: "Out of Stock"
producer_name: "Producer"
unit: "Unit"
shared: