Make save and saving messages translatable in subscriptions items panel

This commit is contained in:
luisramos0
2019-06-04 20:39:32 +01:00
parent eb42e81afc
commit cfcf73b6a1
3 changed files with 10 additions and 6 deletions

View File

@@ -5,11 +5,11 @@
= render 'products'
%a.button.update.fullwidth{ ng: { class: "{disabled: saved() && !saving, saving: saving}", click: "save()" } }
%span{ ng: {hide: "saved() || saving" } }
SAVE
= t('.save')
%i.icon-save
%span{ ng: {show: "saved() && !saving" } }
SAVED
= t('.saved')
%i.icon-ok-sign
%span{ ng: {show: "saving" } }
SAVING
= t('.saving')
%i.icon-refresh