diff options
author | Teddy Wing | 2017-11-19 19:41:25 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-19 19:41:25 +0100 |
commit | 75c7b2391ef32fab00477a24c259f3772fcc57f5 (patch) | |
tree | d2e49a8bb8238beb54e83a9a1d35173ab550e0cf /src/I18n.hs | |
parent | 6961ef49cbcb88e4f3466a5852a4cf90d95a587a (diff) | |
download | sorbot-75c7b2391ef32fab00477a24c259f3772fcc57f5.tar.bz2 |
Check that translation and the `ReaderT` really do work by changing
localisation of the STDOUT "help" output from `EN` to `FR`.
To actually test this, add a french translation of the `GitHubCommit`
plugin description. This string is successfully output by the "help"
plugin.
Diffstat (limited to 'src/I18n.hs')
-rw-r--r-- | src/I18n.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/I18n.hs b/src/I18n.hs index e587648..884d459 100644 --- a/src/I18n.hs +++ b/src/I18n.hs @@ -24,8 +24,8 @@ translate_en_US (GitRemoteSetOriginUpdatedRepoURL url) = "I updated the channel's repo URL to '" `T.append` url `T.append` "'." translate_fr_FR :: Message -> T.Text --- TODO: translate -translate_fr_FR GitHubCommitDescription = "Generate a commit URL based on the given SHA." +translate_fr_FR GitHubCommitDescription = "Générer un URL de commit à partir \ + \d'un SHA." 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) = |