Skip to content

Add positional arguments to all messages

Vitalii Fisenko requested to merge vitalii/errors_reform into master

Exapmle

{
    "message": {
        "en_US": "Bid should be from 100.01 eurocent",
        "uk_UA": "Ставка має бути від 100.01 eurocent"
    },
    "payload": {
        "mag_id": "BID_SHOULD_BE_FROM",
        "message": {
            "uk_UA": "Ставка має бути від {amount} {currency_ua}",
            "en_US": "Bid should be from {amount} {currency_en}"
        },
        "amount": "1.00",
        "currency_ua": "eurocent",
        "currency_en": "eurocent",
        "date": null,
        "ex": null,
        "id": null
    }
}
Edited by Vitalii Fisenko

Merge request reports