Browse Source

fix price format for cases where cents < 10

tags/v0.5.2
Jonathan Cobb 5 years ago
parent
commit
2782e6da27
1 changed files with 1 additions and 1 deletions
  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 View File

@@ -138,7 +138,7 @@ price_period_monthly_name=monthly
price_period_monthly_unit=month price_period_monthly_unit=month
price_period_yearly_name=annually price_period_yearly_name=annually
price_period_yearly_unit=year 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 # Token errors
err.approvalToken.invalid=Code is incorrect or no longer valid err.approvalToken.invalid=Code is incorrect or no longer valid


Loading…
Cancel
Save