# Path: applications/locale.py
# def get_translation(settings_dir=None):
#     return gettext_lazy
# 
# Path: applications/utils.py
# def render_string(template_name, **kwargs):
#     with io.open(template_name, mode='r',encoding='UTF-8') as f:
#         html = f.read()
#     template_strings = Template(html)
#     return template_strings.render(context=Context(dict_=kwargs))   


import os
import io
from applications.locale import get_translation
from applications.utils import render_string
    from datetime import datetime
# -*- coding: utf-8 -*-
#
#       Copyright 2011 Liftoff Software Corporation
#

__doc__ = """\
playback.py - A plugin for Gate One that adds support for saving and playing
back session recordings.

.. note:: Yes this only contains one function and it is exposed to clients through a WebSocket hook.

Hooks
-----
This Python plugin file implements the following hooks::

    hooks = {
        'WebSocket': {
            'playback_save_recording': save_recording,
        }
    }

Docstrings

# Path: applications/locale.py
# def get_translation(settings_dir=None):
#     return gettext_lazy
# 
# Path: applications/utils.py
# def render_string(template_name, **kwargs):
#     with io.open(template_name, mode='r',encoding='UTF-8') as f:
#         html = f.read()
#     template_strings = Template(html)
#     return template_strings.render(context=Context(dict_=kwargs))   


# Path: applications/plugins/playback/playback.py
import os
import io
from applications.locale import get_translation
from applications.utils import render_string
    from datetime import datetime

# -*- coding: utf-8 -*-
#
#       Copyright 2011 Liftoff Software Corporation
#

__doc__ = """\
playback.py - A plugin for Gate One that adds support for saving and playing
back session recordings.

.. note:: Yes this only contains one function and it is exposed to clients through a WebSocket hook.

Hooks
-----
This Python plugin file implements the following hooks::

    hooks = {
        'WebSocket': {
            'playback_save_recording': save_recording,
        }
    }

Docstrings

----------