From aff0679c175661a4d7348e03f94782af03576d27 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Mon, 19 Sep 2022 23:14:44 +0900 Subject: [PATCH] Remove Taas service feature Signed-off-by: Hiroshi Miura --- Plugins.properties | 1 - build.gradle | 2 - src/gen/taas/ObjectFactory.java | 112 ------ src/gen/taas/TaasArrayOfTerm.java | 69 ---- src/gen/taas/TaasCollection.java | 337 ---------------- src/gen/taas/TaasCollectionType.java | 50 --- src/gen/taas/TaasCollections.java | 69 ---- src/gen/taas/TaasDomain.java | 146 ------- src/gen/taas/TaasDomains.java | 69 ---- src/gen/taas/TaasExtractionResult.java | 92 ----- src/gen/taas/TaasLanguage.Term.java | 0 src/gen/taas/TaasLanguage.java | 83 ---- src/gen/taas/TaasTerm.java | 233 ----------- src/org/omegat/Bundle.properties | 32 -- src/org/omegat/Bundle_be.properties | 33 -- src/org/omegat/Bundle_ca.properties | 33 -- src/org/omegat/Bundle_co.properties | 32 -- src/org/omegat/Bundle_cs.properties | 32 -- src/org/omegat/Bundle_de.properties | 32 -- src/org/omegat/Bundle_es.properties | 32 -- src/org/omegat/Bundle_eu.properties | 32 -- src/org/omegat/Bundle_fi.properties | 32 -- src/org/omegat/Bundle_fr.properties | 32 -- src/org/omegat/Bundle_hr.properties | 32 -- src/org/omegat/Bundle_hu.properties | 25 -- src/org/omegat/Bundle_ia.properties | 32 -- src/org/omegat/Bundle_it.properties | 32 -- src/org/omegat/Bundle_ja.properties | 32 -- src/org/omegat/Bundle_mfe.properties | 32 -- src/org/omegat/Bundle_nl.properties | 32 -- src/org/omegat/Bundle_no.properties | 31 -- src/org/omegat/Bundle_pl.properties | 25 -- src/org/omegat/Bundle_pt.properties | 32 -- src/org/omegat/Bundle_pt_BR.properties | 32 -- src/org/omegat/Bundle_ru.properties | 32 -- src/org/omegat/Bundle_sc.properties | 32 -- src/org/omegat/Bundle_sq.properties | 2 +- src/org/omegat/Bundle_sv.properties | 32 -- src/org/omegat/Bundle_tk.properties | 32 -- src/org/omegat/Bundle_tr.properties | 32 -- src/org/omegat/Bundle_uk.properties | 33 -- src/org/omegat/Bundle_zh_CN.properties | 32 -- src/org/omegat/Bundle_zh_TW.properties | 25 -- .../taas/BrowseTaasCollectionsController.java | 377 ------------------ .../taas/BrowseTaasCollectionsUI.form | 95 ----- .../taas/BrowseTaasCollectionsUI.java | 134 ------- .../glossary/taas/SelectDomainController.java | 154 ------- .../gui/glossary/taas/SelectDomainUI.form | 109 ----- .../gui/glossary/taas/SelectDomainUI.java | 139 ------- .../omegat/gui/glossary/taas/TaaSClient.java | 354 ---------------- .../gui/glossary/taas/TaaSGlossary.java | 64 --- .../omegat/gui/glossary/taas/TaaSPlugin.java | 141 ------- .../taas/TaaSPreferencesController.java | 156 -------- .../glossary/taas/TaaSPreferencesPanel.form | 221 ---------- .../glossary/taas/TaaSPreferencesPanel.java | 143 ------- src/org/omegat/gui/glossary/taas/filter.xslt | 14 - src/schemas/taas.xjb | 16 - src/schemas/taas.xsd | 99 ----- 58 files changed, 1 insertion(+), 4389 deletions(-) delete mode 100644 src/gen/taas/ObjectFactory.java delete mode 100644 src/gen/taas/TaasArrayOfTerm.java delete mode 100644 src/gen/taas/TaasCollection.java delete mode 100644 src/gen/taas/TaasCollectionType.java delete mode 100644 src/gen/taas/TaasCollections.java delete mode 100644 src/gen/taas/TaasDomain.java delete mode 100644 src/gen/taas/TaasDomains.java delete mode 100644 src/gen/taas/TaasExtractionResult.java delete mode 100644 src/gen/taas/TaasLanguage.Term.java delete mode 100644 src/gen/taas/TaasLanguage.java delete mode 100644 src/gen/taas/TaasTerm.java delete mode 100644 src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsController.java delete mode 100644 src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.form delete mode 100644 src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.java delete mode 100644 src/org/omegat/gui/glossary/taas/SelectDomainController.java delete mode 100644 src/org/omegat/gui/glossary/taas/SelectDomainUI.form delete mode 100644 src/org/omegat/gui/glossary/taas/SelectDomainUI.java delete mode 100644 src/org/omegat/gui/glossary/taas/TaaSClient.java delete mode 100644 src/org/omegat/gui/glossary/taas/TaaSGlossary.java delete mode 100644 src/org/omegat/gui/glossary/taas/TaaSPlugin.java delete mode 100644 src/org/omegat/gui/glossary/taas/TaaSPreferencesController.java delete mode 100644 src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.form delete mode 100644 src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.java delete mode 100644 src/org/omegat/gui/glossary/taas/filter.xslt delete mode 100644 src/schemas/taas.xjb delete mode 100644 src/schemas/taas.xsd diff --git a/Plugins.properties b/Plugins.properties index 140169031b..30219ca277 100644 --- a/Plugins.properties +++ b/Plugins.properties @@ -4,7 +4,6 @@ plugin=org.omegat.filters3.xml.xliff.XLIFFFilter \ org.omegat.tokenizer.HunspellTokenizer \ org.omegat.core.machinetranslators.BelazarTranslate \ org.omegat.gui.scripting.ScriptingWindow \ - org.omegat.gui.glossary.taas.TaaSPlugin \ org.omegat.externalfinder.ExternalFinder \ org.omegat.gui.theme.DefaultFlatTheme \ org.omegat.gui.theme.DefaultClassicTheme \ diff --git a/build.gradle b/build.gradle index 84ee995299..9c7ba785bc 100644 --- a/build.gradle +++ b/build.gradle @@ -844,8 +844,6 @@ makeJaxbTask(name: 'project', outdir: 'src/gen/core/project', args: ['-no-header', '-d', 'src', '-p', 'gen.core.project', 'src/schemas/project_properties.xsd']) makeJaxbTask(name: 'tmx14', outdir: 'src/gen/core/tmx14', args: ['-no-header', '-d', 'src', '-p', 'gen.core.tmx14', '-b', 'src/schemas/tmx14.xjb', 'src/schemas/tmx14.xsd']) -makeJaxbTask(name: 'taas', outdir: 'src/gen/taas', - args: ['-no-header', '-d', 'src', '-p', 'gen.taas', '-b', 'src/schemas/taas.xjb', 'src/schemas/taas.xsd']) task genMac { description = 'Generate the Mac .app skeleton. Requires AppBundler (https://bitbucket.org/infinitekind/appbundler) ' + diff --git a/src/gen/taas/ObjectFactory.java b/src/gen/taas/ObjectFactory.java deleted file mode 100644 index 795cb0b689..0000000000 --- a/src/gen/taas/ObjectFactory.java +++ /dev/null @@ -1,112 +0,0 @@ - -package gen.taas; - -import javax.xml.bind.annotation.XmlRegistry; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the gen.taas package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: gen.taas - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link TaasCollection } - * - */ - public TaasCollection createTaasCollection() { - return new TaasCollection(); - } - - /** - * Create an instance of {@link TaasCollections } - * - */ - public TaasCollections createTaasCollections() { - return new TaasCollections(); - } - - /** - * Create an instance of {@link TaasCollection.Languages } - * - */ - public TaasCollection.Languages createTaasCollectionLanguages() { - return new TaasCollection.Languages(); - } - - /** - * Create an instance of {@link TaasCollection.Domains } - * - */ - public TaasCollection.Domains createTaasCollectionDomains() { - return new TaasCollection.Domains(); - } - - /** - * Create an instance of {@link TaasLanguage } - * - */ - public TaasLanguage createTaasLanguage() { - return new TaasLanguage(); - } - - /** - * Create an instance of {@link TaasDomains } - * - */ - public TaasDomains createTaasDomains() { - return new TaasDomains(); - } - - /** - * Create an instance of {@link TaasDomain } - * - */ - public TaasDomain createTaasDomain() { - return new TaasDomain(); - } - - /** - * Create an instance of {@link TaasArrayOfTerm } - * - */ - public TaasArrayOfTerm createTaasArrayOfTerm() { - return new TaasArrayOfTerm(); - } - - /** - * Create an instance of {@link TaasTerm } - * - */ - public TaasTerm createTaasTerm() { - return new TaasTerm(); - } - - /** - * Create an instance of {@link TaasExtractionResult } - * - */ - public TaasExtractionResult createTaasExtractionResult() { - return new TaasExtractionResult(); - } - -} diff --git a/src/gen/taas/TaasArrayOfTerm.java b/src/gen/taas/TaasArrayOfTerm.java deleted file mode 100644 index d23fd9ad8b..0000000000 --- a/src/gen/taas/TaasArrayOfTerm.java +++ /dev/null @@ -1,69 +0,0 @@ - -package gen.taas; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}term" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "term" -}) -@XmlRootElement(name = "ArrayOfTerm") -public class TaasArrayOfTerm { - - protected List term; - - /** - * Gets the value of the term property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the term property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTerm().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TaasTerm } - * - * - */ - public List getTerm() { - if (term == null) { - term = new ArrayList(); - } - return this.term; - } - -} diff --git a/src/gen/taas/TaasCollection.java b/src/gen/taas/TaasCollection.java deleted file mode 100644 index 15a9b09ccd..0000000000 --- a/src/gen/taas/TaasCollection.java +++ /dev/null @@ -1,337 +0,0 @@ - -package gen.taas; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/>
- *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="type" type="{}CollectionType"/>
- *         <element name="languages">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}language" maxOccurs="unbounded" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="domains">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}domain" maxOccurs="unbounded" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "id", - "name", - "description", - "type", - "languages", - "domains" -}) -@XmlRootElement(name = "collection") -public class TaasCollection { - - protected long id; - @XmlElement(required = true) - protected String name; - @XmlElement(required = true) - protected String description; - @XmlElement(required = true) - @XmlSchemaType(name = "string") - protected TaasCollectionType type; - @XmlElement(required = true) - protected TaasCollection.Languages languages; - @XmlElement(required = true) - protected TaasCollection.Domains domains; - - /** - * Gets the value of the id property. - * - */ - public long getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(long value) { - this.id = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDescription(String value) { - this.description = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link TaasCollectionType } - * - */ - public TaasCollectionType getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link TaasCollectionType } - * - */ - public void setType(TaasCollectionType value) { - this.type = value; - } - - /** - * Gets the value of the languages property. - * - * @return - * possible object is - * {@link TaasCollection.Languages } - * - */ - public TaasCollection.Languages getLanguages() { - return languages; - } - - /** - * Sets the value of the languages property. - * - * @param value - * allowed object is - * {@link TaasCollection.Languages } - * - */ - public void setLanguages(TaasCollection.Languages value) { - this.languages = value; - } - - /** - * Gets the value of the domains property. - * - * @return - * possible object is - * {@link TaasCollection.Domains } - * - */ - public TaasCollection.Domains getDomains() { - return domains; - } - - /** - * Sets the value of the domains property. - * - * @param value - * allowed object is - * {@link TaasCollection.Domains } - * - */ - public void setDomains(TaasCollection.Domains value) { - this.domains = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}domain" maxOccurs="unbounded" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "domain" - }) - public static class Domains { - - protected List domain; - - /** - * Gets the value of the domain property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the domain property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getDomain().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TaasDomain } - * - * - */ - public List getDomain() { - if (domain == null) { - domain = new ArrayList(); - } - return this.domain; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}language" maxOccurs="unbounded" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "language" - }) - public static class Languages { - - protected List language; - - /** - * Gets the value of the language property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the language property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getLanguage().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TaasLanguage } - * - * - */ - public List getLanguage() { - if (language == null) { - language = new ArrayList(); - } - return this.language; - } - - } - -} diff --git a/src/gen/taas/TaasCollectionType.java b/src/gen/taas/TaasCollectionType.java deleted file mode 100644 index b576513747..0000000000 --- a/src/gen/taas/TaasCollectionType.java +++ /dev/null @@ -1,50 +0,0 @@ - -package gen.taas; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for CollectionType. - * - *

The following schema fragment specifies the expected content contained within this class. - *

- * <simpleType name="CollectionType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="public"/>
- *     <enumeration value="private"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "CollectionType") -@XmlEnum -public enum TaasCollectionType { - - @XmlEnumValue("public") - PUBLIC("public"), - @XmlEnumValue("private") - PRIVATE("private"); - private final String value; - - TaasCollectionType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static TaasCollectionType fromValue(String v) { - for (TaasCollectionType c: TaasCollectionType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/src/gen/taas/TaasCollections.java b/src/gen/taas/TaasCollections.java deleted file mode 100644 index 3f85bbe4bc..0000000000 --- a/src/gen/taas/TaasCollections.java +++ /dev/null @@ -1,69 +0,0 @@ - -package gen.taas; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}collection" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "collection" -}) -@XmlRootElement(name = "collections") -public class TaasCollections { - - protected List collection; - - /** - * Gets the value of the collection property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the collection property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCollection().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TaasCollection } - * - * - */ - public List getCollection() { - if (collection == null) { - collection = new ArrayList(); - } - return this.collection; - } - -} diff --git a/src/gen/taas/TaasDomain.java b/src/gen/taas/TaasDomain.java deleted file mode 100644 index ce1f69a743..0000000000 --- a/src/gen/taas/TaasDomain.java +++ /dev/null @@ -1,146 +0,0 @@ - -package gen.taas; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="parent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="count" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "id", - "parent", - "name", - "count" -}) -@XmlRootElement(name = "domain") -public class TaasDomain { - - @XmlElement(required = true) - protected String id; - protected String parent; - @XmlElement(required = true) - protected String name; - protected Integer count; - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the parent property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getParent() { - return parent; - } - - /** - * Sets the value of the parent property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setParent(String value) { - this.parent = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the count property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getCount() { - return count; - } - - /** - * Sets the value of the count property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setCount(Integer value) { - this.count = value; - } - -} diff --git a/src/gen/taas/TaasDomains.java b/src/gen/taas/TaasDomains.java deleted file mode 100644 index e481417f20..0000000000 --- a/src/gen/taas/TaasDomains.java +++ /dev/null @@ -1,69 +0,0 @@ - -package gen.taas; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}domain" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "domain" -}) -@XmlRootElement(name = "domains") -public class TaasDomains { - - protected List domain; - - /** - * Gets the value of the domain property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the domain property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDomain().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TaasDomain } - * - * - */ - public List getDomain() { - if (domain == null) { - domain = new ArrayList(); - } - return this.domain; - } - -} diff --git a/src/gen/taas/TaasExtractionResult.java b/src/gen/taas/TaasExtractionResult.java deleted file mode 100644 index 22c290c094..0000000000 --- a/src/gen/taas/TaasExtractionResult.java +++ /dev/null @@ -1,92 +0,0 @@ - -package gen.taas; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="terms" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "text", - "terms" -}) -@XmlRootElement(name = "extractionResult") -public class TaasExtractionResult { - - @XmlElement(required = true) - protected String text; - @XmlElement(required = true) - protected String terms; - - /** - * Gets the value of the text property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getText() { - return text; - } - - /** - * Sets the value of the text property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setText(String value) { - this.text = value; - } - - /** - * Gets the value of the terms property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTerms() { - return terms; - } - - /** - * Sets the value of the terms property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTerms(String value) { - this.terms = value; - } - -} diff --git a/src/gen/taas/TaasLanguage.Term.java b/src/gen/taas/TaasLanguage.Term.java deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/gen/taas/TaasLanguage.java b/src/gen/taas/TaasLanguage.java deleted file mode 100644 index 2335097ff8..0000000000 --- a/src/gen/taas/TaasLanguage.java +++ /dev/null @@ -1,83 +0,0 @@ - -package gen.taas; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="count" type="{http://www.w3.org/2001/XMLSchema}int"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "id", - "count" -}) -@XmlRootElement(name = "language") -public class TaasLanguage { - - @XmlElement(required = true) - protected String id; - protected int count; - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the count property. - * - */ - public int getCount() { - return count; - } - - /** - * Sets the value of the count property. - * - */ - public void setCount(int value) { - this.count = value; - } - -} diff --git a/src/gen/taas/TaasTerm.java b/src/gen/taas/TaasTerm.java deleted file mode 100644 index a76aad1a11..0000000000 --- a/src/gen/taas/TaasTerm.java +++ /dev/null @@ -1,233 +0,0 @@ - -package gen.taas; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="term" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="entryID" type="{http://www.w3.org/2001/XMLSchema}long"/>
- *         <element name="collectionID" type="{http://www.w3.org/2001/XMLSchema}long"/>
- *         <element name="collectionName" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="collectionType" type="{http://www.w3.org/2001/XMLSchema}long"/>
- *         <element name="domainID" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="domainName" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="language" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "term", - "entryID", - "collectionID", - "collectionName", - "collectionType", - "domainID", - "domainName", - "language" -}) -@XmlRootElement(name = "term") -public class TaasTerm { - - @XmlElement(required = true) - protected String term; - protected long entryID; - protected long collectionID; - @XmlElement(required = true) - protected String collectionName; - protected long collectionType; - @XmlElement(required = true) - protected String domainID; - @XmlElement(required = true) - protected String domainName; - @XmlElement(required = true) - protected String language; - - /** - * Gets the value of the term property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTerm() { - return term; - } - - /** - * Sets the value of the term property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTerm(String value) { - this.term = value; - } - - /** - * Gets the value of the entryID property. - * - */ - public long getEntryID() { - return entryID; - } - - /** - * Sets the value of the entryID property. - * - */ - public void setEntryID(long value) { - this.entryID = value; - } - - /** - * Gets the value of the collectionID property. - * - */ - public long getCollectionID() { - return collectionID; - } - - /** - * Sets the value of the collectionID property. - * - */ - public void setCollectionID(long value) { - this.collectionID = value; - } - - /** - * Gets the value of the collectionName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCollectionName() { - return collectionName; - } - - /** - * Sets the value of the collectionName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCollectionName(String value) { - this.collectionName = value; - } - - /** - * Gets the value of the collectionType property. - * - */ - public long getCollectionType() { - return collectionType; - } - - /** - * Sets the value of the collectionType property. - * - */ - public void setCollectionType(long value) { - this.collectionType = value; - } - - /** - * Gets the value of the domainID property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDomainID() { - return domainID; - } - - /** - * Sets the value of the domainID property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDomainID(String value) { - this.domainID = value; - } - - /** - * Gets the value of the domainName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDomainName() { - return domainName; - } - - /** - * Sets the value of the domainName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDomainName(String value) { - this.domainName = value; - } - - /** - * Gets the value of the language property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLanguage() { - return language; - } - - /** - * Sets the value of the language property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLanguage(String value) { - this.language = value; - } - -} diff --git a/src/org/omegat/Bundle.properties b/src/org/omegat/Bundle.properties index e5ac282e15..7ec40e2b1d 100644 --- a/src/org/omegat/Bundle.properties +++ b/src/org/omegat/Bundle.properties @@ -2547,38 +2547,6 @@ STM_METADATA_NEXT=Next STM_METADATA_PREV=Previous STM_REPORT_FORMAT=Added: {1}, Deleted: {2}, Modified: {3} (Conflicts: {0}) -# TaaS messages -TAAS_REQUEST=Request to TaaS: {0} -TAAS_MENU_BROWSE=&Browse TaaS Collections... -TAAS_MENU_DOMAINS=Select TaaS Terminology &Lookup Domain... -TAAS_MENU_LOOKUP=&TaaS Terminology Lookup -TAAS_LIST_HEADER=TaaS Collections -TAAS_LIST_NAME=Name -TAAS_LIST_DESC=Description -TAAS_LIST_SOURCE_COUNT=Source count -TAAS_LIST_TARGET_COUNT=Target count -TAAS_LIST_DOMAINS=Domains -TAAS_LIST_UPDATED=Updated -TAAS_LIST_DOWNLOAD=&Download -TAAS_DOMAINS_ALL=All domains -TAAS_DOMAINS_SELECT=&Select -TAAS_STATUS_LIST=Retrieve collection list... -TAAS_DOMAIN_SELECTION_TITLE=Select TaaS domain -TAAS_STATUS_DOMAIN_LIST=Retrieve domain list... -TAAS_STATUS_DOWNLOAD=Download collection {0} -TAAS_GENERAL_ERROR=Request error: {0} -TAAS_UNAUTHORIZED_ERROR=Unauthorized request to TaaS service. Something went wrong, please visit Tilde Terminology for details. -TAAS_FORMAT_ERROR=Wrong response format from TaaS service -TAAS_REPLACE_ERROR=Error updating glossary file -TAAS_API_KEY_NOT_FOUND=TaaS API key not set. Create your own key then input it below. -TAAS_GET_KEY_BUTTON=Get API Key -TAAS_DOMAIN_SELECT=&Select -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API Key: -PREFS_TITLE_TAAS=TaaS Terminology -PREFS_TAAS_LOOKUP=&Enable TaaS terminology lookup - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Exclusion Patterns diff --git a/src/org/omegat/Bundle_be.properties b/src/org/omegat/Bundle_be.properties index cbf26c5abf..f978c29c27 100644 --- a/src/org/omegat/Bundle_be.properties +++ b/src/org/omegat/Bundle_be.properties @@ -2291,39 +2291,6 @@ STM_METADATA_NEXT=\u0414\u0430\u043b\u0435\u0439 STM_METADATA_PREV=\u041d\u0430\u0437\u0430\u0434 STM_REPORT_FORMAT=\u0414\u0430\u0434\u0430\u0434\u0437\u0435\u043d\u0430: {1}, \u0432\u044b\u0434\u0430\u043b\u0435\u043d\u0430: {2}, \u0437\u044c\u043c\u0435\u043d\u0435\u043d\u0430: {3} (\u043a\u0430\u043d\u0444\u043b\u0456\u043a\u0442\u0430\u045e: {0}) -# TaaS messages -TAAS_REQUEST=\u0417\u0430\u043f\u044b\u0442 \u0434\u0430 TaaS: {0} -TAAS_MENU_BROWSE=\u041f\u0440\u0430\u0433\u043b\u044f\u0434 &\u043a\u0430\u043b\u0435\u043a\u0446\u044b\u0439 TaaS\u2026 -TAAS_MENU_DOMAINS=&\u0412\u044b\u0431\u0440\u0430\u0446\u044c \u0432\u043e\u0431\u043b\u0430\u0441\u044c\u0446\u044c \u043f\u043e\u0448\u0443\u043a\u0443 \u0442\u044d\u0440\u043c\u0456\u043d\u0430\u045e \u0443 TaaS\u2026 -TAAS_MENU_LOOKUP=\u041f\u043e\u0448\u0443\u043a &\u0442\u044d\u0440\u043c\u0456\u043d\u0430\u045e \u0443 TaaS -TAAS_LIST_HEADER=\u041a\u0430\u043b\u0435\u043a\u0446\u044b\u0456 TaaS -TAAS_LIST_NAME=\u0406\u043c\u044f -TAAS_LIST_DESC=\u0410\u043f\u0456\u0441\u0430\u043d\u044c\u043d\u0435 -TAAS_LIST_SOURCE_COUNT=\u0410\u0431\u2019\u0451\u043c \u0437\u044b\u0445\u043e\u0434\u043d\u0430\u0433\u0430 \u0442\u044d\u043a\u0441\u0442\u0443 -TAAS_LIST_TARGET_COUNT=\u0410\u0431\u2019\u0451\u043c \u043f\u0435\u0440\u0430\u043a\u043b\u0430\u0434\u0443 -TAAS_LIST_DOMAINS=\u0414\u0430\u043c\u044d\u043d\u044b -TAAS_LIST_UPDATED=\u0410\u0431\u043d\u043e\u045e\u043b\u0435\u043d\u0430 -TAAS_LIST_DOWNLOAD=&\u0421\u043f\u0430\u043c\u043f\u0430\u0432\u0430\u0446\u044c -TAAS_DOMAINS_ALL=\u0423\u0441\u0435 \u0434\u0430\u043c\u044d\u043d\u044b -TAAS_DOMAINS_SELECT=&\u0412\u044b\u0431\u0430\u0440 -TAAS_STATUS_LIST=\u0410\u0442\u0440\u044b\u043c\u043b\u0456\u0432\u0430\u0435\u0446\u0446\u0430 \u0441\u044c\u043f\u0456\u0441 \u043a\u0430\u043b\u0435\u043a\u0446\u044b\u044f\u045e\u2026 -TAAS_DOMAIN_SELECTION_TITLE=\u0412\u044b\u0431\u0440\u0430\u0446\u044c \u0434\u0430\u043c\u044d\u043d TaaS -TAAS_STATUS_DOMAIN_LIST=\u0410\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u0441\u044c\u043f\u0456\u0441 \u043a\u0430\u043b\u0435\u043a\u0446\u044b\u044f\u045e\u2026 -TAAS_STATUS_DOWNLOAD=\u0421\u043f\u0430\u043c\u043f\u0430\u0432\u0430\u0446\u044c \u043a\u0430\u043b\u0435\u043a\u0446\u044b\u044e {0} -TAAS_GENERAL_ERROR=\u041f\u0430\u043c\u044b\u043b\u043a\u0430 \u0437\u0430\u043f\u044b\u0442\u0443: {0} -TAAS_UNAUTHORIZED_ERROR=\u041d\u0435\u0441\u0430\u043d\u043a\u0446\u044b\u044f\u0432\u0430\u043d\u044b \u0437\u0430\u043f\u044b\u0442 \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 TaaS \u0423\u0437\u044c\u043d\u0456\u043a\u043b\u0430 \u043f\u0430\u043c\u044b\u043b\u043a\u0430. \u0417\u0430 \u0434\u0430\u0434\u0430\u0442\u043a\u043e\u0432\u044b\u043c\u0456 \u0437\u044c\u0432\u0435\u0441\u0442\u043a\u0430\u043c\u0456 \u0437\u044c\u0432\u044f\u0440\u043d\u0435\u0446\u0435\u0441\u044f \u0434\u0430 Tilde Terminology. -TAAS_FORMAT_ERROR=\u041d\u044f\u0441\u043b\u0443\u0448\u043d\u044b \u0444\u0430\u0440\u043c\u0430\u0442 \u0430\u0434\u043a\u0430\u0437\u0443 \u0430\u0434 \u0441\u044d\u0440\u0432\u0456\u0441\u0443 TaaS -TAAS_REPLACE_ERROR=\u041f\u0430\u043c\u044b\u043b\u043a\u0430 \u043f\u0440\u044b \u0430\u0431\u043d\u0430\u045e\u043b\u0435\u043d\u044c\u043d\u0456 \u0444\u0430\u0439\u043b\u0430 \u0433\u043b\u044f\u0441\u0430\u0440\u0430 -TAAS_API_KEY_NOT_FOUND=\u041d\u044f\u043c\u0430 \u043a\u043b\u044e\u0447\u0430 \u0434\u0430 TaaS API \u0421\u0442\u0432\u0430\u0440\u044d\u0446\u0435 \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447 \u0456 \u045e\u0432\u044f\u0434\u0437\u0435\u0446\u0435 \u044f\u0433\u043e \u043d\u0456\u0436\u044d\u0439. -TAAS_GET_KEY_BUTTON=\u0410\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u043a\u043b\u044e\u0447 API -TAAS_DOMAIN_SELECT=&\u0412\u044b\u0431\u0430\u0440 -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=\u041a\u043b\u044e\u0447 API: -PREFS_TITLE_TAAS=\u0422\u044d\u0440\u043c\u0456\u043d\u0430\u043b\u0451\u0433\u0456\u044f TaaS -PREFS_TAAS_LOOKUP=\u041f\u043e\u0448\u0443\u043a &\u0442\u044d\u0440\u043c\u0456\u043d\u0430\u045e \u0443 TaaS - - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u0428\u0430\u0431\u043b\u0451\u043d\u044b \u0432\u044b\u043a\u043b\u044e\u0447\u044d\u043d\u044c\u043d\u044f\u045e FILENAMEPATTERNS_MASK=\u041c\u0430\u0441\u043a\u0430 diff --git a/src/org/omegat/Bundle_ca.properties b/src/org/omegat/Bundle_ca.properties index 518f736961..18aa62dd6b 100644 --- a/src/org/omegat/Bundle_ca.properties +++ b/src/org/omegat/Bundle_ca.properties @@ -2291,39 +2291,6 @@ STM_METADATA_NEXT=Seg\u00fcent STM_METADATA_PREV=Anterior STM_REPORT_FORMAT=Afegides: {1}, Suprimides: {2}, Modificades: {3} (Conflictes: {0}) -# TaaS messages -TAAS_REQUEST=Sol\u00b7licitud a TaaS: {0} -TAAS_MENU_BROWSE=&Explora les col\u00b7leccions de TaaS... -TAAS_MENU_DOMAINS=Se&leccioneu un domini de cerca de terminologia de TaaS... -TAAS_MENU_LOOKUP=Cerca de terminologia de &TaaS -TAAS_LIST_HEADER=Col\u00b7leccions de TaaS -TAAS_LIST_NAME=Nom -TAAS_LIST_DESC=Descripci\u00f3 -TAAS_LIST_SOURCE_COUNT=Recompte d'origen -TAAS_LIST_TARGET_COUNT=Recompte de destinaci\u00f3 -TAAS_LIST_DOMAINS=\u00c0mbits -TAAS_LIST_UPDATED=Actualitzat -TAAS_LIST_DOWNLOAD=&Baixa -TAAS_DOMAINS_ALL=Tots els \u00e0mbits -TAAS_DOMAINS_SELECT=&Selecciona -TAAS_STATUS_LIST=S'est\u00e0 recuperant la llista de col\u00b7leccions... -TAAS_DOMAIN_SELECTION_TITLE=Seleccioneu un \u00e0mbit de TaaS -TAAS_STATUS_DOMAIN_LIST=S'est\u00e0 recuperant la llista d'\u00e0mbits... -TAAS_STATUS_DOWNLOAD=S'est\u00e0 baixant la col\u00b7lecci\u00f3 {0} -TAAS_GENERAL_ERROR=Error de sol\u00b7licitud: {0} -TAAS_UNAUTHORIZED_ERROR=Sol\u00b7licitud no autoritzada al servei de TaaS. Alguna cosa no ha funcionat; visiteu Tilde Terminology per a obtenir m\u00e9s detalls. -TAAS_FORMAT_ERROR=El format de la resposta del servei de TaaS \u00e9s incorrecte -TAAS_REPLACE_ERROR=S'ha produ\u00eft un error en actualitzar el fitxer de glossari -TAAS_API_KEY_NOT_FOUND=No heu definit cap clau API de TaaS. Creeu la vostra pr\u00f2pia clau i introdu\u00efu-la a continuaci\u00f3. -TAAS_GET_KEY_BUTTON=Obt\u00e9n una clau API -TAAS_DOMAIN_SELECT=&Selecciona -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Clau API: -PREFS_TITLE_TAAS=Terminologia de TaaS -PREFS_TAAS_LOOKUP=&Habilita la cerca de terminologia de TaaS - - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Patrons d'exclusi\u00f3 FILENAMEPATTERNS_MASK=M\u00e0scara diff --git a/src/org/omegat/Bundle_co.properties b/src/org/omegat/Bundle_co.properties index d32165256b..449a9a77de 100644 --- a/src/org/omegat/Bundle_co.properties +++ b/src/org/omegat/Bundle_co.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=Seguente STM_METADATA_PREV=Precedente STM_REPORT_FORMAT=Aghjunti\u00a0: {1}, Squassati\u00a0: {2}, Mudificati\u00a0: {3} (Cunflitti\u00a0: {0}) -# TaaS messages -TAAS_REQUEST=Dumand\u00e0 \u00e0 TaaS\u00a0: {0} -TAAS_MENU_BROWSE=&Sfugli\u00e0 e cullezzioni TaaS\u2026 -TAAS_MENU_DOMAINS=Selezziun\u00e0 &u duminiu di ricerca terminologica TaaS\u2026 -TAAS_MENU_LOOKUP=&Ricerca terminologica TaaS -TAAS_LIST_HEADER=Cullezzioni TaaS -TAAS_LIST_NAME=Nome -TAAS_LIST_DESC=Discrizzione -TAAS_LIST_SOURCE_COUNT=Parolle d\u2019origine -TAAS_LIST_TARGET_COUNT=Parolle di destinazione -TAAS_LIST_DOMAINS=Duminii -TAAS_LIST_UPDATED=Mudificatu -TAAS_LIST_DOWNLOAD=&Scaric\u00e0 -TAAS_DOMAINS_ALL=Tutti i duminii -TAAS_DOMAINS_SELECT=&Selezziun\u00e0 -TAAS_STATUS_LIST=Ricuperazione di a lista di e cullezzioni\u2026 -TAAS_DOMAIN_SELECTION_TITLE=Selezziun\u00e0 u duminiu TaaS -TAAS_STATUS_DOMAIN_LIST=Ricuperazione di a lista di i duminii\u2026 -TAAS_STATUS_DOWNLOAD=Scaricamentu di a cullezione {0} -TAAS_GENERAL_ERROR=Sbagliu di richiesta\u00a0: {0} -TAAS_UNAUTHORIZED_ERROR=Richiesta micca auturizata \u00e0 u serviziu TaaS. Qualcosa di gattivu h\u00e8 accadutu, ci vole \u00e0 visit\u00e0 u situ Tilde Terminology per sapene di pi\u00f9. -TAAS_FORMAT_ERROR=Furmatu gattivu di risposta da u serviziu TaaS -TAAS_REPLACE_ERROR=Sbagliu durante a mudificazione di u schedariu di glossariu -TAAS_API_KEY_NOT_FOUND=A chjave d\u2019API TaaS \u00f9n h\u00e8 micca definita. Create a vostra propria chjave \u00e8 entritella puru inghj\u00f2. -TAAS_GET_KEY_BUTTON=Ottene una chjave d\u2019API -TAAS_DOMAIN_SELECT=&Selezziun\u00e0 -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Chjave d\u2019API\u00a0: -PREFS_TITLE_TAAS=Terminolugia TaaS -PREFS_TAAS_LOOKUP=Attiv\u00e0 a ricerca terminologica &TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Mudelli d\u2019esclusione diff --git a/src/org/omegat/Bundle_cs.properties b/src/org/omegat/Bundle_cs.properties index 3483229231..cd7701ab1b 100644 --- a/src/org/omegat/Bundle_cs.properties +++ b/src/org/omegat/Bundle_cs.properties @@ -2369,38 +2369,6 @@ STM_METADATA_NEXT=Dal\u0161\u00ed STM_METADATA_PREV=P\u0159edchoz\u00ed STM_REPORT_FORMAT=P\u0159id\u00e1no: {1}, Smaz\u00e1no: {2}, Zm\u011bn\u011bno: {3} (Konflikty: {0}) -# TaaS messages -TAAS_REQUEST=Dotaz na TaaS: {0} -TAAS_MENU_BROWSE=&Proch\u00e1zet kolekce TaaS... -TAAS_MENU_DOMAINS=Vybrat oblast hled\u00e1n\u00ed termino&logie v TaaS -TAAS_MENU_LOOKUP=Hled\u00e1n\u00ed terminologie v &TaaS -TAAS_LIST_HEADER=TaaS Kolekce -TAAS_LIST_NAME=N\u00e1zev -TAAS_LIST_DESC=Popis -TAAS_LIST_SOURCE_COUNT=Stav zdroje -TAAS_LIST_TARGET_COUNT=Stav c\u00edle -TAAS_LIST_DOMAINS=Oblasti -TAAS_LIST_UPDATED=Aktualizovan\u00e9 -TAAS_LIST_DOWNLOAD=&Sta\u017een\u00ed -TAAS_DOMAINS_ALL=V\u0161echny oblasti -TAAS_DOMAINS_SELECT=Vybra&t -TAAS_STATUS_LIST=Obnovuje se seznam kolekc\u00ed... -TAAS_DOMAIN_SELECTION_TITLE=Ozna\u010dit oblast TaaS -TAAS_STATUS_DOMAIN_LIST=Obnovit seznam oblast\u00ed ... -TAAS_STATUS_DOWNLOAD=St\u00e1hnout kolekci {0} -TAAS_GENERAL_ERROR=Chyba dotazu: {0} -TAAS_UNAUTHORIZED_ERROR=Neopr\u00e1vn\u011bn\u00fd po\u017eadavek slu\u017eby TaaS N\u011bco se nezda\u0159ilo, pro v\u00edce informac\u00ed nav\u0161tivte "Tilde Terminology". -TAAS_FORMAT_ERROR=Chybn\u00fd form\u00e1t odzvy ze slu\u017eby TaaS -TAAS_REPLACE_ERROR=Chyba p\u0159i nahr\u00e1v\u00e1n\u00ed souboru adres\u00e1\u0159e -TAAS_API_KEY_NOT_FOUND=Kl\u00ed\u010d pro TaaS API nen\u00ed zad\u00e1n Vytvo\u0159te vlastn\u00ed kl\u00ed\u010d a pak jej vlo\u017ete n\u00ed\u017ee -TAAS_GET_KEY_BUTTON=Z\u00edskat kl\u00ed\u010d API -TAAS_DOMAIN_SELECT=Vybra&t -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Kl\u00ed\u010d API Key: -PREFS_TITLE_TAAS=Terminologie TaaS -PREFS_TAAS_LOOKUP=Povolit hl&ed\u00e1n\u00ed v terminilogii TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Vzory v\u00fdjimek diff --git a/src/org/omegat/Bundle_de.properties b/src/org/omegat/Bundle_de.properties index 911543fdb0..10f87ffe78 100644 --- a/src/org/omegat/Bundle_de.properties +++ b/src/org/omegat/Bundle_de.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=Weiter STM_METADATA_PREV=Zur\u00fcck STM_REPORT_FORMAT=Hinzugef\u00fcgt: {1}, Gel\u00f6scht: {2}, Ver\u00e4ndert: {3} (Konflikte: {0}) -# TaaS messages -TAAS_REQUEST=Anfrage an TaaS: {0} -TAAS_MENU_BROWSE=&TaaS-Sammlungen durchsuchen... -TAAS_MENU_DOMAINS=TaaS-Terminologie-&Lookup-Fachgebiet ausw\u00e4hlen... -TAAS_MENU_LOOKUP=&TaaS-Terminologie nachschlagen -TAAS_LIST_HEADER=TaaS-Sammlungen -TAAS_LIST_NAME=Name -TAAS_LIST_DESC=Beschreibung -TAAS_LIST_SOURCE_COUNT=Anzahl Quellen -TAAS_LIST_TARGET_COUNT=Anzahl Ziele -TAAS_LIST_DOMAINS=Fachgebiete -TAAS_LIST_UPDATED=Stand -TAAS_LIST_DOWNLOAD=Herunterla&den -TAAS_DOMAINS_ALL=Alle Fachgebiete -TAAS_DOMAINS_SELECT=Au&sw\u00e4hlen -TAAS_STATUS_LIST=Sammlungsliste abrufen... -TAAS_DOMAIN_SELECTION_TITLE=TaaS-Fachgebiet ausw\u00e4hlen -TAAS_STATUS_DOMAIN_LIST=Fachgebietsliste abrufen... -TAAS_STATUS_DOWNLOAD=Sammlung {0} herunterladen -TAAS_GENERAL_ERROR=Anfragefehler: {0} -TAAS_UNAUTHORIZED_ERROR=Unautorisierte Anfrage an den TaaS-Dienst. Etwas ist schief gelaufen, bitte besuchen Sie Tilde Terminology f\u00fcr Details. -TAAS_FORMAT_ERROR=Falsches Antwortformat vom TaaS-Dienst -TAAS_REPLACE_ERROR=Fehler beim Aktualisieren der Glossardatei -TAAS_API_KEY_NOT_FOUND=TaaS-API-Schl\u00fcssel nicht gesetzt. Erstellen Sie Ihren eigenen Schl\u00fcssel und geben Sie ihn unten ein. -TAAS_GET_KEY_BUTTON=API-Schl\u00fcssel abrufen -TAAS_DOMAIN_SELECT=Au&sw\u00e4hlen -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API-Schl\u00fcssel: -PREFS_TITLE_TAAS=TaaS-Terminologie -PREFS_TAAS_LOOKUP=TaaS-T&erminologie-Lookup aktivieren - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Ausnahmemuster diff --git a/src/org/omegat/Bundle_es.properties b/src/org/omegat/Bundle_es.properties index 53d0d3e601..1e43f75aba 100644 --- a/src/org/omegat/Bundle_es.properties +++ b/src/org/omegat/Bundle_es.properties @@ -2386,38 +2386,6 @@ STM_METADATA_NEXT=Siguiente STM_METADATA_PREV=Anterior STM_REPORT_FORMAT=Agregados: {1}, eliminados: {2}, modificados: {3} (conflictos: {0}) -# TaaS messages -TAAS_REQUEST=Solicitud a TaaS: {0} -TAAS_MENU_BROWSE=&Explorar colecciones de TaaS... -TAAS_MENU_DOMAINS=&Seleccionar el dominio de b\u00fasqueda de terminolog\u00eda en TaaS... -TAAS_MENU_LOOKUP=Consulta de terminolog\u00eda en &TaaS -TAAS_LIST_HEADER=Colecciones de TaaS -TAAS_LIST_NAME=Nombre -TAAS_LIST_DESC=Descripci\u00f3n -TAAS_LIST_SOURCE_COUNT=Recuento de origen -TAAS_LIST_TARGET_COUNT=Recuento de destino -TAAS_LIST_DOMAINS=Dominios -TAAS_LIST_UPDATED=Actualizado -TAAS_LIST_DOWNLOAD=&Descargar -TAAS_DOMAINS_ALL=Todos los dominios -TAAS_DOMAINS_SELECT=&Seleccionar -TAAS_STATUS_LIST=Recuperar lista de colecciones... -TAAS_DOMAIN_SELECTION_TITLE=Seleccionar el dominio de TaaS -TAAS_STATUS_DOMAIN_LIST=Recuperar lista de dominios... -TAAS_STATUS_DOWNLOAD=Descargar colecci\u00f3n {0} -TAAS_GENERAL_ERROR=Error de solicitud: {0} -TAAS_UNAUTHORIZED_ERROR=Solicitud no autorizada al servicio TaaS. Algo no funcion\u00f3. Para m\u00e1s detalles, visite Tilde Terminology. -TAAS_FORMAT_ERROR=Formato de respuesta incorrecto del servicio TaaS -TAAS_REPLACE_ERROR=Error al actualizar el archivo de glosario -TAAS_API_KEY_NOT_FOUND=No se estableci\u00f3 la clave de la API de TaaS. Cree su propia clave y luego introd\u00fazcala abajo. -TAAS_GET_KEY_BUTTON=Obtener clave de API -TAAS_DOMAIN_SELECT=&Seleccionar -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Clave de API: -PREFS_TITLE_TAAS=Terminolog\u00eda en TaaS -PREFS_TAAS_LOOKUP=Activar consulta de te&rminolog\u00eda en TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Patrones de exclusi\u00f3n diff --git a/src/org/omegat/Bundle_eu.properties b/src/org/omegat/Bundle_eu.properties index f6160f3913..b6bb03ce3a 100644 --- a/src/org/omegat/Bundle_eu.properties +++ b/src/org/omegat/Bundle_eu.properties @@ -2363,38 +2363,6 @@ STM_METADATA_NEXT=Hurrengoa STM_METADATA_PREV=Aurrekoa STM_REPORT_FORMAT=Gehituak: {1}, Ezabatuak: {2}, Aldatuak: {3} (Gatazkak: {0}) -# TaaS messages -TAAS_REQUEST=Eskaria TaaS-i: {0} -TAAS_MENU_BROWSE=&Arakatu TaaS bildumak... -TAAS_MENU_DOMAINS=&Hautatu TaaS terminologia bilatzeko domeinua... -TAAS_MENU_LOOKUP=&TaaS terminologia-bilaketa -TAAS_LIST_HEADER=TaaS bildumak -TAAS_LIST_NAME=Izena -TAAS_LIST_DESC=Deskribapena -TAAS_LIST_SOURCE_COUNT=Sorburu kopurua -TAAS_LIST_TARGET_COUNT=Helburu kopurua -TAAS_LIST_DOMAINS=Domeinuak -TAAS_LIST_UPDATED=Eguneratua -TAAS_LIST_DOWNLOAD=&Deskargatu -TAAS_DOMAINS_ALL=Domeinu guztiak -TAAS_DOMAINS_SELECT=&Hautatu -TAAS_STATUS_LIST=Atzitu bilduma-zerrenda... -TAAS_DOMAIN_SELECTION_TITLE=Hautatu TaaS domeinua -TAAS_STATUS_DOMAIN_LIST=Atzitu domeinu-zerrenda... -TAAS_STATUS_DOWNLOAD=Deskargatu {0} bilduma -TAAS_GENERAL_ERROR=Eskari-errorea: {0} -TAAS_UNAUTHORIZED_ERROR=Baimenik gabeko eskaria TaaS zerbitzuari Zerbait gaizki joan da, begiratu Tilde Terminology xehetasun gehiagorako. -TAAS_FORMAT_ERROR=Erantzun-formatu okerra TaaS zerbitzutik -TAAS_REPLACE_ERROR=Errorea glosario-fitxategia eguneratzean -TAAS_API_KEY_NOT_FOUND=TaaS API gakoa ez dago ezarrita. Sortu zure gakoa eta sartu behean. -TAAS_GET_KEY_BUTTON=Eskuratu API gakoa -TAAS_DOMAIN_SELECT=&Hautatu -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API gakoa: -PREFS_TITLE_TAAS=TaaS terminologia -PREFS_TAAS_LOOKUP=&Gaitu TaaS terminologia-bilaketa - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Baztertze-ereduak diff --git a/src/org/omegat/Bundle_fi.properties b/src/org/omegat/Bundle_fi.properties index 8dd9f73ace..d27ff3034d 100644 --- a/src/org/omegat/Bundle_fi.properties +++ b/src/org/omegat/Bundle_fi.properties @@ -2291,38 +2291,6 @@ STM_METADATA_NEXT=Seuraava STM_METADATA_PREV=Edellisen STM_REPORT_FORMAT=Lis\u00e4ttyj\u00e4: {1}, poistettuja: {2}, muokattuja: {3} (ristiriitoja: {0}) -# TaaS messages -TAAS_REQUEST=TaaS-pyynt\u00f6: {0} -TAAS_MENU_BROWSE=Selaa TaaS-kokoelmia\u2026 -TAAS_MENU_DOMAINS=Valitse TaaS-terminologiahaun aihepiiri\u2026 -TAAS_MENU_LOOKUP=TaaS-terminologiahaku -TAAS_LIST_HEADER=TaaS-kokoelmat -TAAS_LIST_NAME=Nimi -TAAS_LIST_DESC=Kuvaus -TAAS_LIST_SOURCE_COUNT=L\u00e4hdelukema -TAAS_LIST_TARGET_COUNT=Kohdelukema -TAAS_LIST_DOMAINS=Aihepiirit -TAAS_LIST_UPDATED=P\u00e4ivitetty -TAAS_LIST_DOWNLOAD=Lataa -TAAS_DOMAINS_ALL=Kaikki aihepiirit -TAAS_DOMAINS_SELECT=Valitse -TAAS_STATUS_LIST=Hanki kokoelmaluettelo\u2026 -TAAS_DOMAIN_SELECTION_TITLE=Valitse TaaS-aihepiiri -TAAS_STATUS_DOMAIN_LIST=Hanki kokoelmaluettelo\u2026 -TAAS_STATUS_DOWNLOAD=Lataa kokoelma {0} -TAAS_GENERAL_ERROR=Pyynt\u00f6virhe: {0} -TAAS_UNAUTHORIZED_ERROR=Valtuuttamaton pyynt\u00f6 TaaS-palvelulle. Jokin meni vikaan. Tilde Terminology osaa antaa lis\u00e4tietoja. -TAAS_FORMAT_ERROR=TaaS-palvelun vastauksen muoto on v\u00e4\u00e4r\u00e4. -TAAS_REPLACE_ERROR=Sanastotiedoston p\u00e4ivityksess\u00e4 tapahtui virhe -TAAS_API_KEY_NOT_FOUND=TaaS-palvelun API-avainta ei ole asetettu. Luo oma avaimesi ja kirjoita se alla olevaan kentt\u00e4\u00e4n. -TAAS_GET_KEY_BUTTON=Hanki API-avain -TAAS_DOMAIN_SELECT=Valitse -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API-avain: -PREFS_TITLE_TAAS=TaaS-terminologia -PREFS_TAAS_LOOKUP=Ota TaaS-terminologiahaku k\u00e4ytt\u00f6\u00f6n - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u00c4l\u00e4 sis\u00e4llyt\u00e4 muotoja diff --git a/src/org/omegat/Bundle_fr.properties b/src/org/omegat/Bundle_fr.properties index 4a79c76729..cfcba9f71b 100644 --- a/src/org/omegat/Bundle_fr.properties +++ b/src/org/omegat/Bundle_fr.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=Suivant STM_METADATA_PREV=Pr\u00e9c\u00e9dent STM_REPORT_FORMAT=Ajout\u00e9s\u00a0: {1}, Supprim\u00e9s\u00a0: {2}, Modifi\u00e9s\u00a0: {3} (Conflits\u00a0: {0}) -# TaaS messages -TAAS_REQUEST=Requ\u00eate vers TaaS\u00a0: {0} -TAAS_MENU_BROWSE=&Parcourir les collections TaaS... -TAAS_MENU_DOMAINS=&S\u00e9lectionner le domaine de recherche terminologique TaaS... -TAAS_MENU_LOOKUP=&Recherche terminologique TaaS -TAAS_LIST_HEADER=Collections TaaS -TAAS_LIST_NAME=Nom -TAAS_LIST_DESC=Description -TAAS_LIST_SOURCE_COUNT=Mots source -TAAS_LIST_TARGET_COUNT=Mots cible -TAAS_LIST_DOMAINS=Domaines -TAAS_LIST_UPDATED=Actualis\u00e9 -TAAS_LIST_DOWNLOAD=&T\u00e9l\u00e9charger -TAAS_DOMAINS_ALL=Tous les domaines -TAAS_DOMAINS_SELECT=&S\u00e9lectionner -TAAS_STATUS_LIST=R\u00e9cup\u00e9ration de la liste des collections... -TAAS_DOMAIN_SELECTION_TITLE=S\u00e9lectionner le domaine TaaS -TAAS_STATUS_DOMAIN_LIST=R\u00e9cup\u00e9ration de la liste des domaines... -TAAS_STATUS_DOWNLOAD=T\u00e9l\u00e9chargement de la collection {0} -TAAS_GENERAL_ERROR=Erreur de requ\u00eate\u00a0: {0} -TAAS_UNAUTHORIZED_ERROR=Requ\u00eate non autoris\u00e9e au service TaaS. Un probl\u00e8me est survenu. Veuillez visiter le site de Tilde Terminology pour davantage d'informations. -TAAS_FORMAT_ERROR=Format de r\u00e9ponse erron\u00e9 du service TaaS -TAAS_REPLACE_ERROR=Erreur en actualisation du fichier glossaire -TAAS_API_KEY_NOT_FOUND=Cl\u00e9 API TaaS non d\u00e9finie. Cr\u00e9ez votre propre cl\u00e9 puis entrez-la ci-dessous. -TAAS_GET_KEY_BUTTON=Obtenir une cl\u00e9 d'API -TAAS_DOMAIN_SELECT=&S\u00e9lectionner -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Cl\u00e9 d'API\u00a0: -PREFS_TITLE_TAAS=Terminologie TaaS -PREFS_TAAS_LOOKUP=Activer la recherche &terminologique TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Masques d'exclusion diff --git a/src/org/omegat/Bundle_hr.properties b/src/org/omegat/Bundle_hr.properties index 3194e1126e..590960e871 100644 --- a/src/org/omegat/Bundle_hr.properties +++ b/src/org/omegat/Bundle_hr.properties @@ -2353,38 +2353,6 @@ STM_METADATA_NEXT=Sljede\u0107i STM_METADATA_PREV=Prethodni STM_REPORT_FORMAT=Dodano: {1}, Izbrisano: {2}, izmijenjeno: {3} (kolizija: {0}) -# TaaS messages -TAAS_REQUEST=Zahtjev prema servisu TaaS: {0} -TAAS_MENU_BROWSE=&Pregled TaaS-ovih zbirki... -TAAS_MENU_DOMAINS=Odabir &podru\u010dja pretra\u017eivanja TaaS-ove terminologije... -TAAS_MENU_LOOKUP=Pretra\u017eivanje &TaaS-ove terminologije -TAAS_LIST_HEADER=TaaS-ove zbirke -TAAS_LIST_NAME=Ime -TAAS_LIST_DESC=Opis -TAAS_LIST_SOURCE_COUNT=Broj izvori\u0161nih termina -TAAS_LIST_TARGET_COUNT=Broj ekvivalenata -TAAS_LIST_DOMAINS=Podru\u010dja -TAAS_LIST_UPDATED=A\u017eurirano -TAAS_LIST_DOWNLOAD=&Preuzimanje -TAAS_DOMAINS_ALL=Sva podru\u010dja -TAAS_DOMAINS_SELECT=&Odaberi -TAAS_STATUS_LIST=Dohvati popis zbirki... -TAAS_DOMAIN_SELECTION_TITLE=Odabir podru\u010dja u TaaS-u -TAAS_STATUS_DOMAIN_LIST=Dohvati popis podru\u010dja... -TAAS_STATUS_DOWNLOAD=Preuzmi zbirku {0} -TAAS_GENERAL_ERROR=Pogre\u0161ka u zahtjevu: {0} -TAAS_UNAUTHORIZED_ERROR=Neovla\u0161teni zahtjev prema servisu TaaS. Ne\u0161to je po\u0161lo po krivu; pojedinosti \u0107ete na\u0107i na stranicama Tilde Terminology. -TAAS_FORMAT_ERROR=Pogre\u0161an format odziva servisa TaaS -TAAS_REPLACE_ERROR=Pogre\u0161ka u a\u017euriranju glosara -TAAS_API_KEY_NOT_FOUND=Nije postavljen klju\u010d API-ja za TaaS. Izradite svoj klju\u010d pa ga unesite u nastavku. -TAAS_GET_KEY_BUTTON=Isho\u0111enje klju\u010da API-ja -TAAS_DOMAIN_SELECT=&Odaberi -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Klju\u010d API-ja: -PREFS_TITLE_TAAS=TaaS-ova terminologija -PREFS_TAAS_LOOKUP=&Omogu\u0107i pretra\u017eivanje TaaS-ove terminologije - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Uzorci izuze\u0107a diff --git a/src/org/omegat/Bundle_hu.properties b/src/org/omegat/Bundle_hu.properties index 0731665cbc..ef1c75e2ef 100644 --- a/src/org/omegat/Bundle_hu.properties +++ b/src/org/omegat/Bundle_hu.properties @@ -2076,31 +2076,6 @@ STM_METADATA_NEXT=K\u00f6vetkez\u0151 STM_METADATA_PREV=El\u0151z\u0151 STM_REPORT_FORMAT=Hozz\u00e1adva: {1}, T\u00f6r\u00f6lve: {2}, M\u00f3dos\u00edtva: {3} (\u00dctk\u00f6z\u00e9s: {0}) -# TaaS messages -TAAS_REQUEST=TaaS-k\u00e9relem: {0} -TAAS_MENU_BROWSE=TaaS-gy\u0171jtem\u00e9nyek &b\u00f6ng\u00e9sz\u00e9se... -TAAS_MENU_DOMAINS=TaaS-terminol\u00f3gia keres\u00e9si dom\u00e9nj\u00e9nek &kiv\u00e1laszt\u00e1sa... -TAAS_MENU_LOOKUP=&TaaS-terminol\u00f3gia keres\u00e9se -TAAS_LIST_HEADER=TaaS-gy\u0171jtem\u00e9nyek -TAAS_LIST_NAME=N\u00e9v -TAAS_LIST_DESC=Le\u00edr\u00e1s -TAAS_LIST_SOURCE_COUNT=Forr\u00e1s \u00f6sszesen -TAAS_LIST_TARGET_COUNT=C\u00e9l \u00f6sszesen -TAAS_LIST_DOMAINS=Dom\u00e9nek -TAAS_LIST_UPDATED=Friss\u00edtve -TAAS_LIST_DOWNLOAD=&Let\u00f6lt\u00e9s -TAAS_DOMAINS_ALL=Minden dom\u00e9n -TAAS_DOMAINS_SELECT=&Kiv\u00e1laszt\u00e1s -TAAS_STATUS_LIST=Gy\u0171jtem\u00e9nylista let\u00f6lt\u00e9se... -TAAS_DOMAIN_SELECTION_TITLE=TaaS-dom\u00e9n kiv\u00e1laszt\u00e1sa -TAAS_STATUS_DOMAIN_LIST=Dom\u00e9nlista let\u00f6lt\u00e9se... -TAAS_STATUS_DOWNLOAD={0} gy\u0171jtem\u00e9ny let\u00f6lt\u00e9se -TAAS_GENERAL_ERROR=K\u00e9relemhiba: {0} -TAAS_UNAUTHORIZED_ERROR=Jogosulatlan k\u00e9relem a TaaS-szolg\u00e1ltat\u00e1st\u00f3l Hiba t\u00f6rt\u00e9nt. L\u00e1togasson el a Tilde Terminology port\u00e1lj\u00e1ra. -TAAS_FORMAT_ERROR=Hib\u00e1s v\u00e1laszforma a TaaS-szolg\u00e1ltat\u00e1st\u00f3l -TAAS_REPLACE_ERROR=Hiba a sz\u00f3jegyz\u00e9k friss\u00edt\u00e9se k\u00f6zben -TAAS_API_KEY_NOT_FOUND=Nincs meg a TaaS API-kulcs! Saj\u00e1t kulcs el\u0151\u00e1ll\u00edt\u00e1s\u00e1hoz t\u00e9rjen \u00e1t a https://term.tilde.com/account/keys/create?system=omegaT oldalra, majd adja meg az OmegaT sz\u00e1m\u00e1ra ebben a form\u00e1ban: -Dtaas.user.key=xxxxx -TAAS_DOMAIN_SELECT=&Kiv\u00e1laszt\u00e1s # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Kiv\u00e9telmint\u00e1k diff --git a/src/org/omegat/Bundle_ia.properties b/src/org/omegat/Bundle_ia.properties index f9292fab55..89725fb807 100644 --- a/src/org/omegat/Bundle_ia.properties +++ b/src/org/omegat/Bundle_ia.properties @@ -2337,38 +2337,6 @@ STM_METADATA_NEXT=Sequente STM_METADATA_PREV=Previe STM_REPORT_FORMAT=Addite: {1}, Delite: {2}, Modificate: {3} (Conflictos: {0}) -# TaaS messages -TAAS_REQUEST=Requesta a TaaS: {0} -TAAS_MENU_BROWSE=Naviga (&Browse) in le Collectiones TaaS... -TAAS_MENU_DOMAINS=&Selige le Dominio Lookup del Terminologia TaaS... -TAAS_MENU_LOOKUP=Lookup del Terminologia &TaaS -TAAS_LIST_HEADER=Collectiones TaaS -TAAS_LIST_NAME=Nomine -TAAS_LIST_DESC=Description -TAAS_LIST_SOURCE_COUNT=Conto fonte -TAAS_LIST_TARGET_COUNT=Conto destination -TAAS_LIST_DOMAINS=Dominios -TAAS_LIST_UPDATED=Renovate -TAAS_LIST_DOWNLOAD=&Discarga -TAAS_DOMAINS_ALL=Omne dominios -TAAS_DOMAINS_SELECT=&Selige -TAAS_STATUS_LIST=Recupera le lista del collection... -TAAS_DOMAIN_SELECTION_TITLE=Selige le dominio TaaS -TAAS_STATUS_DOMAIN_LIST=Recupera le lista del dominio... -TAAS_STATUS_DOWNLOAD=Discarga le collection {0} -TAAS_GENERAL_ERROR=Error de requesta: {0} -TAAS_UNAUTHORIZED_ERROR=Requesta non autorisate al servicio TaaS. Alicun cosa accideva incorrecte, per favor visita Tilde Terminologia pro le detalios. -TAAS_FORMAT_ERROR=Mal formato del responsa del servicio TaaS -TAAS_REPLACE_ERROR=Error renovante le file glossario -TAAS_API_KEY_NOT_FOUND=Clave API del TaaS non definite. Produce tu proprie clave, tum insere le id in basso. -TAAS_GET_KEY_BUTTON=Obtener le Clave API -TAAS_DOMAIN_SELECT=&Selige -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Clave API: -PREFS_TITLE_TAAS=Terminologia TaaS -PREFS_TAAS_LOOKUP=Activar (&Enable) le recerca del terminologia TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Modellos de exclusion diff --git a/src/org/omegat/Bundle_it.properties b/src/org/omegat/Bundle_it.properties index 00289f9e25..9313c22b32 100644 --- a/src/org/omegat/Bundle_it.properties +++ b/src/org/omegat/Bundle_it.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=Successivo STM_METADATA_PREV=Precedente STM_REPORT_FORMAT=Aggiunti: {1}, Eliminati: {2}, Modificati: {3} (Conflitti: {0}) -# TaaS messages -TAAS_REQUEST=Richiesta a TaaS: {0} -TAAS_MENU_BROWSE=S&foglia le raccolte TaaS... -TAAS_MENU_DOMAINS=Se&leziona il dominio di ricerca terminologica TaaS... -TAAS_MENU_LOOKUP=Ricerca terminologica &TaaS -TAAS_LIST_HEADER=Raccolte TaaS -TAAS_LIST_NAME=Nome -TAAS_LIST_DESC=Descrizione -TAAS_LIST_SOURCE_COUNT=Conteggio originali -TAAS_LIST_TARGET_COUNT=Conteggio tradotti -TAAS_LIST_DOMAINS=Domini -TAAS_LIST_UPDATED=Aggiornato -TAAS_LIST_DOWNLOAD=Sca&rica -TAAS_DOMAINS_ALL=Tutti i domini -TAAS_DOMAINS_SELECT=&Seleziona -TAAS_STATUS_LIST=Recupera l'elenco delle raccolte... -TAAS_DOMAIN_SELECTION_TITLE=Seleziona il dominio TaaS -TAAS_STATUS_DOMAIN_LIST=Recupera l'elenco dei domini... -TAAS_STATUS_DOWNLOAD=Scarca raccolta {0} -TAAS_GENERAL_ERROR=Errore richiesta: {0} -TAAS_UNAUTHORIZED_ERROR=Richiesta non autorizzata al servizio TaaS. Qualcosa \u00e8 andato storto, visitare Tilde Terminology per i dettagli. -TAAS_FORMAT_ERROR=Formato di risposta non corretto dal servizio TaaS -TAAS_REPLACE_ERROR=Errore durante l'aggiornamento del file di glossario -TAAS_API_KEY_NOT_FOUND=Chiave Taas API non impostata. Crea la tua chiave poi digitala qui sotto. -TAAS_GET_KEY_BUTTON=Ottieni la chiave API -TAAS_DOMAIN_SELECT=&Seleziona -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Chiave API: -PREFS_TITLE_TAAS=Terminologia TaaS -PREFS_TAAS_LOOKUP=A&bilita la ricerca terminologica TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Modelli di esclusione diff --git a/src/org/omegat/Bundle_ja.properties b/src/org/omegat/Bundle_ja.properties index 186c03a2b4..3d7ef3f54f 100644 --- a/src/org/omegat/Bundle_ja.properties +++ b/src/org/omegat/Bundle_ja.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=\u6b21\u5206\u7bc0 STM_METADATA_PREV=\u524d\u5206\u7bc0 STM_REPORT_FORMAT=\u8ffd\u52a0\uff1a{1}\u3001\u524a\u9664\uff1a{2}\u3001\u4fee\u6b63\uff1a{3}\uff08\u7af6\u5408\uff1a{0}\uff09 -# TaaS messages -TAAS_REQUEST=TaaS \u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\uff1a{0} -TAAS_MENU_BROWSE=TaaS \u7528\u8a9e\u96c6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(&B)... -TAAS_MENU_DOMAINS=TaaS \u7528\u8a9e\u5206\u91ce\u3092\u9078\u629e(&L)... -TAAS_MENU_LOOKUP=TaaS \u7528\u8a9e\u3092\u53c2\u7167(&T) -TAAS_LIST_HEADER=TaaS \u7528\u8a9e\u96c6 -TAAS_LIST_NAME=\u540d\u79f0 -TAAS_LIST_DESC=\u8aac\u660e -TAAS_LIST_SOURCE_COUNT=\u539f\u6587\u51fa\u73fe\u6570 -TAAS_LIST_TARGET_COUNT=\u8a33\u6587\u51fa\u73fe\u6570 -TAAS_LIST_DOMAINS=\u5206\u91ce -TAAS_LIST_UPDATED=\u6700\u7d42\u66f4\u65b0\u65e5 -TAAS_LIST_DOWNLOAD=\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(&D) -TAAS_DOMAINS_ALL=\u3059\u3079\u3066\u306e\u5206\u91ce -TAAS_DOMAINS_SELECT=\u9078\u629e(&S) -TAAS_STATUS_LIST=\u7528\u8a9e\u96c6\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059... -TAAS_DOMAIN_SELECTION_TITLE=TaaS \u7528\u8a9e\u5206\u91ce\u306e\u9078\u629e -TAAS_STATUS_DOMAIN_LIST=\u5206\u91ce\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059... -TAAS_STATUS_DOWNLOAD={0} \u7528\u8a9e\u96c6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 -TAAS_GENERAL_ERROR=\u30ea\u30af\u30a8\u30b9\u30c8\u30a8\u30e9\u30fc\uff1a{0} -TAAS_UNAUTHORIZED_ERROR=TaaS \u30b5\u30fc\u30d3\u30b9\u306e\u8a8d\u8a3c\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u4f55\u3089\u304b\u306e\u7570\u5e38\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u8a73\u7d30\u306f Tilde Terminology \u306e\u30b5\u30a4\u30c8\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 -TAAS_FORMAT_ERROR=TaaS \u30b5\u30fc\u30d3\u30b9\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u5f62\u5f0f\u304c\u4e0d\u6b63\u3067\u3059 -TAAS_REPLACE_ERROR=\u7528\u8a9e\u96c6\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f -TAAS_API_KEY_NOT_FOUND=TaaS API \u30ad\u30fc\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30ad\u30fc\u3092\u53d6\u5f97\u5f8c\u3001\u4ee5\u4e0b\u306b\u3054\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 -TAAS_GET_KEY_BUTTON=API \u30ad\u30fc\u3092\u53d6\u5f97 -TAAS_DOMAIN_SELECT=\u9078\u629e(&S) -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API \u30ad\u30fc: -PREFS_TITLE_TAAS=TaaS \u7528\u8a9e -PREFS_TAAS_LOOKUP=TaaS \u7528\u8a9e\u306e\u53c2\u7167\u3092\u6709\u52b9\u5316(&E) - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u9664\u5916\u69cb\u6210\u4f8b\u96c6 diff --git a/src/org/omegat/Bundle_mfe.properties b/src/org/omegat/Bundle_mfe.properties index 3c2fe39eeb..25ef5e0fa3 100644 --- a/src/org/omegat/Bundle_mfe.properties +++ b/src/org/omegat/Bundle_mfe.properties @@ -2291,38 +2291,6 @@ STM_METADATA_NEXT=Swivan STM_METADATA_PREV=Presedan STM_REPORT_FORMAT=Azoute: {1}, Siprime: {2}, Modifie: {3} (Konfli: {0}) -# TaaS messages -TAAS_REQUEST=Reket TaaS: {0} -TAAS_MENU_BROWSE=&Konsilt bann koleksion TaaS... -TAAS_MENU_DOMAINS=&Swazir domenn resers termilozik TaaS... -TAAS_MENU_LOOKUP=Resers Terminolozi &TaaS -TAAS_LIST_HEADER=Bann Koleksion TaaS -TAAS_LIST_NAME=Nom -TAAS_LIST_DESC=Deskripsion -TAAS_LIST_SOURCE_COUNT=Mo sours -TAAS_LIST_TARGET_COUNT=Mo sib -TAAS_LIST_DOMAINS=Bann domenn -TAAS_LIST_UPDATED=Aktialize -TAAS_LIST_DOWNLOAD='Download' -TAAS_DOMAINS_ALL=Tou bann domenn -TAAS_DOMAINS_SELECT=&Swazir -TAAS_STATUS_LIST=Rekiper lalis bann koleksion... -TAAS_DOMAIN_SELECTION_TITLE=Swazir domenn TaaS -TAAS_STATUS_DOMAIN_LIST=Rekiper lalis bann domenn... -TAAS_STATUS_DOWNLOAD='Download' koleksion {0} -TAAS_GENERAL_ERROR=Erer reket: {0} -TAAS_UNAUTHORIZED_ERROR=Reket servis TaaS pa otorize. OmegaT finn rankont enn problem. Vizit sit Tilde Terminology pou plis linformasion. -TAAS_FORMAT_ERROR=Forma repons servis TaaS pa bon -TAAS_REPLACE_ERROR=Finn rankont enn erer letan aktializ fisie gloser -TAAS_API_KEY_NOT_FOUND=Lakle API TaaS pa defini. Kree ou prop lakle ek inskrir li anba. -TAAS_GET_KEY_BUTTON=Prokir-ou enn lakle API -TAAS_DOMAIN_SELECT=&Swazir -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Lakle API: -PREFS_TITLE_TAAS=Terminolozi TaaS -PREFS_TAAS_LOOKUP=&Aktiv resers terminolozik &TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Bann Pattern Exklizion diff --git a/src/org/omegat/Bundle_nl.properties b/src/org/omegat/Bundle_nl.properties index c30873c8e9..9e184d3361 100644 --- a/src/org/omegat/Bundle_nl.properties +++ b/src/org/omegat/Bundle_nl.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=Volgende STM_METADATA_PREV=Vorige STM_REPORT_FORMAT=Toegevoegd: {1}, Verwijderd: {2}, Aangepast: {3} (Conflicten: {0}) -# TaaS messages -TAAS_REQUEST=Verzoek aan TaaS: {0} -TAAS_MENU_BROWSE=TaaS Collections &bladeren\u2026 -TAAS_MENU_DOMAINS=TaaS Terminology &Lookup Domain selecteren\u2026 -TAAS_MENU_LOOKUP=&TaaS Terminology Lookup -TAAS_LIST_HEADER=TaaS Collections -TAAS_LIST_NAME=Naam -TAAS_LIST_DESC=Beschrijving -TAAS_LIST_SOURCE_COUNT=Bron tellen -TAAS_LIST_TARGET_COUNT=Doel tellen -TAAS_LIST_DOMAINS=Domeinen -TAAS_LIST_UPDATED=Bijgewerkte -TAAS_LIST_DOWNLOAD=&Downloaden -TAAS_DOMAINS_ALL=Alle domeinen -TAAS_DOMAINS_SELECT=&Selecteren -TAAS_STATUS_LIST=Lijst collectie ophalen\u2026 -TAAS_DOMAIN_SELECTION_TITLE=TaaS domein selecteren -TAAS_STATUS_DOMAIN_LIST=Lijst domein ophalen\u2026 -TAAS_STATUS_DOWNLOAD=Collectie downloaden {0} -TAAS_GENERAL_ERROR=Fout in verzoek: {0} -TAAS_UNAUTHORIZED_ERROR=Niet-geautoriseerd verzoek naar service van TaaS. Er ging iets mis, bezoek Tilde Terminology voor details. -TAAS_FORMAT_ERROR=Verkeerde indeling antwoord van service van TaaS -TAAS_REPLACE_ERROR=Fout bij bijwerken woordenboekbestand -TAAS_API_KEY_NOT_FOUND=TaaS API-sleutel niet ingesteld. Maak uw eigen sleutel en voer die dan hieronder in. -TAAS_GET_KEY_BUTTON=API-sleutel ophalen -TAAS_DOMAIN_SELECT=&Selecteren -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API-sleutel: -PREFS_TITLE_TAAS=TaaS Terminology -PREFS_TAAS_LOOKUP=TaaS t&erminology lookup inschakelen - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Patronen voor uitsluiting diff --git a/src/org/omegat/Bundle_no.properties b/src/org/omegat/Bundle_no.properties index a8fdd10483..912e68becb 100644 --- a/src/org/omegat/Bundle_no.properties +++ b/src/org/omegat/Bundle_no.properties @@ -2253,37 +2253,6 @@ STM_METADATA_NEXT=Neste STM_METADATA_PREV=Forrige STM_REPORT_FORMAT=La til: {1}, Slettet: {2}, Modifisert: {3} (Konflikter: {0}) -# TaaS messages -TAAS_REQUEST=Foresp\u00f8rsm\u00e5l til TaaS: {0} -TAAS_MENU_BROWSE=&Bla gjennom TaaS-samlinger... -TAAS_MENU_DOMAINS=&Velg TaaS terminologis\u00f8kdomene... -TAAS_MENU_LOOKUP=&TaaS terminologis\u00f8k -TAAS_LIST_HEADER=TaaS-samlinger -TAAS_LIST_NAME=Navn -TAAS_LIST_DESC=Beskrivelse -TAAS_LIST_SOURCE_COUNT=Antall kilder -TAAS_LIST_TARGET_COUNT=Antall m\u00e5l -TAAS_LIST_DOMAINS=Domener -TAAS_LIST_UPDATED=Oppdatert -TAAS_LIST_DOWNLOAD=&Last ned -TAAS_DOMAINS_ALL=Alle domener -TAAS_DOMAINS_SELECT=V&elg -TAAS_STATUS_LIST=Hent samlingsliste... -TAAS_DOMAIN_SELECTION_TITLE=Velg TaaS-domene -TAAS_STATUS_DOMAIN_LIST=Hent domeneliste... -TAAS_STATUS_DOWNLOAD=Last ned samling: {0} -TAAS_GENERAL_ERROR=Foresp\u00f8rselsfeil: {0} -TAAS_UNAUTHORIZED_ERROR=Uautorisert foresp\u00f8rsel til TaaS-tjeneste. Noe gikk galt, g\u00e5 til Tilde Terminology for detaljer. -TAAS_FORMAT_ERROR=Feil svarformat fra TaaS-tjeneste -TAAS_REPLACE_ERROR=Feil ved oppdatering av glossarfil -TAAS_API_KEY_NOT_FOUND=TaaS API-n\u00f8kkel ikke angitt. Lag din egen n\u00f8kkel og angi den deretter nedenfor. -TAAS_GET_KEY_BUTTON=F\u00e5 API-n\u00f8kkel -TAAS_DOMAIN_SELECT=V&elg - -TAAS_API_KEY_LABEL=API-n\u00f8kkel: -PREFS_TITLE_TAAS=TaaS-terminologi -PREFS_TAAS_LOOKUP=&Aktiver TaaS terminologis\u00f8k - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=M\u00f8nstre for ekskludering diff --git a/src/org/omegat/Bundle_pl.properties b/src/org/omegat/Bundle_pl.properties index 866992eb0c..12ec674947 100644 --- a/src/org/omegat/Bundle_pl.properties +++ b/src/org/omegat/Bundle_pl.properties @@ -2083,31 +2083,6 @@ STM_METADATA_NEXT=Next STM_METADATA_PREV=Previous STM_REPORT_FORMAT=Added: {1}, Deleted: {2}, Modified: {3} (Conflicts: {0}) -# TaaS messages -TAAS_REQUEST=Request to TaaS: {0} -TAAS_MENU_BROWSE=&Browse TaaS Collections... -TAAS_MENU_DOMAINS=&Select TaaS Terminology Lookup Domain... -TAAS_MENU_LOOKUP=&TaaS Terminology Lookup -TAAS_LIST_HEADER=TaaS Collections -TAAS_LIST_NAME=Name -TAAS_LIST_DESC=Description -TAAS_LIST_SOURCE_COUNT=Source count -TAAS_LIST_TARGET_COUNT=Target count -TAAS_LIST_DOMAINS=Domains -TAAS_LIST_UPDATED=Updated -TAAS_LIST_DOWNLOAD=&Download -TAAS_DOMAINS_ALL=All domains -TAAS_DOMAINS_SELECT=&Wybierz -TAAS_STATUS_LIST=Retrieve collection list... -TAAS_DOMAIN_SELECTION_TITLE=Select TaaS domain -TAAS_STATUS_DOMAIN_LIST=Retrieve domain list... -TAAS_STATUS_DOWNLOAD=Download collection {0} -TAAS_GENERAL_ERROR=Request error: {0} -TAAS_UNAUTHORIZED_ERROR=Unauthorized request to TaaS service. Something went wrong, please visit Tilde Terminology for details. -TAAS_FORMAT_ERROR=Wrong response format from TaaS service -TAAS_REPLACE_ERROR=Error updating glossary file -TAAS_API_KEY_NOT_FOUND=TaaS API key not found. Go to https://term.tilde.com/account/keys/create?system=omegaT to create your own key then give it to OmegaT with -Dtaas.user.key=xxxxx -TAAS_DOMAIN_SELECT=&Wybierz # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Wzorce wyj\u0105tk\u00f3w diff --git a/src/org/omegat/Bundle_pt.properties b/src/org/omegat/Bundle_pt.properties index 364e8cd35c..c67df927b8 100644 --- a/src/org/omegat/Bundle_pt.properties +++ b/src/org/omegat/Bundle_pt.properties @@ -2303,38 +2303,6 @@ STM_METADATA_NEXT=Seguinte STM_METADATA_PREV=Anterior STM_REPORT_FORMAT=Adicionados: {1}, Eliminados: {2}, Modificados: {3} (Conflitos: {0}) -# TaaS messages -TAAS_REQUEST=Pedir a TaaS: {0} -TAAS_MENU_BROWSE=&Navegar pelas colec\u00e7\u00f5es TaaS... -TAAS_MENU_DOMAINS=Seleccionar dom\u00ednio de procura de termino&logia TaaS... -TAAS_MENU_LOOKUP=Procura de terminologia &TaaS -TAAS_LIST_HEADER=Colec\u00e7\u00f5es TaaS -TAAS_LIST_NAME=Nome -TAAS_LIST_DESC=Descri\u00e7\u00e3o -TAAS_LIST_SOURCE_COUNT=Total de fontes -TAAS_LIST_TARGET_COUNT=Total de alvos -TAAS_LIST_DOMAINS=Dom\u00ednios -TAAS_LIST_UPDATED=Actualizado -TAAS_LIST_DOWNLOAD=&Transferir -TAAS_DOMAINS_ALL=Todos os dom\u00ednios -TAAS_DOMAINS_SELECT=&Seleccionar -TAAS_STATUS_LIST=Obter lista de colec\u00e7\u00f5es... -TAAS_DOMAIN_SELECTION_TITLE=Seleccionar dom\u00ednio TaaS -TAAS_STATUS_DOMAIN_LIST=Obter lista de dom\u00ednios... -TAAS_STATUS_DOWNLOAD=Transferir colec\u00e7\u00e3o {0} -TAAS_GENERAL_ERROR=Erro de pedido: {0} -TAAS_UNAUTHORIZED_ERROR=Pedido n\u00e3o autorizado ao servi\u00e7o TaaS service. Algo correu mal, por favor visite Tilde Terminology para mais detalhes. -TAAS_FORMAT_ERROR=Formato de resposta errado do servi\u00e7o TaaS -TAAS_REPLACE_ERROR=Erro ao actualizar o gloss\u00e1rio -TAAS_API_KEY_NOT_FOUND=Chave da API do TaaS n\u00e3o definida. Crie a sua chave e insira-a abaixo. -TAAS_GET_KEY_BUTTON=Obter a chave da API -TAAS_DOMAIN_SELECT=&Seleccionar -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Chave API: -PREFS_TITLE_TAAS=Terminologia TaaS -PREFS_TAAS_LOOKUP=Activar procura de t&erminologia TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Padr\u00f5es de exclus\u00e3o diff --git a/src/org/omegat/Bundle_pt_BR.properties b/src/org/omegat/Bundle_pt_BR.properties index 76fdaab28f..3d23bc9559 100644 --- a/src/org/omegat/Bundle_pt_BR.properties +++ b/src/org/omegat/Bundle_pt_BR.properties @@ -2291,38 +2291,6 @@ STM_METADATA_NEXT=Pr\u00f3ximo STM_METADATA_PREV=Anterior STM_REPORT_FORMAT=Adicionados: {1}, Exclu\u00eddos: {2}, Modificados: {3} (Conflitos: {0}) -# TaaS messages -TAAS_REQUEST=Requisitar ao TaaS: {0} -TAAS_MENU_BROWSE=&Procurar cole\u00e7\u00f5es de TaaS... -TAAS_MENU_DOMAINS=Se&lecionar dom\u00ednio de consulta de terminologia TaaS... -TAAS_MENU_LOOKUP=Consulta de terminologia &TaaS -TAAS_LIST_HEADER=Cole\u00e7\u00f5es do TaaS -TAAS_LIST_NAME=Nome -TAAS_LIST_DESC=Descri\u00e7\u00e3o -TAAS_LIST_SOURCE_COUNT=Contagem de original -TAAS_LIST_TARGET_COUNT=Contagem de destino -TAAS_LIST_DOMAINS=Dom\u00ednios -TAAS_LIST_UPDATED=Atualizado -TAAS_LIST_DOWNLOAD=&Baixar -TAAS_DOMAINS_ALL=Todos os dom\u00ednios -TAAS_DOMAINS_SELECT=&Selecionar -TAAS_STATUS_LIST=Recuperar lista de cole\u00e7\u00f5es... -TAAS_DOMAIN_SELECTION_TITLE=Selecionar dom\u00ednio de TaaS -TAAS_STATUS_DOMAIN_LIST=Recuperar lista de dom\u00ednios... -TAAS_STATUS_DOWNLOAD=Baixar cole\u00e7\u00e3o {0} -TAAS_GENERAL_ERROR=Erro da solicita\u00e7\u00e3o: {0} -TAAS_UNAUTHORIZED_ERROR=Solicita\u00e7\u00f5es ao servi\u00e7o TaaS n\u00e3o autorizadas Algo de errado aconteceu, por favor veja as Terminologias Tilde para detalhes. -TAAS_FORMAT_ERROR=Formato de resposta incorreto do servi\u00e7o TaaS -TAAS_REPLACE_ERROR=Erro ao atualizar o arquivo de gloss\u00e1rio -TAAS_API_KEY_NOT_FOUND=A chave de API do TaaS n\u00e3o foi definida. Crie sua pr\u00f3pria chave e digite-a abaixo. -TAAS_GET_KEY_BUTTON=Obter chave de API -TAAS_DOMAIN_SELECT=&Selecionar -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Chave de API: -PREFS_TITLE_TAAS=Terminologia do TaaS -PREFS_TAAS_LOOKUP=Consulta de terminologia &TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Padr\u00e3o de exclus\u00e3o diff --git a/src/org/omegat/Bundle_ru.properties b/src/org/omegat/Bundle_ru.properties index cec615c49c..a065355bf8 100644 --- a/src/org/omegat/Bundle_ru.properties +++ b/src/org/omegat/Bundle_ru.properties @@ -2302,38 +2302,6 @@ STM_METADATA_NEXT=\u0421\u043b\u0435\u0434. STM_METADATA_PREV=\u041f\u0440\u0435\u0434. STM_REPORT_FORMAT=\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e: {1}, \u0423\u0434\u0430\u043b\u0435\u043d\u043e: {2}, \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u043e: {3} (\u041a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432: {0}) -# TaaS messages -TAAS_REQUEST=\u0417\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a TaaS: {0} -TAAS_MENU_BROWSE=&\u041e\u0431\u0437\u043e\u0440 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0439 TaaS\u2026 -TAAS_MENU_DOMAINS=\u0412&\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432 \u0432 TaaS\u2026 -TAAS_MENU_LOOKUP=&\u041f\u043e\u0438\u0441\u043a \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432 \u0432 TaaS -TAAS_LIST_HEADER=\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 TaaS -TAAS_LIST_NAME=\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 -TAAS_LIST_DESC=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 -TAAS_LIST_SOURCE_COUNT=\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u043e\u0432 -TAAS_LIST_TARGET_COUNT=\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 -TAAS_LIST_DOMAINS=\u041f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 -TAAS_LIST_UPDATED=\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043e -TAAS_LIST_DOWNLOAD=\u0421\u043a\u0430&\u0447\u0430\u0442\u044c -TAAS_DOMAINS_ALL=\u0412\u0441\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 -TAAS_DOMAINS_SELECT=&\u0412\u044b\u0431\u0440\u0430\u0442\u044c -TAAS_STATUS_LIST=\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0439\u2026 -TAAS_DOMAIN_SELECTION_TITLE=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c TaaS -TAAS_STATUS_DOMAIN_LIST=\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u044b\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439\u2026 -TAAS_STATUS_DOWNLOAD=\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e {0} -TAAS_GENERAL_ERROR=\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430: {0} -TAAS_UNAUTHORIZED_ERROR=\u041d\u0435\u0441\u0430\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u0441\u043b\u0443\u0436\u0431\u0435 TaaS. \u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u0437\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043a Tilde Terminology. -TAAS_FORMAT_ERROR=\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0441\u043b\u0443\u0436\u0431\u044b TaaS -TAAS_REPLACE_ERROR=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0433\u043b\u043e\u0441\u0441\u0430\u0440\u0438\u044f -TAAS_API_KEY_NOT_FOUND=\u041d\u0435 \u0437\u0430\u0434\u0430\u043d \u043a\u043b\u044e\u0447 API TaaS. \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0438 \u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0435\u0433\u043e \u043d\u0438\u0436\u0435. -TAAS_GET_KEY_BUTTON=\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043b\u044e\u0447 API -TAAS_DOMAIN_SELECT=&\u0412\u044b\u0431\u0440\u0430\u0442\u044c -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=\u041a\u043b\u044e\u0447 API: -PREFS_TITLE_TAAS=\u0422\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044f TaaS -PREFS_TAAS_LOOKUP=\u0412&\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432 \u0432 TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u0428\u0430\u0431\u043b\u043e\u043d\u044b \u0434\u043b\u044f \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f diff --git a/src/org/omegat/Bundle_sc.properties b/src/org/omegat/Bundle_sc.properties index 99a780ccb4..c04798f492 100644 --- a/src/org/omegat/Bundle_sc.properties +++ b/src/org/omegat/Bundle_sc.properties @@ -2337,38 +2337,6 @@ STM_METADATA_NEXT=Imbeniente STM_METADATA_PREV=Anteriore STM_REPORT_FORMAT=Agiuntu: {1}, Cantzelladu: {2}, Modificadu: {3} (Problemas: {0}) -# TaaS messages -TAAS_REQUEST=Rechede a TaaS: {0} -TAAS_MENU_BROWSE=&Chirca intre colletziones TaaS... -TAAS_MENU_DOMAINS=S\u00e8bera dom\u00ecniu pro sa consu<a de terminologia TaaS... -TAAS_MENU_LOOKUP=Consulta de terminologia &TaaS -TAAS_LIST_HEADER=Colletziones TaaS -TAAS_LIST_NAME=N\u00f9mene -TAAS_LIST_DESC=Descritzione -TAAS_LIST_SOURCE_COUNT=Contu de or\u00ecgine -TAAS_LIST_TARGET_COUNT=Contu trad\u00f9idu -TAAS_LIST_DOMAINS=Dom\u00ecnios -TAAS_LIST_UPDATED=Atualizadu -TAAS_LIST_DOWNLOAD=&Isc\u00e0rriga -TAAS_DOMAINS_ALL=Totu is dom\u00ecnios -TAAS_DOMAINS_SELECT=&S\u00e8bera -TAAS_STATUS_LIST=Rec\u00f9pera lista de colletziones... -TAAS_DOMAIN_SELECTION_TITLE=S\u00e8bera su dom\u00ecniu TaaS -TAAS_STATUS_DOMAIN_LIST=Rec\u00f9pera lista de dom\u00ecnios -TAAS_STATUS_DOWNLOAD=Isc\u00e0rriga colletzione {0} -TAAS_GENERAL_ERROR=Faddina in sa rech\u00e8dida: {0} -TAAS_UNAUTHORIZED_ERROR=Rechesta no autorizada a su serv\u00ectziu TaaS. B\u2019at \u00e0pidu una faddina; visita Tilde Terminology pro nd\u2019ischire de prus. -TAAS_FORMAT_ERROR=Risposta iscurreta dae su su serv\u00ectziu TaaS -TAAS_REPLACE_ERROR=Faddina in s\u2019atualizatzione de s\u2019arch\u00ecviu -TAAS_API_KEY_NOT_FOUND=Sa crae API de TaaS no est istada cunfigurada. Crea sa crae tua e inserta\u00b7nche\u00b7dda inoghe. -TAAS_GET_KEY_BUTTON=Otene una crae API -TAAS_DOMAIN_SELECT=&S\u00e8bera -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=Crae API: -PREFS_TITLE_TAAS=Terminologia TaaS -PREFS_TAAS_LOOKUP=Permit&e sa consulta de terminologia TaaS - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=R\u00e8gulas de esclusiones diff --git a/src/org/omegat/Bundle_sq.properties b/src/org/omegat/Bundle_sq.properties index a8528b6cc1..905c38a8cc 100644 --- a/src/org/omegat/Bundle_sq.properties +++ b/src/org/omegat/Bundle_sq.properties @@ -1,4 +1,4 @@ -\u010f\u00bb\u017c#/************************************************************************** +#/************************************************************************** # OmegaT - Computer Assisted Translation (CAT) tool # with fuzzy matching, translation memory, keyword search, # glossaries, and translation leveraging into updated projects. diff --git a/src/org/omegat/Bundle_sv.properties b/src/org/omegat/Bundle_sv.properties index 9822494b5a..d38f057074 100644 --- a/src/org/omegat/Bundle_sv.properties +++ b/src/org/omegat/Bundle_sv.properties @@ -2332,38 +2332,6 @@ STM_METADATA_NEXT=N\u00e4sta STM_METADATA_PREV=F\u00f6reg\u00e5ende STM_REPORT_FORMAT=Tillagda: {1}, Borttagna: {2}, \u00c4ndrade: {3} (Konflikter: {0}) -# TaaS messages -TAAS_REQUEST=F\u00f6rfr\u00e5gan till TaaS: {0} -TAAS_MENU_BROWSE=&Bl\u00e4ddra i TaaS-samlingar\u2026 -TAAS_MENU_DOMAINS=V\u00e4lj dom\u00e4n f\u00f6r TaaS Terminologi-&uppslagning\u2026 -TAAS_MENU_LOOKUP=&TaaS terminologis\u00f6kning -TAAS_LIST_HEADER=TaaS-samlingar -TAAS_LIST_NAME=Namn -TAAS_LIST_DESC=Beskrivning -TAAS_LIST_SOURCE_COUNT=K\u00e4ll-antal -TAAS_LIST_TARGET_COUNT=M\u00e5l-antal -TAAS_LIST_DOMAINS=Dom\u00e4ner -TAAS_LIST_UPDATED=Uppdaterad -TAAS_LIST_DOWNLOAD=&Ladda ner -TAAS_DOMAINS_ALL=Alla dom\u00e4ner -TAAS_DOMAINS_SELECT=&Markera -TAAS_STATUS_LIST=H\u00e4mta lista \u00f6ver samlingar\u2026 -TAAS_DOMAIN_SELECTION_TITLE=V\u00e4lj TaaS-dom\u00e4n -TAAS_STATUS_DOMAIN_LIST=H\u00e4mta dom\u00e4nlista\u2026 -TAAS_STATUS_DOWNLOAD=Ladda ner samling {0} -TAAS_GENERAL_ERROR=Fel vid f\u00f6rfr\u00e5gan: {0} -TAAS_UNAUTHORIZED_ERROR=Obeh\u00f6rig f\u00f6rfr\u00e5gan till TaaS-tj\u00e4nst. N\u00e5got gick fel, var v\u00e4nlig bes\u00f6k Tilde Terminology f\u00f6r detaljer. -TAAS_FORMAT_ERROR=Fel svarsformat fr\u00e5n TaaS-tj\u00e4nst -TAAS_REPLACE_ERROR=Ett fel uppstod vid uppdatering av gloslistan -TAAS_API_KEY_NOT_FOUND=API-nyckel f\u00f6r TaaS har ej angivits. Skapa din egen nyckel och skriv sedan in den h\u00e4r nedan. -TAAS_GET_KEY_BUTTON=H\u00e4mta API-nyckel -TAAS_DOMAIN_SELECT=&Markera -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API-nyckel: -PREFS_TITLE_TAAS=TaaS Terminologi -PREFS_TAAS_LOOKUP=&Aktivera TaaS terminologis\u00f6kning - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=M\u00f6nster f\u00f6r exkludering diff --git a/src/org/omegat/Bundle_tk.properties b/src/org/omegat/Bundle_tk.properties index 18c75ecc8e..b58e56c034 100644 --- a/src/org/omegat/Bundle_tk.properties +++ b/src/org/omegat/Bundle_tk.properties @@ -2388,38 +2388,6 @@ STM_METADATA_NEXT=Indiki STM_METADATA_PREV=\u00d6\u0148ki STM_REPORT_FORMAT=Go\u015fulan: {1}, \u00d6\u00e7\u00fcr\u00fclen: {2}, \u00dc\u00fdtgedilen: {3} (\u00c7akny\u015fyklar: {0}) -# TaaS messages -TAAS_REQUEST=TaaS'a isleg: {0} -TAAS_MENU_BROWSE=TaaS \u00ddygyndylaryna &Seredip G\u00f6r... -TAAS_MENU_DOMAINS=TaaS Termino&logi\u00fda G\u00f6zleg Pudagyny Sa\u00fdla\u0148... -TAAS_MENU_LOOKUP=&TaaS Terminologi\u00fda G\u00f6zlegi -TAAS_LIST_HEADER=TaaS \u00ddygyndylary -TAAS_LIST_NAME=At -TAAS_LIST_DESC=Wasp -TAAS_LIST_SOURCE_COUNT=G\u00f6zba\u015f sany -TAAS_LIST_TARGET_COUNT=Ni\u00fdet edilen sany -TAAS_LIST_DOMAINS=Pudaklar -TAAS_LIST_UPDATED=T\u00e4zelendi -TAAS_LIST_DOWNLOAD=G\u00f6\u00e7\u00fcrip &Al -TAAS_DOMAINS_ALL=Hemme Pudaklar -TAAS_DOMAINS_SELECT=&Sa\u00fdla -TAAS_STATUS_LIST=\u00ddygyndylar sanawyny getir... -TAAS_DOMAIN_SELECTION_TITLE=TaaS pudagyny sa\u00fdla\u0148 -TAAS_STATUS_DOMAIN_LIST=Pudak sanawyny getir... -TAAS_STATUS_DOWNLOAD=\u00ddygyndylary g\u00f6\u00e7\u00fcrip al {0} -TAAS_GENERAL_ERROR=Isleg s\u00e4wligi: {0} -TAAS_UNAUTHORIZED_ERROR=TaaS hyzmatyna ygty\u00fdar berilmedik isleg. N\u00e4medir bir \u00fdal\u0148y\u015flyk d\u00f6redi, jikme-jik maglumat \u00fc\u00e7in Tilde Terminology'a \u00fd\u00fcz tutu\u0148. -TAAS_FORMAT_ERROR=TaaS hyzmatyndan n\u00e4dogry jogap formaty -TAAS_REPLACE_ERROR=Tehniki S\u00f6zl\u00fck fa\u00fdlyny t\u00e4zeleme \u00fdal\u0148y\u015flygy -TAAS_API_KEY_NOT_FOUND=TaaS API a\u00e7ary girizilmedik. \u00d6z a\u00e7ary\u0148yzy d\u00f6redi\u0148 so\u0148ra a\u015fakdaky \u00fdere girizi\u0148. -TAAS_GET_KEY_BUTTON=API A\u00e7ary Al -TAAS_DOMAIN_SELECT=&Sa\u00fdla -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API A\u00e7ary: -PREFS_TITLE_TAAS=TaaS Terminologi\u00fda -PREFS_TAAS_LOOKUP=TaaS Terminologi\u00fda G\u00f6zlegi'ni a\u00e7 - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u00ddol Berilme\u00fd\u00e4n \u00fc\u00e7in \u015eablon diff --git a/src/org/omegat/Bundle_tr.properties b/src/org/omegat/Bundle_tr.properties index 482958406f..eda652fd88 100644 --- a/src/org/omegat/Bundle_tr.properties +++ b/src/org/omegat/Bundle_tr.properties @@ -2285,38 +2285,6 @@ STM_METADATA_NEXT=Sonraki STM_METADATA_PREV=\u00d6nceki STM_REPORT_FORMAT=Eklenen: {1}, Silinen: {2}, De\u011fi\u015ftirilen: {3} (\u00c7ak\u0131\u015fmalar: {0}) -# TaaS messages -TAAS_REQUEST=TaaS'a \u0130stek: {0} -TAAS_MENU_BROWSE=T&aaS Koleksiyonlar\u0131na G\u00f6zat\u0131n... -TAAS_MENU_DOMAINS=TaaS Terminoloji Arama A&lan\u0131n\u0131 Se\u00e7in... -TAAS_MENU_LOOKUP=&TaaS Terminoloji Arama -TAAS_LIST_HEADER=TaaS Koleksiyonlar\u0131 -TAAS_LIST_NAME=\u0130sim -TAAS_LIST_DESC=A\u00e7\u0131klama -TAAS_LIST_SOURCE_COUNT=Kaynak say\u0131s\u0131 -TAAS_LIST_TARGET_COUNT=Hedef say\u0131s\u0131 -TAAS_LIST_DOMAINS=Alanlar -TAAS_LIST_UPDATED=G\u00fcncellendi -TAAS_LIST_DOWNLOAD=&\u0130ndir -TAAS_DOMAINS_ALL=T\u00fcm alanlar -TAAS_DOMAINS_SELECT=&Se\u00e7 -TAAS_STATUS_LIST=Koleksiyon listesi al\u0131n\u0131yor... -TAAS_DOMAIN_SELECTION_TITLE=TaaS alan\u0131n\u0131 se\u00e7in -TAAS_STATUS_DOMAIN_LIST=Alan listesini al\u0131n... -TAAS_STATUS_DOWNLOAD={0} koleksiyonunu indirin -TAAS_GENERAL_ERROR=\u0130stek hatas\u0131: {0} -TAAS_UNAUTHORIZED_ERROR=TaaA hizmetine yetkisiz istek. Bir sorun \u00e7\u0131kt\u0131; l\u00fctfen ayr\u0131nt\u0131lar i\u00e7in Tilde Terminology'yi ziyaret edin. -TAAS_FORMAT_ERROR=TaaS hizmetin yanl\u0131\u015f yan\u0131t format\u0131 -TAAS_REPLACE_ERROR=S\u00f6zl\u00fck\u00e7e dosyas\u0131n\u0131n g\u00fcncellenmesinde hata olu\u015ftu -TAAS_API_KEY_NOT_FOUND=TaaS API anahtar\u0131 ayarlanmam\u0131\u015f. Kendi anahtar\u0131n\u0131z\u0131 olu\u015fturan ve a\u015fa\u011f\u0131ya girin. -TAAS_GET_KEY_BUTTON=API Anahtar\u0131 Al -TAAS_DOMAIN_SELECT=&Se\u00e7 -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API Anahtar\u0131: -PREFS_TITLE_TAAS=TaaS Terminoloji -PREFS_TAAS_LOOKUP=TaaS t&erminoloji aramay\u0131 etkinle\u015ftir - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=D\u0131\u015flama Desenleri diff --git a/src/org/omegat/Bundle_uk.properties b/src/org/omegat/Bundle_uk.properties index 25e560ac3b..f970f7de8b 100644 --- a/src/org/omegat/Bundle_uk.properties +++ b/src/org/omegat/Bundle_uk.properties @@ -2301,39 +2301,6 @@ STM_METADATA_NEXT=\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 STM_METADATA_PREV=\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 STM_REPORT_FORMAT=\u0414\u043e\u0434\u0430\u043d\u043e: {1}, \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043e: {2}, \u0437\u043c\u0456\u043d\u0435\u043d\u043e: {3} (\u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043a\u043e\u043d\u0444\u043b\u0456\u043a\u0442\u0456\u0432: {0}) -# TaaS messages -TAAS_REQUEST=\u0417\u0430\u043f\u0438\u0442 \u0434\u043e TaaS: {0} -TAAS_MENU_BROWSE=&\u041f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u043a\u043e\u043b\u0435\u043a\u0446\u0456\u0457 TaaS... -TAAS_MENU_DOMAINS=\u0412\u0438\u0431\u0440\u0430\u0442\u0438 &\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0442\u0435\u0440\u043c\u0456\u043d\u043e\u043b\u043e\u0433\u0456\u0457 TaaS\u2026 -TAAS_MENU_LOOKUP=&\u041f\u043e\u0448\u0443\u043a \u0442\u0435\u0440\u043c\u0456\u043d\u043e\u043b\u043e\u0433\u0456\u0457 TaaS -TAAS_LIST_HEADER=\u041a\u043e\u043b\u0435\u043a\u0446\u0456\u0457 TaaS -TAAS_LIST_NAME=\u0406\u043c\u2019\u044f -TAAS_LIST_DESC=\u041e\u043f\u0438\u0441 -TAAS_LIST_SOURCE_COUNT=\u0422\u0435\u0440\u043c\u0456\u043d\u0456\u0432 \u043c\u043e\u0432\u043e\u044e \u043e\u0440\u0438\u0433\u0456\u043d\u0430\u043b\u0443 -TAAS_LIST_TARGET_COUNT=\u0422\u0435\u0440\u043c\u0456\u043d\u0456\u0432 \u043c\u043e\u0432\u043e\u044e \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u0443 -TAAS_LIST_DOMAINS=\u0422\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0430 \u043e\u0431\u043b\u0430\u0441\u0442\u044c -TAAS_LIST_UPDATED=\u041e\u043d\u043e\u0432\u043b\u0435\u043d\u043e -TAAS_LIST_DOWNLOAD=&\u0421\u0442\u044f\u0433\u043d\u0443\u0442\u0438 -TAAS_DOMAINS_ALL=\u0423\u0441\u0456 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0456 \u043e\u0431\u043b\u0430\u0441\u0442\u0456 -TAAS_DOMAINS_SELECT=&\u0412\u0438\u0431\u0440\u0430\u0442\u0438 -TAAS_STATUS_LIST=\u041e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u043b\u0456\u043a\u0443 \u043a\u043e\u043b\u0435\u043a\u0446\u0456\u0439... -TAAS_DOMAIN_SELECTION_TITLE=\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u044c TaaS -TAAS_STATUS_DOMAIN_LIST=\u041e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u043b\u0456\u043a\u0443 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439... -TAAS_STATUS_DOWNLOAD=\u0421\u0442\u044f\u0433\u043d\u0435\u043d\u043d\u044f \u043a\u043e\u043b\u0435\u043a\u0446\u0456\u0457 {0} -TAAS_GENERAL_ERROR=\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0437\u0430\u043f\u0438\u0442\u0443: {0} -TAAS_UNAUTHORIZED_ERROR=\u041d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u0438\u0439 \u0437\u0430\u043f\u0438\u0442 \u0434\u043e \u0441\u043b\u0443\u0436\u0431\u0438 TaaS. \u0412\u0438\u043d\u0438\u043a\u043b\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430. \u041f\u043e \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0443 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0437\u0432\u0435\u0440\u043d\u0456\u0442\u044c\u0441\u044f \u0434\u043e Tilde Terminology. -TAAS_FORMAT_ERROR=\u0425\u0438\u0431\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0456 \u0432\u0456\u0434 \u0441\u043b\u0443\u0436\u0431\u0438 TaaS -TAAS_REPLACE_ERROR=\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u043f\u0456\u0434 \u0447\u0430\u0441 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0443 \u0433\u043b\u043e\u0441\u0430\u0440\u0456\u044f -TAAS_API_KEY_NOT_FOUND=\u041d\u0435 \u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u043a\u043b\u044e\u0447 API \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 TaaS. \u0421\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u0441\u0432\u0456\u0439 \u043a\u043b\u044e\u0447 \u0442\u0430 \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u0439\u043e\u0433\u043e \u043d\u0438\u0436\u0447\u0435. -TAAS_GET_KEY_BUTTON=\u041e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u043a\u043b\u044e\u0447 API -TAAS_DOMAIN_SELECT=&\u0412\u0438\u0431\u0440\u0430\u0442\u0438 -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=\u041a\u043b\u044e\u0447 API: -PREFS_TITLE_TAAS=\u0422\u0435\u0440\u043c\u0456\u043d\u043e\u043b\u043e\u0433\u0456\u044f TaaS -PREFS_TAAS_LOOKUP=&\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u043f\u043e\u0448\u0443\u043a \u0442\u0435\u0440\u043c\u0456\u043d\u043e\u043b\u043e\u0433\u0456\u0457 TaaS - - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u0428\u0430\u0431\u043b\u043e\u043d\u0438 \u0434\u043b\u044f \u0432\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f FILENAMEPATTERNS_MASK=\u041c\u0430\u0441\u043a\u0430 diff --git a/src/org/omegat/Bundle_zh_CN.properties b/src/org/omegat/Bundle_zh_CN.properties index c1856b15aa..004a6620b5 100644 --- a/src/org/omegat/Bundle_zh_CN.properties +++ b/src/org/omegat/Bundle_zh_CN.properties @@ -2301,38 +2301,6 @@ STM_METADATA_NEXT=\u4e0b\u4e00\u4e2a STM_METADATA_PREV=\u4e0a\u4e00\u4e2a STM_REPORT_FORMAT=\u6dfb\u52a0\uff1a{1}\uff0c\u5220\u9664\uff1a{2}\uff0c\u4fee\u6539\uff1a{3}\uff08\u51b2\u7a81\uff1a{0}\uff09 -# TaaS messages -TAAS_REQUEST=\u8bf7\u6c42 TaaS\uff1a{0} -TAAS_MENU_BROWSE=\u6d4f\u89c8 TaaS \u8bcd\u5e93(&B)... -TAAS_MENU_DOMAINS=\u9009\u62e9 TaaS \u672f\u8bed\u67e5\u8be2\u9886\u57df(&L)... -TAAS_MENU_LOOKUP=&TaaS \u672f\u8bed\u67e5\u8be2 -TAAS_LIST_HEADER=TaaS \u8bcd\u5e93 -TAAS_LIST_NAME=\u540d\u79f0 -TAAS_LIST_DESC=\u63cf\u8ff0 -TAAS_LIST_SOURCE_COUNT=\u539f\u6587\u6570\u91cf -TAAS_LIST_TARGET_COUNT=\u8bd1\u6587\u6570\u91cf -TAAS_LIST_DOMAINS=\u9886\u57df -TAAS_LIST_UPDATED=\u6709\u66f4\u65b0 -TAAS_LIST_DOWNLOAD=\u4e0b\u8f7d(&D) -TAAS_DOMAINS_ALL=\u6240\u6709\u9886\u57df -TAAS_DOMAINS_SELECT=\u9009\u62e9(&S) -TAAS_STATUS_LIST=\u68c0\u7d22\u8bcd\u5e93\u5217\u8868... -TAAS_DOMAIN_SELECTION_TITLE=\u9009\u62e9 TaaS \u9886\u57df -TAAS_STATUS_DOMAIN_LIST=\u68c0\u7d22\u9886\u57df\u5217\u8868... -TAAS_STATUS_DOWNLOAD=\u5df2\u4e0b\u8f7d\u8bcd\u5e93 {0} -TAAS_GENERAL_ERROR=\u8bf7\u6c42\u9519\u8bef\uff1a{0} -TAAS_UNAUTHORIZED_ERROR=\u672a\u7ecf\u6388\u6743\u7684 TaaS \u670d\u52a1\u8bf7\u6c42\u3002\u51fa\u4e86\u70b9\u95ee\u9898\uff0c\u8bf7\u8bbf\u95ee Tilde Terminology \u4ee5\u4e86\u89e3\u8be6\u60c5\u3002 -TAAS_FORMAT_ERROR=TaaS \u670d\u52a1\u54cd\u5e94\u683c\u5f0f\u9519\u8bef -TAAS_REPLACE_ERROR=\u66f4\u65b0\u8bcd\u6c47\u8868\u6587\u4ef6\u65f6\u51fa\u9519 -TAAS_API_KEY_NOT_FOUND=\u672a\u8bbe\u7f6e TaaS API \u5bc6\u94a5\u3002\u521b\u5efa\u4f60\u81ea\u5df1\u7684\u5bc6\u94a5\u7136\u540e\u5728\u4e0b\u65b9\u8f93\u5165\u3002 -TAAS_GET_KEY_BUTTON=\u83b7\u53d6 API \u5bc6\u94a5 -TAAS_DOMAIN_SELECT=\u9009\u62e9(&S) -TAAS_GLOSSARY_NAME=TaaS - -TAAS_API_KEY_LABEL=API \u5bc6\u94a5\uff1a -PREFS_TITLE_TAAS=TaaS \u672f\u8bed -PREFS_TAAS_LOOKUP=\u542f\u7528 TaaS \u672f\u8bed\u67e5\u8be2(&E) - # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=\u6392\u9664\u6a21\u5f0f diff --git a/src/org/omegat/Bundle_zh_TW.properties b/src/org/omegat/Bundle_zh_TW.properties index 120cc43fb9..7278ab4330 100644 --- a/src/org/omegat/Bundle_zh_TW.properties +++ b/src/org/omegat/Bundle_zh_TW.properties @@ -2265,31 +2265,6 @@ STM_METADATA_NEXT=Next STM_METADATA_PREV=Previous STM_REPORT_FORMAT=Added: {1}, Deleted: {2}, Modified: {3} (Conflicts: {0}) -# TaaS messages -TAAS_REQUEST=Request to TaaS: {0} -TAAS_MENU_BROWSE=\u700f\u89bd TaaS \u8a5e\u5eab(&B)... -TAAS_MENU_DOMAINS=\u9078\u64c7 TaaS \u8853\u8a9e\u67e5\u8a62\u8a9e\u57df(&S)... -TAAS_MENU_LOOKUP=TaaS \u8853\u8a9e\u67e5\u8a62(&T) -TAAS_LIST_HEADER=TaaS \u8a5e\u5eab -TAAS_LIST_NAME=\u540d\u7a31 -TAAS_LIST_DESC=\u8aaa\u660e -TAAS_LIST_SOURCE_COUNT=Source count -TAAS_LIST_TARGET_COUNT=Target count -TAAS_LIST_DOMAINS=Domains -TAAS_LIST_UPDATED=Updated -TAAS_LIST_DOWNLOAD=\u4e0b\u8f09(&D) -TAAS_DOMAINS_ALL=All domains -TAAS_DOMAINS_SELECT=&Select -TAAS_STATUS_LIST=Retrieve collection list... -TAAS_DOMAIN_SELECTION_TITLE=\u9078\u64c7 TaaS \u8a9e\u57df -TAAS_STATUS_DOMAIN_LIST=Retrieve domain list... -TAAS_STATUS_DOWNLOAD=Download collection {0} -TAAS_GENERAL_ERROR=Request error: {0} -TAAS_UNAUTHORIZED_ERROR=Unauthorized request to TaaS service. Something went wrong, please visit Tilde Terminology for details. -TAAS_FORMAT_ERROR=Wrong response format from TaaS service -TAAS_REPLACE_ERROR=Error updating glossary file -TAAS_API_KEY_NOT_FOUND=TaaS API key not found. Go to https://term.tilde.com/account/keys/create?system=omegaT to create your own key then give it to OmegaT with -Dtaas.user.key=xxxxx -TAAS_DOMAIN_SELECT=&Select # Filename patterns editor dialog FILENAMEPATTERNS_TITLE=Exclusion Patterns diff --git a/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsController.java b/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsController.java deleted file mode 100644 index ee5c554f8b..0000000000 --- a/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsController.java +++ /dev/null @@ -1,377 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.awt.Component; -import java.awt.Font; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.io.File; -import java.text.DateFormat; -import java.text.MessageFormat; -import java.util.Arrays; -import java.util.Collections; -import java.util.Date; -import java.util.List; -import java.util.concurrent.ExecutionException; - -import javax.swing.JTable; -import javax.swing.RowSorter; -import javax.swing.SortOrder; -import javax.swing.SwingWorker; -import javax.swing.table.AbstractTableModel; -import javax.swing.table.DefaultTableCellRenderer; -import javax.swing.table.DefaultTableColumnModel; -import javax.swing.table.TableColumn; -import javax.swing.table.TableColumnModel; -import javax.swing.table.TableRowSorter; - -import org.omegat.core.Core; -import org.omegat.util.Language; -import org.omegat.util.Log; -import org.omegat.util.OStrings; -import org.omegat.util.gui.StaticUIUtils; - -import gen.taas.TaasCollection; -import gen.taas.TaasCollectionType; -import gen.taas.TaasDomain; -import gen.taas.TaasLanguage; - -/** - * Controller for TaaS download UI. - * - * @author Alex Buloichik (alex73mail@gmail.com) - */ -@SuppressWarnings("serial") -public final class BrowseTaasCollectionsController { - static BrowseTaasCollectionsUI dialog; - - private BrowseTaasCollectionsController() { - } - - public static void show() { - dialog = new BrowseTaasCollectionsUI(Core.getMainWindow().getApplicationFrame(), true); - - final Language sourceLang = Core.getProject().getProjectProperties().getSourceLanguage(); - final Language targetLang = Core.getProject().getProjectProperties().getTargetLanguage(); - - List list = Collections.emptyList(); - CollectionsTable model = new CollectionsTable(list, sourceLang, targetLang); - dialog.tableCollections.setModel(model); - dialog.tableCollections.setColumnModel(createColumnModel()); - - dialog.labelStatus.setText(OStrings.getString("TAAS_STATUS_LIST")); - new SwingWorker, Void>() { - - @Override - protected List doInBackground() throws Exception { - return TaaSPlugin.getClient().getCollectionsList(); - } - - @Override - protected void done() { - try { - List list = get(); - removeUnusedCollections(list); - - CollectionsTable model = new CollectionsTable(list, sourceLang, targetLang); - dialog.tableCollections.setModel(model); - TableRowSorter sorter = new TableRowSorter(model); - dialog.tableCollections.setRowSorter(sorter); - sorter.setSortKeys(Arrays.asList(new RowSorter.SortKey(0, SortOrder.ASCENDING))); - dialog.tableCollections.setColumnModel(createColumnModel()); - dialog.labelStatus.setText(" "); - } catch (ExecutionException e) { - Throwable ex = e.getCause(); - if (ex instanceof TaaSClient.FormatError) { - Log.logErrorRB(ex, "TAAS_FORMAT_ERROR", ex.getMessage()); - dialog.labelStatus.setText(OStrings.getString("TAAS_FORMAT_ERROR")); - } else if (ex instanceof TaaSClient.Unauthorized) { - Log.logErrorRB(ex, "TAAS_UNAUTHORIZED_ERROR"); - dialog.labelStatus.setText(OStrings.getString("TAAS_UNAUTHORIZED_ERROR")); - } else { - Log.logErrorRB(ex, "TAAS_GENERAL_ERROR", ex.getMessage()); - dialog.labelStatus.setText(MessageFormat.format( - OStrings.getString("TAAS_GENERAL_ERROR"), ex.getMessage())); - } - } catch (InterruptedException ex) { - } - } - }.execute(); - dialog.btnDownload.addActionListener(DOWNLOAD_LISTENER); - - StaticUIUtils.setEscapeClosable(dialog); - dialog.btnClose.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - dialog.dispose(); - } - }); - - dialog.setLocationRelativeTo(Core.getMainWindow().getApplicationFrame()); - - dialog.setVisible(true); - } - - /** - * Removes collections with zero terms count. - */ - static void removeUnusedCollections(List list) { - final Language sourceLang = Core.getProject().getProjectProperties().getSourceLanguage(); - final Language targetLang = Core.getProject().getProjectProperties().getTargetLanguage(); - - for (int i = 0; i < list.size(); i++) { - TaasCollection c = list.get(i); - if (getCountForLanguage(c, sourceLang) == 0 || getCountForLanguage(c, targetLang) == 0) { - list.remove(i); - i--; - } - } - } - - static int getCountForLanguage(TaasCollection c, Language lang) { - String langCode = lang.getLanguageCode(); - for (TaasLanguage l : c.getLanguages().getLanguage()) { - if (langCode.equalsIgnoreCase(l.getId())) { - return l.getCount(); - } - } - return 0; - } - - static TableColumnModel createColumnModel() { - TableColumnModel columns = new DefaultTableColumnModel(); - TableColumn cName = new TableColumn(0, 150); - cName.setHeaderValue(OStrings.getString("TAAS_LIST_NAME")); - cName.setCellRenderer(NAME_CELL_RENDERER); - TableColumn cDesc = new TableColumn(1, 150); - cDesc.setHeaderValue(OStrings.getString("TAAS_LIST_DESC")); - TableColumn cSource = new TableColumn(2, 50); - cSource.setHeaderValue(OStrings.getString("TAAS_LIST_SOURCE_COUNT")); - TableColumn cTarget = new TableColumn(3, 50); - cTarget.setHeaderValue(OStrings.getString("TAAS_LIST_TARGET_COUNT")); - TableColumn cDomains = new TableColumn(4, 150); - cDomains.setHeaderValue(OStrings.getString("TAAS_LIST_DOMAINS")); - TableColumn cUpdated = new TableColumn(5, 50); - cUpdated.setHeaderValue(OStrings.getString("TAAS_LIST_UPDATED")); - TableColumn cDownload = new TableColumn(6, 50); - cDownload.setHeaderValue(""); - - columns.addColumn(cDownload); - columns.addColumn(cName); - columns.addColumn(cDesc); - columns.addColumn(cSource); - columns.addColumn(cTarget); - columns.addColumn(cDomains); - columns.addColumn(cUpdated); - - return columns; - } - - static final DefaultTableCellRenderer NAME_CELL_RENDERER = new DefaultTableCellRenderer() { - @Override - public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, - boolean hasFocus, int row, int column) { - Component c = super - .getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); - final List list = ((CollectionsTable) dialog.tableCollections.getModel()).list; - if (list.get(row).getType() == TaasCollectionType.PRIVATE) { - c.setFont(c.getFont().deriveFont(Font.BOLD)); - } - return c; - } - }; - - static final ActionListener DOWNLOAD_LISTENER = new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - - final List list = ((CollectionsTable) dialog.tableCollections.getModel()).list; - final boolean[] marks = ((CollectionsTable) dialog.tableCollections.getModel()).marks; - - new SwingWorker() { - @Override - protected Object doInBackground() throws Exception { - for (int i = 0; i < list.size(); i++) { - TaasCollection c = list.get(i); - if (marks[i]) { - publish(c.getName()); - - File glossaryFile = getFileForCollection(c); - File newFile = new File(glossaryFile.getAbsolutePath() + ".new"); - TaaSPlugin.getClient().downloadCollection(c.getId(), newFile); - - if (glossaryFile.exists()) { - glossaryFile.delete(); - } - if (!newFile.renameTo(glossaryFile)) { - dialog.labelStatus.setText(OStrings.getString("TAAS_REPLACE_ERROR")); - return null; - } - } - } - - return null; - } - - /** - * Show collection name. - */ - @Override - protected void process(List chunks) { - for (String n : chunks) { - dialog.labelStatus.setText(MessageFormat.format( - OStrings.getString("TAAS_STATUS_DOWNLOAD"), n)); - } - } - - @Override - protected void done() { - try { - get(); - dialog.labelStatus.setText(" "); - dialog.tableCollections.repaint(); - } catch (ExecutionException e) { - Throwable ex = e.getCause(); - if (ex instanceof TaaSClient.FormatError) { - Log.logErrorRB(ex, "TAAS_FORMAT_ERROR", ex.getMessage()); - dialog.labelStatus.setText(OStrings.getString("TAAS_FORMAT_ERROR")); - } else if (ex instanceof TaaSClient.Unauthorized) { - Log.logErrorRB(ex, "TAAS_UNAUTHORIZED_ERROR"); - dialog.labelStatus.setText(OStrings.getString("TAAS_UNAUTHORIZED_ERROR")); - } else { - Log.logErrorRB(ex, "TAAS_GENERAL_ERROR", ex.getMessage()); - dialog.labelStatus.setText(MessageFormat.format( - OStrings.getString("TAAS_GENERAL_ERROR"), ex.getMessage())); - } - } catch (InterruptedException ex) { - } - } - }.execute(); - } - }; - - static File getFileForCollection(TaasCollection collection) { - File dir = new File(Core.getProject().getProjectProperties().getGlossaryRoot()); - return new File(dir, "TaaS-" + collection.getId() + ".tbx"); - } - - public static final class CollectionsTable extends AbstractTableModel { - final List list; - final boolean[] marks; - final Language source; - final Language target; - - public CollectionsTable(List list, Language source, Language target) { - this.list = list; - marks = new boolean[list.size()]; - this.source = source; - this.target = target; - } - - @Override - public int getColumnCount() { - return 7; - } - - @Override - public int getRowCount() { - return list.size(); - } - - @Override - public Class getColumnClass(int columnIndex) { - switch (columnIndex) { - case 0: - return String.class; - case 1: - return String.class; - case 2: - return Integer.class; - case 3: - return Integer.class; - case 4: - return String.class; - case 5: - return String.class; - case 6: - return Boolean.class; - default: - return null; - } - } - - @Override - public Object getValueAt(int rowIndex, int columnIndex) { - TaasCollection c = list.get(rowIndex); - File glossaryFile = getFileForCollection(c); - switch (columnIndex) { - case 0: - return c.getName(); - case 1: - return c.getDescription(); - case 2: - return getCountForLanguage(c, source); - case 3: - return getCountForLanguage(c, target); - case 4: - StringBuilder o = new StringBuilder(200); - for (TaasDomain d : c.getDomains().getDomain()) { - o.append('/').append(d.getName()); - } - return o.substring(1); - case 5: - if (glossaryFile.exists()) { - Date m = new Date(glossaryFile.lastModified()); - String sm = DateFormat.getDateInstance().format(m); - String sc = DateFormat.getDateInstance().format(new Date()); - if (sm.equals(sc)) { - sm = DateFormat.getTimeInstance().format(m); - } - return sm; - } else { - return ""; - } - case 6: - return marks[rowIndex]; - default: - return null; - } - } - - @Override - public boolean isCellEditable(int rowIndex, int columnIndex) { - return columnIndex == 6; - } - - @Override - public void setValueAt(Object aValue, int rowIndex, int columnIndex) { - if (columnIndex == 6) { - marks[rowIndex] = (Boolean) aValue; - } - } - } -} diff --git a/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.form b/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.form deleted file mode 100644 index ddb3768b16..0000000000 --- a/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.form +++ /dev/null @@ -1,95 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
- diff --git a/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.java b/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.java deleted file mode 100644 index c177bfc797..0000000000 --- a/src/org/omegat/gui/glossary/taas/BrowseTaasCollectionsUI.java +++ /dev/null @@ -1,134 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.awt.Dimension; -import java.awt.GridBagConstraints; -import java.awt.GridBagLayout; -import java.awt.Insets; - -import javax.swing.JButton; -import javax.swing.JLabel; -import javax.swing.JScrollPane; -import javax.swing.JTable; -import javax.swing.SwingConstants; -import javax.swing.WindowConstants; -import javax.swing.table.DefaultTableModel; - -import org.omegat.util.OStrings; -import org.openide.awt.Mnemonics; - -/** - * @author Alex Buloichik (alex73mail@gmail.com) - */ -@SuppressWarnings("serial") -public class BrowseTaasCollectionsUI extends javax.swing.JDialog { - - /** - * Creates new form BrowseTaasCollections - */ - public BrowseTaasCollectionsUI(java.awt.Frame parent, boolean modal) { - super(parent, modal); - initComponents(); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - // //GEN-BEGIN:initComponents - private void initComponents() { - GridBagConstraints gridBagConstraints; - - labelStatus = new JLabel(); - btnDownload = new JButton(); - btnClose = new JButton(); - jScrollPane1 = new JScrollPane(); - tableCollections = new JTable(); - - setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); - setTitle(OStrings.getString("TAAS_LIST_HEADER")); // NOI18N - setPreferredSize(new Dimension(1000, 600)); - getContentPane().setLayout(new GridBagLayout()); - - labelStatus.setHorizontalAlignment(SwingConstants.CENTER); - Mnemonics.setLocalizedText(labelStatus, " "); - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 1; - gridBagConstraints.gridy = 10; - gridBagConstraints.fill = GridBagConstraints.HORIZONTAL; - gridBagConstraints.weightx = 1.0; - getContentPane().add(labelStatus, gridBagConstraints); - - Mnemonics.setLocalizedText(btnDownload, OStrings.getString("TAAS_LIST_DOWNLOAD")); // NOI18N - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 10; - gridBagConstraints.insets = new Insets(5, 5, 5, 5); - getContentPane().add(btnDownload, gridBagConstraints); - - Mnemonics.setLocalizedText(btnClose, OStrings.getString("BUTTON_CLOSE")); // NOI18N - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 2; - gridBagConstraints.gridy = 10; - gridBagConstraints.anchor = GridBagConstraints.NORTH; - gridBagConstraints.insets = new Insets(5, 5, 5, 5); - getContentPane().add(btnClose, gridBagConstraints); - - tableCollections.setModel(new DefaultTableModel( - new Object [][] { - {null, null, null, null}, - {null, null, null, null}, - {null, null, null, null}, - {null, null, null, null} - }, - new String [] { - "Title 1", "Title 2", "Title 3", "Title 4" - } - )); - jScrollPane1.setViewportView(tableCollections); - - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 0; - gridBagConstraints.gridwidth = 3; - gridBagConstraints.fill = GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.weighty = 1.0; - getContentPane().add(jScrollPane1, gridBagConstraints); - - pack(); - }// //GEN-END:initComponents - - // Variables declaration - do not modify//GEN-BEGIN:variables - public JButton btnClose; - public JButton btnDownload; - public JScrollPane jScrollPane1; - public JLabel labelStatus; - public JTable tableCollections; - // End of variables declaration//GEN-END:variables -} diff --git a/src/org/omegat/gui/glossary/taas/SelectDomainController.java b/src/org/omegat/gui/glossary/taas/SelectDomainController.java deleted file mode 100644 index fa939d8031..0000000000 --- a/src/org/omegat/gui/glossary/taas/SelectDomainController.java +++ /dev/null @@ -1,154 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.text.MessageFormat; -import java.util.Collections; -import java.util.Comparator; -import java.util.Enumeration; -import java.util.List; -import java.util.concurrent.ExecutionException; - -import javax.swing.AbstractButton; -import javax.swing.JRadioButton; -import javax.swing.SwingWorker; - -import org.omegat.core.Core; -import org.omegat.util.Log; -import org.omegat.util.OStrings; -import org.omegat.util.Preferences; -import org.omegat.util.StringUtil; -import org.omegat.util.gui.StaticUIUtils; - -import gen.taas.TaasDomain; - -/** - * Controller for select TaaS domains. - * - * @author Alex Buloichik (alex73mail@gmail.com) - */ -public final class SelectDomainController { - - private SelectDomainController() { - } - - static SelectDomainUI dialog; - - public static void show() { - dialog = new SelectDomainUI(Core.getMainWindow().getApplicationFrame(), true); - dialog.scrollPane.getVerticalScrollBar().setUnitIncrement(16); - dialog.labelStatus.setText(OStrings.getString("TAAS_STATUS_DOMAIN_LIST")); - - new SwingWorker, Void>() { - - @Override - protected List doInBackground() throws Exception { - List result = TaaSPlugin.getClient().getDomainsList(); - - Collections.sort(result, new Comparator() { - @Override - public int compare(TaasDomain d1, TaasDomain d2) { - return d1.getName().compareToIgnoreCase(d2.getName()); - } - }); - return result; - } - - @Override - protected void done() { - try { - List list = get(); - String previouslySelected = Preferences.getPreference(Preferences.TAAS_DOMAIN); - if (StringUtil.isEmpty(previouslySelected)) { - previouslySelected = null; - dialog.rbAll.setSelected(true); - } - - for (TaasDomain d : list) { - JRadioButton btn = new JRadioButton(d.getName()); - btn.setName(d.getId()); - dialog.buttonGroup.add(btn); - dialog.list.add(btn); - if (previouslySelected != null && previouslySelected.equals(btn.getName())) { - btn.setSelected(true); - } - } - dialog.list.revalidate(); - - dialog.labelStatus.setText(" "); - } catch (ExecutionException e) { - Throwable ex = e.getCause(); - if (ex instanceof TaaSClient.FormatError) { - Log.logErrorRB(ex, "TAAS_FORMAT_ERROR", ex.getMessage()); - dialog.labelStatus.setText(OStrings.getString("TAAS_FORMAT_ERROR")); - } else if (ex instanceof TaaSClient.Unauthorized) { - Log.logErrorRB(ex, "TAAS_UNAUTHORIZED_ERROR"); - dialog.labelStatus.setText(OStrings.getString("TAAS_UNAUTHORIZED_ERROR")); - } else { - Log.logErrorRB(ex, "TAAS_GENERAL_ERROR", ex.getMessage()); - dialog.labelStatus.setText(MessageFormat.format( - OStrings.getString("TAAS_GENERAL_ERROR"), ex.getMessage())); - } - } catch (InterruptedException ex) { - } - } - }.execute(); - - dialog.btnSelect.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - if (dialog.rbAll.isSelected()) { - Preferences.setPreference(Preferences.TAAS_DOMAIN, ""); - } else { - for (Enumeration en = dialog.buttonGroup.getElements(); en - .hasMoreElements();) { - AbstractButton btn = en.nextElement(); - if (btn.isSelected()) { - Preferences.setPreference(Preferences.TAAS_DOMAIN, btn.getName()); - break; - } - } - } - Preferences.save(); - dialog.dispose(); - } - }); - - StaticUIUtils.setEscapeClosable(dialog); - dialog.btnClose.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - dialog.dispose(); - } - }); - - dialog.setLocationRelativeTo(Core.getMainWindow().getApplicationFrame()); - - dialog.setVisible(true); - } -} diff --git a/src/org/omegat/gui/glossary/taas/SelectDomainUI.form b/src/org/omegat/gui/glossary/taas/SelectDomainUI.form deleted file mode 100644 index d327ebcea3..0000000000 --- a/src/org/omegat/gui/glossary/taas/SelectDomainUI.form +++ /dev/null @@ -1,109 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/org/omegat/gui/glossary/taas/SelectDomainUI.java b/src/org/omegat/gui/glossary/taas/SelectDomainUI.java deleted file mode 100644 index cfc143e47a..0000000000 --- a/src/org/omegat/gui/glossary/taas/SelectDomainUI.java +++ /dev/null @@ -1,139 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ -package org.omegat.gui.glossary.taas; - -import java.awt.Dimension; -import java.awt.GridBagConstraints; -import java.awt.GridBagLayout; -import java.awt.Insets; - -import javax.swing.BoxLayout; -import javax.swing.ButtonGroup; -import javax.swing.JButton; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.JRadioButton; -import javax.swing.JScrollPane; -import javax.swing.WindowConstants; - -import org.omegat.util.OStrings; -import org.openide.awt.Mnemonics; - -/** - * @author Alex Buloichik (alex73mail@gmail.com) - */ -@SuppressWarnings("serial") -public class SelectDomainUI extends javax.swing.JDialog { - - /** - * Creates new form SelectDomainUI - */ - public SelectDomainUI(java.awt.Frame parent, boolean modal) { - super(parent, modal); - initComponents(); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - // //GEN-BEGIN:initComponents - private void initComponents() { - GridBagConstraints gridBagConstraints; - - buttonGroup = new ButtonGroup(); - btnSelect = new JButton(); - scrollPane = new JScrollPane(); - list = new JPanel(); - rbAll = new JRadioButton(); - labelStatus = new JLabel(); - btnClose = new JButton(); - jPanel1 = new JPanel(); - - setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); - setTitle(OStrings.getString("TAAS_DOMAIN_SELECTION_TITLE")); // NOI18N - setPreferredSize(new Dimension(450, 600)); - getContentPane().setLayout(new GridBagLayout()); - - Mnemonics.setLocalizedText(btnSelect, OStrings.getString("TAAS_DOMAIN_SELECT")); // NOI18N - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 1; - gridBagConstraints.gridy = 2; - gridBagConstraints.insets = new Insets(5, 5, 5, 5); - getContentPane().add(btnSelect, gridBagConstraints); - - list.setLayout(new BoxLayout(list, BoxLayout.PAGE_AXIS)); - - buttonGroup.add(rbAll); - Mnemonics.setLocalizedText(rbAll, OStrings.getString("TAAS_DOMAINS_ALL")); // NOI18N - list.add(rbAll); - - scrollPane.setViewportView(list); - - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 0; - gridBagConstraints.gridwidth = 3; - gridBagConstraints.fill = GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.weighty = 1.0; - getContentPane().add(scrollPane, gridBagConstraints); - - Mnemonics.setLocalizedText(labelStatus, " "); - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 1; - gridBagConstraints.gridwidth = 3; - gridBagConstraints.insets = new Insets(5, 5, 5, 5); - getContentPane().add(labelStatus, gridBagConstraints); - - Mnemonics.setLocalizedText(btnClose, OStrings.getString("BUTTON_CANCEL")); // NOI18N - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 2; - gridBagConstraints.gridy = 2; - gridBagConstraints.insets = new Insets(5, 5, 5, 5); - getContentPane().add(btnClose, gridBagConstraints); - gridBagConstraints = new GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 2; - gridBagConstraints.fill = GridBagConstraints.HORIZONTAL; - gridBagConstraints.weightx = 1.0; - getContentPane().add(jPanel1, gridBagConstraints); - - pack(); - }// //GEN-END:initComponents - - // Variables declaration - do not modify//GEN-BEGIN:variables - public JButton btnClose; - public JButton btnSelect; - public ButtonGroup buttonGroup; - public JPanel jPanel1; - public JLabel labelStatus; - public JPanel list; - public JRadioButton rbAll; - public JScrollPane scrollPane; - // End of variables declaration//GEN-END:variables -} diff --git a/src/org/omegat/gui/glossary/taas/TaaSClient.java b/src/org/omegat/gui/glossary/taas/TaaSClient.java deleted file mode 100644 index 9bd16564ea..0000000000 --- a/src/org/omegat/gui/glossary/taas/TaaSClient.java +++ /dev/null @@ -1,354 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik, Didier Briel - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.io.BufferedOutputStream; -import java.io.File; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.io.StringReader; -import java.net.HttpURLConnection; -import java.net.URL; -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.Base64; -import java.util.List; -import java.util.Locale; -import java.util.logging.Logger; - -import javax.xml.bind.JAXBContext; - -import org.apache.commons.io.IOUtils; -import org.omegat.util.CredentialsManager; -import org.omegat.util.Language; -import org.omegat.util.Log; -import org.omegat.util.OStrings; -import org.omegat.util.StringUtil; - -import gen.taas.TaasArrayOfTerm; -import gen.taas.TaasCollection; -import gen.taas.TaasCollections; -import gen.taas.TaasDomain; -import gen.taas.TaasDomains; -import gen.taas.TaasExtractionResult; -import gen.taas.TaasTerm; - -/** - * Client for TaaS REST service. - * - * @author Alex Buloichik (alex73mail@gmail.com) - */ -@SuppressWarnings("serial") -public class TaaSClient { - - private static final Logger LOGGER = Logger.getLogger(TaaSClient.class.getName()); - - private static final String PROPERTY_API_KEY = "taas.user.key"; - - public static final String WS_URL = "https://api.taas-project.eu"; - /** Machine user name */ - public static final String M_USERNAME = "OmegaT"; - /** Machine password */ - public static final String M_PASSWORD = "Ts1DW4^UpE"; - - private static final String BASIC_AUTH = "Basic " + Base64.getMimeEncoder() - .encodeToString((M_USERNAME + ":" + M_PASSWORD).getBytes(StandardCharsets.ISO_8859_1)); - - /** - * 1-statistical terminology annotation, 2- statistical terminology annotation with references to - * terminology entries, 4- Terminology DB based terminology annotation (fast) - */ - public static final String EXTRACTION_METHOD = "4"; - - private JAXBContext context; - - private String taasUserKey; - - public void init() throws Exception { - loadApiKey(); - if (isAllowed()) { - initContext(); - } - } - - public String getApiKey() { - return taasUserKey; - } - - private void loadApiKey() { - String property = System.getProperty(PROPERTY_API_KEY); - if (!StringUtil.isEmpty(property)) { - taasUserKey = property; - } else { - taasUserKey = CredentialsManager.getInstance().retrieve(PROPERTY_API_KEY).orElse(""); - } - } - - public void setApiKey(String key, boolean temporary) throws Exception { - taasUserKey = key; - storeApiKey(key, temporary); - if (isAllowed()) { - initContext(); - } - } - - private void storeApiKey(String key, boolean temporary) { - System.setProperty(PROPERTY_API_KEY, key); - CredentialsManager.getInstance().store(PROPERTY_API_KEY, temporary ? "" : key); - } - - public boolean isApiKeyStoredTemporarily() { - return !CredentialsManager.getInstance().isStored(PROPERTY_API_KEY) - && !System.getProperty(PROPERTY_API_KEY, "").isEmpty(); - } - - private void initContext() throws Exception { - if (context == null) { - context = JAXBContext.newInstance(TaasCollections.class, TaasArrayOfTerm.class, - TaasExtractionResult.class, TaasDomains.class); - } - } - - public boolean isAllowed() { - return !StringUtil.isEmpty(taasUserKey); - } - - /** - * Request specified URL and check response code. - */ - HttpURLConnection requestGet(String url) throws IOException, Unauthorized, FormatError { - Log.logInfoRB("TAAS_REQUEST", url); - HttpURLConnection conn; - conn = (HttpURLConnection) new URL(url).openConnection(); - - conn.setRequestProperty("Authorization", BASIC_AUTH); - if (!StringUtil.isEmpty(taasUserKey)) { - conn.setRequestProperty("TaaS-User-Key", taasUserKey); - } - conn.setRequestProperty("Accept", "text/xml"); - - if (conn.getResponseCode() == HttpURLConnection.HTTP_UNAUTHORIZED) { - throw new Unauthorized(); - } - - if (conn.getResponseCode() != HttpURLConnection.HTTP_OK) { - throw new FormatError(conn.getResponseCode() + " " + conn.getResponseMessage()); - } - return conn; - } - - /** - * Request specified URL and check response code. - */ - HttpURLConnection requestPost(String url, String body) throws IOException, Unauthorized, FormatError { - Log.logInfoRB("TAAS_REQUEST", url); - HttpURLConnection conn; - conn = (HttpURLConnection) new URL(url).openConnection(); - - conn.setRequestProperty("Authorization", BASIC_AUTH); - if (taasUserKey != null) { - conn.setRequestProperty("TaaS-User-Key", taasUserKey); - } - conn.setRequestProperty("Accept", "text/xml"); - conn.setRequestMethod("POST"); - - conn.setRequestProperty("Content-Type", "text/plain"); // ; charset=UTF-8 - conn.setDoOutput(true); - OutputStream out = conn.getOutputStream(); - try { - out.write(body.getBytes(StandardCharsets.UTF_8)); - } finally { - out.close(); - } - - if (conn.getResponseCode() == HttpURLConnection.HTTP_UNAUTHORIZED) { - throw new Unauthorized(); - } - - if (conn.getResponseCode() != HttpURLConnection.HTTP_OK) { - throw new FormatError(conn.getResponseCode() + " " + conn.getResponseMessage()); - } - return conn; - } - - /** - * Check content type of response. - */ - void checkXMLContentType(HttpURLConnection conn) throws FormatError { - String contentType = conn.getHeaderField("Content-Type"); - if (contentType == null) { - throw new FormatError("Empty Content-Type header"); - } - String ct = contentType.replace(" ", "").toLowerCase(Locale.ENGLISH); - if (!"text/xml".equals(ct) && !"application/xml".equals(ct)) { - throw new FormatError("Wrong Content-Type header: " + contentType); - } - } - - /** - * Check content type of response. - */ - void checkXMLUTF8ContentType(HttpURLConnection conn) throws FormatError { - String contentType = conn.getHeaderField("Content-Type"); - if (contentType == null) { - throw new FormatError("Empty Content-Type header"); - } - String ct = contentType.replace(" ", "").toLowerCase(Locale.ENGLISH); - if (!"text/xml;charset=utf-8".equals(ct) && !"application/xml;charset=utf-8".equals(ct)) { - throw new FormatError("Wrong Content-Type header: " + contentType); - } - } - - /** - * Read content as UTF-8 string. - */ - String readUTF8(HttpURLConnection conn) throws IOException { - InputStream in = conn.getInputStream(); - try { - return IOUtils.toString(in, StandardCharsets.UTF_8); - } finally { - in.close(); - } - } - - /** - * Get a List of Collections. - */ - List getCollectionsList() throws IOException, Unauthorized, FormatError { - HttpURLConnection conn = requestGet(WS_URL + "/collections"); - checkXMLUTF8ContentType(conn); - - String data = readUTF8(conn); - TaasCollections result; - try { - result = (TaasCollections) context.createUnmarshaller().unmarshal(new StringReader(data)); - } catch (Exception ex) { - throw new FormatError("Wrong content: " + ex.getMessage()); - } - Log.logDebug(LOGGER, "getCollectionsList() returns {0} collections", result.getCollection().size()); - return result.getCollection(); - } - - /** - * Get a List of Domains. - */ - List getDomainsList() throws IOException, Unauthorized, FormatError { - HttpURLConnection conn = requestGet(WS_URL + "/domains"); - checkXMLUTF8ContentType(conn); - - String data = readUTF8(conn); - TaasDomains result; - try { - result = (TaasDomains) context.createUnmarshaller().unmarshal(new StringReader(data)); - } catch (Exception ex) { - throw new FormatError("Wrong content: " + ex.getMessage()); - } - Log.logDebug(LOGGER, "getDomainsList() returns {0} domains", result.getDomain().size()); - return result.getDomain(); - } - - /** - * Download specific collection into file. - */ - void downloadCollection(long collectionId, File outFile) throws Exception { - HttpURLConnection conn = requestGet(WS_URL + "/collections/" + collectionId); - checkXMLContentType(conn); - - InputStream in = conn.getInputStream(); - try { - OutputStream out = new BufferedOutputStream(new FileOutputStream(outFile)); - try { - TaaSPlugin.filterTaasResult(in, out); - } finally { - out.close(); - } - } finally { - in.close(); - } - Log.logDebug(LOGGER, "Collection {0} downloaded", collectionId); - } - - /** - * Look ups translation for given term. - */ - List termLookup(Language sourceLang, Language targetLang, String term) throws IOException, - Unauthorized, FormatError { - HttpURLConnection conn = requestGet(WS_URL + "/lookup/" + sourceLang.getLanguageCode().toLowerCase() - + "/" + URLEncoder.encode(term, "UTF-8") + "?targetLang=" - + targetLang.getLanguageCode().toLowerCase()); - checkXMLUTF8ContentType(conn); - - String data = readUTF8(conn); - TaasArrayOfTerm result; - try { - result = (TaasArrayOfTerm) context.createUnmarshaller().unmarshal(new StringReader(data)); - } catch (Exception ex) { - throw new FormatError("Wrong content: " + ex.getMessage()); - } - Log.logDebug(LOGGER, "termLookup returns {0} results", result.getTerm().size()); - return result.getTerm(); - } - - /** - * Term Extraction method. Domain can be null for request all domains. - */ - TaasExtractionResult termExtraction(Language sourceLang, Language targetLang, String text, String domain) - throws IOException, Unauthorized, FormatError { - StringBuilder r = new StringBuilder(); - r.append(WS_URL).append("/extraction/"); - r.append("?sourceLang=").append(sourceLang.getLanguageCode().toLowerCase(Locale.ENGLISH)); - r.append("&targetLang=").append(targetLang.getLanguageCode().toLowerCase(Locale.ENGLISH)); - r.append("&method=").append(EXTRACTION_METHOD); - if (!StringUtil.isEmpty(domain)) { - r.append("&domain=").append(URLEncoder.encode(domain, "UTF-8")); - } - HttpURLConnection conn = requestPost(r.toString(), text); - checkXMLUTF8ContentType(conn); - String data = readUTF8(conn); - TaasExtractionResult result; - try { - result = (TaasExtractionResult) context.createUnmarshaller().unmarshal(new StringReader(data)); - } catch (Exception ex) { - throw new FormatError("Wrong content: " + ex.getMessage()); - } - Log.logDebug(LOGGER, "termExtraction returns data"); - return result; - } - - public static class Unauthorized extends Exception { - public Unauthorized() { - super(OStrings.getString("TAAS_UNAUTHORIZED_ERROR")); - } - } - - public static class FormatError extends Exception { - public FormatError(String text) { - super(text); - } - } -} diff --git a/src/org/omegat/gui/glossary/taas/TaaSGlossary.java b/src/org/omegat/gui/glossary/taas/TaaSGlossary.java deleted file mode 100644 index 1950a115c8..0000000000 --- a/src/org/omegat/gui/glossary/taas/TaaSGlossary.java +++ /dev/null @@ -1,64 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.util.Collections; -import java.util.List; -import java.util.logging.Logger; - -import org.omegat.core.glossaries.IGlossary; -import org.omegat.gui.glossary.GlossaryEntry; -import org.omegat.gui.glossary.GlossaryReaderTBX; -import org.omegat.util.Language; -import org.omegat.util.Log; -import org.omegat.util.OStrings; -import org.omegat.util.Preferences; - -import gen.taas.TaasExtractionResult; - -/** - * TaaS glossary implementation. - * - * @author Alex Buloichik (alex73mail@gmail.com) - */ -public class TaaSGlossary implements IGlossary { - private static final Logger LOGGER = Logger.getLogger(TaaSGlossary.class.getName()); - - @Override - public List search(Language sLang, Language tLang, String srcText) throws Exception { - if (!Preferences.isPreferenceDefault(Preferences.TAAS_LOOKUP, false) - || !TaaSPlugin.getClient().isAllowed()) { - return Collections.emptyList(); - } - - TaasExtractionResult res = TaaSPlugin.getClient().termExtraction(sLang, tLang, srcText, - Preferences.getPreference(Preferences.TAAS_DOMAIN)); - String data = TaaSPlugin.filterTaasResult(res.getTerms()); - List entries = GlossaryReaderTBX.read(data, false, OStrings.getString("TAAS_GLOSSARY_NAME")); - Log.logDebug(LOGGER, "TaaS returns {0} glossary entries", entries.size()); - return entries; - } -} diff --git a/src/org/omegat/gui/glossary/taas/TaaSPlugin.java b/src/org/omegat/gui/glossary/taas/TaaSPlugin.java deleted file mode 100644 index bdfcc80f24..0000000000 --- a/src/org/omegat/gui/glossary/taas/TaaSPlugin.java +++ /dev/null @@ -1,141 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2014 Alex Buloichik - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.io.InputStream; -import java.io.OutputStream; -import java.io.StringReader; -import java.io.StringWriter; - -import javax.swing.JCheckBoxMenuItem; -import javax.swing.JMenuItem; -import javax.xml.transform.Source; -import javax.xml.transform.Transformer; -import javax.xml.transform.TransformerFactory; -import javax.xml.transform.stream.StreamResult; -import javax.xml.transform.stream.StreamSource; - -import org.omegat.core.Core; -import org.omegat.core.CoreEvents; -import org.omegat.core.events.IApplicationEventListener; -import org.omegat.gui.preferences.PreferencesControllers; -import org.omegat.gui.preferences.PreferencesWindowController; -import org.omegat.util.Log; -import org.omegat.util.OStrings; -import org.omegat.util.Preferences; -import org.openide.awt.Mnemonics; - -/** - * TaaS plugin. - * - * @author Alex Buloichik (alex73mail@gmail.com) - */ -public final class TaaSPlugin { - - private static class ClientHolder { - private static final TaaSClient CLIENT = new TaaSClient(); - } - - public static TaaSClient getClient() { - return ClientHolder.CLIENT; - } - - private TaaSPlugin() { - } - - static Transformer filterTransformer; - - /** - * Register plugin into OmegaT. - */ - public static void loadPlugins() { - TaaSGlossary glossary; - TaaSClient client = getClient(); - try { - client.init(); - if (client.isAllowed()) { - glossary = new TaaSGlossary(); - try (InputStream in = TaaSGlossary.class.getResourceAsStream("filter.xslt")) { - if (in == null) { - throw new Exception("filter.xslt is unaccessible"); - } - TransformerFactory factory = TransformerFactory.newInstance(); - Source xslt = new StreamSource(in); - filterTransformer = factory.newTransformer(xslt); - } - } else { - glossary = null; - } - } catch (Exception ex) { - Log.log(ex); - return; - } - - CoreEvents.registerApplicationEventListener(new IApplicationEventListener() { - public void onApplicationStartup() { - JMenuItem lookup = new JCheckBoxMenuItem(); - lookup.setSelected(Preferences.isPreferenceDefault(Preferences.TAAS_LOOKUP, false)); - Mnemonics.setLocalizedText(lookup, OStrings.getString("TAAS_MENU_LOOKUP")); - lookup.addActionListener(e -> { - if (client.isAllowed()) { - Preferences.setPreference(Preferences.TAAS_LOOKUP, lookup.isSelected()); - Preferences.save(); - } else { - lookup.setSelected(false); - new PreferencesWindowController().show(Core.getMainWindow().getApplicationFrame(), - TaaSPreferencesController.class); - } - }); - Core.getMainWindow().getMainMenu().getGlossaryMenu().add(lookup); - PreferencesControllers.addSupplier(TaaSPreferencesController::new); - Preferences.addPropertyChangeListener(Preferences.TAAS_LOOKUP, - e -> lookup.setSelected((Boolean) e.getNewValue())); - if (client.isAllowed()) { - Core.getGlossaryManager().addGlossaryProvider(glossary); - } - } - - public void onApplicationShutdown() { - } - }); - } - - static String filterTaasResult(String xml) throws Exception { - Source src = new StreamSource(new StringReader(xml)); - StringWriter out = new StringWriter(); - filterTransformer.transform(src, new StreamResult(out)); - - return out.toString(); - } - - static void filterTaasResult(InputStream in, OutputStream out) throws Exception { - Source src = new StreamSource(in); - filterTransformer.transform(src, new StreamResult(out)); - } - - public static void unloadPlugins() { - } -} diff --git a/src/org/omegat/gui/glossary/taas/TaaSPreferencesController.java b/src/org/omegat/gui/glossary/taas/TaaSPreferencesController.java deleted file mode 100644 index c3b187018c..0000000000 --- a/src/org/omegat/gui/glossary/taas/TaaSPreferencesController.java +++ /dev/null @@ -1,156 +0,0 @@ - -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2016 Aaron Madlon-Kay - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import java.net.URI; -import java.util.logging.Level; -import java.util.logging.Logger; - -import javax.swing.JComponent; -import javax.swing.JOptionPane; -import javax.swing.Timer; -import javax.swing.event.DocumentEvent; -import javax.swing.event.DocumentListener; - -import org.omegat.core.Core; -import org.omegat.gui.preferences.BasePreferencesController; -import org.omegat.gui.preferences.IPreferencesController; -import org.omegat.gui.preferences.view.GlossaryPreferencesController; -import org.omegat.util.OStrings; -import org.omegat.util.Preferences; -import org.omegat.util.gui.DesktopWrapper; - -/** - * @author Aaron Madlon-Kay - */ -public class TaaSPreferencesController extends BasePreferencesController { - - private static final String TAAS_KEY_URL = "https://term.tilde.com/account/keys/create?system=omegaT"; - - private TaaSPreferencesPanel panel; - - @Override - public JComponent getGui() { - if (panel == null) { - initGui(); - initFromPrefs(); - } - return panel; - } - - @Override - public String toString() { - return OStrings.getString("PREFS_TITLE_TAAS"); - } - - private void initGui() { - panel = new TaaSPreferencesPanel(); - panel.getKeyButton.addActionListener(e -> { - try { - DesktopWrapper.browse(URI.create(TAAS_KEY_URL)); - } catch (Exception ex) { - JOptionPane.showConfirmDialog(panel, ex.getLocalizedMessage(), - OStrings.getString("ERROR_TITLE"), JOptionPane.ERROR_MESSAGE); - } - }); - Timer timer = new Timer(500, e -> { - persistApiKey(); - updateEnabledness(); - }); - timer.setRepeats(false); - panel.apiKeyTextField.getDocument().addDocumentListener(new DocumentListener() { - - @Override - public void removeUpdate(DocumentEvent e) { - update(); - } - - @Override - public void insertUpdate(DocumentEvent e) { - update(); - } - - @Override - public void changedUpdate(DocumentEvent e) { - update(); - } - - private void update() { - if (panel.apiKeyTextField.hasFocus()) { - timer.restart(); - } - } - }); - panel.temporaryCheckBox.addActionListener(e -> persistApiKey()); - panel.selectDomainButton.addActionListener(e -> SelectDomainController.show()); - panel.browseCollectionsButton.addActionListener(e -> BrowseTaasCollectionsController.show()); - updateEnabledness(); - } - - private void persistApiKey() { - try { - String key = panel.apiKeyTextField.getText(); - boolean temporary = panel.temporaryCheckBox.isSelected(); - TaaSPlugin.getClient().setApiKey(key, temporary); - } catch (Exception e) { - Logger.getLogger(getClass().getName()).log(Level.SEVERE, e.getMessage(), e); - } - } - - private void updateEnabledness() { - boolean enabled = TaaSPlugin.getClient().isAllowed(); - panel.messagePanel.setVisible(!enabled); - panel.lookupCheckBox.setEnabled(enabled); - panel.selectDomainButton.setEnabled(enabled); - panel.browseCollectionsButton.setEnabled(enabled && Core.getProject().isProjectLoaded()); - } - - @Override - protected void initFromPrefs() { - panel.temporaryCheckBox.setSelected(TaaSPlugin.getClient().isApiKeyStoredTemporarily()); - panel.apiKeyTextField.setText(TaaSPlugin.getClient().getApiKey()); - panel.lookupCheckBox.setSelected(Preferences.isPreference(Preferences.TAAS_LOOKUP)); - } - - @Override - public void restoreDefaults() { - panel.temporaryCheckBox.setSelected(TaaSPlugin.getClient().isApiKeyStoredTemporarily()); - panel.apiKeyTextField.setText(TaaSPlugin.getClient().getApiKey()); - panel.lookupCheckBox.setSelected(false); - } - - @Override - public void persist() { - persistApiKey(); - Preferences.setPreference(Preferences.TAAS_LOOKUP, panel.lookupCheckBox.isSelected()); - } - - @Override - public Class getParentViewClass() { - return GlossaryPreferencesController.class; - } -} diff --git a/src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.form b/src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.form deleted file mode 100644 index 13d05ad55f..0000000000 --- a/src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.form +++ /dev/null @@ -1,221 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.java b/src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.java deleted file mode 100644 index 0d854e9484..0000000000 --- a/src/org/omegat/gui/glossary/taas/TaaSPreferencesPanel.java +++ /dev/null @@ -1,143 +0,0 @@ -/************************************************************************** - OmegaT - Computer Assisted Translation (CAT) tool - with fuzzy matching, translation memory, keyword search, - glossaries, and translation leveraging into updated projects. - - Copyright (C) 2016 Aaron Madlon-Kay - Home page: http://www.omegat.org/ - Support center: https://omegat.org/support - - This file is part of OmegaT. - - OmegaT is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OmegaT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - **************************************************************************/ - -package org.omegat.gui.glossary.taas; - -import javax.swing.JPanel; - -import org.omegat.util.OStrings; - -/** - * @author Aaron Madlon-Kay - */ -@SuppressWarnings("serial") -public class TaaSPreferencesPanel extends JPanel { - - /** Creates new form TaaSPreferencesPanel */ - public TaaSPreferencesPanel() { - initComponents(); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - // //GEN-BEGIN:initComponents - private void initComponents() { - - jLabel1 = new javax.swing.JLabel(); - jPanel1 = new javax.swing.JPanel(); - messagePanel = new javax.swing.JPanel(); - messageTextArea = new javax.swing.JTextArea(); - filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 5), new java.awt.Dimension(0, 5), new java.awt.Dimension(32767, 5)); - getKeyButton = new javax.swing.JButton(); - jPanel2 = new javax.swing.JPanel(); - jLabel2 = new javax.swing.JLabel(); - filler3 = new javax.swing.Box.Filler(new java.awt.Dimension(5, 0), new java.awt.Dimension(5, 0), new java.awt.Dimension(5, 32767)); - apiKeyTextField = new javax.swing.JTextField(); - temporaryCheckBox = new javax.swing.JCheckBox(); - filler2 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 10), new java.awt.Dimension(0, 10), new java.awt.Dimension(32767, 10)); - lookupCheckBox = new javax.swing.JCheckBox(); - browseCollectionsButton = new javax.swing.JButton(); - selectDomainButton = new javax.swing.JButton(); - - org.openide.awt.Mnemonics.setLocalizedText(jLabel1, "jLabel1"); - - setBorder(javax.swing.BorderFactory.createEmptyBorder(10, 10, 10, 10)); - setMinimumSize(new java.awt.Dimension(250, 200)); - setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.PAGE_AXIS)); - - jPanel1.setAlignmentX(0.0F); - jPanel1.setLayout(new java.awt.BorderLayout()); - - messagePanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 5, 0)); - messagePanel.setAlignmentX(0.0F); - messagePanel.setAlignmentY(0.0F); - messagePanel.setLayout(new javax.swing.BoxLayout(messagePanel, javax.swing.BoxLayout.PAGE_AXIS)); - - messageTextArea.setEditable(false); - messageTextArea.setFont(jLabel1.getFont()); - messageTextArea.setLineWrap(true); - messageTextArea.setText(OStrings.getString("TAAS_API_KEY_NOT_FOUND")); // NOI18N - messageTextArea.setWrapStyleWord(true); - messageTextArea.setAlignmentX(0.0F); - messageTextArea.setDragEnabled(false); - messageTextArea.setFocusable(false); - messageTextArea.setOpaque(false); - messagePanel.add(messageTextArea); - messagePanel.add(filler1); - - org.openide.awt.Mnemonics.setLocalizedText(getKeyButton, OStrings.getString("TAAS_GET_KEY_BUTTON")); // NOI18N - messagePanel.add(getKeyButton); - - jPanel1.add(messagePanel, java.awt.BorderLayout.NORTH); - - jPanel2.setLayout(new javax.swing.BoxLayout(jPanel2, javax.swing.BoxLayout.LINE_AXIS)); - - org.openide.awt.Mnemonics.setLocalizedText(jLabel2, OStrings.getString("TAAS_API_KEY_LABEL")); // NOI18N - jPanel2.add(jLabel2); - jPanel2.add(filler3); - jPanel2.add(apiKeyTextField); - - jPanel1.add(jPanel2, java.awt.BorderLayout.CENTER); - - org.openide.awt.Mnemonics.setLocalizedText(temporaryCheckBox, OStrings.getString("PREFS_CREDENTIAL_TEMPORARY_LABEL")); // NOI18N - jPanel1.add(temporaryCheckBox, java.awt.BorderLayout.PAGE_END); - - add(jPanel1); - add(filler2); - - org.openide.awt.Mnemonics.setLocalizedText(lookupCheckBox, OStrings.getString("PREFS_TAAS_LOOKUP")); // NOI18N - lookupCheckBox.setAlignmentY(0.0F); - add(lookupCheckBox); - - org.openide.awt.Mnemonics.setLocalizedText(browseCollectionsButton, OStrings.getString("TAAS_MENU_BROWSE")); // NOI18N - browseCollectionsButton.setAlignmentY(0.0F); - add(browseCollectionsButton); - - org.openide.awt.Mnemonics.setLocalizedText(selectDomainButton, OStrings.getString("TAAS_MENU_DOMAINS")); // NOI18N - selectDomainButton.setAlignmentY(0.0F); - add(selectDomainButton); - }// //GEN-END:initComponents - - // Variables declaration - do not modify//GEN-BEGIN:variables - javax.swing.JTextField apiKeyTextField; - javax.swing.JButton browseCollectionsButton; - private javax.swing.Box.Filler filler1; - private javax.swing.Box.Filler filler2; - private javax.swing.Box.Filler filler3; - javax.swing.JButton getKeyButton; - private javax.swing.JLabel jLabel1; - private javax.swing.JLabel jLabel2; - private javax.swing.JPanel jPanel1; - private javax.swing.JPanel jPanel2; - javax.swing.JCheckBox lookupCheckBox; - javax.swing.JPanel messagePanel; - javax.swing.JTextArea messageTextArea; - javax.swing.JButton selectDomainButton; - javax.swing.JCheckBox temporaryCheckBox; - // End of variables declaration//GEN-END:variables -} diff --git a/src/org/omegat/gui/glossary/taas/filter.xslt b/src/org/omegat/gui/glossary/taas/filter.xslt deleted file mode 100644 index 500467d751..0000000000 --- a/src/org/omegat/gui/glossary/taas/filter.xslt +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - diff --git a/src/schemas/taas.xjb b/src/schemas/taas.xjb deleted file mode 100644 index aa19ac2eda..0000000000 --- a/src/schemas/taas.xjb +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/src/schemas/taas.xsd b/src/schemas/taas.xsd deleted file mode 100644 index ec5d20cad0..0000000000 --- a/src/schemas/taas.xsd +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -