Revision 12cc0880
Added by Andreas Müller about 2 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/translation/GoogleLanguageApiWrapper.java | ||
---|---|---|
14 | 14 |
|
15 | 15 |
/** |
16 | 16 |
* <p>GoogleLanguageApiWrapper class.</p> |
17 |
*
|
|
17 |
* |
|
18 | 18 |
* NOTE: This class was commented to be able to remove google-api-translate-java-xxx.jar from classpath |
19 |
*
|
|
19 |
* |
|
20 | 20 |
* @author n.hoffmann |
21 | 21 |
* @created Oct 21, 2010 |
22 | 22 |
* @deprecated Should not be used as the Google translation service is not free anymore |
... | ... | |
27 | 27 |
// @Override |
28 | 28 |
// public String translate(String text, Language source, Language target) throws LanguageNotSupportedException { |
29 | 29 |
// // TODO make this configurable in preferences |
30 |
// Translate.setHttpReferrer("http://cybertaxonomy.eu");
|
|
30 |
// Translate.setHttpReferrer("https://cybertaxonomy.org");
|
|
31 | 31 |
// |
32 | 32 |
// String translated; |
33 | 33 |
// try { |
Also available in: Unified diff
replace cybertaxonomy.eu by cybertaxonomy.org in taxeditor