Просмотр исходного кода

fix price format for cases where cents < 10

tags/v0.5.2
Jonathan Cobb 5 лет назад
Родитель
Сommit
2782e6da27
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      bubble-server/src/main/resources/message_templates/en_US/server/pre_auth/ResourceMessages.properties

+ 1
- 1
bubble-server/src/main/resources/message_templates/en_US/server/pre_auth/ResourceMessages.properties Просмотреть файл

@@ -138,7 +138,7 @@ price_period_monthly_name=monthly
price_period_monthly_unit=month
price_period_yearly_name=annually
price_period_yearly_unit=year
price_format=${{priceMajorUnits}}{{priceMinorUnits === 0 ? '' : '.'+priceMinorUnits}} {{messages['price_period_'+period+'_name']}}
price_format=${{priceMajorUnits}}{{priceMinorUnits === 0 ? '' : priceMinorUnits < 10 ? '.0'+priceMinorUnits : '.'+priceMinorUnits}} {{messages['price_period_'+period+'_name']}}

# Token errors
err.approvalToken.invalid=Code is incorrect or no longer valid


Загрузка…
Отмена
Сохранить