123 |
123 |
if ("fr".equals(locale)) { //$NON-NLS-1$
|
124 |
124 |
return OpenBrowser.openfile(URL_TEXTOMETRIE);
|
125 |
125 |
} else {
|
126 |
|
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale, URL_TEXTOMETRIE)); //$NON-NLS-1$
|
|
126 |
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale, URL_TEXTOMETRIE+"en")); //$NON-NLS-1$
|
127 |
127 |
}
|
128 |
128 |
} else if (FAQ.equals(key)) {
|
129 |
129 |
return OpenBrowser.openfile("https://groupes.renater.fr/wiki/txm-users/public/faq"); //$NON-NLS-1$
|
130 |
130 |
} else if (CONTRIB.equals(key)) {
|
131 |
131 |
return OpenBrowser.openfile("https://groupes.renater.fr/wiki/txm-users/public/contribuer"); //$NON-NLS-1$
|
132 |
132 |
} else if (SF_DOCS.equals(key)) {
|
133 |
|
return OpenBrowser.openfile(FILESPAGES+"documentation"); //$NON-NLS-1$
|
|
133 |
if ("fr".equals(locale)) { //$NON-NLS-1$
|
|
134 |
return OpenBrowser.openfile(URL_TEXTOMETRIE+"/Documentation/#txm-manual");
|
|
135 |
} else {
|
|
136 |
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale+"/Documentation/#txm-manual", URL_TEXTOMETRIE+"en/Documentation/#txm-manual")); //$NON-NLS-1$
|
|
137 |
}
|
134 |
138 |
} else if (SF.equals(key)) {
|
135 |
139 |
return OpenBrowser.openfile(FILESPAGES); //$NON-NLS-1$
|
136 |
140 |
} else if (TEXTOMETRIE_DOCS.equals(key)) {
|
137 |
141 |
if ("fr".equals(locale)) { //$NON-NLS-1$
|
138 |
|
return OpenBrowser.openfile(URL_TEXTOMETRIE+"/Documents-référence");
|
|
142 |
return OpenBrowser.openfile(URL_TEXTOMETRIE+"/Documentation");
|
139 |
143 |
} else {
|
140 |
|
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale+"/Documents-référence", URL_TEXTOMETRIE+"/Documents-référence")); //$NON-NLS-1$
|
|
144 |
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale+"/Documentation", URL_TEXTOMETRIE+"en/Documentation")); //$NON-NLS-1$
|
141 |
145 |
}
|
142 |
146 |
} else if (TREETAGGER.equals(key)) {
|
143 |
147 |
if ("fr".equals(locale)) { //$NON-NLS-1$
|
144 |
148 |
return OpenBrowser.openfile(URL_TEXTOMETRIE+"InstallTreeTagger");
|
145 |
149 |
} else {
|
146 |
|
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale+"/InstallTreeTagger/", URL_TEXTOMETRIE+"InstallTreeTagger")); //$NON-NLS-1$ //$NON-NLS-2$
|
|
150 |
return OpenBrowser.openfile(getValidURL(URL_TEXTOMETRIE+locale+"/InstallTreeTagger/", URL_TEXTOMETRIE+"en/InstallTreeTagger")); //$NON-NLS-1$ //$NON-NLS-2$
|
147 |
151 |
}
|
148 |
152 |
} else if (REFMAN.equals(key)) {
|
149 |
153 |
if ("fr".equals(locale)) { //$NON-NLS-1$
|