Messages
Every message_key, its default copy in English and Swahili, and when it occurs.
Note:
A key your code does not know
New keys can be added to v1. Every reply that carries
message_key also carries message: the copy, already in the request's language, with the campaign's own wording. For a key you have no screen for, show message.Branch on message_key, never on the text: a campaign can replace the copy for any key. The whole catalogue for a campaign, in one language, is messages on GET /api/v1/campaign. Send Accept-Language: sw (or ?locale=sw) for Swahili.
The catalogue
| message_key | English | Swahili | When |
|---|---|---|---|
entered | You're in. Good luck! | Umeingia. Kila la heri! | The code is good and the campaign needs nothing else (accepted)The code is good and TRA's record of the receipt passes every rule (accepted, verified) |
instant_win | You've won an instant prize! | Umeshinda zawadi ya papo hapo! | The code is good and carries an instant prize (accepted) |
invalid | That code isn't valid. Check it and try again. | Namba hiyo si sahihi. Ikague kisha ujaribu tena. | The code is not recognised (rejected) |
code_required | Scan the code in store to enter. | Skani namba iliyopo dukani ili kushiriki. | The campaign needs an in-store code and none was sent (rejected) |
already_used | That code has already been used. | Namba hiyo imeshatumika. | The code was already used by an entry that counted (rejected) |
daily_limit | You've reached today's limit. Try again tomorrow. | Umefikia kikomo cha leo. Jaribu tena kesho. | The phone has reached the campaign's daily limit (rejected) |
blocked | This number can't enter right now. | Namba hii haiwezi kushiriki kwa sasa. | The phone is blocked from entering (rejected) |
checking | We're checking your entry. You can close this page; we'll have the result shortly. | Tunakagua ushiriki wako. Unaweza kufunga ukurasa huu; matokeo yatapatikana punde. | The code is being checked and has not settled yet (pending)The upstream did not answer, or answered with something unrecognised (unknown)The receipt submission is recorded and its one TRA lookup is running (pending, under_review) |
receipt_received | Receipt received. We're checking it with TRA. You can close this page and check your entries later. | Risiti imepokelewa. Tunaikagua na TRA. Unaweza kufunga ukurasa huu na kuangalia ushiriki wako baadaye. | The receipt is recorded and waiting for TRA, or for a person (pending, under_review) |
receipt_unreadable | We couldn't read the QR code on that photo. Type the receipt code and time instead, or we'll review it by hand. | Hatukuweza kusoma QR kwenye picha hiyo. Andika namba ya risiti na muda, au tutaikagua wenyewe. | The QR code on the receipt photo could not be read (pending, under_review) |
receipt_not_uploaded | The receipt photo didn't arrive. Please upload it again. | Picha ya risiti haikufika. Tafadhali ipakie tena. | Show when the API answers 422 receipt_not_uploaded (not sent on a submission) |
receipt_wrong_store | That receipt isn't from a participating store. | Risiti hiyo haitoki kwenye duka linaloshiriki. | The receipt is not from a participating store (rejected, declined) |
receipt_outside_window | That receipt is dated outside the promotion. | Tarehe ya risiti hiyo iko nje ya kipindi cha promosheni. | The receipt is dated outside the promotion (rejected, declined) |
receipt_no_qualifying_product | We couldn't find a participating product on that receipt. | Hatukupata bidhaa inayoshiriki kwenye risiti hiyo. | No participating product is on the receipt (rejected, declined) |
receipt_already_used | That receipt has already been entered. | Risiti hiyo imeshatumika kushiriki. | The receipt has already been entered (rejected, declined) |
receipt_not_found | We couldn't find that receipt with TRA. Check the code and time, or upload a clearer photo. | Hatukuipata risiti hiyo TRA. Kagua namba na muda, au pakia picha iliyo wazi zaidi. | TRA has no receipt with that code (rejected, declined) |
receipt_time_mismatch | The time doesn't match TRA's record. Check the time printed on the receipt and try again. | Muda haulingani na kumbukumbu za TRA. Kagua muda uliochapishwa kwenye risiti kisha ujaribu tena. | The typed time does not match TRA's record (rejected, declined) |
entry_limit | This number has reached the entry limit for this promotion. | Namba hii imefikia kikomo cha ushiriki kwenye promosheni hii. | The phone has reached the campaign's total limit (rejected)The phone's entries from receipts have reached the campaign's cap (rejected, declined) |
code_held | That code is attached to an entry that's still being checked. | Namba hiyo inatumika kwenye ushiriki unaoendelea kukaguliwa. | The code is attached to another entry that is still being checked (rejected) |
campaign_not_started | The promotion hasn't started yet. | Promosheni bado haijaanza. | The campaign's window has not opened (rejected) |
campaign_ended | The promotion has ended. | Promosheni imekwisha. | The campaign's window has closed (rejected) |
campaign_paused | Entries are paused for a moment. Please try again later. | Ushiriki umesitishwa kwa muda. Tafadhali jaribu tena baadaye. | The campaign is paused (rejected) |
rate_limited | Too many tries. Please wait a little and try again. | Umejaribu mara nyingi. Tafadhali subiri kidogo kisha ujaribu tena. | Show when the API answers 429 (not sent on a submission) |
service_unavailable | We can't take entries right now. Please try again shortly. | Hatuwezi kupokea ushiriki kwa sasa. Tafadhali jaribu tena punde. | Show when the API cannot be reached or answers 5xx after the client's retries (not sent on a submission) |
file_too_large | That photo is too large. Please take it again. | Picha hiyo ni kubwa mno. Tafadhali piga tena. | Show when the chosen photo is over the limit, or the API answers 413 (not sent on a submission) |
file_wrong_type | That file isn't a photo we can read. Use JPEG, PNG or WebP. | Faili hilo si picha tunayoweza kusoma. Tumia JPEG, PNG au WebP. | Show when the chosen file is not a JPEG, PNG or WebP, or the API answers 415 (not sent on a submission) |