Merge pull request #5483 from rmklaus12/5281-missing-translation-ordercreation

Changed translation syntax to normal t() call and lazy lookup.
This commit is contained in:
Luis Ramos
2020-06-10 23:00:44 +01:00
committed by GitHub
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><%= Spree.t(:out_of_stock) %></td>
<td><%= t('.out_of_stock') %></td>
<td>0</td>
{{/if}}
</tr>

View File

@@ -3415,6 +3415,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: