aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Msg.hs
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/Common/Msg.hs')
-rw-r--r--common/src/Common/Msg.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/src/Common/Msg.hs b/common/src/Common/Msg.hs
new file mode 100644
index 0000000..9e4cfe2
--- /dev/null
+++ b/common/src/Common/Msg.hs
@@ -0,0 +1,13 @@
+module Common.Msg
+ ( get
+ , Key(..)
+ ) where
+
+import Data.Text (Text)
+
+import Common.Message.Key (Key (..))
+import Common.Message.Lang (Lang (..))
+import qualified Common.Message.Translation as Translation
+
+get :: Key -> Text
+get = Translation.get French