Grammalecte  Check-in [3b7d4a1c2e]

Overview
Comment:[tb] ui update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tb | tbme
Files: files | file ages | folders
SHA3-256: 3b7d4a1c2e079e2f70ec2ab8c1f29c3b0ca2fe433fa43c1203f0b0c61a179b97
User & Date: olr on 2019-09-04 19:44:33
Other Links: branch diff | manifest | tags
Context
2019-09-04
19:51
[tb] useless console.log() check-in: 4cc1a6db6e user: olr tags: tb, tbme
19:44
[tb] ui update check-in: 3b7d4a1c2e user: olr tags: tb, tbme
16:35
[tb] lexicon editor: ui update check-in: 437198b8d6 user: olr tags: tb, tbme
Changes

Modified gc_lang/fr/mailext/content/conjugueur.xul from [bc0163c303] to [7d69e0ed2b].

8
9
10
11
12
13
14
15

16
17
18
19
20
21
22
8
9
10
11
12
13
14

15
16
17
18
19
20
21
22







-
+







  title="Grammalecte · Conjugueur…"
  orient="vertical"
  width="580"
  buttons="extra1"
  buttonlabelextra1="Conjuguer"
  ondialogextra1="oConj.getVerbAndConjugate();"
  defaultButton="extra1"
  onload=""
  onload="document.getElementById('grammalecte-conjugueur-window').centerWindowOnScreen();"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">


  <!-- Other elements go here -->
  <box>
    <spacer flex="1"/>
    <image src="chrome://grammarchecker/skin/grammarcheck.png" />

Modified gc_lang/fr/mailext/content/gc_options.css from [df2e253402] to [c585d5d70e].

1
2
3
4
5
6
7
8
9
10
11
12

13
14

15
16

17

18
19
20

21
22
23
24
25
26
1
2
3
4
5
6
7
8




9


10

11
12

13



14


15
16
17
18








-
-
-
-
+
-
-
+
-

+
-
+
-
-
-
+
-
-




/* CSS */

.section {
	font-size: 16px;
	font-weight: bold;
	color: hsl(210, 50%, 50%);
}

