Grammalecte  Check-in [85268063e2]

Overview
Comment:[fx][lo] update sponsors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx | lo
Files: files | file ages | folders
SHA3-256: 85268063e2283bfbb1c7106ed0712b32de3fc5094e1e1d18ce8b3a0bdde1ecfc
User & Date: olr on 2025-09-15 13:37:25
Other Links: manifest | tags
Context
2025-09-15
13:38
[fx][lo] add logo for Ville de Grenoble Leaf check-in: 7290cf2770 user: olr tags: trunk, fx, lo
13:37
[fx][lo] update sponsors check-in: 85268063e2 user: olr tags: trunk, fx, lo
12:51
[fr] warning about the oxt_identifier variable check-in: 3d1951a830 user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/oxt/About/About.py from [fd38d3b9f3] to [0738951356].

38
39
40
41
42
43
44
45

46
47
48
49
50
51
52
38
39
40
41
42
43
44

45
46
47
48
49
50
51
52







-
+







            ui.selectLang(sLang)

            self.xGLOptionNode = helpers.getConfigSetting("/org.openoffice.Lightproof_grammalecte/Other/", True)

            # dialog
            self.xDialog = self.xSvMgr.createInstanceWithContext('com.sun.star.awt.UnoControlDialogModel', self.ctx)
            self.xDialog.Width = 160
            self.xDialog.Height = 320
            self.xDialog.Height = 380
            self.xDialog.Title = ui.get('windowtitle')
            xWindowSize = helpers.getWindowSize()
            self.xDialog.PositionX = int((xWindowSize.Width / 2) - (self.xDialog.Width / 2))
            self.xDialog.PositionY = int((xWindowSize.Height / 2) - (self.xDialog.Height / 2))

            # xWidgets
            nLblWidth = 140
85
86
87
88
89
90
91
92

93
94
95


96
97
98




99
100
101
102
103
104
105
85
86
87
88
89
90
91

92
93


94
95
96
97

98
99
100
101
102
103
104
105
106
107
108







-
+

-
-
+
+


-
+
+
+
+







                            Label = ui.get('console'), FontDescriptor = xFD2, TextColor = 0x777777)

            # other
            self._addWidget('line', 'FixedLine', 10, 140, nLblWidth, 10)

            # sponsors
            self._addWidget('lblMsg', 'FixedText', 10, 155, nLblWidth, 10, Label = ui.get('message'), FontDescriptor = xFD2, Align = 1)
            self._addWidget('lblURL1', 'FixedHyperlink', 10, 170, nLblWidth, 10, Label = ui.get('sponsor'), \
            self._addWidget('lblURLMouette', 'FixedHyperlink', 10, 170, nLblWidth, 10, Label = ui.get('sponsor'), \
                            Align = 1, URL="http://lamouette.org/?from=grammalecte-lo", FontDescriptor = xFD3, TextColor = nURLcolor)
            self._addWidget('imgSponsor', 'ImageControl', 5, 180, 150, 50, ImageURL = sExtPath+"/img/LaMouette_small.png", Border = 0, ScaleMode = 1)
            self._addWidget('lblURL2', 'FixedHyperlink', 10, 235, nLblWidth, 10, Label = ui.get('sponsor2'), \
            self._addWidget('imgSponsor1', 'ImageControl', 5, 180, 150, 50, ImageURL = sExtPath+"/img/LaMouette_small.png", Border = 0, ScaleMode = 1)
            self._addWidget('lblURLAlgoo', 'FixedHyperlink', 10, 235, nLblWidth, 10, Label = ui.get('sponsor2'), \
                            Align = 1, URL="https://www.algoo.fr/?from=grammalecte-lo", FontDescriptor = xFD3, TextColor = nURLcolor)
            self._addWidget('imgSponsor2', 'ImageControl', 5, 245, 150, 50, ImageURL = sExtPath+"/img/Algoo_logo.png", Border = 0, ScaleMode = 1)
            self._addWidget('lblURL3', 'FixedHyperlink', 10, 300, nLblWidth, 10, Label = ui.get('link'), \
            self._addWidget('lblURLGrenoble', 'FixedHyperlink', 10, 300, nLblWidth, 10, Label = ui.get('sponsor3'), \
                            Align = 1, URL="https://www.grenoble.fr/?from=grammalecte-lo", FontDescriptor = xFD3, TextColor = nURLcolor)
            self._addWidget('imgSponsor3', 'ImageControl', 5, 310, 150, 50, ImageURL = sExtPath+"/img/Grenoble_logo.png", Border = 0, ScaleMode = 1)
            self._addWidget('lblURLothers', 'FixedHyperlink', 10, 365, nLblWidth, 10, Label = ui.get('others'), \
                            Align = 1, URL="https://grammalecte.net/#thanks", FontDescriptor = xFD1, TextColor = nURLcolor)

            # container
            self.xContainer = self.xSvMgr.createInstanceWithContext('com.sun.star.awt.UnoControlDialog', self.ctx)
            self.xContainer.setModel(self.xDialog)
            self.xContainer.getControl('console_button').addActionListener(self)
            self.xContainer.getControl('console_button').setActionCommand('Console')

Modified gc_lang/fr/oxt/About/ab_strings.py from [599146a562] to [d28e88e245].

27
28
29
30
31
32
33

34

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

51

52
53
54
55
27
28
29
30
31
32
33
34

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

53
54
55
56
57







+
-
+
















+
-
+





        "pythonver": "Python v",
        "console": "Console",

        "message": "Avec le soutien de",
        "sponsor": "La Mouette…",
        "sponsor2": "Algoo…",
        "sponsor3": "la ville de Grenoble…",
        "link": "… et de nombreux contributeurs.",
        "others": "… et de nombreux contributeurs.",

        "close": "~OK"
    },
    "en": {
        "windowtitle": "About…",
        "title": "Grammalecte",
        "version": "Version: ${version}",
        "license": "License: GPL 3",
        "website": "Web site",

        "pythonver": "Python v",
        "console": "Console",

        "message": "With the support of",
        "sponsor": "La Mouette…",
        "sponsor2": "Algoo…",
        "sponsor3": "City of Grenoble…",
        "link": "… and many contributors.",
        "others": "… and many contributors.",

        "close": "~OK"
    }
}

Modified gc_lang/fr/webext/panel/main.html from [df38359260] to [f6a872dca8].

59
60
61
62
63
64
65

66
67
68
69
70
71
72
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73







+







            </div>
          </div>

          <div id="thanks">
            <p class="center">Grammalecte remercie</p>
            <p class="center"><img id="link_sponsor1" class="link border" src="../img/LaMouette.png" alt="La Mouette" data-url="http://www.lamouette.org/?from=grammalecte-fx" /></p>
            <p class="center"><img id="link_sponsor2" class="link border" src="../img/Algoo_logo.png" alt="Algoo" data-url="https://www.algoo.fr/?from=grammalecte-fx" /></p>
            <p class="center"><img id="link_grenoble" class="link border" src="../img/Grenoble_logo.png" alt="Ville de Grenoble" data-url="https://www.grenoble.fr/" /></p>
            <p id="link_othersponsors" class="link center" data-url="http://grammalecte.net/#thanks">
              et tous ceux qui l’ont soutenu
            </p>
          </div>
        </section> <!-- #home_page -->

        <section id="ui_options_page" class="page">