Grammalecte  Check-in [d7fa354cc5]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[fx] Fix information which looks and sounds like an error message
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256:d7fa354cc5fa56ad021a54e9679fceb5cb8fb14d04f0f58fb8862a102975f667
User & Date: olr 2019-05-17 10:15:13
Context
2019-05-17
12:48
[fx] fix copy to clipboard check-in: 9091d60a11 user: olr tags: fx, trunk
10:15
[fx] Fix information which looks and sounds like an error message check-in: d7fa354cc5 user: olr tags: fx, trunk
09:43
[fx] update context menu picture check-in: 93d27889fb user: olr tags: fx, trunk
Changes

Changes to gc_lang/fr/webext/content_scripts/panel.css.

123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
    overflow: auto;
}

div#grammalecte_panel_message_block {
    display: none;
    padding: 10px;
    margin-bottom: 3px;
    background-color: hsl(0, 50%, 50%);
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-color: hsl(0, 50%, 75%);
    color: hsl(0, 10%, 96%);
    font-family: "Trebuchet MS", "Fira Sans", "Ubuntu Condensed", "Liberation Sans", sans-serif;
    font-size: 14px;
    hyphens: auto;
}
div#grammalecte_panel_message_close_button {
    float: right;
    margin: 0 0 10px 10px;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: hsl(0, 50%, 40%);
    color: hsl(0, 50%, 80%);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
div#grammalecte_panel_message_close_button:hover {
    background-color: hsl(0, 100%, 60%);
    color: hsl(0, 50%, 100%);







|


|
|









|
|







123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
    overflow: auto;
}

div#grammalecte_panel_message_block {
    display: none;
    padding: 10px;
    margin-bottom: 3px;
    background-color: hsl(60, 90%, 80%);
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-color: hsl(60, 90%, 50%);
    color: hsl(60, 10%, 40%);
    font-family: "Trebuchet MS", "Fira Sans", "Ubuntu Condensed", "Liberation Sans", sans-serif;
    font-size: 14px;
    hyphens: auto;
}
div#grammalecte_panel_message_close_button {
    float: right;
    margin: 0 0 10px 10px;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: hsl(60, 90%, 50%);
    color: hsl(0, 60%, 80%);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
div#grammalecte_panel_message_close_button:hover {
    background-color: hsl(0, 100%, 60%);
    color: hsl(0, 50%, 100%);

Changes to gc_lang/fr/webext/content_scripts/panel_gc.js.

876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
        }
        this.xNode.disabled = true;
        this.loadText((this.bTextArea) ? this.xNode.value : this.xNode.innerText);
    }

    setText (sText) {
        this.clear();
        oGrammalecte.oGCPanel.showMessage("Aucun champ textuel défini. Les changements ne seront pas répercutés sur la zone d’où le texte a été extrait.");
        this.loadText(sText);
    }

    clear () {
        if (this.xNode !== null) {
            this.xNode.disabled = false;
            this.bTextArea = false;







|







876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
        }
        this.xNode.disabled = true;
        this.loadText((this.bTextArea) ? this.xNode.value : this.xNode.innerText);
    }

    setText (sText) {
        this.clear();
        oGrammalecte.oGCPanel.showMessage("Lorsqu’aucun champ textuel n’est défini, les changements ne sont pas répercutés sur la zone d’où le texte a été extrait.");
        this.loadText(sText);
    }

    clear () {
        if (this.xNode !== null) {
            this.xNode.disabled = false;
            this.bTextArea = false;