Skip to content

Commit

Permalink
Updated for release 4.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rmraya committed Oct 21, 2022
1 parent b7527dd commit acedf01
Show file tree
Hide file tree
Showing 742 changed files with 176,381 additions and 174,056 deletions.
564 changes: 564 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Swordfish IV
# Swordfish

![Swordfish logo](https://www.maxprograms.com/images/swordfish_white.png)

An advanced CAT (Computer Aided Translation) tool based on XLIFF Standard that supports MS Office, DITA, HTML and other document formats.

Swordfish uses TM (Translation Memory) and MT (Machine Translation). Supports segment filtering, terminology, customization and more.

## Swordfish IV Running on macOS
## Swordfish Running on macOS

<a href="https://www.maxprograms.com/tutorials/TranslateFile.mp4"><img src="https://www.maxprograms.com/images/translateFile.png"></a>

Expand Down Expand Up @@ -70,6 +70,6 @@ Technical Support | Peer support at [Groups.io](https://groups.io/g/maxprograms
npm start
```

This video shows how to build and launch Swordfish IV: [https://www.maxprograms.com/tutorials/SwordfishIV_build.mp4](https://www.maxprograms.com/tutorials/SwordfishIV_build.mp4)
This video shows how to build and launch Swordfish: [https://www.maxprograms.com/tutorials/SwordfishIV_build.mp4](https://www.maxprograms.com/tutorials/SwordfishIV_build.mp4)

Compile once and then simply run `npm start` to start Swordfish
1 change: 1 addition & 0 deletions catalog/catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
<nextCatalog catalog="dita1.3/catalog.xml" />
<nextCatalog catalog="dita1.2/catalog-dita.xml" />
<nextCatalog catalog="dita1.2/catalog-dita-xsd.xml" />
<nextCatalog catalog="dita-lwdita/catalog-dita.xml" />

<!--
<nextCatalog catalog="dita1.1/catalog-dita.xml"/>
Expand Down
31 changes: 31 additions & 0 deletions catalog/dita-lwdita/catalog-dita.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" ?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
prefer="public">

<public publicId="-//OASIS//DTD LIGHTWEIGHT DITA Topic//EN" uri="dtd/lw-topic.dtd"/>
<public publicId="-//OASIS//DTD LIGHTWEIGHT DITA Map//EN" uri="dtd/lw-map.dtd"/>

<public publicId="-//OASIS//ELEMENTS LIGHTWEIGHT DITA Topic//EN" uri="dtd/lw-topic.mod"/>
<public publicId="-//OASIS//ELEMENTS LIGHTWEIGHT DITA Map//EN" uri="dtd/lw-map.mod"/>

<public publicId="-//OASIS//ELEMENTS LIGHTWEIGHT DITA Highlight Domain//EN" uri="dtd/lw-highlightDomain.mod"/>

<!-- The following values are deprecated, kept only for compatibility with the previous version -->

<public publicId="-//OASIS//DTD XDITA Topic//EN" uri="dtd/lw-topic.dtd"/>
<public publicId="-//OASIS//DTD XDITA Map//EN" uri="dtd/lw-map.dtd"/>

<public publicId="-//OASIS//ELEMENTS XDITA Topic//EN" uri="dtd/lw-topic.mod"/>
<public publicId="-//OASIS//ELEMENTS XDITA Map//EN" uri="dtd/lw-map.mod"/>

<!-- <public publicId="-//OASIS//ELEMENTS XDITA Highlight Domain//EN" uri="dtd/highlightDomain.mod"/> -->

<public publicId="-//OASIS//DTD LW DITA Topic//EN" uri="dtd/lw-topic.dtd"/>
<public publicId="-//OASIS//DTD LW DITA Map//EN" uri="dtd/lw-map.dtd"/>

<public publicId="-//OASIS//ELEMENTS LW DITA Topic//EN" uri="dtd/lw-topic.mod"/>
<public publicId="-//OASIS//ELEMENTS LW DITA Map//EN" uri="dtd/lw-map.mod"/>

<public publicId="-//OASIS//ELEMENTS LW DITA Highlight Domain//EN" uri="dtd/lw-highlightDomain.mod"/>

</catalog>
2 changes: 2 additions & 0 deletions catalog/dita-lwdita/dtd/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright © OASIS Open 2018. All Rights Reserved.
Distributed under the terms of the OASIS IPR Policy, [http://www.oasis-open.org/policies-guidelines/ipr], AS-IS, WITHOUT ANY IMPLIED OR EXPRESS WARRANTY; there is no warranty of MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE or NONINFRINGEMENT of the rights of others.
79 changes: 79 additions & 0 deletions catalog/dita-lwdita/dtd/lw-highlightDomain.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- MODULE: Lightweight DITA Highlighting Domain -->
<!-- VERSION: 1.0 -->
<!-- DATE: XXX -->
<!-- -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!-- -->
<!-- Refer to this file by the following public identifier or an
appropriate system identifier:
PUBLIC "-//OASIS//ELEMENTS LIGHTWEIGHT DITA Highlight Domain//EN"
Delivered as file "lw-highlightDomain.mod" -->

<!-- ============================================================= -->
<!-- SYSTEM: Lightweight DITA -->
<!-- -->
<!-- PURPOSE: Declaring the elements and specialization -->
<!-- attributes for the LwDITA highlighting domain -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- XXXX -->
<!-- -->
<!-- (C) OASIS -->
<!-- All Rights Reserved. -->
<!-- -->
<!-- UPDATES: -->
<!-- 25 Nov 2014 KJE: Upload files to DITA TC SVN repo -->
<!-- 16 May 2016 MG: Upload files to GitHub repo -->
<!-- 11 Jun 2017 KJE: Added headers and update logs -->
<!-- 14 Jun 2017 RDA: Added @outputclass -->
<!-- 25 Jul 2017 CE: Changed public identifier to LIGHTWEIGHT -->
<!-- DITA -->
<!-- 1 Mar 2018 CE: Renamed file to lw-highlightDomain.mod -->
<!-- ============================================================= -->

<!-- LONG NAME: Bold content -->
<!ELEMENT b (%all-inline;)* >
<!ATTLIST b
%localization;
%variable-content;
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/b ">

<!-- LONG NAME: Italic content -->
<!ELEMENT i (%all-inline;)* >
<!ATTLIST i
%localization;
%variable-content;
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/i ">

<!-- LONG NAME: Underlined content -->
<!ELEMENT u (%all-inline;)* >
<!ATTLIST u
%localization;
%variable-content;
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/u ">

<!-- LONG NAME: Superscript content -->
<!ELEMENT sup (%all-inline;)* >
<!ATTLIST sup
%localization;
%variable-content;
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/sup ">

<!-- LONG NAME: Subscript content -->
<!ELEMENT sub (%all-inline;)* >
<!ATTLIST sub
%localization;
%variable-content;
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/sub ">
107 changes: 107 additions & 0 deletions catalog/dita-lwdita/dtd/lw-map.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- MODULE: Lightweight DITA Map -->
<!-- VERSION: 1.0 -->
<!-- DATE: XXX -->
<!-- -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!-- -->
<!-- Refer to this file by the following public identifier or an
appropriate system identifier:
PUBLIC "-//OASIS//DTD LIGHTWEIGHT DITA Map//EN"
Delivered as file "lw-map.dtd" -->

<!-- ============================================================= -->
<!-- SYSTEM: Lightweight DITA -->
<!-- -->
<!-- PURPOSE: DTD to describe Lightweight DITA map -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- XXXX -->
<!-- -->
<!-- (C) OASIS -->
<!-- All Rights Reserved. -->
<!-- -->
<!-- UPDATES: -->
<!-- 25 Nov 2014 KJE: Upload files to DITA TC SVN repo -->
<!-- 16 May 2016 MG: Upload files to GitHub repo -->
<!-- 11 Jun 2017 KJE: Added headers and update logs -->
<!-- 14 Jun 2017 RDA: Add mapgroup to domains attribute -->
<!-- 20 Jun 2017 CE: Replaced domain from hi-d to topic hi-d -->
<!-- 20 Jun 2017 CE: Added prefix lw- to filename -->
<!-- 25 Jul 2017 CE: Changed public identifier to LIGHTWEIGHT -->
<!-- DITA -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- ADD PHRASE ELEMENTS -->
<!-- ============================================================= -->

<!-- hi-d -->
<!ENTITY % ph "ph | b | i |u | sup | sub" >


<!-- ============================================================= -->
<!-- ADD FILTERING ATTRIBUTES -->
<!-- ============================================================= -->

<!-- none-->
<!-- ENTITY % filter-adds
"ADD-ATTRIBUTE-HERE CDATA #IMPLIED"-->


<!-- ============================================================= -->
<!-- DECLARE USE OF ELEMENT/ATTRIBUTE DOMAINS -->
<!-- ============================================================= -->

<!ENTITY included-domains "(topic hi-d) (map mapgroup-d)">

<!-- ============================================================= -->
<!-- REMOVE ATTRIBUTE/ELEMENT GROUPS -->
<!-- ============================================================= -->

<!-- Remove a group by uncommenting its redefinition below -->

<!--ENTITY % filters " " -->
<!--ENTITY % reuse " " -->
<!--ENTITY % variable-content " " -->
<!--ENTITY % variable-links " " -->
<!--ENTITY % reference-content " " -->
<!--ENTITY % control-variables " " -->
<!--ENTITY % localization " " -->

<!--For each group removed add a corresponding constraint value to
the excluded-domains entity. The constraint name should be "no-"
followed by the name of the entity removed/constrained.
For example, if you removed reuse attributes, add the value
"no-reuse-c" to the excluded-domains entity definition-->

<!ENTITY excluded-domains " " >

<!-- ============================================================= -->
<!-- INCLUDE MAP MODULE -->
<!-- ============================================================= -->

<!-- Embed map module to get generic elements -->
<!ENTITY % map-type PUBLIC
"-//OASIS//ELEMENTS LIGHTWEIGHT DITA Map//EN"
"lw-map.mod" >
%map-type;


<!-- ============================================================= -->
<!-- INCLUDE PHRASE MODULES -->
<!-- ============================================================= -->

<!ENTITY % hi-d-def PUBLIC
" -//OASIS//ELEMENTS LIGHTWEIGHT DITA Highlight Domain//EN"
"lw-highlightDomain.mod" >
%hi-d-def;


<!-- ============= End LIGHTWEIGHT DITA Map DTD ================= -->
Loading

0 comments on commit acedf01

Please sign in to comment.