Phyks (Lucas Verney)
40f6223bd0
* Keep track of pagination in the store * Use Immutable in reducers * Finish i18n, every available strings are now translated in English and French * Add a loading indicator * Premises of API error handling * Better locale negotiation
20 lines
501 B
JavaScript
20 lines
501 B
JavaScript
const messages = [
|
|
{
|
|
id: "app.api.invalidResponse",
|
|
defaultMessage: "Invalid response text.",
|
|
description: "Invalid response from the API"
|
|
},
|
|
{
|
|
id: "app.api.emptyResponse",
|
|
defaultMessage: "Empty response text.",
|
|
description: "Empty response from the API"
|
|
},
|
|
{
|
|
id: "app.api.error",
|
|
defaultMessage: "Unknown API error.",
|
|
description: "An unknown error occurred from the API"
|
|
}
|
|
];
|
|
|
|
export default messages;
|