aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Model')
-rw-r--r--src/server/Model/Message.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/Model/Message.hs b/src/server/Model/Message.hs
index 12893b8..f647ce2 100644
--- a/src/server/Model/Message.hs
+++ b/src/server/Model/Message.hs
@@ -1,6 +1,6 @@
module Model.Message
( getMessage
- , getVarMessage
+ , getParamMessage
, getTranslations
) where
@@ -16,10 +16,10 @@ import Model.Json.Translations
import Model.Json.Translation
getMessage :: Key -> Text
-getMessage = getVarMessage []
+getMessage = getParamMessage []
-getVarMessage :: [Text] -> Key -> Text
-getVarMessage values key = replaceParts values (getNonFormattedMessage lang key)
+getParamMessage :: [Text] -> Key -> Text
+getParamMessage values key = replaceParts values (getNonFormattedMessage lang key)
getTranslations :: Translations
getTranslations = Translations (map getTranslation [minBound..])