Grammalecte  Check-in [119918b0a7]

Overview
Comment:[tb] deprecated code (Hunspell dictionaries)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tb
Files: files | file ages | folders
SHA3-256: 119918b0a7a3f2d0d8f3f2f0db20330d7fb7a0b97184b9eec1c26033b41f438a
User & Date: olr on 2018-08-07 13:04:22
Other Links: manifest | tags
Context
2018-08-20
07:43
[fr] ne plus copier les dictionnaires Hunspell dans Grammalecte check-in: 825f7ecc91 user: olr tags: trunk, fr
2018-08-07
13:04
[tb] deprecated code (Hunspell dictionaries) check-in: 119918b0a7 user: olr tags: trunk, tb
13:02
[tb] deprecated code check-in: 0ecc0883e5 user: olr tags: trunk, tb
Changes

Modified gc_lang/fr/tb/content/spell_options.js from [4e9d9b0e95] to [401f404b0c].

8
9
10
11
12
13
14

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// const Cu = Components.utils;
const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("extensions.grammarchecker.");


var oDialogControl = {
	load: function () {
		try {

			document.getElementById('grammalecte-spelloptions-window').centerWindowOnScreen();
			// Graphspell dictionaries
			document.getElementById('personal_dic').checked = prefs.getBoolPref('bPersonalDictionary');
			// Hunspell dictionaries
			document.getElementById('fr-FR-modern').checked = prefs.getBoolPref('bDictModern');
			document.getElementById('fr-FR-classic').checked = prefs.getBoolPref('bDictClassic');
			document.getElementById('fr-FR-reform').checked = prefs.getBoolPref('bDictReform');
			document.getElementById('fr-FR-classic-reform').checked = prefs.getBoolPref('bDictClassicReform');
			// center window
			document.getElementById('grammalecte-spelloptions-window').centerWindowOnScreen();
		}
		catch (e) {
			console.error(e);
			// Cu.reportError(e);
		}
	},
	setDictionaries: function () {







>




|
|
|
|
<
<







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


24
25
26
27
28
29
30
// const Cu = Components.utils;
const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("extensions.grammarchecker.");


var oDialogControl = {
	load: function () {
		try {
			// center window
			document.getElementById('grammalecte-spelloptions-window').centerWindowOnScreen();
			// Graphspell dictionaries
			document.getElementById('personal_dic').checked = prefs.getBoolPref('bPersonalDictionary');
			// Hunspell dictionaries
			//document.getElementById('fr-FR-modern').checked = prefs.getBoolPref('bDictModern');
			//document.getElementById('fr-FR-classic').checked = prefs.getBoolPref('bDictClassic');
			//document.getElementById('fr-FR-reform').checked = prefs.getBoolPref('bDictReform');
			//document.getElementById('fr-FR-classic-reform').checked = prefs.getBoolPref('bDictClassicReform');


		}
		catch (e) {
			console.error(e);
			// Cu.reportError(e);
		}
	},
	setDictionaries: function () {