@teipublisher/pb-components 2.18.4 → 2.19.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.md +15 -0
- package/dist/pb-components-bundle.js +3 -3
- package/dist/pb-elements.json +8 -0
- package/dist/pb-leaflet-map.js +1 -1
- package/i18n/common/cs.json +72 -4
- package/i18n/common/de.json +14 -2
- package/i18n/common/en.json +11 -3
- package/i18n/common/es.json +62 -40
- package/i18n/common/no.json +113 -7
- package/i18n/common/pl.json +76 -5
- package/i18n/common/pt.json +110 -4
- package/i18n/common/uk.json +110 -4
- package/package.json +1 -1
- package/pb-elements.json +8 -0
- package/src/pb-leaflet-map.js +4 -4
- package/src/pb-table-grid.js +19 -3
- package/src/pb-view-annotate.js +38 -0
package/dist/pb-elements.json
CHANGED
|
@@ -12089,6 +12089,14 @@
|
|
|
12089
12089
|
"name": "pb-annotation-detail",
|
|
12090
12090
|
"description": "fired to request additional details about an annotation"
|
|
12091
12091
|
},
|
|
12092
|
+
{
|
|
12093
|
+
"name": "pb-disable",
|
|
12094
|
+
"description": "if received, disables selection tracking, suppressing pb-selection-changed events"
|
|
12095
|
+
},
|
|
12096
|
+
{
|
|
12097
|
+
"name": "pb-enable",
|
|
12098
|
+
"description": "re-enables selection tracking"
|
|
12099
|
+
},
|
|
12092
12100
|
{
|
|
12093
12101
|
"name": "pb-start-update",
|
|
12094
12102
|
"description": "Fired before the element updates its content"
|
package/dist/pb-leaflet-map.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{L as t,p as e,r as i,h as o,c as s}from"./pb-mixin-d61c06b6.js";import{g as a}from"./pb-i18n-375ccc5c.js";import"./es-global-bridge-4240f389.js";const r=["type","url","label","base","show"];class n extends t{static get properties(){return{type:{type:String},url:{type:String},base:{type:Boolean},show:{type:Boolean},label:{type:String},attribution:{type:String},minZoom:{type:Number,attribute:"min-zoom"},maxZoom:{type:Number,attribute:"max-zoom"},zoomOffset:{type:Number,attribute:"zoom-offset"},opacity:{type:Number},tileSize:{type:Number},id:{type:String},accessToken:{type:String,attribute:"access-token"}}}constructor(){super(),this.type="tile",this.url=null}get options(){const t={};return Object.keys(n.properties).forEach(e=>{r.indexOf(e)<0&&this[e]&&(t[e]=this[e])}),console.log("<pb-leaflet-map-layer> Options: %o",t),t}async data(){return new Promise(t=>{fetch(this.url).then(t=>t.json()).then(e=>t(e))})}}function l(t,e){try{return t.split(/\s*,\s*/).map(t=>parseInt(t,10))}catch(e){return console.error("<pb-map-icon> Invalid size specified: "+t),null}}customElements.define("pb-map-layer",n);class c extends t{static get properties(){return{name:{type:String},iconUrl:{type:String,attribute:"icon-url"},iconSize:{type:Array,converter:l,attribute:"icon-size"},iconAnchor:{type:Array,converter:l,attribute:"icon-anchor"},shadowUrl:{type:String,attribute:"shadow-url"},shadowSize:{type:Array,converter:l,attribute:"shadow-size"},shadowAnchor:{type:Array,converter:l,attribute:"shadow-anchor"},popupAncor:{type:Array,converter:l,attribute:"popup-anchor"}}}constructor(){super(),this.name="default",this.type="image",this.iconUrl=null}get options(){const t={};return Object.keys(c.properties).forEach(e=>{this[e]&&(t[e]=this[e])}),console.log("<pb-map-icon> Options: %o",t),t}}customElements.define("pb-map-icon",c);class h extends(e(t)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{latitude:{type:Number},longitude:{type:Number},zoom:{type:Number},crs:{type:String},fitMarkers:{type:Boolean,attribute:"fit-markers"},cluster:{type:Boolean},disableClusteringAt:{type:Number,attribute:"disable-clustering-at"},noScroll:{type:Boolean,attribute:"no-scroll"},accessToken:{type:String,attribute:"access-token"},toggle:{type:Boolean},imagesPath:{type:String,attribute:"images-path"},cssPath:{type:String,attribute:"css-path"},geoCoding:{type:Boolean,attribute:"geo-coding"},_map:{type:Object}})}constructor(){super(),this.latitude=51.505,this.longitude=-.09,this.zoom=15,this.crs="EPSG3857",this.accessToken="",this.imagesPath="../images/leaflet/",this.cssPath="../css/leaflet",this.toggle=!1,this.noScroll=!1,this.disabled=!0,this.cluster=!1,this.fitMarkers=!1,this.disableClusteringAt=null,this._icons={},this.geoCoding=!1}connectedCallback(){super.connectedCallback(),this._layers=this.querySelectorAll("pb-map-layer"),this._markers=this.querySelectorAll("pb-map-icon"),this.subscribeTo("pb-update-map",t=>{this._markerLayer.clearLayers(),t.detail.forEach(t=>{const e=L.marker([t.latitude,t.longitude]);t.label&&e.bindTooltip(t.label),e.addEventListener("click",()=>{this.emitTo("pb-leaflet-marker-click",t)}),e.bindTooltip(t.label),this.setMarkerIcon(e),this._markerLayer.addLayer(e)}),this._fitBounds()}),this.subscribeTo("pb-update",t=>{this._markerLayer.clearLayers();t.detail.root.querySelectorAll("pb-geolocation").forEach(t=>{const e=L.latLng(t.latitude,t.longitude),i=L.marker(e).addTo(this._markerLayer);t.label&&i.bindTooltip(t.label),t.popup&&i.bindPopup(t.popup),i.addEventListener("click",()=>{this.emitTo("pb-leaflet-marker-click",t)}),this.setMarkerIcon(i)}),this._fitBounds()}),this.subscribeTo("pb-geolocation",t=>{if(t.detail.coordinates){if(this.latitude=t.detail.coordinates.latitude,this.longitude=t.detail.coordinates.longitude,t.detail.clear&&this._markerLayer.clearLayers(),this._hasMarker(this.latitude,this.longitude))console.log("<pb-leaflet-map> Marker already added to map");else{const e=L.marker([this.latitude,this.longitude]);e.addEventListener("click",()=>{this.emitTo("pb-leaflet-marker-click",t.detail
|
|
1
|
+
import{L as t,p as e,r as i,h as o,c as s}from"./pb-mixin-d61c06b6.js";import{g as a}from"./pb-i18n-375ccc5c.js";import"./es-global-bridge-4240f389.js";const r=["type","url","label","base","show"];class n extends t{static get properties(){return{type:{type:String},url:{type:String},base:{type:Boolean},show:{type:Boolean},label:{type:String},attribution:{type:String},minZoom:{type:Number,attribute:"min-zoom"},maxZoom:{type:Number,attribute:"max-zoom"},zoomOffset:{type:Number,attribute:"zoom-offset"},opacity:{type:Number},tileSize:{type:Number},id:{type:String},accessToken:{type:String,attribute:"access-token"}}}constructor(){super(),this.type="tile",this.url=null}get options(){const t={};return Object.keys(n.properties).forEach(e=>{r.indexOf(e)<0&&this[e]&&(t[e]=this[e])}),console.log("<pb-leaflet-map-layer> Options: %o",t),t}async data(){return new Promise(t=>{fetch(this.url).then(t=>t.json()).then(e=>t(e))})}}function l(t,e){try{return t.split(/\s*,\s*/).map(t=>parseInt(t,10))}catch(e){return console.error("<pb-map-icon> Invalid size specified: "+t),null}}customElements.define("pb-map-layer",n);class c extends t{static get properties(){return{name:{type:String},iconUrl:{type:String,attribute:"icon-url"},iconSize:{type:Array,converter:l,attribute:"icon-size"},iconAnchor:{type:Array,converter:l,attribute:"icon-anchor"},shadowUrl:{type:String,attribute:"shadow-url"},shadowSize:{type:Array,converter:l,attribute:"shadow-size"},shadowAnchor:{type:Array,converter:l,attribute:"shadow-anchor"},popupAncor:{type:Array,converter:l,attribute:"popup-anchor"}}}constructor(){super(),this.name="default",this.type="image",this.iconUrl=null}get options(){const t={};return Object.keys(c.properties).forEach(e=>{this[e]&&(t[e]=this[e])}),console.log("<pb-map-icon> Options: %o",t),t}}customElements.define("pb-map-icon",c);class h extends(e(t)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{latitude:{type:Number},longitude:{type:Number},zoom:{type:Number},crs:{type:String},fitMarkers:{type:Boolean,attribute:"fit-markers"},cluster:{type:Boolean},disableClusteringAt:{type:Number,attribute:"disable-clustering-at"},noScroll:{type:Boolean,attribute:"no-scroll"},accessToken:{type:String,attribute:"access-token"},toggle:{type:Boolean},imagesPath:{type:String,attribute:"images-path"},cssPath:{type:String,attribute:"css-path"},geoCoding:{type:Boolean,attribute:"geo-coding"},_map:{type:Object}})}constructor(){super(),this.latitude=51.505,this.longitude=-.09,this.zoom=15,this.crs="EPSG3857",this.accessToken="",this.imagesPath="../images/leaflet/",this.cssPath="../css/leaflet",this.toggle=!1,this.noScroll=!1,this.disabled=!0,this.cluster=!1,this.fitMarkers=!1,this.disableClusteringAt=null,this._icons={},this.geoCoding=!1}connectedCallback(){super.connectedCallback(),this._layers=this.querySelectorAll("pb-map-layer"),this._markers=this.querySelectorAll("pb-map-icon"),this.subscribeTo("pb-update-map",t=>{this._markerLayer.clearLayers(),t.detail.forEach(t=>{const e=L.marker([t.latitude,t.longitude]);t.label&&e.bindTooltip(t.label),e.addEventListener("click",()=>{this.emitTo("pb-leaflet-marker-click",{element:t})}),e.bindTooltip(t.label),this.setMarkerIcon(e),this._markerLayer.addLayer(e)}),this._fitBounds()}),this.subscribeTo("pb-update",t=>{this._markerLayer.clearLayers();t.detail.root.querySelectorAll("pb-geolocation").forEach(t=>{const e=L.latLng(t.latitude,t.longitude),i=L.marker(e).addTo(this._markerLayer);t.label&&i.bindTooltip(t.label),t.popup&&i.bindPopup(t.popup),i.addEventListener("click",()=>{this.emitTo("pb-leaflet-marker-click",{element:t})}),this.setMarkerIcon(i)}),this._fitBounds()}),this.subscribeTo("pb-geolocation",t=>{if(t.detail.coordinates){if(this.latitude=t.detail.coordinates.latitude,this.longitude=t.detail.coordinates.longitude,t.detail.clear&&this._markerLayer.clearLayers(),this._hasMarker(this.latitude,this.longitude))console.log("<pb-leaflet-map> Marker already added to map");else{const e=L.marker([this.latitude,this.longitude]);e.addEventListener("click",()=>{this.emitTo("pb-leaflet-marker-click",t.detail)}),t.detail.label&&e.bindTooltip(t.detail.label),t.detail.popup&&e.bindPopup(t.detail.popup),this.setMarkerIcon(e),e.addTo(this._markerLayer),t.detail.fitBounds&&this._fitBounds(),console.log("<pb-leaflet-map> added marker")}this.toggle&&(this.disabled=!1);const e=t.detail.event;this._locationChanged(this.latitude,this.longitude,t.detail.zoom,e)}})}get map(){return this._map}setMarkerIcon(t){this._icons&&this._icons.default&&t.setIcon(this._icons.default)}firstUpdated(){if(this.toggle||(this.disabled=!1),void 0!==window.L)return void this._initMap();window.ESGlobalBridge.requestAvailability();const t=i("../lib/leaflet-src.js"),e=i("../lib/leaflet.markercluster-src.js"),o=i("../lib/Control.Geocoder.min.js");window.ESGlobalBridge.instance.load("leaflet",t).then(()=>{window.ESGlobalBridge.instance.load("plugin",e).then(()=>{this.geoCoding?window.ESGlobalBridge.instance.load("geocoding",o).then(this._initMap.bind(this)):this._initMap()})})}render(){const t=i(this.cssPath);return o`
|
|
2
2
|
<link rel="Stylesheet" href="${t}/leaflet.css">
|
|
3
3
|
<link rel="Stylesheet" href="${t}/MarkerCluster.Default.css">
|
|
4
4
|
${this.geoCoding?o`<link rel="Stylesheet" href="${t}/Control.Geocoder.css">`:null}
|
package/i18n/common/cs.json
CHANGED
|
@@ -47,6 +47,9 @@
|
|
|
47
47
|
"browse": {
|
|
48
48
|
"description": "Pomocí této aplikace můžete experimentovat a vyzkoušet různé ODD s instrukcemi pro zpracování modelu. Nahrajte vlastní soubory a vytvořte vlastní ODD.",
|
|
49
49
|
"login": ", abyste mohli nahrát soubory a spravovat aplikaci (výchozí uživatel: 'tei-demo', heslo: 'demo').",
|
|
50
|
+
"login-1": "Přihlásit se jako ",
|
|
51
|
+
"login-2": "s heslem",
|
|
52
|
+
"login-3": "a experimentovat s vlastními soubory a ODD",
|
|
50
53
|
"sort": "Řadit podle",
|
|
51
54
|
"filter": "Filtrovat podle",
|
|
52
55
|
"filterPlaceholder": "Filtr",
|
|
@@ -60,6 +63,9 @@
|
|
|
60
63
|
"confirmDeletion": "Určitě chcete soubor odstranit?",
|
|
61
64
|
"confirmDeletion_plural": "Určitě chcete soubory ({{count}}×) odstranit?",
|
|
62
65
|
"documents": "Dokumenty",
|
|
66
|
+
"documents-removed": "Odstraněné dokumenty",
|
|
67
|
+
"document-not-found": "Dokument nenalezen",
|
|
68
|
+
"document-remove-failed": "Dokument se nepodařilo odstranit",
|
|
63
69
|
"collections": "Místní kolekce",
|
|
64
70
|
"dts": "Distribuované textové služby (ve vývoji)",
|
|
65
71
|
"test": {
|
|
@@ -78,6 +84,10 @@
|
|
|
78
84
|
"title": "Ukázka Markdownu",
|
|
79
85
|
"description": "Příklad použití Markdownu pro statický obsah."
|
|
80
86
|
},
|
|
87
|
+
"annotate": {
|
|
88
|
+
"title": "Ukázky anotace",
|
|
89
|
+
"description": "Další hřiště pro anotování dokumentů."
|
|
90
|
+
},
|
|
81
91
|
"up": "O úroveň výš"
|
|
82
92
|
},
|
|
83
93
|
"upload": {
|
|
@@ -118,7 +128,8 @@
|
|
|
118
128
|
},
|
|
119
129
|
"dts": {
|
|
120
130
|
"endpoint": "Vybrat koncový bod",
|
|
121
|
-
"note": "Ve vývoji: přístup k dalším edicím pomocí DTS API"
|
|
131
|
+
"note": "Ve vývoji: přístup k dalším edicím pomocí DTS API",
|
|
132
|
+
"requires-login": "Vyžaduje přihlášení"
|
|
122
133
|
},
|
|
123
134
|
"odd": {
|
|
124
135
|
"files": "Soubory ODD",
|
|
@@ -137,6 +148,9 @@
|
|
|
137
148
|
"save": "Uložit",
|
|
138
149
|
"saving": "Ukládá se...",
|
|
139
150
|
"saved": "Uloženo",
|
|
151
|
+
"unsaved": "Existují neuložené změny, které se nedostanou do exportu. I přesto pokračovat?",
|
|
152
|
+
"download": "Uložit ODD",
|
|
153
|
+
"save-as": "Uložit ODD do složky",
|
|
140
154
|
"denied": "Nemáte dostatečná oprávnění",
|
|
141
155
|
"denied-message": "Nemáte oprávnění uložit {{odd}}",
|
|
142
156
|
"reload": "Načíst znovu",
|
|
@@ -165,7 +179,9 @@
|
|
|
165
179
|
"custom-behaviour-placeholder": "[Vlastní chování]",
|
|
166
180
|
"template-placeholder": "[Definujte šablonu kódu, která se použije na obsah]",
|
|
167
181
|
"param-name-placeholder": "[Název parametru]",
|
|
168
|
-
"empty": "[Prázdný]"
|
|
182
|
+
"empty": "[Prázdný]",
|
|
183
|
+
"mode-placeholder": "[Režim zpracování - předání do následujících modelů]",
|
|
184
|
+
"set-param": "nastavit"
|
|
169
185
|
},
|
|
170
186
|
"css-source": "Otevřít soubor CSS"
|
|
171
187
|
}
|
|
@@ -173,7 +189,10 @@
|
|
|
173
189
|
"facets": {
|
|
174
190
|
"show": "Zobrazit prvních 50",
|
|
175
191
|
"genre": "Žánr",
|
|
176
|
-
"language": "Jazyk"
|
|
192
|
+
"language": "Jazyk",
|
|
193
|
+
"feature": "Funkcionalita",
|
|
194
|
+
"form": "Formulář",
|
|
195
|
+
"period": "Období"
|
|
177
196
|
},
|
|
178
197
|
"appgen": {
|
|
179
198
|
"account": {
|
|
@@ -228,6 +247,9 @@
|
|
|
228
247
|
"app": "Položka poznámkového aparátu",
|
|
229
248
|
"hi": "Zvýraznění",
|
|
230
249
|
"ref": "Odkaz (ref)",
|
|
250
|
+
"pb": "Začátek strany (pb)",
|
|
251
|
+
"pagenum": "Číslo strany (@n)",
|
|
252
|
+
"facs": "URL obrázku (@facs)",
|
|
231
253
|
"abbreviation": "Zkratka",
|
|
232
254
|
"occurrences": "Výskyty v textu",
|
|
233
255
|
"correction": "Oprava",
|
|
@@ -236,6 +258,8 @@
|
|
|
236
258
|
"lookup": "Hledat entitu",
|
|
237
259
|
"apply": "Použít anotaci",
|
|
238
260
|
"apply-all": "Vybrat a použít vše",
|
|
261
|
+
"search-other": "Hledat výskyty v jiných dokumentech",
|
|
262
|
+
"save-other": "Hledat výskyty v dalších dokumentech a hned je anotovat",
|
|
239
263
|
"changes": "Změny",
|
|
240
264
|
"undo": "Vrátit poslední změnu",
|
|
241
265
|
"download": "Uložit sloučené TEI do souboru",
|
|
@@ -247,6 +271,50 @@
|
|
|
247
271
|
"confirm-reload": "Zrušit aktuální anotace a znovu načíst zdroj?",
|
|
248
272
|
"modify": "Použít úpravy základního textu",
|
|
249
273
|
"modify-info": "Upozornění: nejde o anotaci, při sloučení se změní základní text.",
|
|
250
|
-
"permission": "Oprávnění byla odepřena: nemáte povoleno ukládat anotace."
|
|
274
|
+
"permission": "Oprávnění byla odepřena: nemáte povoleno ukládat anotace.",
|
|
275
|
+
"ner": {
|
|
276
|
+
"title": "Rozpoznání pojmenovaných entit (NER)",
|
|
277
|
+
"description": "Pokusit se v textu rozpoznat pojmenované entity a označit je jako anotace.",
|
|
278
|
+
"run": "Spustit",
|
|
279
|
+
"model": "Vybrat model",
|
|
280
|
+
"denied": "Nalezeny neuložené změny: buď je uložte, nebo odmítněte."
|
|
281
|
+
},
|
|
282
|
+
"confirm-discard-title": "Odmítnout",
|
|
283
|
+
"confirm-discard": "Odmítnout seznam výskytů?",
|
|
284
|
+
"doc-count": "{{count}} z {{total}}",
|
|
285
|
+
"toggle": "Zobrazit/skrýt náhled/ovládací panel",
|
|
286
|
+
"add-entity": "Vytvořit entitu",
|
|
287
|
+
"edit-entity": "Upravit entitu",
|
|
288
|
+
"edit-reference": "Hledat/upravit odkaz",
|
|
289
|
+
"hints": {
|
|
290
|
+
"modify": "marked entity of same type but different key",
|
|
291
|
+
"incomplete": "označeno jako objekt téhož typu, ale bez identifikátoru",
|
|
292
|
+
"unmarked": "neoznačený výskyt v textu",
|
|
293
|
+
"open-in-tab": "Otevřít dokument v nové kartě a zkontrolovat"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"ner": {
|
|
297
|
+
"title": "Natrénovat model pro rozpoznání entit",
|
|
298
|
+
"not-found": "Tato funkce vyžaduje spuštěnou službu TEI Publisher NER, kterou se nepodařilo kontaktovat.",
|
|
299
|
+
"found": "Nalezen TEI Publisher NER se spaCy, verze",
|
|
300
|
+
"name-placeholder": "Název vytvářeného modelu",
|
|
301
|
+
"name": "Název",
|
|
302
|
+
"path": "Cesta",
|
|
303
|
+
"path-placeholder": "Relativní cesta k dokumentu nebo kolekci",
|
|
304
|
+
"path-info": "Zadejte cestu k dokumentu nebo kolekci, které slouží jako vstup pro trénování. A to relativně k výchozí kolekci dat TEI Publisheru (data root).",
|
|
305
|
+
"lang-info": "Můžete natrénovat nový model, u něhož musíte zadat jazyk. Nebo zvolte rozšíření existujícího modelu uvedeného níže a jazyk neuvádějte.",
|
|
306
|
+
"language-placeholder": "Jazyk, pro který se model vytváří",
|
|
307
|
+
"language": "Jazyk",
|
|
308
|
+
"language-error": "Musíte uvést jazyk, nebo základní model",
|
|
309
|
+
"model": "Základní model",
|
|
310
|
+
"model-placeholder": "Základní model, který se rozšíří nebo zkopíruje",
|
|
311
|
+
"vectors": "Ze základního modelu zkopírovat pouze vektory",
|
|
312
|
+
"output": "Výstup trénování",
|
|
313
|
+
"prepare": "Příprava trénovacích dat",
|
|
314
|
+
"start": "Spustit"
|
|
315
|
+
},
|
|
316
|
+
"timeline": {
|
|
317
|
+
"unknown": "bez data",
|
|
318
|
+
"clear": "Vymazat výběr data"
|
|
251
319
|
}
|
|
252
320
|
}
|
package/i18n/common/de.json
CHANGED
|
@@ -247,6 +247,9 @@
|
|
|
247
247
|
"app": "Apparatus",
|
|
248
248
|
"hi": "Hervorhebung",
|
|
249
249
|
"ref": "Link (ref)",
|
|
250
|
+
"pb": "Seitenumbruch (pb)",
|
|
251
|
+
"pagenum": "Seitenzahl (@n)",
|
|
252
|
+
"facs": "Bildadresse (@facs)",
|
|
250
253
|
"abbreviation": "Abkürzung",
|
|
251
254
|
"occurrences": "Vorkommen im Text",
|
|
252
255
|
"correction": "Korrektur",
|
|
@@ -255,11 +258,13 @@
|
|
|
255
258
|
"lookup": "Entität suchen",
|
|
256
259
|
"apply": "Anwenden",
|
|
257
260
|
"apply-all": "Alle selektieren und anwenden",
|
|
261
|
+
"search-other": "Suche nach Vorkommnissen in anderen Dokumenten",
|
|
262
|
+
"save-other": "Suche nach Vorkommnissen in anderen Dokumenten und wende die Annotationen unmittelbar an",
|
|
258
263
|
"changes": "Änderungen",
|
|
259
264
|
"undo": "Letzten Arbeitsschritt rückgängig machen",
|
|
260
265
|
"download": "Ergebnis als lokale Datei speichern",
|
|
261
266
|
"reload": "Quelle neu laden",
|
|
262
|
-
"preview": "Voransicht
|
|
267
|
+
"preview": "Voransicht aktualisieren",
|
|
263
268
|
"confirm-restore-title": "Annotationen wiederherstellen",
|
|
264
269
|
"restore": "Es wurden Annotationen für dieses Dokument aus einer früheren Sitzung gefunden. Möchtest Du diese wiederherstellen?",
|
|
265
270
|
"confirm-reload-title": "Quelle neu laden",
|
|
@@ -279,7 +284,14 @@
|
|
|
279
284
|
"doc-count": "{{count}} von {{total}}",
|
|
280
285
|
"toggle": "Ein-/Ausblenden der Vorschau/Kontrollleiste",
|
|
281
286
|
"add-entity": "Entität hinzufügen",
|
|
282
|
-
"edit-entity": "Entität bearbeiten"
|
|
287
|
+
"edit-entity": "Entität bearbeiten",
|
|
288
|
+
"edit-reference": "Referenz suchen/bearbeiten",
|
|
289
|
+
"hints": {
|
|
290
|
+
"modify": "markierte Entität desselben Typs, aber mit anderem Schlüssel",
|
|
291
|
+
"incomplete": "markiert mit gleichem Typ, aber ohne Schlüsselangabe",
|
|
292
|
+
"unmarked": "nicht markiertes Vorkommen im Text",
|
|
293
|
+
"open-in-tab": "Dokument in neuem Tab zur Überprüfung öffnen"
|
|
294
|
+
}
|
|
283
295
|
},
|
|
284
296
|
"ner": {
|
|
285
297
|
"title": "Trainiere ein Modell zur Entitätenerkennung",
|
package/i18n/common/en.json
CHANGED
|
@@ -258,11 +258,13 @@
|
|
|
258
258
|
"lookup": "Search entity",
|
|
259
259
|
"apply": "Apply annotation",
|
|
260
260
|
"apply-all": "Select and apply all",
|
|
261
|
+
"search-other": "Search for occurrences in other documents",
|
|
262
|
+
"save-other": "Search for occurrences in other documents and apply annotations immediately",
|
|
261
263
|
"changes": "Changes",
|
|
262
264
|
"undo": "Undo last change",
|
|
263
265
|
"download": "Save merged TEI to local file",
|
|
264
266
|
"reload": "Reload source TEI",
|
|
265
|
-
"preview": "
|
|
267
|
+
"preview": "Refresh preview",
|
|
266
268
|
"confirm-restore-title": "Confirm Restore",
|
|
267
269
|
"restore": "Annotations made for this document in a previous session have been found. Would you like to reload them?",
|
|
268
270
|
"confirm-reload-title": "Confirm Reload",
|
|
@@ -279,11 +281,17 @@
|
|
|
279
281
|
},
|
|
280
282
|
"confirm-discard-title": "Discard",
|
|
281
283
|
"confirm-discard": "Discard the list of occurrences?",
|
|
282
|
-
"doc-count": "{{count}}
|
|
284
|
+
"doc-count": "{{count}} of {{total}}",
|
|
283
285
|
"toggle": "Show/hide preview/control panel",
|
|
284
286
|
"add-entity": "Create entity",
|
|
285
287
|
"edit-entity": "Edit entity",
|
|
286
|
-
"edit-reference": "Search/edit reference"
|
|
288
|
+
"edit-reference": "Search/edit reference",
|
|
289
|
+
"hints": {
|
|
290
|
+
"modify": "marked entity of same type but different key",
|
|
291
|
+
"incomplete": "marked same type but without key",
|
|
292
|
+
"unmarked": "unmarked occurrence in text",
|
|
293
|
+
"open-in-tab": "Open document in new tab to review"
|
|
294
|
+
}
|
|
287
295
|
},
|
|
288
296
|
"ner": {
|
|
289
297
|
"title": "Train a Named Entity Recognition Model",
|
package/i18n/common/es.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"no": "No",
|
|
29
29
|
"serverError": "La solicitud al servidor ha fallado.",
|
|
30
30
|
"generatingFile": "Generando el archivo...",
|
|
31
|
-
"downloadMessage": "Generar el archivo para su descarga puede tardar algunos minutos.
|
|
31
|
+
"downloadMessage": "Generar el archivo para su descarga puede tardar algunos minutos. Espere, por favor. Este mensaje debería cerrarse automáticamente cuando la descarga esté completa.",
|
|
32
32
|
"loading": "Cargando ..."
|
|
33
33
|
},
|
|
34
34
|
"document": {
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"selectTemplate": "Seleccionar Plantilla",
|
|
38
38
|
"selectFeature": "Seleccionar una característica",
|
|
39
39
|
"normalized": "Vista normalizada",
|
|
40
|
-
"plain": "Vista de lectura
|
|
40
|
+
"plain": "Vista de lectura sencilla",
|
|
41
41
|
"view-type": "Ver por páginas",
|
|
42
42
|
"add-panel": "Añadir Vista",
|
|
43
43
|
"caveat-heading": "Cuidado",
|
|
44
44
|
"settings": "Configuración",
|
|
45
|
-
"caveat": "Experimenta con diferentes plantillas y ODDs cambiando las opciones aquí. Por favor, ten en cuenta que no todas las combinaciones de configuración tienen sentido para todos los documentos. Por ejemplo, un mapa no puede ser producido sin marcar ni procesar las coordenadas explícitamente, y la vista de página asume que se han marcado los saltos de página. Si ves el mensaje \"el servidor no devolvió ningún contenido\", generalmente es señal de una
|
|
45
|
+
"caveat": "Experimenta con diferentes plantillas y ODDs cambiando las opciones aquí. Por favor, ten en cuenta que no todas las combinaciones de configuración tienen sentido para todos los documentos. Por ejemplo, un mapa no puede ser producido sin marcar ni procesar las coordenadas explícitamente, y la vista de página asume que se han marcado los saltos de página. Si ves el mensaje \"el servidor no devolvió ningún contenido\", generalmente es señal de una desalineacion entre los datos codificados, la ODD y la plantilla."
|
|
46
46
|
},
|
|
47
47
|
"browse": {
|
|
48
|
-
"description": "Utiliza esta aplicación para experimentar y probar varios ODDs
|
|
48
|
+
"description": "Utiliza esta aplicación para experimentar y probar varios ODDs redactados a partir de diferentes instrucciones del modelo de procesamiento. Carga tus propios archivos y crea un ODD personalizado.",
|
|
49
49
|
"login": "para subir archivos o ver funciones administrativas (usuario predeterminado: 'tei-demo', contraseña: 'demo').",
|
|
50
|
-
"login-1": "
|
|
51
|
-
"login-2": "con contraseña",
|
|
52
|
-
"login-3": "
|
|
50
|
+
"login-1": "Iniciar sesión como ",
|
|
51
|
+
"login-2": " con contraseña",
|
|
52
|
+
"login-3": "experimentar con tus propios archivos y ODD",
|
|
53
53
|
"sort": "Ordenar por",
|
|
54
54
|
"filter": "Filtrar por",
|
|
55
55
|
"filterPlaceholder": "Filtro",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"confirmDeletion": "¿Seguro que quieres eliminar el archivo?",
|
|
64
64
|
"confirmDeletion_plural": "¿Seguro que quieres eliminar {{count}} archivos?",
|
|
65
65
|
"documents": "Documentos",
|
|
66
|
-
"documents-removed":"Documentos eliminados",
|
|
67
|
-
"document-not-found":"Documento no encontrado",
|
|
68
|
-
"document-remove-failed":"
|
|
66
|
+
"documents-removed": "Documentos eliminados",
|
|
67
|
+
"document-not-found": "Documento no encontrado",
|
|
68
|
+
"document-remove-failed": "Error al guardar el documento",
|
|
69
69
|
"collections": "Colección local",
|
|
70
70
|
"dts": "Servicios de texto distribuidos (versión experimental)",
|
|
71
71
|
"test": {
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
"description": "Documentación (en Docbook XML)."
|
|
82
82
|
},
|
|
83
83
|
"markdown": {
|
|
84
|
-
"title": "
|
|
84
|
+
"title": "Muestra en Markdown",
|
|
85
85
|
"description": "Un ejemplo de uso de Markdown para generar contenido estático."
|
|
86
86
|
},
|
|
87
87
|
"annotate": {
|
|
88
|
-
"title": "
|
|
89
|
-
"description": "Otro
|
|
88
|
+
"title": "Muestras de anotación",
|
|
89
|
+
"description": "Otro parque de juegos para anotar documentos."
|
|
90
90
|
},
|
|
91
91
|
"up": "Ir a la carpeta anterior"
|
|
92
92
|
},
|
|
@@ -119,14 +119,17 @@
|
|
|
119
119
|
"search": {
|
|
120
120
|
"search": "Buscar",
|
|
121
121
|
"reset": "Reestablecer",
|
|
122
|
-
"placeholder": "Escribe el término
|
|
122
|
+
"placeholder": "Escribe el término a buscar",
|
|
123
123
|
"sections": "Buscar en secciones",
|
|
124
|
-
"headings": "Buscar en títulos"
|
|
124
|
+
"headings": "Buscar en títulos",
|
|
125
|
+
"title": "Búsqueda de títulos",
|
|
126
|
+
"content": "Buscar contenido",
|
|
127
|
+
"scope": "Ámbito de consulta"
|
|
125
128
|
},
|
|
126
129
|
"dts": {
|
|
127
130
|
"endpoint": "Seleccionar punto final",
|
|
128
131
|
"note": "Experimental: acceder a otras ediciones que exponen la API DTS",
|
|
129
|
-
"requires-login":"
|
|
132
|
+
"requires-login": "Inicio de sesión obligatorio"
|
|
130
133
|
},
|
|
131
134
|
"odd": {
|
|
132
135
|
"files": "Archivos ODD",
|
|
@@ -145,9 +148,9 @@
|
|
|
145
148
|
"save": "Guardar",
|
|
146
149
|
"saving": "Guardando...",
|
|
147
150
|
"saved": "Guardado",
|
|
148
|
-
"unsaved": "Hay cambios
|
|
151
|
+
"unsaved": "¡Hay cambios sin guardar, que serán incluidos en la exportación! ¿Continuar de todos modos?",
|
|
149
152
|
"download": "Descargar ODD",
|
|
150
|
-
"save-as": "Guardar ODD en
|
|
153
|
+
"save-as": "Guardar ODD en el directorio",
|
|
151
154
|
"denied": "Permiso denegado",
|
|
152
155
|
"denied-message": "No tienes permiso para guardar {{odd}}",
|
|
153
156
|
"reload": "Volver a cargar",
|
|
@@ -173,11 +176,12 @@
|
|
|
173
176
|
"predicate-placeholder": "[Definir otras condiciones que deben cumplirse (en xquery)]",
|
|
174
177
|
"link-with-or": "o",
|
|
175
178
|
"css-class-placeholder": "[Definir nombre de clase CSS (para CSS externo)]",
|
|
176
|
-
"custom-behaviour-placeholder": "[
|
|
179
|
+
"custom-behaviour-placeholder": "[Behaviour personalizado]",
|
|
177
180
|
"template-placeholder": "[Definir plantilla de código para aplicar al contenido]",
|
|
178
181
|
"param-name-placeholder": "[Nombre del parámetro]",
|
|
179
182
|
"empty": "[Vacío]",
|
|
180
|
-
"mode-placeholder": "[Modo de procesamiento
|
|
183
|
+
"mode-placeholder": "[Modo de procesamiento - pasado a modelos posteriores]",
|
|
184
|
+
"set-param": "set"
|
|
181
185
|
},
|
|
182
186
|
"css-source": "Abrir fichero CSS"
|
|
183
187
|
}
|
|
@@ -185,7 +189,10 @@
|
|
|
185
189
|
"facets": {
|
|
186
190
|
"show": "Mostrar top 50",
|
|
187
191
|
"genre": "Género",
|
|
188
|
-
"language": "Idioma"
|
|
192
|
+
"language": "Idioma",
|
|
193
|
+
"feature": "Funcionalidad",
|
|
194
|
+
"form": "Formulario",
|
|
195
|
+
"period": "Período"
|
|
189
196
|
},
|
|
190
197
|
"appgen": {
|
|
191
198
|
"account": {
|
|
@@ -201,13 +208,13 @@
|
|
|
201
208
|
"index-text": "Crear por texto"
|
|
202
209
|
},
|
|
203
210
|
"view": {
|
|
204
|
-
"help": "
|
|
211
|
+
"help": "Elija lo que se muestra por defecto al navegar por el texto: vista por páginas o por divisiones completas. La vista por página exige que el TEI XML esté correctamente marcado con etiquetas <tei:pb>.",
|
|
205
212
|
"div": "Por divisiones (capítulo/sección...)",
|
|
206
213
|
"page": "Por páginas"
|
|
207
214
|
},
|
|
208
215
|
"label": "Vista predeterminada",
|
|
209
216
|
"template": {
|
|
210
|
-
"help": "
|
|
217
|
+
"help": "Elija la plantilla HTML a utilizar por defecto",
|
|
211
218
|
"label": "Plantilla HTML"
|
|
212
219
|
},
|
|
213
220
|
"title": {
|
|
@@ -240,6 +247,9 @@
|
|
|
240
247
|
"app": "Entrada de aparato",
|
|
241
248
|
"hi": "Destacar",
|
|
242
249
|
"ref": "Enlace (ref)",
|
|
250
|
+
"pb": "Salto de página (pb)",
|
|
251
|
+
"pagenum": "Número de página (@n)",
|
|
252
|
+
"facs": "URL de la imagen (@facs)",
|
|
243
253
|
"abbreviation": "Abreviatura",
|
|
244
254
|
"occurrences": "Ocurrencias en el texto",
|
|
245
255
|
"correction": "Corrección",
|
|
@@ -248,51 +258,63 @@
|
|
|
248
258
|
"lookup": "Buscar entidades",
|
|
249
259
|
"apply": "Actualizar anotación",
|
|
250
260
|
"apply-all": "Seleccionar y aplicar todo",
|
|
261
|
+
"search-other": "Buscar ocurrencias en otros documentos",
|
|
262
|
+
"save-other": "Buscar ocurrencias en otros documentos y aceptar las anotaciones inmediatamente",
|
|
251
263
|
"changes": "Cambios",
|
|
252
264
|
"undo": "Deshacer el último cambio",
|
|
253
265
|
"download": "Fusionar y guardar TEI en local",
|
|
254
266
|
"reload": "Recargar fuente TEI",
|
|
255
267
|
"preview": "Vista previa de los resultados de la fusión",
|
|
256
268
|
"confirm-restore-title": "Confirmar restauración",
|
|
257
|
-
"restore": "Se han encontrado anotaciones en este documento
|
|
269
|
+
"restore": "Se han encontrado anotaciones hechas en este documento en una sesión anterior. ¿Quieres recargarlas?",
|
|
258
270
|
"confirm-reload-title": "Confirmar recarga",
|
|
259
271
|
"confirm-reload": "¿Descartar las anotaciones actuales y recargar la fuente?",
|
|
260
272
|
"modify": "Aplicar edición al texto base",
|
|
261
273
|
"modify-info": "Nota: esto no es una anotación, pero modificará el texto base cuando se fusione.",
|
|
262
|
-
"permission": "Permiso denegado: no
|
|
274
|
+
"permission": "Permiso denegado: no tiene permiso para guardar anotaciones.",
|
|
263
275
|
"ner": {
|
|
264
276
|
"title": "Extracción de entidades nombradas",
|
|
265
277
|
"description": "Intenta encontrar automáticamente entidades nombradas en el texto y marcarlas como anotaciones.",
|
|
266
278
|
"run": "Ejecutar",
|
|
267
|
-
"model": "
|
|
268
|
-
"denied": "
|
|
279
|
+
"model": "Seleccionar un Modelo",
|
|
280
|
+
"denied": "Cambios no guardados encontrados: por favor guarde o descarte primero."
|
|
269
281
|
},
|
|
270
282
|
"confirm-discard-title": "Descartar",
|
|
271
283
|
"confirm-discard": "¿Descartar la lista de ocurrencias?",
|
|
272
|
-
"doc-count": "{{count}} de {{total}}"
|
|
284
|
+
"doc-count": "{{count}} de {{total}}",
|
|
285
|
+
"toggle": "Mostrar / ocultar el panel de previsualización/control",
|
|
286
|
+
"add-entity": "Crear entidad",
|
|
287
|
+
"edit-entity": "Editar entidad",
|
|
288
|
+
"edit-reference": "Buscar/editar referencia",
|
|
289
|
+
"hints": {
|
|
290
|
+
"modify": "entidad marcada del mismo tipo pero clave diferente",
|
|
291
|
+
"incomplete": "marcado con el mismo tipo pero sin clave",
|
|
292
|
+
"unmarked": "ocurrencia no marcada en el texto",
|
|
293
|
+
"open-in-tab": "Abrir documento en nueva pestaña para revisar"
|
|
294
|
+
}
|
|
273
295
|
},
|
|
274
296
|
"ner": {
|
|
275
|
-
"title": "
|
|
276
|
-
"not-found": "Esta función requiere que el servicio TEI Publisher NER esté
|
|
277
|
-
"found": "Se
|
|
297
|
+
"title": "Entrenar un modelo de reconocimiento de entidades nombradas",
|
|
298
|
+
"not-found": "¡Esta función requiere que el servicio TEI Publisher NER esté funcionando! No se pudo contactar con el servicio.",
|
|
299
|
+
"found": "Se encontró TEI Publisher NER con la versión spaCy",
|
|
278
300
|
"name-placeholder": "Nombre del modelo a crear",
|
|
279
301
|
"name": "Nombre",
|
|
280
302
|
"path": "Ruta",
|
|
281
303
|
"path-placeholder": "Ruta relativa al documento o colección",
|
|
282
|
-
"path-info": "
|
|
283
|
-
"lang-info": "
|
|
284
|
-
"language-placeholder": "
|
|
285
|
-
"language": "
|
|
286
|
-
"language-error": "Se requiere
|
|
304
|
+
"path-info": "Introduzca la ruta a un documento o colección a utilizar como ínput de entrenamiento. Debe ser relativa a la raíz de datos del editor TEI.",
|
|
305
|
+
"lang-info": "Puede entrenar un nuevo modelo para un idioma o seleccionar un modelo existente para extenderse a continuación. Si no se extiende un modelo existente, debe especificar un idioma. De lo contrario, déjelo vacío.",
|
|
306
|
+
"language-placeholder": "Idioma para el que crear el modelo",
|
|
307
|
+
"language": "Idioma",
|
|
308
|
+
"language-error": "Se requiere un idioma o un modelo base",
|
|
287
309
|
"model": "Modelo base",
|
|
288
|
-
"model-placeholder": "Modelo base
|
|
310
|
+
"model-placeholder": "Modelo base desde el que extender o copiar",
|
|
289
311
|
"vectors": "Solo copiar vectores del modelo base",
|
|
290
|
-
"output": "
|
|
291
|
-
"prepare": "
|
|
312
|
+
"output": "Salida de entrenamiento",
|
|
313
|
+
"prepare": "Preparando datos de entrenamiento",
|
|
292
314
|
"start": "Ejecutar"
|
|
293
315
|
},
|
|
294
316
|
"timeline": {
|
|
295
317
|
"unknown": "sin fecha",
|
|
296
|
-
"clear": "
|
|
318
|
+
"clear": "Eliminar la fecha seleccionada"
|
|
297
319
|
}
|
|
298
320
|
}
|