Commit bccace1d authored by wanghuazhou's avatar wanghuazhou

refactor: 货币汇率翻译更新

parent b3b5aadc
......@@ -66,7 +66,7 @@ public interface CurrencyRateService {
LocalDate now = LocalDate.now();
if (now.isAfter(entity.getExpiration())) {
throw exception(CURRENCY_RATE_EXPIRED);
throw exception(CURRENCY_RATE_EXPIRED, String.valueOf(sourceId), String.valueOf(targetId));
}
return rate(entity.getSourceAmount(), entity.getTargetAmount());
......
......@@ -857,6 +857,10 @@ currency.rate.exists=currency rate exists
currency.rate.not.exists=currency rate not exists
currency.rate.disable=Currency {} Exchange rate for currency {} has expired, please reset
currency.rate.to.not.exists=Currency {} Exchange rate for currency {} not exists
currency.rate.too.small=currency rate too small
currency.rate.amount.invalid=currency amount must be greater than 0
currency.rate.countries.invalid=currency rate countries invalid
currency.rate.pair.invalid=currency rate parties must not be identical
not.find.dest.region=Destination information not found
dest.region.freight.currency.not.null=Destination [{}] cannot find freight related currency settings
......
......@@ -857,7 +857,10 @@ currency.rate.exists=Le taux de change existe
currency.rate.not.exists=Le taux de change introuvable
currency.rate.disable=Le taux de change de la devise {} vers {} est expir\u00E9, veuillez le r\u00E9initialiser
currency.rate.to.not.exists=Le taux de change de la devise {} vers {} est introuvable
currency.rate.too.small=Taux de change trop faible
currency.rate.amount.invalid=Le montant en devise doit être supérieur à 0
currency.rate.countries.invalid=Taux de change Pays Non valide
currency.rate.pair.invalid=Les parties du taux de change ne doivent pas être identiques
not.find.dest.region=Informations sur la destination introuvables
dest.region.freight.currency.not.null=Aucune configuration de devise pour les frais de transport \u00E0 la destination\u3010{}\u3011
dest.region.clearance.currency.not.null=Aucune configuration de devise pour les frais de d\u00E9douanement \u00E0 la destination\u3010{}\u3011
......
......@@ -594,6 +594,10 @@ currency.rate.exists=\u6C47\u7387\u5DF2\u5B58\u5728
currency.rate.not.exists=\u6C47\u7387\u4E0D\u5B58\u5728
currency.rate.disable=\u5E01\u79CD{}\u5BF9\u5E94\u5E01\u79CD{}\u6C47\u7387\u5DF2\u8FC7\u671F,\u8BF7\u91CD\u65B0\u8BBE\u7F6E
currency.rate.to.not.exists=\u5E01\u79CD{}\u5BF9\u5E94\u5E01\u79CD{}\u6C47\u7387\u4E0D\u5B58\u5728
currency.rate.too.small=\u6c47\u7387\u592a\u5c0f
currency.rate.amount.invalid=\u91d1\u989d\u5fc5\u987b\u5927\u5c0f\u0030
currency.rate.countries.invalid=\u56fd\u5bb6\u5217\u8868\u5fc5\u586b\u4e14\u4e3a\u6709\u6548\u503c
currency.rate.pair.invalid=\u6c47\u7387\u8d27\u5e01\u53cc\u65b9\u4e0d\u80fd\u76f8\u540c
product.price.not.exists=\u4EA7\u54C1\u4EF7\u683C\u4E0D\u5B58\u5728
shelf.not.exists=\u8D27\u67B6\u4E0D\u5B58\u5728
busi.pwd.not.exists=\u4E1A\u52A1\u5BC6\u7801\u4E0D\u5B58\u5728
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment