version.py
author Edouard Tisserant <edouard@beremiz.fr>
Tue, 23 Jul 2024 17:05:59 +0200
changeset 3999 1479acf750e2
parent 3910 aa6b3e6eb90f
permissions -rw-r--r--
MQTT: WIP fix modified status not being set when adding and modifying topics or attributes.

Fix loading of CSV that was not applying model types, and that not checking conformance either.
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     1
#!/usr/bin/env python
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     2
# -*- coding: utf-8 -*-
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     3
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     4
# This file is part of Beremiz, a Integrated Development Environment for
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     5
# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     6
#
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     7
# Copyright (C) 2016: Andrey Skvortsov
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     8
#
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
     9
# See COPYING file for copyrights details.
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    10
#
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    11
# This program is free software; you can redistribute it and/or
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    12
# modify it under the terms of the GNU General Public License
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    13
# as published by the Free Software Foundation; either version 2
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    14
# of the License, or (at your option) any later version.
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    15
#
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    16
# This program is distributed in the hope that it will be useful,
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    19
# GNU General Public License for more details.
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    20
#
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    21
# You should have received a copy of the GNU General Public License
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    22
# along with this program; if not, write to the Free Software
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    23
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    24
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    25
3750
f62625418bff automated conversion using 2to3-3.9 tool
GP Orcullo <kinsamanka@gmail.com>
parents: 3587
diff changeset
    26
f62625418bff automated conversion using 2to3-3.9 tool
GP Orcullo <kinsamanka@gmail.com>
parents: 3587
diff changeset
    27
f62625418bff automated conversion using 2to3-3.9 tool
GP Orcullo <kinsamanka@gmail.com>
parents: 3587
diff changeset
    28
2239
813792f22527 Make information about translation to be in unicode
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1881
diff changeset
    29
1732
94ffe74e6895 clean-up: fix PEP8 E401 multiple imports on one line
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1706
diff changeset
    30
import os
94ffe74e6895 clean-up: fix PEP8 E401 multiple imports on one line
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1706
diff changeset
    31
1692
9cb4d1392baf add information about community support channel to Beremiz and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1680
diff changeset
    32
def GetCommunityHelpMsg():
1768
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    33
    return _(
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    34
        "The best place to ask questions about Beremiz/PLCOpenEditor\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    35
        "is project's mailing list: beremiz-devel@lists.sourceforge.net\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    36
        "\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    37
        "This is the main community support channel.\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    38
        "For posting it is required to be subscribed to the mailing list.\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    39
        "\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    40
        "You can subscribe to the list here:\n"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    41
        "https://lists.sourceforge.net/lists/listinfo/beremiz-devel"
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    42
    )
1692
9cb4d1392baf add information about community support channel to Beremiz and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1680
diff changeset
    43
1736
7e61baa047f0 clean-up: fix PEP8 E302 expected 2 blank lines, found 1
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1735
diff changeset
    44
3570
eb915a9fdcb0 IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2515
diff changeset
    45
def GetAboutDialogInfo(info):
eb915a9fdcb0 IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2515
diff changeset
    46
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    47
    info.Version = app_version
1735
c02818d7e29f clean-up: fix PEP8 W293 blank line contains whitespace
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1732
diff changeset
    48
1758
845ca626db09 clean-up: fix PEP8 E222 multiple spaces after operator
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1754
diff changeset
    49
    info.Copyright = ""
3797
836eb9aa4c49 Update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3750
diff changeset
    50
    info.Copyright += "(C) 2006-2023 Edouard Tisserant\n"
836eb9aa4c49 Update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3750
diff changeset
    51
    info.Copyright += "(C) 2003-2023 Mario de Sousa\n"
3844
58a331434e92 Update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3797
diff changeset
    52
    info.Copyright += "(C) 2022-2023 GP Orcullo\n"
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
    53
    info.Copyright += "(C) 2016-2018 Andrey Skvortsov\n"
3570
eb915a9fdcb0 IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2515
diff changeset
    54
    info.Copyright += "(C) 2006-2013 Laurent Bessard\n"
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    55
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    56
    info.WebSite = ("http://beremiz.org", "beremiz.org")
1735
c02818d7e29f clean-up: fix PEP8 W293 blank line contains whitespace
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1732
diff changeset
    57
1768
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    58
    info.Developers = (
3570
eb915a9fdcb0 IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2515
diff changeset
    59
        "Edouard Tisserant <contact@beremiz.fr>",
eb915a9fdcb0 IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2515
diff changeset
    60
        "Mario de Sousa <msousa@fe.up.pt>",
3844
58a331434e92 Update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3797
diff changeset
    61
        "GP Orcullo <kinsamanka@gmail.com>",
1768
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    62
        "Andrey Skvortsov <andrej.skvortzov@gmail.com>",
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    63
        "Sergey Surkov <surkov.sv@summatechnology.ru>",
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    64
        "Laurent Bessard <laurent.bessard@gmail.com>")
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    65
1768
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    66
    info.License = (
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    67
        '\n This program is free software; you can redistribute it and/or\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    68
        ' modify it under the terms of the GNU General Public License\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    69
        ' as published by the Free Software Foundation; either version 2\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    70
        ' of the License, or (at your option) any later version.\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    71
        '\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    72
        ' This program is distributed in the hope that it will be useful,\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    73
        ' but WITHOUT ANY WARRANTY; without even the implied warranty of\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    74
        ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    75
        ' GNU General Public License below for more details.\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    76
        '\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    77
        '\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    78
        '\n'
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    79
        ''
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    80
    )
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    81
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    82
    # read license file
3587
295f21f9c581 Cleanup and update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3570
diff changeset
    83
    license_path = os.path.join(
295f21f9c581 Cleanup and update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3570
diff changeset
    84
        os.path.dirname(os.path.realpath(__file__)), "COPYING")
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    85
    if os.path.exists(license_path):
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    86
        with open(license_path) as f:
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    87
            info.License += f.read()
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
    88
