Bläddra i källkod

fix price format for cases where cents < 10

tags/v0.5.2
Jonathan Cobb 5 år sedan
förälder
incheckning
2782e6da27
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 Visa fil

@@ -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


Laddar…
Avbryt
Spara