/*
    TB Next: fix dialogheaders
*/
dialogheader {
.dialogheader-title {
  -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
  margin: 0 5px 5px;
  margin: 5px;
  border: 1px solid ThreeDDarkShadow;
  padding: 5px 8px;
  border: 1px solid hsl(210, 50%, 80%);
  background-color: Highlight;
  background-color: hsl(210, 50%, 50%);
  color: HighlightText;
}

  color: hsl(210, 10%, 90%);
.dialogheader-title {
  margin: 0 !important;
  font-size: larger;
  font-weight: bold;
}

Modified gc_lang/fr/mailext/content/gc_options.xul from [65926a1200] to [6c88a5696a].

15
16
17
18
19
20
21
22
23


24
25
26
27
28
29
30
31
32
33
34
35
36
15
16
17
18
19
20
21


22
23
24
25
26
27
28
29
30
31
32
33
34
35
36







-
-
+
+













  ondialogextra1="oOptControl.reset();"
  defaultButton="accept"
  width="400"
  onload="document.getElementById('grammalecte-gcoptions-window').centerWindowOnScreen();"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <!-- Other elements go here -->
  
  <dialogheader id="grammalecte-title" title="&dialogheader.label;" description="" />

  <div class="dialogheader-title">&dialogheader.label;</div>

  <tabbox id="tabs_options" selectedIndex="0">
    <tabs>
${sXULTabs}
    </tabs>
    <tabpanels>
${sXULTabPanels}
    </tabpanels>
  </tabbox>

  <script type="application/javascript" src="gc_options.js" />

</dialog>

Modified gc_lang/fr/mailext/content/lex_editor.css from [51c3b220a1] to [90aa27d1f6].

1
2
3
4
5










6
7
8
9
10
11
12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22





+
+
+
+
+
+
+
+
+
+







/* CSS */

button {
    font-weight: bold;
}

.dialogheader-title {
  margin: 5px;
  padding: 5px 8px;
  border: 1px solid hsl(210, 50%, 80%);
  background-color: hsl(210, 50%, 50%);
  color: hsl(210, 10%, 90%);
  font-size: larger;
  font-weight: bold;
}

/*
    Dictionary
*/
.dictionary {
    font-size: 18px;
    font-weight: bold;

Modified gc_lang/fr/mailext/content/lex_editor.xul from [1fe6db7187] to [62ec884266].

41
42
43
44
45
46
47
48

49
50
51
52
53
54
55
41
42
43
44
45
46
47

48
49
50
51
52
53
54
55







-
+








      <!-- NEW WORD -->
      <tabpanel orient="vertical">

        <hbox>

          <vbox>
            <dialogheader title="Nouveau mot (lemme)" description="Générateur" />
            <div class="dialogheader-title">&dialogheader.newword.label;</div>
            <textbox id="lemma" value="" />

            <checkbox id="tag_N" class="subsection" label="Nom et adjectif" />
            <hbox class="m_left">
              <radiogroup id="pos_nom_commun" orient="vertical">
                <radio id="nom_adj" class="option" label="Nom et adjectif" value=":N:A" />
                <radio id="nom" class="option" label="Nom" value=":N" />
136
137
138
139
140
141
142
143

144
145
146
147
148
149
150
136
137
138
139
140
141
142

143
144
145
146
147
148
149
150







-
+







                <label class="subsection other_label" value="Étiquettes" />
                <textbox id="tags" class="other_textbox" value="" />
              </hbox>
            </vbox>
          </vbox>

          <vbox>
            <dialogheader title="Mots générés" description="" />
            <div class="dialogheader-title">&dialogheader.generated_words.label;</div>
            <richlistbox id="generated_words_table" seltype="multiple">
              <!--
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Étiquettes"/>
              </listhead>

168
169
170
171
172
173
174
175

176
177
178
179
180
181
182
168
169
170
171
172
173
174

175
176
177
178
179
180
181
182







-
+







            </hbox>
          </vbox>
        </hbox>
      </tabpanel>

      <!-- LEXICON -->
      <tabpanel orient="vertical">
        <dialogheader title="&dialogheader.lexicon.label;" description="" />
        <div class="dialogheader-title">&dialogheader.lexicon.label;</div>
        <hbox>
          <vbox>
            <hbox>
              <label class="info_label" value="Nombre d’entrées : " />
              <label id="num_entries" class="data" value="0" />
            </hbox>
            <spacer flex="1" />
212
213
214
215
216
217
218
219

220
221
222
223
224
225
226
227

228
229
230
231
232
233
234
212
213
214
215
216
217
218

219
220
221
222
223
224
225
226

227
228
229
230
231
232
233
234







-
+







-
+







          </vbox>
        </hbox>
      </tabpanel>

      <tabpanel orient="vertical">
        <hbox>
          <vbox>
            <dialogheader title="&dialogheader.search.similar.label;" description="" />
            <div class="dialogheader-title">&dialogheader.search.similar.label;</div>
            <hbox>
              <textbox id="search_similar" value="" />
              <button id="search_similar_button" label="Chercher" />
            </hbox>

            <spacer flex="1" />

            <dialogheader title="&dialogheader.search.regex.label;" description="" />
            <div class="dialogheader-title">&dialogheader.search.regex.label;</div>
            <hbox>
              <label value="Flexion" />
              <spacer flex="1" />
              <textbox id="search_flexion_pattern" value="" />
            </hbox>
            <hbox>
              <label value="Étiquettes" />
246
247
248
249
250
251
252
253

254
255
256
257
258
259
260
246
247
248
249
250
251
252

253
254
255
256
257
258
259
260







-
+







            <hbox>
              <spacer flex="1" />
              <label id="search_num_entries" class="align_right" value="0" />
              <label value="entrées" />
            </hbox>
          </vbox>
          <vbox>
            <dialogheader title="Résultat" description="" />
            <div class="dialogheader-title">&dialogheader.search.result.label;</div>
            <richlistbox id="search_table">
              <!--
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Lemmes"/>
                <listheader label="Étiquettes"/>
              </listhead>
275
276
277
278
279
280
281
282

283
284
285
286
287
288
289
290
291
292
293
294
295
296

297
298
299
300
301
302
303
275
276
277
278
279
280
281

282
283
284
285
286
287
288
289
290
291
292
293
294
295

296
297
298
299
300
301
302
303







-
+













-
+







          </vbox>
        </hbox>
      </tabpanel>

      <tabpanel orient="vertical">
        <hbox>
          <vbox>
            <dialogheader title="&dialogheader.info.label;" description="" />
            <div class="dialogheader-title">&dialogheader.info.label;</div>
            <label class="bold" value="Enregistrement" />
            <description>Les modifications apportées au lexique ne sont enregistrées dans le dictionnaire qu’au moment où vous cliquez sur ‹Enregistrer› dans l’onglet ‹Lexique›.</description>
            <spacer flex="1" />
            <label class="bold" value="Doublons" />
            <description>Il est inutile de purger votre lexique des doublons éventuels. Les doublons sont automatiquement supprimés lors de la création du dictionnaire.</description>
            <spacer flex="1" />
            <label class="bold" value="Compilation du dictionnaire" />
            <description>Le dictionnaire est compilé comme un graphe de mots sous la forme d’une chaîne binaire dans un fichier JSON. Cette opération peut prendre du temps et consommer beaucoup de mémoire si votre lexique contient plusieurs dizaines de milliers d’entrées.</description>
            <spacer flex="1" />
            <label class="bold" value="Avertissement" />
            <description>Il est déconseillé d’utiliser la catégorie ‹Autre› pour générer autre chose que des noms, des adjectifs, des noms propres, des verbes et des adverbes. Il n’y a aucune garantie que les étiquettes pour les autres catégories, notamment les mots grammaticaux, ne changeront pas.</description>
          </vbox>
          <vbox>
            <dialogheader title="Signification des étiquettes" description="" />
            <div class="dialogheader-title">&dialogheader.tags.label;</div>
            <richlistbox id="tags_table">
              <!--
              <listhead>
                <listheader label="Étiquettes"/>
                <listheader label="Signification"/>
              </listhead>

Modified gc_lang/fr/mailext/content/options.css from [20756f5a2f] to [b5017553f4].

1
2
3

4
5
6

7
8

9
10

11

12
13
14

15
16
17
18
19
1
2

3



4


5

6
7

8



9


10
11
12


-
+
-
-
-
+
-
-
+
-

+
-
+
-
-
-
+
-
-



/* CSS */

/*

    TB Next: fix dialogheaders
*/
dialogheader {
.dialogheader-title {
  -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
  margin: 0 5px 5px;
  margin: 5px;
  border: 1px solid ThreeDDarkShadow;
  padding: 5px 8px;
  border: 1px solid hsl(210, 50%, 80%);
  background-color: Highlight;
  background-color: hsl(210, 50%, 50%);
  color: HighlightText;
}

  color: hsl(210, 10%, 90%);
.dialogheader-title {
  margin: 0 !important;
  font-size: larger;
  font-weight: bold;
}

Modified gc_lang/fr/mailext/content/options.xul from [b4b7f2b7c3] to [94d508f940].

13
14
15
16
17
18
19
20
21


22
23
24
25
26
27
13
14
15
16
17
18
19


20
21
22
23
24
25
26
27







-
-
+
+






  ondialogcancel="return;"
  defaultButton="accept"
  width="400"
  onload="document.getElementById('grammalecte-options-window').centerWindowOnScreen();"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <!-- Other elements go here -->
  
  <dialogheader id="grammalecte-title" title="&dialogheader.label;" description="" />

  <div class="dialogheader-title">&dialogheader.label;</div>

  <checkbox id="check_signature" label="&check_signature.label;" accesskey="&check_signature.accesskey;" />

  <script type="application/javascript" src="options.js" />

</dialog>

Modified gc_lang/fr/mailext/content/overlay.css from [89e250c93b] to [1f81711662].

141
142
143
144
145
146
147
148
149
150
151

152
153

154
155
156



157
158
159

160
161
162
163


164
141
142
143
144
145
146
147




148


149



150
151
152



153




154
155
156







-
-
-
-
+
-
-
+
-
-
-
+
+
+
-
-
-
+
-
-
-
-
+
+

.spell {
    background-color: hsl(0, 50%, 50%);
    color: hsl(0, 0%, 96%);
    border-radius: 3px;
}


/*
    TB Next: fix dialogheaders
*/
dialogheader {
.dialogheader-title {
  -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
  margin: 0 5px 5px;
    margin: 5px;
  border: 1px solid ThreeDDarkShadow;
  padding: 5px 8px;
  background-color: Highlight;
    padding: 5px 8px;
    border: 1px solid hsl(210, 50%, 80%);
    background-color: hsl(210, 50%, 50%);
  color: HighlightText;
}

    color: hsl(210, 10%, 90%);
.dialogheader-title {
  margin: 0 !important;
  font-size: larger;
  font-weight: bold;
    font-size: larger;
    font-weight: bold;
}

Modified gc_lang/fr/mailext/content/overlay.xul from [9353a856d5] to [68358d3870].

68
69
70
71
72
73
74
75

76
77
78
79
80
81
82
68
69
70
71
72
73
74

75
76
77
78
79
80
81
82







-
+







      TEXT FORMATTER PANEL

    -->
    <splitter id="textformatter-splitter" state="collapsed" collapse="after"><grippy /></splitter>

    <vbox id="textformatter-panel">

      <dialogheader id="textformatter-title" title="&textformatter;" description="&automated_replacements;" width="800"/>
      <div class="dialogheader-title">Grammalecte · &textformatter; · &automated_replacements;</div>

      <hbox id="tf-columns">
        <vbox class="column" width="400">
          <!-- Supernumerary spaces -->
          <groupbox>
            <hbox class="groupbox-title">
              <label class="header"><checkbox id="o_group_ssp" class="option optiongroup" data-default="true" label="&tf_ssp;" /></label>
359
360
361
362
363
364
365
366

367
368
369
370
371
372
373
374
375
376
377
359
360
361
362
363
364
365

366
367
368
369
370
371
372
373
374
375
376
377







-
+












      GRAMMAR CHECKING PANEL

    -->
    <splitter id="grammarchecker-splitter" state="collapsed" collapse="after"><grippy /></splitter>

    <vbox id="grammarchecker-panel">
      <dialogheader id="grammalecte-title" title="Grammalecte" description="&detected_mistakes;"/>
      <div class="dialogheader-title">Grammalecte · &detected_mistakes;</div>
      <div id="grammalecte-errors"/>
      <hbox id="grammalecte-infobox">
        <label id="grammalecte-info" />
        <spacer flex="1" />
        <label id="closebutton" value="Fermer" onclick="oGrammarChecker.onClosePanel(event);" />
      </hbox>
    </vbox>

  </vbox>

</overlay>

Modified gc_lang/fr/mailext/content/spell_options.css from [c906b183f7] to [e88f1b0c74].

21
22
23
24
25
26
27
28
29
30
31

32
33

34
35

36

37
38
39

40
41
42
43
44
21
22
23
24
25
26
27




28


29

30
31

32



33


34
35
36







-
-
-
-
+
-
-
+
-

+
-
+
-
-
-
+
-
-



}

.disabled {
  opacity: .25;
}


/*
    TB Next: fix dialogheaders
*/
dialogheader {
.dialogheader-title {
  -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
  margin: 0 5px 5px;
  margin: 5px;
  border: 1px solid ThreeDDarkShadow;
  padding: 5px 8px;
  border: 1px solid hsl(210, 50%, 80%);
  background-color: Highlight;
  background-color: hsl(210, 50%, 50%);
  color: HighlightText;
}

  color: hsl(210, 10%, 90%);
.dialogheader-title {
  margin: 0 !important;
  font-size: larger;
  font-weight: bold;
}

Modified gc_lang/fr/mailext/content/spell_options.xul from [1fbb1cff1e] to [7544df81f8].

14
15
16
17
18
19
20
21

22
23
24
25
26
27
28
14
15
16
17
18
19
20

21
22
23
24
25
26
27
28







-
+







  width="400"
  height="400"
  onload="oDialogControl.load();"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <!-- Other elements go here -->

  <dialogheader id="grammalecte-title" title="&dialogheader.label;" description=""/>
  <div class="dialogheader-title">&dialogheader.label;</div>

  <hbox>
    <!--
    <groupbox with="380">
      <caption id="grouptitle" label="&grouptitle_hunspell;" />
      <description id="warning">&warning_hunspell;</description>

Modified gc_lang/fr/mailext/locale/en/lex_editor.dtd from [0fdf104f95] to [d8b06fdebc].

1
2
3
4
5
6
7
8
9
10


11
12
13

14

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17









-
+
+



+

+
<!ENTITY window.title "Grammalecte · Lexical editor lexical">

<!ENTITY button.cancel.label "Close">

<!ENTITY tab.editor.label "Add">
<!ENTITY tab.lexicon.label "Lexicon">
<!ENTITY tab.search.label "Search">
<!ENTITY tab.info.label "Informations">

<!ENTITY dialogheader.newword.label "New word">
<!ENTITY dialogheader.newword.label "New word (lemma)">
<!ENTITY dialogheader.generated_words.label "Generated words">
<!ENTITY dialogheader.lexicon.label "Your lexicon">
<!ENTITY dialogheader.search.similar.label "Similar spellings">
<!ENTITY dialogheader.search.regex.label "Regular expressions">
<!ENTITY dialogheader.search.result.label "Result">
<!ENTITY dialogheader.info.label "Informations">
<!ENTITY dialogheader.tags.label "Meaning of tags">

Modified gc_lang/fr/mailext/locale/fr/lex_editor.dtd from [f24f4ad2f9] to [6b48b9e817].

1
2
3
4
5
6
7
8
9
10


11
12
13

14

15
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18









-
+
+



+

+

<!ENTITY window.title "Grammalecte · Éditeur lexical">

<!ENTITY button.cancel.label "Fermer">

<!ENTITY tab.editor.label "Ajout">
<!ENTITY tab.lexicon.label "Lexique">
<!ENTITY tab.search.label "Recherche">
<!ENTITY tab.info.label "Informations">

<!ENTITY dialogheader.newword.label "Nouveau mot">
<!ENTITY dialogheader.newword.label "Nouveau mot (lemme)">
<!ENTITY dialogheader.generated_words.label "Mots générés">
<!ENTITY dialogheader.lexicon.label "Votre lexique">
<!ENTITY dialogheader.search.similar.label "Graphies similaires">
<!ENTITY dialogheader.search.regex.label "Expressions régulières">
<!ENTITY dialogheader.search.result.label "Résultat">
<!ENTITY dialogheader.info.label "Informations">
<!ENTITY dialogheader.tags.label "Signification des étiquettes">