Server messages localization using Qt's l10n subsystem:
- Strings to localize are marked with loc function in server sources
- CMake finds loc calls and generates C++ header containing array of strings marked
- lupdate
- ...
- PROFIT!
{-# LANGUAGE OverloadedStrings #-}
module Consts where
import qualified Data.ByteString.Char8 as B
serverVersion :: B.ByteString
serverVersion = "1"