Example #1
0
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guiqwt/__init__.py for details)
"""Scan this module to include new translatable strings
must be run from toplevel directory !
"""
from guidata.gettext_helpers import do_rescan

if __name__ == "__main__":
    do_rescan("guiqwt")
Example #2
0
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guidata/__init__.py for details)

"""
Scan this module to include new translatable strings
must be run from toplevel directory!
"""
from guidata.gettext_helpers import do_rescan

if __name__ == "__main__":
    do_rescan("guidata")
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Pierre Raybaut
# Licensed under the terms of the MIT License
# (see spyderlib/__init__.py for details)

# Generates the pot files in the openfisca_qt.locale directory
# Translation are to be in the languages directories by updating the .po files

try:
    from guidata.gettext_helpers import do_rescan, do_rescan_files
except ImportError:
    raise ImportError, "This script requires guidata >= v1.3.0."


if __name__ == "__main__":
    do_rescan("openfisca_qt")
#    do_rescan_files(["spyderplugins/p_pylint.py",
#                     "spyderplugins/widgets/pylintgui.py"],
#                     "p_pylint", "spyderplugins")
#    do_rescan_files(["spyderplugins/p_profiler.py",
#                     "spyderplugins/widgets/profilergui.py"],
#                     "p_profiler", "spyderplugins")
Example #4
0
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guiqwt/__init__.py for details)

"""Scan this module to include new translatable strings
must be run from toplevel directory !
"""
from guidata.gettext_helpers import do_rescan

if __name__ == "__main__":
    do_rescan("guiqwt")
Example #5
0
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see guidata/__init__.py for details)
"""
Scan this module to include new translatable strings
must be run from toplevel directory!
"""
from guidata.gettext_helpers import do_rescan

if __name__ == "__main__":
    do_rescan("guidata")
Example #6
0
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Pierre Raybaut
# Licensed under the terms of the MIT License
# (see spyderlib/__init__.py for details)

try:
    from guidata.gettext_helpers import do_rescan, do_rescan_files
except ImportError:
    raise ImportError("This script requires guidata >= v1.3.0.")

if __name__ == "__main__":
    do_rescan("spyderlib")
    do_rescan_files(
        ["spyderplugins/p_pylint.py", "spyderplugins/widgets/pylintgui.py"],
        "p_pylint", "spyderplugins")
    do_rescan_files([
        "spyderplugins/p_profiler.py", "spyderplugins/widgets/profilergui.py"
    ], "p_profiler", "spyderplugins")
    do_rescan_files([
        "spyderplugins/p_breakpoints.py",
        "spyderplugins/widgets/breakpointsgui.py"
    ], "p_breakpoints", "spyderplugins")
Example #7
0
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Pierre Raybaut
# Licensed under the terms of the MIT License
# (see spyderlib/__init__.py for details)

try:
    from guidata.gettext_helpers import do_rescan, do_rescan_files
except ImportError:
    raise ImportError("This script requires guidata >= v1.3.0.")

if __name__ == "__main__":
    do_rescan("spyderlib")
    do_rescan_files(["spyderplugins/p_pylint.py",
                     "spyderplugins/widgets/pylintgui.py"],
                     "p_pylint", "spyderplugins")
    do_rescan_files(["spyderplugins/p_profiler.py",
                     "spyderplugins/widgets/profilergui.py"],
                     "p_profiler", "spyderplugins")
    do_rescan_files(["spyderplugins/p_breakpoints.py",
                     "spyderplugins/widgets/breakpointsgui.py"],
                     "p_breakpoints", "spyderplugins")