Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52314b9f90 | ||
|
|
62c723dc2f |
@@ -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
|
||||
|
||||
Generated
+2
-2
@@ -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
@@ -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,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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -1 +1 @@
|
||||
export const APP_VERSION = "0.1.2";
|
||||
export const APP_VERSION = "0.1.3";
|
||||
|
||||
Reference in New Issue
Block a user