2 Commits
Author SHA1 Message Date
zemion 52314b9f90 chore(release): bump translator-tools to 0.1.3
Verify / verify (push) Canceled after 0s
2026-09-03 15:09:03 +02:00
zemion 62c723dc2f feat: filter translator rows by missing segments
Verify / verify (push) Canceled after 0s
2026-09-03 13:53:55 +02:00
8 changed files with 30 additions and 8 deletions
+6
View File
@@ -6,6 +6,12 @@
- Added language pair selection, glossary storage and fuzzy in-context suggestions.
- Added local-only import/export pipeline with portal handoff integration.
## 0.1.3 - 2026-09-03
- Added a missing-segments filter in the translation review table.
## 0.1.2 - 2026-09-03
## 0.1.2 - 2026-09-03
- Fixed parsing of multiple JS-like const/let/var translations in one file so
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "translator-tools",
"version": "0.1.2",
"version": "0.1.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "translator-tools",
"version": "0.1.2",
"version": "0.1.3",
"license": "GPL-3.0-or-later",
"dependencies": {
"@add-ideas/toolbox-contract": "0.3.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "translator-tools",
"version": "0.1.2",
"version": "0.1.3",
"description": "Review and translate i18next-like JSON language files locally.",
"license": "GPL-3.0-or-later",
"author": "Albrecht Degering",
+6
View File
@@ -6,6 +6,12 @@
- Added language pair selection, glossary storage and fuzzy in-context suggestions.
- Added local-only import/export pipeline with portal handoff integration.
## 0.1.3 - 2026-09-03
- Added a missing-segments filter in the translation review table.
## 0.1.2 - 2026-09-03
## 0.1.2 - 2026-09-03
- Fixed parsing of multiple JS-like const/let/var translations in one file so
+1 -1
View File
@@ -3,7 +3,7 @@
"schemaVersion": 1,
"id": "de.add-ideas.translator-tools",
"name": "Translator Tools",
"version": "0.1.2",
"version": "0.1.3",
"description": "Review and edit translation bundles in the browser with glossary suggestions.",
"entry": "./",
"icon": "./favicon.svg",
+12 -2
View File
@@ -512,6 +512,7 @@ export function Workbench({
localeMap: { de: {} },
});
const [filter, setFilter] = useState("");
const [showOnlyMissing, setShowOnlyMissing] = useState(false);
const [status, setStatus] = useState("");
const [glossary, setGlossary] = useState<GlossaryTerm[]>(() => {
try {
@@ -585,7 +586,7 @@ export function Workbench({
const target = workspace.localeMap[effectiveTargetLanguage] ?? {};
const allKeys = new Set([...Object.keys(source), ...Object.keys(target)]);
const query = filter.trim().toLocaleLowerCase("en");
const values = Array.from(allKeys)
return Array.from(allKeys)
.sort((left, right) => left.localeCompare(right))
.map((path) => ({
key: path,
@@ -599,10 +600,11 @@ export function Workbench({
row.source.toLocaleLowerCase("en").includes(query) ||
row.target.toLocaleLowerCase("en").includes(query),
)
.filter((row) => (!showOnlyMissing ? true : !row.target.trim()))
.slice(0, MAX_PATH_ROWS);
return values;
}, [
filter,
showOnlyMissing,
workspace.localeMap,
effectiveSourceLanguage,
effectiveTargetLanguage,
@@ -912,6 +914,14 @@ export function Workbench({
placeholder="Search keys or text"
/>
</label>
<label className="field field-inline">
<input
type="checkbox"
checked={showOnlyMissing}
onChange={(event) => setShowOnlyMissing(event.target.checked)}
/>
<span>Only missing segments</span>
</label>
<span className="count">
{formatCount(glossaryRows.length)} rows ·{" "}
{formatCount(totalMissing)} missing
+1 -1
View File
@@ -3,7 +3,7 @@
"schemaVersion": 1,
"id": "de.add-ideas.translator-tools",
"name": "Translator Tools",
"version": "0.1.2",
"version": "0.1.3",
"description": "Review and edit translation bundles in the browser with glossary suggestions.",
"entry": "./",
"icon": "./favicon.svg",
+1 -1
View File
@@ -1 +1 @@
export const APP_VERSION = "0.1.2";
export const APP_VERSION = "0.1.3";