Skip to content

Commit 6c0931d

Browse files
committed
Updated for release 2.5.0
1 parent 95da02a commit 6c0931d

22 files changed

Lines changed: 116 additions & 252 deletions

.classpath

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@
3131
<attribute name="module" value="true"/>
3232
</attributes>
3333
</classpathentry>
34+
<classpathentry kind="lib" path="jars/xmljava.jar">
35+
<attributes>
36+
<attribute name="module" value="true"/>
37+
</attributes>
38+
</classpathentry>
3439
<classpathentry kind="output" path="bin"/>
3540
</classpath>

.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/sonarqube.sh
77
/node_modules
88
/js
9+
/target
910
package-lock.json
1011
/out
1112
/lib

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,41 @@
22

33
## TMXValidator
44

5-
Check the validity of your TMX documents in any platform with TMXValidator.
5+
Check the validity of your TMX documents on Windows, Linux or macOS with TMXValidator.
66

7-
Most CAT (Computer Aided Translation) tools rely on TMX (Translation Memory eXchange) standard to exchange translation memory data. Unfortunately, some tools produce files that are not valid and others do not accept TMX documents that are correctly formatted.
7+
Most CAT (Computer Aided Translation) tools rely on TMX (Translation Memory eXchange) standard to exchange translation memory data. Unfortunately, some tools produce files that are not valid and others do not accept correctly formatted TMX documents.
88

9-
TMXValidator checks your documents against TMX DTD and also verifies if they follow the requirements described in TMX specifications.
9+
TMXValidator validates your documents against the TMX DTD and also verifies that they comply with the requirements described in the TMX specifications.
1010

11-
TMXValidator supports TMX versions 1.1 , 1.2 , 1.3 and 1.4
11+
TMXValidator supports TMX versions 1.1, 1.2, 1.3 and 1.4.
1212

13-
Source code of TMXValidator was published originally on SourceForge at http://sourceforge.net/p/tmxvalidator/code/
13+
The source code of TMXValidator was originally published on SourceForge at [https://sourceforge.net/p/tmxvalidator/code](https://sourceforge.net/p/tmxvalidator/code).
1414

15-
The original version of TMXValidator loaded the TMX file in memory for validation. Validation of very big TMX files was limited by the amount of available memory.
15+
The original version of TMXValidator loaded the TMX file into memory for validation. Validation of very large TMX files was limited by the amount of available memory.
1616

17-
This version of TMXValidator does not need to load the complete file in memory and does not have size limitations.
17+
This version of TMXValidator does not need to load the whole file into memory and has no size limitation.
1818

1919
### Releases
2020

2121
Version | Comment | Release Date
2222
--------|---------|-------------
23+
2.5.0 | Updated code and libraries | May 22, 2023
24+
2.4.0 | Updated libraries | December 8, 2022
2325
2.3.0 | Updated code and libraries | February 17, 2022
2426
2.2.0 | Updated libraries and TypeScript code | January 2, 2021
2527
2.1.0 | Added UI written in TypeScript and improved validation | February 5, 2020
2628
2.0.2 | Switched to ant for building and updated OpenXLIFF| August 8, 2019
2729
2.0.1 | Fixed date validation and updated libraries | June 24, 2019
2830
2.0.0 | New version that supports validation of very large files | November 28, 2018
2931

30-
Ready to use installers are available at https://www.maxprograms.com/products/tmxvalidator.html
32+
Ready to use installers are available at [https://www.maxprograms.com/products/tmxvalidator.html](https://www.maxprograms.com/products/tmxvalidator.html)
3133

3234
## Requirements
3335

3436
- JDK 17 or newer is required for compiling and building. Get it from [Adoptium](https://adoptium.net/).
3537
- Apache Ant 1.10.12 or newer. Get it from [https://ant.apache.org/](https://ant.apache.org/)
36-
- Node.js 16.14.0 LTS or newer. Get it from [https://nodejs.org/](https://nodejs.org/)
37-
- TypeScript 4.5.5 or newer. Get it from [https://www.typescriptlang.org/](https://www.typescriptlang.org/)
38+
- Node.js 18.16.0 LTS or newer. Get it from [https://nodejs.org/](https://nodejs.org/)
39+
- TypeScript 5.0.4 or newer. Get it from [https://www.typescriptlang.org/](https://www.typescriptlang.org/)
3840

3941
## Building
4042

@@ -51,4 +53,5 @@ Ready to use installers are available at https://www.maxprograms.com/products/tm
5153
npm install
5254
npm start
5355
```
56+
5457
Compile once and then simply run `npm start` to start TMXValidator

build.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<project basedir="." default="dist" name="TMXValidator">
3-
<property name="target" value="11"/>
4-
<property name="source" value="11"/>
3+
<property name="target" value="17"/>
4+
<property name="source" value="17"/>
55
<property name="build.compiler" value="javac10+"/>
66
<path id="TMXValidator.classpath">
77
<pathelement location="jars/dtd.jar"/>
88
<pathelement location="jars/json.jar"/>
99
<pathelement location="jars/jsoup.jar"/>
1010
<pathelement location="jars/mapdb.jar"/>
1111
<pathelement location="jars/openxliff.jar"/>
12+
<pathelement location="jars/xmljava.jar"/>
1213
</path>
1314
<condition property="isWindows">
1415
<os family="windows"/>

html/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<link rel="stylesheet" href="../css/custom.css">
99
</head>
1010

11-
<body>
11+
<body onload="new About();">
1212
<div class="panel">
1313
<h1>TMXValidator <span id="version"></span><br>Build <span id="build"></span></h1>
1414
<p style="width:100%;text-align: center;"><img src="../img/tmxvalidator.png"></p>
15-
<p style="width:100%;text-align: center;">Copyright &copy; 2005-2022 Maxprograms</p>
15+
<p style="width:100%;text-align: center;">Copyright &copy; 2005-2023 Maxprograms</p>
1616
</div>
1717
<script src="../js/about.js"></script>
1818
</body>

html/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="../css/custom.css">
99
</head>
1010

11-
<body>
11+
<body onload="new Main();">
1212
<div class="panel">
1313
<span style="width:100%;">&nbsp;</span><a id="about"><img class="right" src="../img/info.png"></a>
1414
</div>

jars/openxliff.jar

23.5 KB
Binary file not shown.

jars/xmljava.jar

56.1 KB
Binary file not shown.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tmxvalidator",
33
"productName": "TMXValidator",
4-
"version": "2.4.0",
4+
"version": "2.5.0",
55
"description": "TMX Validator",
66
"main": "js/app.js",
77
"scripts": {
@@ -13,13 +13,13 @@
1313
"email": "rmraya@maxprograms.com",
1414
"url": "https://www.maxprograms.com"
1515
},
16-
"license": "SEE LICENSE IN LICENSE",
16+
"license": "EPL-1.0",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/rmraya/TMXValidator.git"
2020
},
21+
"homepage": "https://www.maxprograms.com/products/tmxvalidator.html",
2122
"devDependencies": {
22-
"electron": "^22.0.0",
23-
"typescript": "4.8.4"
23+
"electron": "^24.3.1"
2424
}
25-
}
25+
}

0 commit comments

Comments
 (0)