Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52314b9f90 | ||
|
|
62c723dc2f |
@@ -6,6 +6,12 @@
|
|||||||
- Added language pair selection, glossary storage and fuzzy in-context suggestions.
|
- Added language pair selection, glossary storage and fuzzy in-context suggestions.
|
||||||
- Added local-only import/export pipeline with portal handoff integration.
|
- 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
|
## 0.1.2 - 2026-09-03
|
||||||
|
|
||||||
- Fixed parsing of multiple JS-like const/let/var translations in one file so
|
- Fixed parsing of multiple JS-like const/let/var translations in one file so
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "translator-tools",
|
"name": "translator-tools",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "translator-tools",
|
"name": "translator-tools",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@add-ideas/toolbox-contract": "0.3.0",
|
"@add-ideas/toolbox-contract": "0.3.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "translator-tools",
|
"name": "translator-tools",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"description": "Review and translate i18next-like JSON language files locally.",
|
"description": "Review and translate i18next-like JSON language files locally.",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"author": "Albrecht Degering",
|
"author": "Albrecht Degering",
|
||||||
|
|||||||
@@ -6,6 +6,12 @@
|
|||||||
- Added language pair selection, glossary storage and fuzzy in-context suggestions.
|
- Added language pair selection, glossary storage and fuzzy in-context suggestions.
|
||||||
- Added local-only import/export pipeline with portal handoff integration.
|
- 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
|
## 0.1.2 - 2026-09-03
|
||||||
|
|
||||||
- Fixed parsing of multiple JS-like const/let/var translations in one file so
|
- Fixed parsing of multiple JS-like const/let/var translations in one file so
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "de.add-ideas.translator-tools",
|
"id": "de.add-ideas.translator-tools",
|
||||||
"name": "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.",
|
"description": "Review and edit translation bundles in the browser with glossary suggestions.",
|
||||||
"entry": "./",
|
"entry": "./",
|
||||||
"icon": "./favicon.svg",
|
"icon": "./favicon.svg",
|
||||||
|
|||||||
@@ -512,6 +512,7 @@ export function Workbench({
|
|||||||
localeMap: { de: {} },
|
localeMap: { de: {} },
|
||||||
});
|
});
|
||||||
const [filter, setFilter] = useState("");
|
const [filter, setFilter] = useState("");
|
||||||
|
const [showOnlyMissing, setShowOnlyMissing] = useState(false);
|
||||||
const [status, setStatus] = useState("");
|
const [status, setStatus] = useState("");
|
||||||
const [glossary, setGlossary] = useState<GlossaryTerm[]>(() => {
|
const [glossary, setGlossary] = useState<GlossaryTerm[]>(() => {
|
||||||
try {
|
try {
|
||||||
@@ -585,7 +586,7 @@ export function Workbench({
|
|||||||
const target = workspace.localeMap[effectiveTargetLanguage] ?? {};
|
const target = workspace.localeMap[effectiveTargetLanguage] ?? {};
|
||||||
const allKeys = new Set([...Object.keys(source), ...Object.keys(target)]);
|
const allKeys = new Set([...Object.keys(source), ...Object.keys(target)]);
|
||||||
const query = filter.trim().toLocaleLowerCase("en");
|
const query = filter.trim().toLocaleLowerCase("en");
|
||||||
const values = Array.from(allKeys)
|
return Array.from(allKeys)
|
||||||
.sort((left, right) => left.localeCompare(right))
|
.sort((left, right) => left.localeCompare(right))
|
||||||
.map((path) => ({
|
.map((path) => ({
|
||||||
key: path,
|
key: path,
|
||||||
@@ -599,10 +600,11 @@ export function Workbench({
|
|||||||
row.source.toLocaleLowerCase("en").includes(query) ||
|
row.source.toLocaleLowerCase("en").includes(query) ||
|
||||||
row.target.toLocaleLowerCase("en").includes(query),
|
row.target.toLocaleLowerCase("en").includes(query),
|
||||||
)
|
)
|
||||||
|
.filter((row) => (!showOnlyMissing ? true : !row.target.trim()))
|
||||||
.slice(0, MAX_PATH_ROWS);
|
.slice(0, MAX_PATH_ROWS);
|
||||||
return values;
|
|
||||||
}, [
|
}, [
|
||||||
filter,
|
filter,
|
||||||
|
showOnlyMissing,
|
||||||
workspace.localeMap,
|
workspace.localeMap,
|
||||||
effectiveSourceLanguage,
|
effectiveSourceLanguage,
|
||||||
effectiveTargetLanguage,
|
effectiveTargetLanguage,
|
||||||
@@ -912,6 +914,14 @@ export function Workbench({
|
|||||||
placeholder="Search keys or text"
|
placeholder="Search keys or text"
|
||||||
/>
|
/>
|
||||||
</label>
|
</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">
|
<span className="count">
|
||||||
{formatCount(glossaryRows.length)} rows ·{" "}
|
{formatCount(glossaryRows.length)} rows ·{" "}
|
||||||
{formatCount(totalMissing)} missing
|
{formatCount(totalMissing)} missing
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "de.add-ideas.translator-tools",
|
"id": "de.add-ideas.translator-tools",
|
||||||
"name": "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.",
|
"description": "Review and edit translation bundles in the browser with glossary suggestions.",
|
||||||
"entry": "./",
|
"entry": "./",
|
||||||
"icon": "./favicon.svg",
|
"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