Add space after translation so that translators dont have to guess a space is needed after the translation

This commit is contained in:
Luis Ramos
2020-06-30 15:28:59 +01:00
parent 819af03239
commit 63934b7863
2 changed files with 2 additions and 2 deletions

View File

@@ -12,4 +12,4 @@ Darkswarm.filter "sensible_timeframe", (date_in_wordsFilter)->
if moment().add(2, 'days') < moment(date, dateFormat)
t 'orders_open'
else
t('closing') + date_in_wordsFilter(date)
t('closing') + ' ' + date_in_wordsFilter(date)

View File

@@ -20,7 +20,7 @@ module Spree
@user = user
I18n.with_locale valid_locale(@user) do
mail(to: user.email, from: from_address,
subject: t(:welcome_to) + Spree::Config[:site_name])
subject: t(:welcome_to) + ' ' + Spree::Config[:site_name])
end
end