aboutsummaryrefslogtreecommitdiffstats
path: root/src/I18n.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/I18n.hs')
-rw-r--r--src/I18n.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/I18n.hs b/src/I18n.hs
index e50ba5b..f7a4571 100644
--- a/src/I18n.hs
+++ b/src/I18n.hs
@@ -21,5 +21,13 @@ translate_en_US GitHubCommitRepoURLNotFound = "I couldn't find a repo URL for \
translate_en_US (GitRemoteSetOriginUpdatedRepoURL url) =
"I updated the channel's repo URL to '" `T.append` url `T.append` "'."
+translate_fr_FR :: Message -> T.Text
+translate_fr_FR GitHubCommitRepoURLNotFound = "Je n'ai pas trouvé une URL de \
+ \repo pour ce channel. Essaye `git remote set origin REPO_URL`."
+translate_fr_FR (GitRemoteSetOriginUpdatedRepoURL url) =
+ "J'ai mis à jour l'URL de repo pour ce channel ("
+ `T.append` url `T.append` ")."
+
translate :: Locale -> Message -> T.Text
translate EN = translate_en_US
+translate FR = translate_fr_FR