1768
691083b5682a clean-up: fix PEP8 E128 continuation line under-indented for visual indent
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1767
diff changeset
    89
    info.Translators = (
2515
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
    90
        "Basque",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
    91
        "José Miguel Andonegi <jm.andonegi@gmail.com>, 2019",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
    92
        "",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
    93
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
    94
        "Bengali (Bangladesh)",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
    95
        "  Adhir Dutta <likhon52@gmail.com>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
    96
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
    97
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
    98
        "Chinese",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
    99
        "  Frank Guan <gpfrank@163.com>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   100
        "  Tango Wu <wuyangtang@live.com>, 2017",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   101
        "  Yiwei Yan <523136664@qq.com>, 2018",
2515
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   102
        "  Ji Wang <2485567515@qq.com>, 2019",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   103
        "  珂 曾 <15627997@qq.com>, 2019",
3797
836eb9aa4c49 Update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3750
diff changeset
   104
        "  Gastonfeng<gastonfeng@gmail.com>, 2019",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   105
        "",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   106
3910
aa6b3e6eb90f Add credits for Czech i18n
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3906
diff changeset
   107
        "Czech",
aa6b3e6eb90f Add credits for Czech i18n
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3906
diff changeset
   108
        "  Martin Pihrt <martinpihrt@seznam.cz>",
aa6b3e6eb90f Add credits for Czech i18n
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3906
diff changeset
   109
        "",
aa6b3e6eb90f Add credits for Czech i18n
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3906
diff changeset
   110
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   111
        "Dutch (Netherlands)",
2515
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   112
        "  Martijn Berntsen <mxberntsen@gmail.com>, 2019",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   113
        "  Jordy van der Heijden <jordyvanderheijden@gmail.com>, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   114
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   115
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   116
        "French",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   117
        "  Edouard Tisserant <edouard.tisserant@gmail.com>, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   118
        "  Fabien Marteau <mail@fabienm.eu>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   119
        "  Laurent Bessard <laurent.bessard@gmail.com>, 2008",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   120
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   121
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   122
        "German",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   123
        "  Andrey Skvortsov <andrej.skvortzov@gmail.com>, 2017",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   124
        "  Hendrik Knackstedt <h.knackstedt@stud.uni-hannover.de>, 2017 ",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   125
        "  Mark Muzenhardt <mark.muzenhardt@gmail.com>, 2012",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   126
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   127
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   128
        "Hungarian",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   129
        "  Krisztián Veress <krive001@gmail.com>, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   130
        "  Gábor Véninger <veninger.gabor@gmail.com>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   131
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   132
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   133
        "Italian",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   134
        "  Luca Magnabosco <magnabosco.luca@gmail.com>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   135
        "  Manuele Conti <manuele.conti@sirius-es.it>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   136
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   137
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   138
        "Korean",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   139
        "  Ikhwan Kim <duo821228@gmail.com>, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   140
        "  Reinhard Lee <lij3105@gmail.com>, 2012",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   141
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   142
2515
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   143
        "Polish",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   144
        "  Adam B <adisz.pl@gmail.com>, 2019",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   145
        "",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   146
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   147
        "Portuguese",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   148
        "  Pedro Coimbra <pcoimbra310@gmail.com>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   149
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   150
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   151
        "Portuguese (Brazil)",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   152
        "  Rodrigo Rolle <ro_pita@hotmail.com>, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   153
        "  Thiago Alves <thiagoralves@gmail.com>, 2017",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   154
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   155
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   156
        "Romanian",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   157
        "  Emil Saracutu <emil_saracutu@yahoo.com>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   158
        "",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   159
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   160
        "Russian",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   161
        "  Andrey Skvortsov <andrej.skvortzov@gmail.com>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   162
        "  Sergey Surkov <surkov.sv@summatechnology.ru>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   163
        "  zx_alexis <zxalexis@gmail.com>, 2017",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   164
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   165
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   166
        "Slovenian",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   167
        "  Janez Pregelj <janezpregelj@gmail.com>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   168
        "  Andraz Gregorcic <andraz.gregorcic@smarteh.si>, 2017",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   169
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   170
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   171
        "Spanish",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   172
        "  Carlos Guilarte <guilartec@gmail.com>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   173
        "  Yegor Yefremov <yegorslists@googlemail.com>, 2018",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   174
        "  Jorge Rojas, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   175
        "  Marcial González de Armas <mgacod@gmail.com>, 2017",
2351
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   176
        "  Nelson Mambre <nmambre@gmail.com>, 2017",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   177
        "",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   178
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   179
        "Turkish",
467f6daff4e9 Update Beremiz translations and list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2239
diff changeset
   180
        "  Ibrahim Kilicarslan <ibrahimhalilkilicarslan@outlook.com>, 2018",
1803
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   181
        "",
da138c5a3063 updated all existing translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1780
diff changeset
   182
2515
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   183
        "Vietnamese (Viet Nam)",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   184
        "  Nhất Thìn, 2019",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   185
        "",
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   186
6551a73702a3 updated list of translators
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2351
diff changeset
   187
1706
b5c0a10145f1 update Russian and French (Fabien M) translations
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1692
diff changeset
   188
    )
1565
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
   189
    return info
894f31f8ca64 make about dialog boxes use standard wx about dialogs
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1561
diff changeset
   190
1749
d73b64672238 clean-up: fix PEP8 E305 expected 2 blank lines after class or function definition
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1744
diff changeset
   191
3906
f831ff63ca6e IDE: display contents of revisions.txt (put there by installer builder script) in About Dialog.
Edouard Tisserant <edouard@beremiz.fr>
parents: 3844
diff changeset
   192
app_version = "1.4"
3587
295f21f9c581 Cleanup and update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3570
diff changeset
   193
295f21f9c581 Cleanup and update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3570
diff changeset
   194
if __name__ == "__main__":
295f21f9c581 Cleanup and update version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3570
diff changeset
   195
    print(app_version)