strom-research 1.31.1-beta.3 → 1.32.0-beta.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/CHANGELOG.cs.md +19 -2
- package/CHANGELOG.de.md +20 -2
- package/CHANGELOG.md +19 -2
- package/CHANGELOG.pl.md +19 -2
- package/assets/lang/cs.json +17 -0
- package/assets/lang/de.json +17 -0
- package/assets/lang/pl.json +17 -0
- package/assets/terms/occupations.json +48 -0
- package/dist/agents/files.js +7 -1
- package/dist/agents/global.js +5 -1
- package/dist/cli/help.js +2 -2
- package/dist/cli/human.js +4 -0
- package/dist/cli/ui.js +17 -0
- package/dist/commands/analysis.js +5 -23
- package/dist/commands/facts.js +303 -0
- package/dist/commands/guide.js +8 -0
- package/dist/commands/index.js +1 -0
- package/dist/commands/start.js +29 -5
- package/dist/core/facts.js +256 -0
- package/dist/core/house.js +17 -0
- package/dist/core/occupations.js +83 -0
- package/dist/core/relation.js +444 -0
- package/dist/core/searchtext.js +23 -0
- package/dist/core/tree.js +1 -1
- package/dist/core/widget.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.cs.md
CHANGED
|
@@ -5,9 +5,26 @@
|
|
|
5
5
|
Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou na
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases) (anglicky).
|
|
7
7
|
|
|
8
|
-
## 1.
|
|
8
|
+
## 1.32.0
|
|
9
|
+
|
|
10
|
+
*Připravuje se: bety do 1.32.0-beta.1. Oddíl bude úplný s vydáním.*
|
|
11
|
+
|
|
12
|
+
- **Otázky nad rodokmenem jedním voláním: `strom facts`.** Kolik mlynářů je v rodu, kdo žil v čísle 12, kdo se
|
|
13
|
+
narodil ve Lhotě v 18. století: řádek za každý údaj osoby s hodnotou, místem, číslem popisným, datem, jistotou
|
|
14
|
+
a prameny. Filtry podle druhu, povolání, hodnoty, místa, čísla, let, příjmení (i jeho dalších tvarů), pramene a stavu;
|
|
15
|
+
čí údaje: přímá linie, pokrevní příbuzní (výchozí, i boční větve), i s partnery, nebo celý strom. `--count`
|
|
16
|
+
a `--by generation|kin|place|decade|surname` je spočítají. Odvolané osoby a údaje nikdy, vyvrácené jen na požádání;
|
|
17
|
+
neznámý `--kind` odmítne se seznamem platných druhů.
|
|
18
|
+
- **Jak je každá osoba příbuzná výchozí osobě, slovy:** v jazyce výzkumu, se stranou (otcova, matčina) a generací,
|
|
19
|
+
jak to říká kalkulačka vztahů aplikace Strom.
|
|
20
|
+
- **Povolání i v českých, německých, latinských a polských tvarech:** mlynar najde i Müller a molitor; osoby se slovem
|
|
21
|
+
jen ve jméně nebo poznámce se počítají zvlášť, se `strom find`, který je najde.
|
|
22
|
+
- **Agent odpovídá na otázky nad rodokmenem příkazem `strom facts`,** s ID osob, vztahem a pramenem, a říká, jak jistý
|
|
23
|
+
je každý údaj: vodítko ani pravděpodobný údaj nikdy jako fakt.
|
|
24
|
+
- **Číslo domu zapsané i se slovem** (č. 7, Nr. 7) už nemá slovo dvakrát, ani na kartě osoby.
|
|
25
|
+
- **`strom app --person P…`** otevře aplikaci Strom na této osobě stromu (aplikace před 3.21 otevře strom).
|
|
9
26
|
|
|
10
|
-
|
|
27
|
+
## 1.31.1
|
|
11
28
|
|
|
12
29
|
- **Nastavení pro prohlížeče archivů, které prohlížeč vykresluje pomalu.** Kde prohlížeč vykreslí kartu jen zhruba
|
|
13
30
|
jednou za sekundu (kreslení bez grafické karty, vzdálená plocha), potřebuje prohlížeč snímků archivu (ACTA PUBLICA)
|
package/CHANGELOG.de.md
CHANGED
|
@@ -5,9 +5,27 @@
|
|
|
5
5
|
Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Installationszeilen stehen bei
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases) (auf Englisch).
|
|
7
7
|
|
|
8
|
-
## 1.
|
|
8
|
+
## 1.32.0
|
|
9
|
+
|
|
10
|
+
*In Vorbereitung: die Betas bis 1.32.0-beta.1. Der Abschnitt ist mit dem Release vollständig.*
|
|
11
|
+
|
|
12
|
+
- **Fragen an den Stammbaum mit einem Aufruf: `strom facts`.** Wie viele Müller es in der Familie gibt, wer im Haus 12
|
|
13
|
+
wohnte, wer im 18. Jahrhundert in Lhota geboren wurde: eine Zeile je Angabe einer Person mit Wert, Ort, Hausnummer,
|
|
14
|
+
Datum, Sicherheit und Quellen. Filter nach Art, Beruf, Wert, Ort, Hausnummer, Jahren, Nachname (auch seinen anderen
|
|
15
|
+
Formen), Quelle und Status; wessen Angaben: die direkte Linie, die Blutsverwandten (Standard, auch Seitenlinien), mit
|
|
16
|
+
ihren Partnern, oder der ganze Baum. `--count` und `--by generation|kin|place|decade|surname` zählen sie. Widerrufene
|
|
17
|
+
Personen und Angaben nie, widerlegte nur auf Wunsch; ein unbekanntes `--kind` wird mit den gültigen Arten abgelehnt.
|
|
18
|
+
- **Wie jede Person mit der Hauptperson verwandt ist, in Worten:** in der Sprache der Forschung, mit der Seite
|
|
19
|
+
(väterlich, mütterlich) und der Generation, wie es der Verwandtschaftsrechner der Strom-App sagt.
|
|
20
|
+
- **Berufe auch in ihren tschechischen, deutschen, lateinischen und polnischen Formen:** mlynar findet auch Müller und
|
|
21
|
+
molitor; Personen mit dem Wort nur im Namen oder in einer Notiz werden getrennt gezählt, mit dem `strom find`, das sie
|
|
22
|
+
findet.
|
|
23
|
+
- **Der Agent beantwortet Fragen an den Stammbaum mit `strom facts`,** mit den IDs der Personen, der Verwandtschaft und
|
|
24
|
+
der Quelle, und sagt, wie sicher jede Angabe ist: ein Hinweis oder eine wahrscheinliche Angabe nie als Tatsache.
|
|
25
|
+
- **Eine Hausnummer mit eigenem Wort** (č. 7, Nr. 7) zeigt das Wort nicht mehr doppelt, auch auf der Karte einer Person.
|
|
26
|
+
- **`strom app --person P…`** öffnet die Strom-App bei dieser Person des Baums (eine App vor 3.21 öffnet den Baum).
|
|
9
27
|
|
|
10
|
-
|
|
28
|
+
## 1.31.1
|
|
11
29
|
|
|
12
30
|
- **Eine Einstellung für Archiv-Viewer, die ein Browser langsam zeichnet.** Wo der Browser einen Tab nur etwa einmal
|
|
13
31
|
pro Sekunde zeichnet (Zeichnen ohne Grafikkarte, ein Remote-Desktop), braucht der Viewer des Archivs (ACTA PUBLICA)
|
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,26 @@ English · [Čeština](CHANGELOG.cs.md) · [Deutsch](CHANGELOG.de.md) · [Polski
|
|
|
5
5
|
The changes of each version in short. The full notes and the install lines are on
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases).
|
|
7
7
|
|
|
8
|
-
## 1.
|
|
8
|
+
## 1.32.0
|
|
9
|
+
|
|
10
|
+
*In preparation: the betas up to 1.32.0-beta.1. The section is complete with the release.*
|
|
11
|
+
|
|
12
|
+
- **Questions over the family tree in one call: `strom facts`.** How many millers in the family, who lived at house 12,
|
|
13
|
+
who was born in Lhota in the 18th century: one row per fact of a person with its value, place, house, date, how sure
|
|
14
|
+
it is and its sources. Filters by kind, occupation, value, place, house, years, surname (its other forms too), source
|
|
15
|
+
and status; whose facts: the direct line, the blood relatives (the default, side branches too), with their partners,
|
|
16
|
+
or the whole tree. `--count` and `--by generation|kin|place|decade|surname` count them. Retracted people and facts
|
|
17
|
+
never come, disproven ones only when asked for; an unknown `--kind` is refused with the kinds it takes.
|
|
18
|
+
- **How each person is related to the main person, in words:** in the research's language, with the side (the
|
|
19
|
+
father's, the mother's) and the generation, as the Strom app's relationship finder says it.
|
|
20
|
+
- **Occupations in their Czech, German, Latin and Polish forms:** mlynar finds Müller and molitor too; people with the
|
|
21
|
+
word only in a name or a note are counted apart, with the `strom find` that finds them.
|
|
22
|
+
- **The agent answers questions over the tree with `strom facts`,** with the people's IDs, the relation and the
|
|
23
|
+
source, and says how sure each fact is: a lead or a probable one never as a fact.
|
|
24
|
+
- **A house written with its own word** (č. 7, Nr. 7) no longer shows the word twice, on a person's card too.
|
|
25
|
+
- **`strom app --person P…`** opens the Strom app on that person of the tree (an app before 3.21 opens the tree).
|
|
9
26
|
|
|
10
|
-
|
|
27
|
+
## 1.31.1
|
|
11
28
|
|
|
12
29
|
- **A setting for archive viewers a browser draws slowly.** Where the browser draws a tab only about once a second
|
|
13
30
|
(drawing without the graphics card, a remote desktop), the archive's viewer (ACTA PUBLICA) needs minutes for one
|
package/CHANGELOG.pl.md
CHANGED
|
@@ -5,9 +5,26 @@
|
|
|
5
5
|
Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia instalacji są na
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases) (po angielsku).
|
|
7
7
|
|
|
8
|
-
## 1.
|
|
8
|
+
## 1.32.0
|
|
9
|
+
|
|
10
|
+
*W przygotowaniu: bety do 1.32.0-beta.1. Sekcja będzie kompletna z wydaniem.*
|
|
11
|
+
|
|
12
|
+
- **Pytania o drzewo jednym wywołaniem: `strom facts`.** Ilu młynarzy jest w rodzie, kto mieszkał pod numerem 12, kto
|
|
13
|
+
urodził się w Lhocie w XVIII wieku: wiersz na każdą daną osoby z wartością, miejscem, numerem domu, datą, pewnością
|
|
14
|
+
i źródłami. Filtry według rodzaju, zawodu, wartości, miejsca, numeru domu, lat, nazwiska (także jego innych form),
|
|
15
|
+
źródła i stanu; czyje dane: linia prosta, krewni (domyślnie, także linie boczne), z ich partnerami, albo całe drzewo.
|
|
16
|
+
`--count` i `--by generation|kin|place|decade|surname` je liczą. Osoby i dane wycofane nigdy, obalone tylko na
|
|
17
|
+
życzenie; nieznany `--kind` zostaje odrzucony z listą prawidłowych rodzajów.
|
|
18
|
+
- **Jak każda osoba jest spokrewniona z osobą główną, słowami:** w języku badania, ze stroną (ojca, matki)
|
|
19
|
+
i pokoleniem, tak jak mówi kalkulator pokrewieństwa aplikacji Strom.
|
|
20
|
+
- **Zawody także w formach czeskich, niemieckich, łacińskich i polskich:** mlynar znajduje też Müller i molitor; osoby
|
|
21
|
+
ze słowem tylko w nazwisku lub notatce liczone są osobno, z `strom find`, który je znajduje.
|
|
22
|
+
- **Agent odpowiada na pytania o drzewo poleceniem `strom facts`,** z ID osób, pokrewieństwem i źródłem, i mówi, jak
|
|
23
|
+
pewna jest każda dana: wskazówka ani dana prawdopodobna nigdy jako fakt.
|
|
24
|
+
- **Numer domu zapisany z własnym słowem** (č. 7, Nr. 7) nie ma już słowa dwa razy, także na karcie osoby.
|
|
25
|
+
- **`strom app --person P…`** otwiera aplikację Strom na tej osobie drzewa (aplikacja przed 3.21 otwiera drzewo).
|
|
9
26
|
|
|
10
|
-
|
|
27
|
+
## 1.31.1
|
|
11
28
|
|
|
12
29
|
- **Ustawienie dla przeglądarek archiwów, które przeglądarka rysuje powoli.** Gdy przeglądarka rysuje kartę tylko mniej
|
|
13
30
|
więcej raz na sekundę (rysowanie bez karty graficznej, zdalny pulpit), przeglądarka skanów archiwum (ACTA PUBLICA)
|
package/assets/lang/cs.json
CHANGED
|
@@ -1274,6 +1274,22 @@
|
|
|
1274
1274
|
"ui.show.removed.mark": "(odebráno)",
|
|
1275
1275
|
"ui.show.relof": "{rel} u {who}",
|
|
1276
1276
|
"ui.show.eventOf": "{id} – {who} (celý záznam: strom {type} show {owner})",
|
|
1277
|
+
"ui.facts.kin.ancestors": "{of} a předkové",
|
|
1278
|
+
"ui.facts.kin.blood": "pokrevní příbuzní osoby {of}",
|
|
1279
|
+
"ui.facts.kin.family": "příbuzní osoby {of} a jejich partneři",
|
|
1280
|
+
"ui.facts.kin.all": "celý strom, vztahy k osobě {of}",
|
|
1281
|
+
"ui.facts.place": "místo {place}",
|
|
1282
|
+
"ui.facts.house": "čp. {house}",
|
|
1283
|
+
"ui.facts.surname": "příjmení {surname}",
|
|
1284
|
+
"ui.facts.source": "pramen {source}",
|
|
1285
|
+
"ui.facts.count": "{people, plural, one {# osoba} few {# osoby} many {# osoby} other {# osob}}, {facts, plural, one {# údaj} few {# údaje} many {# údaje} other {# údajů}}",
|
|
1286
|
+
"ui.facts.self": "výchozí osoba",
|
|
1287
|
+
"ui.facts.unrelated": "bez příbuzenského vztahu",
|
|
1288
|
+
"ui.facts.unknown": "neznámo",
|
|
1289
|
+
"ui.facts.side": "boční větve",
|
|
1290
|
+
"ui.facts.elsewhere": "+{n, plural, one {# osoba} few {# osoby} many {# osoby} other {# osob}} se slovem jen jinde (jméno, poznámka…): {command}",
|
|
1291
|
+
"ui.facts.none": "nic nenalezeno: {query}",
|
|
1292
|
+
"ui.facts.try": "dál zkusit: {commands}",
|
|
1277
1293
|
"ui.event.edited": "upraveno: {line}",
|
|
1278
1294
|
"ui.show.sex.M": "muž",
|
|
1279
1295
|
"ui.show.sex.F": "žena",
|
|
@@ -1366,6 +1382,7 @@
|
|
|
1366
1382
|
"ui.help.cmd.person.list": "Osoby v rodokmenu",
|
|
1367
1383
|
"ui.help.cmd.pedigree": "Předkové osoby jako strom",
|
|
1368
1384
|
"ui.help.cmd.find": "Najít osobu, záznam nebo místo podle jména",
|
|
1385
|
+
"ui.help.cmd.facts": "Kolik, kdo, kde, kdy: údaje rodu podle povolání, místa, let nebo pramene, i s příbuzenským vztahem každé osoby",
|
|
1369
1386
|
"ui.help.cmd.doc": "Jak Strom funguje: pravidla výzkumu a aplikace podle čísla nebo slov",
|
|
1370
1387
|
"ui.help.cmd.app": "Otevřít výzkum v aplikaci Strom",
|
|
1371
1388
|
"ui.help.cmd.app.install": "Nainstalovat aplikaci Strom z prohlížeče",
|
package/assets/lang/de.json
CHANGED
|
@@ -1274,6 +1274,22 @@
|
|
|
1274
1274
|
"ui.show.removed.mark": "(entfernt)",
|
|
1275
1275
|
"ui.show.relof": "{rel} bei {who}",
|
|
1276
1276
|
"ui.show.eventOf": "{id} – {who} (der ganze Eintrag: strom {type} show {owner})",
|
|
1277
|
+
"ui.facts.kin.ancestors": "{of} und die Vorfahren",
|
|
1278
|
+
"ui.facts.kin.blood": "Blutsverwandte von {of}",
|
|
1279
|
+
"ui.facts.kin.family": "Verwandte von {of} und ihre Partner",
|
|
1280
|
+
"ui.facts.kin.all": "der ganze Stammbaum, Beziehungen zu {of}",
|
|
1281
|
+
"ui.facts.place": "Ort {place}",
|
|
1282
|
+
"ui.facts.house": "Haus Nr. {house}",
|
|
1283
|
+
"ui.facts.surname": "Nachname {surname}",
|
|
1284
|
+
"ui.facts.source": "Quelle {source}",
|
|
1285
|
+
"ui.facts.count": "{people, plural, one {# Person} other {# Personen}}, {facts, plural, one {# Angabe} other {# Angaben}}",
|
|
1286
|
+
"ui.facts.self": "Ausgangsperson",
|
|
1287
|
+
"ui.facts.unrelated": "nicht verwandt",
|
|
1288
|
+
"ui.facts.unknown": "unbekannt",
|
|
1289
|
+
"ui.facts.side": "Seitenlinien",
|
|
1290
|
+
"ui.facts.elsewhere": "+{n, plural, one {# Person} other {# Personen}} mit dem Wort nur anderswo (Name, Notiz …): {command}",
|
|
1291
|
+
"ui.facts.none": "nichts gefunden: {query}",
|
|
1292
|
+
"ui.facts.try": "weiter: {commands}",
|
|
1277
1293
|
"ui.event.edited": "geändert: {line}",
|
|
1278
1294
|
"ui.show.sex.M": "Mann",
|
|
1279
1295
|
"ui.show.sex.F": "Frau",
|
|
@@ -1366,6 +1382,7 @@
|
|
|
1366
1382
|
"ui.help.cmd.person.list": "Die Personen des Stammbaums",
|
|
1367
1383
|
"ui.help.cmd.pedigree": "Die Vorfahren einer Person als Baum",
|
|
1368
1384
|
"ui.help.cmd.find": "Eine Person, einen Eintrag oder einen Ort nach dem Namen finden",
|
|
1385
|
+
"ui.help.cmd.facts": "Wie viele, wer, wo, wann: die Angaben der Familie nach Beruf, Ort, Jahren oder Quelle, mit dem Verwandtschaftsgrad jeder Person",
|
|
1369
1386
|
"ui.help.cmd.doc": "Wie Strom funktioniert: die Regeln der Forschung und der App, nach Nummer oder Wörtern",
|
|
1370
1387
|
"ui.help.cmd.app": "Die Forschung in der Strom-App öffnen",
|
|
1371
1388
|
"ui.help.cmd.app.install": "Die Strom-App aus dem Browser installieren",
|
package/assets/lang/pl.json
CHANGED
|
@@ -1274,6 +1274,22 @@
|
|
|
1274
1274
|
"ui.show.removed.mark": "(usunięte)",
|
|
1275
1275
|
"ui.show.relof": "{rel} przy {who}",
|
|
1276
1276
|
"ui.show.eventOf": "{id} – {who} (cały zapis: strom {type} show {owner})",
|
|
1277
|
+
"ui.facts.kin.ancestors": "{of} i przodkowie",
|
|
1278
|
+
"ui.facts.kin.blood": "krewni osoby {of}",
|
|
1279
|
+
"ui.facts.kin.family": "krewni osoby {of} i ich partnerzy",
|
|
1280
|
+
"ui.facts.kin.all": "całe drzewo, pokrewieństwo z {of}",
|
|
1281
|
+
"ui.facts.place": "miejscowość {place}",
|
|
1282
|
+
"ui.facts.house": "nr domu {house}",
|
|
1283
|
+
"ui.facts.surname": "nazwisko {surname}",
|
|
1284
|
+
"ui.facts.source": "źródło {source}",
|
|
1285
|
+
"ui.facts.count": "{people, plural, one {# osoba} few {# osoby} many {# osób} other {# osoby}}, {facts, plural, one {# fakt} few {# fakty} many {# faktów} other {# faktu}}",
|
|
1286
|
+
"ui.facts.self": "osoba wyjściowa",
|
|
1287
|
+
"ui.facts.unrelated": "bez pokrewieństwa",
|
|
1288
|
+
"ui.facts.unknown": "nieznane",
|
|
1289
|
+
"ui.facts.side": "linie boczne",
|
|
1290
|
+
"ui.facts.elsewhere": "+{n, plural, one {# osoba} few {# osoby} many {# osób} other {# osoby}} ze słowem tylko gdzie indziej (nazwisko, notatka…): {command}",
|
|
1291
|
+
"ui.facts.none": "nic nie znaleziono: {query}",
|
|
1292
|
+
"ui.facts.try": "dalej: {commands}",
|
|
1277
1293
|
"ui.event.edited": "zmieniono: {line}",
|
|
1278
1294
|
"ui.show.sex.M": "mężczyzna",
|
|
1279
1295
|
"ui.show.sex.F": "kobieta",
|
|
@@ -1366,6 +1382,7 @@
|
|
|
1366
1382
|
"ui.help.cmd.person.list": "Osoby w drzewie",
|
|
1367
1383
|
"ui.help.cmd.pedigree": "Przodkowie osoby w formie drzewa",
|
|
1368
1384
|
"ui.help.cmd.find": "Znaleźć osobę, zapis albo miejsce według nazwy",
|
|
1385
|
+
"ui.help.cmd.facts": "Ilu, kto, gdzie, kiedy: dane rodu według zawodu, miejsca, lat lub źródła, z pokrewieństwem każdej osoby",
|
|
1369
1386
|
"ui.help.cmd.doc": "Jak działa Strom: zasady badania i aplikacji według numeru albo słów",
|
|
1370
1387
|
"ui.help.cmd.app": "Otworzyć badanie w aplikacji Strom",
|
|
1371
1388
|
"ui.help.cmd.app.install": "Zainstalować aplikację Strom z przeglądarki",
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Occupations as old records name them, each group one occupation in Czech, German, Latin and Polish (a miller: mlynář = Müller = molitor = młynarz). A word of a group finds the others. Compared folded (no accents, lower case) and by the start of a word: a form ending in a vowel or in -us is also its stem (děvečka finds děvečky, colonus coloni); a form that changes inside as it declines is listed as well (švec, ševce). German spellings with ue, oe, ae for ü, ö, ä are listed as forms of their own, never made up: puer, poena and the like must stay what they are. One word per form.",
|
|
3
|
+
"groups": [
|
|
4
|
+
{ "cs": ["mlynář", "mlynářka", "mlynářský"], "de": ["Müller", "Mueller", "Müllner", "Mühlner"], "la": ["molitor", "molinarius", "molendinator"], "pl": ["młynarz"] },
|
|
5
|
+
{ "cs": ["sedlák", "selka", "selský", "rolník", "rolnický", "gruntovník", "láník", "půlláník", "čtvrtláník"], "de": ["Bauer", "Bäuerin", "Landwirt", "Halbbauer", "Viertelbauer", "Ganzbauer"], "la": ["colonus", "agricola", "rusticus"], "pl": ["gospodarz", "rolnik", "kmieć", "chłop", "włościanin"] },
|
|
6
|
+
{ "cs": ["chalupník", "chalupnice", "chalupnický"], "de": ["Chalupner", "Kleinbauer"], "pl": ["chałupnik", "zagrodnik"] },
|
|
7
|
+
{ "cs": ["domkář", "domkářka", "baráčník"], "de": ["Häusler", "Haeusler", "Kleinhäusler"] },
|
|
8
|
+
{ "cs": ["podruh", "podruhyně", "nájemník"], "de": ["Inwohner", "Inwohnerin", "Inmann", "Inleute", "Hausgenosse"], "la": ["inquilinus", "inquilina"], "pl": ["komornik", "lokator"] },
|
|
9
|
+
{ "cs": ["kovář", "kovářský"], "de": ["Schmied", "Schmid", "Hufschmied"], "la": ["faber", "fabri", "ferrarius"], "pl": ["kowal"] },
|
|
10
|
+
{ "cs": ["krejčí", "krejčovský", "švadlena"], "de": ["Schneider", "Schneiderin"], "la": ["sartor", "sartrix"], "pl": ["krawiec", "krawcowa"] },
|
|
11
|
+
{ "cs": ["švec", "ševce", "obuvník"], "de": ["Schuster", "Schuhmacher"], "la": ["sutor", "calceator", "calcearius"], "pl": ["szewc"] },
|
|
12
|
+
{ "cs": ["tkadlec", "tkalce", "tkalcovský"], "de": ["Weber", "Leinweber"], "la": ["textor"], "pl": ["tkacz"] },
|
|
13
|
+
{ "cs": ["tesař", "tesařský"], "de": ["Zimmermann", "Zimmerer"], "la": ["lignarius"], "pl": ["cieśla"] },
|
|
14
|
+
{ "cs": ["zedník", "zednický"], "de": ["Maurer"], "la": ["murarius", "caementarius"], "pl": ["murarz"] },
|
|
15
|
+
{ "cs": ["řezník", "řeznický"], "de": ["Fleischer", "Fleischhauer", "Fleischhacker", "Metzger"], "la": ["lanio", "macellarius", "carnifex"], "pl": ["rzeźnik"] },
|
|
16
|
+
{ "cs": ["pekař", "pekařka"], "de": ["Bäcker", "Baecker", "Becker"], "la": ["pistor"], "pl": ["piekarz"] },
|
|
17
|
+
{ "cs": ["hostinský", "šenkýř", "krčmář", "výčepník"], "de": ["Wirt", "Gastwirt", "Schenk", "Kretschmer"], "la": ["caupo", "tabernarius"], "pl": ["karczmarz", "oberżysta", "szynkarz"] },
|
|
18
|
+
{ "cs": ["kupec", "kupce", "obchodník", "kramář"], "de": ["Kaufmann", "Händler", "Krämer", "Kraemer"], "la": ["mercator", "institor"], "pl": ["kupiec", "handlarz", "kramarz"] },
|
|
19
|
+
{ "cs": ["učitel", "učitelka", "řídící"], "de": ["Lehrer", "Lehrerin", "Schullehrer", "Schulmeister"], "la": ["ludimagister", "ludirector", "praeceptor"], "pl": ["nauczyciel", "nauczycielka"] },
|
|
20
|
+
{ "cs": ["kantor", "varhaník", "regenschori"], "de": ["Kantor", "Organist"], "la": ["cantor", "organista"], "pl": ["kantor", "organista"] },
|
|
21
|
+
{ "cs": ["rychtář", "rychtáře", "fojt", "starosta"], "de": ["Richter", "Ortsrichter", "Dorfrichter", "Vogt", "Bürgermeister"], "la": ["iudex", "judex", "praetor"], "pl": ["sołtys", "wójt"] },
|
|
22
|
+
{ "cs": ["myslivec", "myslivce", "myslivecký"], "de": ["Jäger"], "la": ["venator"], "pl": ["myśliwy", "łowczy"] },
|
|
23
|
+
{ "cs": ["hajný", "porybný"], "de": ["Heger", "Waldheger", "Forstheger"], "pl": ["gajowy"] },
|
|
24
|
+
{ "cs": ["lesník", "fořt", "polesný"], "de": ["Förster", "Revierförster", "Oberförster"], "la": ["forestarius"], "pl": ["leśniczy", "leśnik"] },
|
|
25
|
+
{ "cs": ["ovčák", "ovčácký"], "de": ["Schäfer", "Schaefer", "Schafhirt"], "la": ["opilio"], "pl": ["owczarz"] },
|
|
26
|
+
{ "cs": ["pastýř", "pastýřka", "pasák"], "de": ["Hirt", "Hirte", "Viehhirt"], "la": ["pastor", "bubulcus"], "pl": ["pasterz", "pastuch"] },
|
|
27
|
+
{ "cs": ["kočí", "forman", "vozka"], "de": ["Kutscher", "Fuhrmann"], "la": ["auriga"], "pl": ["woźnica", "furman"] },
|
|
28
|
+
{ "cs": ["zahradník", "zahradnice", "zahradnický"], "de": ["Gärtner", "Gaertner", "Gärtler"], "la": ["hortulanus"], "pl": ["ogrodnik"] },
|
|
29
|
+
{ "cs": ["nádeník", "nádenice", "nádenický", "dělník"], "de": ["Tagelöhner", "Taglöhner", "Arbeiter"], "la": ["operarius", "mercenarius"], "pl": ["wyrobnik", "robotnik", "najemnik"] },
|
|
30
|
+
{ "cs": ["čeledín", "pacholek", "sluha"], "de": ["Knecht", "Hausknecht", "Diener"], "la": ["famulus", "servus"], "pl": ["parobek", "sługa"] },
|
|
31
|
+
{ "cs": ["děvečka", "služka", "služebná", "čeledínka"], "de": ["Magd", "Dienstmagd", "Dienstmädchen"], "la": ["ancilla"], "pl": ["służąca", "dziewka"] },
|
|
32
|
+
{ "cs": ["výměnkář", "výminkář", "výměnice"], "de": ["Ausnehmer", "Auszügler", "Altenteiler"], "pl": ["wymownik", "dożywotnik"] },
|
|
33
|
+
{ "cs": ["bednář", "bednářský"], "de": ["Binder", "Böttcher", "Fassbinder", "Faßbinder"], "la": ["vietor", "doliarius"], "pl": ["bednarz"] },
|
|
34
|
+
{ "cs": ["kolář", "kolářský"], "de": ["Wagner", "Stellmacher"], "la": ["rotarius", "carpentarius"], "pl": ["kołodziej", "stelmach"] },
|
|
35
|
+
{ "cs": ["sládek", "sládka", "pivovarník", "pivovarský"], "de": ["Brauer", "Bräuer", "Braumeister"], "la": ["braxator", "pandoxator", "cerevisiarius"], "pl": ["piwowar"] },
|
|
36
|
+
{ "cs": ["truhlář", "truhlářský", "stolař"], "de": ["Tischler", "Schreiner"], "la": ["arcularius", "scrinarius"], "pl": ["stolarz"] },
|
|
37
|
+
{ "cs": ["hrnčíř", "hrnčířský"], "de": ["Töpfer", "Hafner", "Häfner"], "la": ["figulus"], "pl": ["garncarz"] },
|
|
38
|
+
{ "cs": ["sklář", "sklářský"], "de": ["Glaser", "Glasmacher", "Glasmeister"], "la": ["vitrarius", "vitriarius"], "pl": ["szklarz"] },
|
|
39
|
+
{ "cs": ["farář", "kaplan", "kněz", "děkan"], "de": ["Pfarrer", "Kaplan", "Priester", "Dechant"], "la": ["parochus", "plebanus", "sacerdos", "presbyter", "capellanus"], "pl": ["proboszcz", "ksiądz", "wikary"] },
|
|
40
|
+
{ "cs": ["voják", "vojín", "vojenský", "dragoun", "mušketýr", "granátník"], "de": ["Soldat", "Dragoner", "Musketier", "Grenadier"], "la": ["miles", "militis", "militaris"], "pl": ["żołnierz"] },
|
|
41
|
+
{ "cs": ["horník", "hornický", "havíř"], "de": ["Bergmann", "Häuer", "Hauer", "Knappe"], "la": ["metallicus", "fossor", "minerarius"], "pl": ["górnik"] },
|
|
42
|
+
{ "cs": ["zámečník", "zámečnický"], "de": ["Schlosser", "Schloßer"], "la": ["claustrarius", "serarius"], "pl": ["ślusarz"] },
|
|
43
|
+
{ "cs": ["porodní"], "de": ["Hebamme", "Wehmutter"], "la": ["obstetrix"], "pl": ["akuszerka", "położna"] },
|
|
44
|
+
{ "cs": ["měšťan", "měšťanka", "měšťanský"], "de": ["Bürger", "Bürgerin", "Buerger"], "la": ["civis"], "pl": ["mieszczanin", "mieszczka"] },
|
|
45
|
+
{ "cs": ["rybář", "rybníkář"], "de": ["Fischer", "Teichwärter"], "la": ["piscator"], "pl": ["rybak"] },
|
|
46
|
+
{ "cs": ["vinař", "vinařský"], "de": ["Winzer", "Weinhauer", "Weingärtner"], "la": ["vinitor", "vinicola"], "pl": ["winiarz"] }
|
|
47
|
+
]
|
|
48
|
+
}
|
package/dist/agents/files.js
CHANGED
|
@@ -81,7 +81,13 @@ the researcher; \`strom\` is your only way to read and change the research.
|
|
|
81
81
|
\`strom media view B0001:57 --half left\` writes one to \`.strom/views/\`;
|
|
82
82
|
the views of a scan or a batch come in one call (\`B0001:57-60 --half both\`).
|
|
83
83
|
A text in those files: \`strom grep "<text>"\` (each line with its file and
|
|
84
|
-
number) — never read a big file in pieces.
|
|
84
|
+
number) — never read a big file in pieces. The user asks how many, who,
|
|
85
|
+
where or when (millers in the family, who lived at house 12): one
|
|
86
|
+
\`strom facts\` call with filters (\`--occupation mlynar --count --by
|
|
87
|
+
generation\`), never \`find\` and \`show\` person by person; answer with the
|
|
88
|
+
people's IDs, the relation and the source (S…), and how sure each fact
|
|
89
|
+
is: only a proven one is told as a fact; probable, possible and a lead
|
|
90
|
+
are not proven — say so, never as a fact.
|
|
85
91
|
7. Run strom commands on their own — no pipes (\`| head\`, \`| grep\`), no
|
|
86
92
|
redirection (\`2>&1\`), no \`cd\` before them: output is already short,
|
|
87
93
|
listings take \`--limit\` and \`--page\`, and such commands may be refused by
|
package/dist/agents/global.js
CHANGED
|
@@ -85,7 +85,11 @@ mentions strom, a family tree or the Strom app.
|
|
|
85
85
|
from ${app} (\`strom app install\` opens it there; it
|
|
86
86
|
then works offline); \`strom app\` opens it — with the research, followed
|
|
87
87
|
live while you work, when the app can take it. Without it, the user can ask
|
|
88
|
-
you about anyone in the tree: answer from \`strom person show\` and the like
|
|
88
|
+
you about anyone in the tree: answer from \`strom person show\` and the like;
|
|
89
|
+
how many, who, where, when (millers in the family): \`strom facts\` with
|
|
90
|
+
filters, with the people's IDs, the relation and the source (S…); only a
|
|
91
|
+
proven fact is told as a fact, probable, possible and a lead are said to
|
|
92
|
+
be unproven — \`strom app --person P…\` opens one in the app.
|
|
89
93
|
`;
|
|
90
94
|
/**
|
|
91
95
|
* The rules that let the agent run strom without asking, in its own settings' words.
|
package/dist/cli/help.js
CHANGED
|
@@ -30,7 +30,7 @@ const ARCHIVE_COMMANDS = new Set([
|
|
|
30
30
|
"init", "trees", "trees use", "trees remove", "trees forget", "mode", "lang", "pack", "unpack", "seal adopt", "seal accept", "backup", "sync", "sync undo", "sync discard",
|
|
31
31
|
"intake", "input list", "input show", "conflict list", "conflict show", "conflict resolve",
|
|
32
32
|
"person list", "person show", "person card", "family show", "source list", "source show", "media list", "media show",
|
|
33
|
-
"find", "stats", "pedigree", "recent", "history", "history back", "doc",
|
|
33
|
+
"find", "facts", "stats", "pedigree", "recent", "history", "history back", "doc",
|
|
34
34
|
"export gedcom", "gedcom validate", "app", "app install", "live", "live start", "live stop",
|
|
35
35
|
"check", "verify", "repair", "repair undo", "seal adopt", "seal accept", "fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo",
|
|
36
36
|
"phone", "phone status", "phone on", "phone qr", "phone off", "phone list", "phone remove",
|
|
@@ -230,7 +230,7 @@ export const HUMAN_COMMANDS = [
|
|
|
230
230
|
"chat", "run", "session finish", "research new", "research pause", "research resume", "research done", "research edit", "research order", "research move", "review", "verify bulk", "verify stop",
|
|
231
231
|
"intake", "sync", "sync undo", "sync discard", "conflict list", "conflict resolve", "conflict leave", "event revert", "person revert", "hypothesis decide", "task list", "task wake", "task order", "story approve", "story discard",
|
|
232
232
|
"offline list", "offline show", "offline set", "offline answer",
|
|
233
|
-
"stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "doc",
|
|
233
|
+
"stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "facts", "doc",
|
|
234
234
|
"app", "app install", "live", "live start", "live stop", "phone", "phone on", "phone qr", "phone off", "export gedcom", "pack", "unpack", "seal adopt", "seal accept", "repair undo", "backup", "tidy", "check",
|
|
235
235
|
"fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo", "fixes review", "media calibrate",
|
|
236
236
|
"surname accept", "surname reject", "surname group", "surname ungroup", "surname unreject", "quality dismiss", "quality undo", "place answer", "place undo", "source split",
|
package/dist/cli/human.js
CHANGED
|
@@ -6,6 +6,7 @@ import { MONTHS } from "../core/gdate.js";
|
|
|
6
6
|
import { ui } from "./ui.js";
|
|
7
7
|
import { displayName } from "../core/people.js";
|
|
8
8
|
import { foldText } from "../core/text.js";
|
|
9
|
+
import { houseHasWord } from "../core/house.js";
|
|
9
10
|
const MONTH_PL = {
|
|
10
11
|
nom: ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"],
|
|
11
12
|
gen: ["stycznia", "lutego", "marca", "kwietnia", "maja", "czerwca", "lipca", "sierpnia", "września", "października", "listopada", "grudnia"],
|
|
@@ -138,6 +139,9 @@ export function generationName(g, lang) {
|
|
|
138
139
|
export function humanPlace(place, house, lang) {
|
|
139
140
|
if (!house)
|
|
140
141
|
return place ?? "";
|
|
142
|
+
// a house written with its own word ("č. 7", "Nr. 12") as it is: never "č. č. 7"
|
|
143
|
+
if (houseHasWord(house))
|
|
144
|
+
return [place, house].filter(Boolean).join(" ");
|
|
141
145
|
return ui(lang, "ui.card.house", { place: place ?? "", house }).replace(/^[,\s]+/, "");
|
|
142
146
|
}
|
|
143
147
|
/** The words of a person's name, folded: what a text that names them may decline ("Václava" for Václav). */
|
package/dist/cli/ui.js
CHANGED
|
@@ -1016,6 +1016,22 @@ export const UI = {
|
|
|
1016
1016
|
"ui.show.removed.mark": "(retracted)",
|
|
1017
1017
|
"ui.show.relof": "{rel} of {who}",
|
|
1018
1018
|
"ui.show.eventOf": "{id} of {who} (the whole record: strom {type} show {owner})",
|
|
1019
|
+
"ui.facts.kin.ancestors": "{of} and the ancestors",
|
|
1020
|
+
"ui.facts.kin.blood": "blood relatives of {of}",
|
|
1021
|
+
"ui.facts.kin.family": "relatives of {of} and their partners",
|
|
1022
|
+
"ui.facts.kin.all": "everyone in the tree, related to {of}",
|
|
1023
|
+
"ui.facts.place": "place {place}",
|
|
1024
|
+
"ui.facts.house": "house {house}",
|
|
1025
|
+
"ui.facts.surname": "surname {surname}",
|
|
1026
|
+
"ui.facts.source": "source {source}",
|
|
1027
|
+
"ui.facts.count": "{people, plural, one {# person} other {# people}}, {facts, plural, one {# fact} other {# facts}}",
|
|
1028
|
+
"ui.facts.self": "self",
|
|
1029
|
+
"ui.facts.unrelated": "not related",
|
|
1030
|
+
"ui.facts.unknown": "unknown",
|
|
1031
|
+
"ui.facts.side": "side branches",
|
|
1032
|
+
"ui.facts.elsewhere": "+{n, plural, one {# person} other {# people}} with the word only elsewhere (a name, a note, …): {command}",
|
|
1033
|
+
"ui.facts.none": "nothing found: {query}",
|
|
1034
|
+
"ui.facts.try": "try: {commands}",
|
|
1019
1035
|
"ui.event.edited": "edited: {line}",
|
|
1020
1036
|
"ui.show.sex.M": "man",
|
|
1021
1037
|
"ui.show.sex.F": "woman",
|
|
@@ -1108,6 +1124,7 @@ export const UI = {
|
|
|
1108
1124
|
"ui.help.cmd.person.list": "The people of the family tree",
|
|
1109
1125
|
"ui.help.cmd.pedigree": "The ancestors of a person as a tree",
|
|
1110
1126
|
"ui.help.cmd.find": "Find a person, a record or a place by its name",
|
|
1127
|
+
"ui.help.cmd.facts": "How many, who, where, when: the facts of the family by occupation, place, years or source, with how each person is related",
|
|
1111
1128
|
"ui.help.cmd.doc": "How Strom works: the rules of the research and the app, by number or by words",
|
|
1112
1129
|
"ui.help.cmd.app": "Open the research in the Strom app",
|
|
1113
1130
|
"ui.help.cmd.app.install": "Install the Strom app from the browser",
|
|
@@ -12,6 +12,7 @@ import { sameFamily } from "../core/surnames.js";
|
|
|
12
12
|
import { changeLines } from "../core/changelog.js";
|
|
13
13
|
import { isAgent } from "../core/which.js";
|
|
14
14
|
import { foldText, unfoldIndex } from "../core/text.js";
|
|
15
|
+
import { searchText } from "../core/searchtext.js";
|
|
15
16
|
import { makeNote, makeNotes, splitText } from "../core/actions.js";
|
|
16
17
|
import { takeSide } from "../core/sync.js";
|
|
17
18
|
import { againAllowed, claimOf, isEditConflict, weighedSources } from "../core/conflicts.js";
|
|
@@ -1240,28 +1241,8 @@ register({
|
|
|
1240
1241
|
},
|
|
1241
1242
|
});
|
|
1242
1243
|
// ── find and gaps ──────────────────────────────────────────────────────────
|
|
1243
|
-
/** Searchable text of a record, for `strom find
|
|
1244
|
-
|
|
1245
|
-
const NOT_SEARCHED = new Set(["retractedNames", "retractedNotes", "edits", "noteEdits"]);
|
|
1246
|
-
function haystack(r) {
|
|
1247
|
-
const parts = [];
|
|
1248
|
-
const add = (v) => {
|
|
1249
|
-
if (typeof v === "string")
|
|
1250
|
-
parts.push(v);
|
|
1251
|
-
else if (Array.isArray(v))
|
|
1252
|
-
v.forEach(add);
|
|
1253
|
-
else if (v && typeof v === "object")
|
|
1254
|
-
for (const [k, x] of Object.entries(v))
|
|
1255
|
-
if (!NOT_SEARCHED.has(k))
|
|
1256
|
-
add(x);
|
|
1257
|
-
};
|
|
1258
|
-
const { id: _i, type: _t, created: _c, updated: _u, ...rest } = r;
|
|
1259
|
-
// a person's titles ("Ing.", "ml.") are never searched as their name — the Strom app finds nobody by them either
|
|
1260
|
-
if (r.type === "person")
|
|
1261
|
-
rest.names = r.names.map(({ prefix: _p, suffix: _s, ...n }) => n);
|
|
1262
|
-
add(rest);
|
|
1263
|
-
return parts.join(" \u0001 ");
|
|
1264
|
-
}
|
|
1244
|
+
/** Searchable text of a record, for `strom find` (core/searchtext.ts). */
|
|
1245
|
+
const haystack = searchText;
|
|
1265
1246
|
function label(tree, r) {
|
|
1266
1247
|
switch (r.type) {
|
|
1267
1248
|
case "person":
|
|
@@ -1300,7 +1281,8 @@ register({
|
|
|
1300
1281
|
summary: "Full-text search across everything (people, sources, transcripts, searches, tasks, notes)",
|
|
1301
1282
|
group: "analysis",
|
|
1302
1283
|
tree: true,
|
|
1303
|
-
description: "Words in one argument must all be there. Several arguments are several searches in one go (e.g. old codes\nof a converted research) — each answered on its own
|
|
1284
|
+
description: "Words in one argument must all be there. Several arguments are several searches in one go (e.g. old codes\nof a converted research) — each answered on its own.\n" +
|
|
1285
|
+
"A word in any text (a name, a note); the facts recorded of people (how many millers, who lived at house 12,\nwho is related how): strom facts.",
|
|
1304
1286
|
args: [{ name: "text", description: "words to find (diacritics optional); several arguments = several searches", required: true, variadic: true }],
|
|
1305
1287
|
options: [{ name: "type", type: "string", value: "<type>", description: `only one record type: ${Object.keys(RECORD_TYPES).join(", ")}`, aliases: ["kind"] }],
|
|
1306
1288
|
examples: ['strom find "čp. 12"', "strom find mlynar --type source", "strom find \"č. 12\" \"č. 15\" mlynar"],
|