tests/wamp/.crossbar/config.json
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 28 Nov 2016 16:47:01 +0300
changeset 1581 2295fdc5c271
parent 1440 e8daabf2c438
child 1895 876ce4e492a1
permissions -rw-r--r--
fix translation strings with multiple parameters


this fixes a lot of warnings given by msgmerge:

../PLCOpenEditor.py:196: warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,

{
   "controller": {
   },
   "workers": [
      {
         "type": "router",
         "options": {
            "pythonpath": [".."]
         },
         "realms": [
            {
               "name": "Automation",
               "roles": [
                  {
                     "name": "anonymous",
                     "permissions": [
                        {
                           "uri": "*",
                           "publish": true,
                           "subscribe": true,
                           "call": true,
                           "register": true
                        }
                     ]
                  }
               ]
            }
         ],
         "transports": [
            {
               "type": "websocket",
               "endpoint": {
                  "type": "tcp",
                  "port": 8888
               },
               "url": "ws://127.0.0.1:8888/",
               "serializers" : ["msgpack"]
            }
         ]
      }
   ]
}