@ggdna/dna-translate 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dna/_dna.json +4 -0
- package/dna/_generated.json +10 -4
- package/dna/doc/guides/translate-guide.md +1 -1
- package/dna/doc/templates/blog-template-de.md +6 -6
- package/dna/dot-claude/skills/translate/SKILL.md +3 -3
- package/dna/dot-pubignore +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,6 +19,12 @@ The DNA layer that keeps documentation in sync across languages.
|
|
|
19
19
|
- `/translate` — reports missing counterparts and pairs that drifted
|
|
20
20
|
apart, then translates what is missing
|
|
21
21
|
|
|
22
|
+
## Publishing
|
|
23
|
+
|
|
24
|
+
`dna/dot-pubignore` keeps `/doc/guides/` and `/doc/templates/` out of the
|
|
25
|
+
package `dart pub publish` uploads. helix joins it with the ignore files of the
|
|
26
|
+
other layers into the project's `.pubignore`.
|
|
27
|
+
|
|
22
28
|
## Layers
|
|
23
29
|
|
|
24
30
|
Orthogonal: this layer carries only its own topic and is combined with
|
package/dna/_dna.json
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
// last layer of its own instantiation.
|
|
4
4
|
"version": 2,
|
|
5
5
|
|
|
6
|
+
// Published as a DNA layer: helix requires a tag on every section of
|
|
7
|
+
// dna/ markdown, so the layers above can override each one.
|
|
8
|
+
"isLayer": true,
|
|
9
|
+
|
|
6
10
|
// No parent DNA. This layer is orthogonal: it carries only its own topic
|
|
7
11
|
// and is combined with dna_dart, dna-ts and other layers by the consumer.
|
|
8
12
|
"layers": [],
|
package/dna/_generated.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "base",
|
|
6
6
|
"package": "helix",
|
|
7
7
|
"ecosystem": null,
|
|
8
|
-
"resolvedVersion": "1.
|
|
8
|
+
"resolvedVersion": "1.16.0",
|
|
9
9
|
"via": null,
|
|
10
10
|
"hash": "0x6883da335b415f9d"
|
|
11
11
|
},
|
|
@@ -15,20 +15,26 @@
|
|
|
15
15
|
"ecosystem": null,
|
|
16
16
|
"resolvedVersion": null,
|
|
17
17
|
"via": null,
|
|
18
|
-
"hash": "
|
|
18
|
+
"hash": "0xdf4b524e06e4d038"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"claude": {
|
|
22
22
|
"claudeMdInclude": null,
|
|
23
|
-
"claudeMdFromDna": false
|
|
23
|
+
"claudeMdFromDna": false,
|
|
24
|
+
"blockHash": null
|
|
24
25
|
},
|
|
25
|
-
"baseVersion": "1.
|
|
26
|
+
"baseVersion": "1.16.0",
|
|
26
27
|
"baseHash": "0x6883da335b415f9d",
|
|
28
|
+
"configHash": "0x0d4ac600e4df748f",
|
|
27
29
|
"instances": [
|
|
28
30
|
{
|
|
29
31
|
"path": ".claude/skills/translate/SKILL.md",
|
|
30
32
|
"hash": "0x3b34cef6c2b790a8"
|
|
31
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"path": ".pubignore",
|
|
36
|
+
"hash": "0xf54303d9193038d4"
|
|
37
|
+
},
|
|
32
38
|
{
|
|
33
39
|
"path": "doc/guides/translate-guide.md",
|
|
34
40
|
"hash": "0xa677037143b642e7"
|
|
@@ -19,7 +19,7 @@ found in the LICENSE file in the root of this package.
|
|
|
19
19
|
- Do not translate commands, code, paths, APIS
|
|
20
20
|
- Do not translate literally
|
|
21
21
|
|
|
22
|
-
## Blog posts
|
|
22
|
+
## @blog Blog posts
|
|
23
23
|
|
|
24
24
|
- Start a post in the language of the prompt
|
|
25
25
|
- Put english posts into `doc/blog/<yyyy>`, german ones into
|
|
@@ -8,30 +8,30 @@ found in the LICENSE file in the root of this package.
|
|
|
8
8
|
|
|
9
9
|
# Titel
|
|
10
10
|
|
|
11
|
-
## Motivation
|
|
11
|
+
## @motivation Motivation
|
|
12
12
|
|
|
13
13
|
- Warum und wozu, aus Sicht dieses Repos — das größere Ziel, nicht nur der
|
|
14
14
|
Auslöser.
|
|
15
15
|
|
|
16
|
-
## Strategie
|
|
16
|
+
## @strategy Strategie
|
|
17
17
|
|
|
18
18
|
- Wie das Ziel erreicht wurde. 3–7 Stichpunkte.
|
|
19
19
|
|
|
20
|
-
## Realisierung 1
|
|
20
|
+
## @implementation Realisierung 1
|
|
21
21
|
|
|
22
22
|
- Eine fokussierte Sektion pro Umsetzungsschritt / Arbeitspaket.
|
|
23
23
|
- 3-7 Stichpunkte
|
|
24
24
|
|
|
25
|
-
## Realisierung 2
|
|
25
|
+
## @implementation-2 Realisierung 2
|
|
26
26
|
|
|
27
27
|
- ..
|
|
28
28
|
|
|
29
|
-
## Aktualisierte Abhängigkeiten
|
|
29
|
+
## @dependencies Aktualisierte Abhängigkeiten
|
|
30
30
|
|
|
31
31
|
- Was sich in aktualisierten Abhängigkeiten geändert hat und für dieses Repo
|
|
32
32
|
zählt.
|
|
33
33
|
- Entfällt, wenn keine Abhängigkeit aktualisiert wurde.
|
|
34
34
|
|
|
35
|
-
## Offene Punkte
|
|
35
|
+
## @open-points Offene Punkte
|
|
36
36
|
|
|
37
37
|
- Noch nicht fertig, bekannte Einschränkungen, vertagte Entscheidungen.
|
|
@@ -15,7 +15,7 @@ found in the LICENSE file in the root of this package.
|
|
|
15
15
|
|
|
16
16
|
Read `doc/guides/translate-guide.md` and follow it.
|
|
17
17
|
|
|
18
|
-
## 1. Find what is out of sync
|
|
18
|
+
## @sync 1. Find what is out of sync
|
|
19
19
|
|
|
20
20
|
List the English documentation (`doc`, `README.md`) and the German one
|
|
21
21
|
(`doc/de`, `README.de.md`).
|
|
@@ -33,12 +33,12 @@ against `doc/de/<yyyy>-Q<n>/blog`.
|
|
|
33
33
|
Stop here and report when every pair is complete and current — there is
|
|
34
34
|
nothing to translate.
|
|
35
35
|
|
|
36
|
-
## 2. Translate what is missing
|
|
36
|
+
## @missing 2. Translate what is missing
|
|
37
37
|
|
|
38
38
|
Translate content- and structure-equal, never literally.
|
|
39
39
|
|
|
40
40
|
Do not translate commands, code, paths or API names.
|
|
41
41
|
|
|
42
|
-
## 3. Show the result
|
|
42
|
+
## @result 3. Show the result
|
|
43
43
|
|
|
44
44
|
List every file you wrote, then let the user review before committing.
|