Skip to content

Commit

Permalink
feat: add geolocation message translations (#343)
Browse files Browse the repository at this point in the history
* feat: add geolocation message translations

* refactor: apply pr requested changes
  • Loading branch information
pyphilia authored Jan 29, 2024
1 parent 57b29be commit 7f12dd5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export const SUCCESS_MESSAGES = {

POST_PROFILE: 'POST_PROFILE',
PATCH_PROFILE: 'PATCH_PROFILE',

PUT_ITEM_GEOLOCATION: 'PUT_ITEM_GEOLOCATION',
DELETE_ITEM_GEOLOCATION: 'DELETE_ITEM_GEOLOCATION',
};

export const REQUEST_MESSAGES = {
Expand Down
5 changes: 4 additions & 1 deletion src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,8 @@
"SHORT_LINK_LIMIT_EXCEED": "You can't have more than one short link per service.",

"POST_PROFILE": "Your profile has been saved successfully",
"PATCH_PROFILE": "Your profile has been saved successfully"
"PATCH_PROFILE": "Your profile has been saved successfully",

"PUT_ITEM_GEOLOCATION": "The geolocation has been saved successfully",
"DELETE_ITEM_GEOLOCATION": "The geolocation has been deleted successfully"
}
5 changes: 4 additions & 1 deletion src/langs/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,8 @@
"INVALID_CONTEXT": "Le contexte donné n'est pas valide.",
"SHORT_LINK_LIMIT_EXCEED": "Vous ne pouvez avoir qu'un seul lien court par service.",
"POST_PROFILE": "Votre profil a été crée avec succès",
"PATCH_PROFILE": "Votre profil a été enregistré avec succès"
"PATCH_PROFILE": "Votre profil a été enregistré avec succès",

"PUT_ITEM_GEOLOCATION": "La géolocalisation a été enregistrée avec succès",
"DELETE_ITEM_GEOLOCATION": "La géolocalisation a été supprimée avec succès"
}

0 comments on commit 7f12dd5

Please sign in to comment.