diff --git a/library/i18n/locales/ar/posterDesign.json b/library/i18n/locales/ar/posterDesign.json index 427038ec4..76bea708f 100644 --- a/library/i18n/locales/ar/posterDesign.json +++ b/library/i18n/locales/ar/posterDesign.json @@ -33,8 +33,7 @@ "packet": "لا يرسم المعرض الحزمة بعد. تذكر التفاصيل مولّدها ونسختها.", "cards": "لا يرسم المعرض البطاقات بعد. تذكر التفاصيل المولّد ومقاس البطاقة.", "bless": "محرّك هذا القالب ليس في المكتبة المشتركة بعد، لذا لا يستطيع المعرض رسمه.", - "mapPrint": "يطبع هذا القالب الخريطة الحية التي ينظر إليها القارئ، لذا ليست له صورة نموذجية.", - "largeFormat": "يدعم المولّد هذا المقاس، لكن لا تُطبع أي دولة به بعد (تُطبع الهند بمقاس 5 × 8 أقدام)، لذا لا يوجد نموذج لرسمه." + "mapPrint": "يطبع هذا القالب الخريطة الحية التي ينظر إليها القارئ، لذا ليست له صورة نموذجية." }, "details": { "configName": "اسم الإعداد", diff --git a/library/i18n/locales/de/posterDesign.json b/library/i18n/locales/de/posterDesign.json index 6e3befe87..5d88be113 100644 --- a/library/i18n/locales/de/posterDesign.json +++ b/library/i18n/locales/de/posterDesign.json @@ -33,8 +33,7 @@ "packet": "Die Galerie zeichnet die Mappe noch nicht. Die Details nennen ihren Generator und ihre Variante.", "cards": "Die Galerie zeichnet die Karten noch nicht. Die Details nennen den Generator und das Kartenformat.", "bless": "Die Engine dieser Vorlage ist noch nicht in der gemeinsamen Bibliothek, deshalb kann die Galerie sie nicht zeichnen.", - "mapPrint": "Diese Vorlage druckt die Live-Karte, die der Leser gerade ansieht, und hat deshalb kein Beispielbild.", - "largeFormat": "Der Generator kennt diese Größe, aber noch kein Land wird darin gedruckt (Indien wird in 5 × 8 ft gedruckt), daher gibt es kein Beispiel zum Zeichnen." + "mapPrint": "Diese Vorlage druckt die Live-Karte, die der Leser gerade ansieht, und hat deshalb kein Beispielbild." }, "details": { "configName": "Name der Konfiguration", diff --git a/library/i18n/locales/en/posterDesign.json b/library/i18n/locales/en/posterDesign.json index b589de385..93a5750fd 100644 --- a/library/i18n/locales/en/posterDesign.json +++ b/library/i18n/locales/en/posterDesign.json @@ -33,8 +33,7 @@ "packet": "The gallery does not draw the packet yet. The details name its renderer and variant.", "cards": "The gallery does not draw the cards yet. The details name the renderer and the card stock.", "bless": "This template's engine is not in the shared library yet, so the gallery cannot draw it.", - "mapPrint": "This template prints the live map the reader is looking at, so it has no sample picture.", - "largeFormat": "The renderer has this size, but no country prints at it yet (India prints at 5 × 8 ft), so there is no sample to draw." + "mapPrint": "This template prints the live map the reader is looking at, so it has no sample picture." }, "details": { "configName": "Configuration name", diff --git a/library/i18n/locales/es/posterDesign.json b/library/i18n/locales/es/posterDesign.json index 9064440ef..2d6717508 100644 --- a/library/i18n/locales/es/posterDesign.json +++ b/library/i18n/locales/es/posterDesign.json @@ -33,8 +33,7 @@ "packet": "La galería todavía no dibuja el paquete. Los detalles indican su generador y su variante.", "cards": "La galería todavía no dibuja las tarjetas. Los detalles indican el generador y el tipo de tarjeta.", "bless": "El motor de esta plantilla aún no está en la biblioteca compartida, así que la galería no puede dibujarla.", - "mapPrint": "Esta plantilla imprime el mapa en vivo que está mirando el lector, así que no tiene imagen de ejemplo.", - "largeFormat": "El generador tiene este tamaño, pero ningún país se imprime en él todavía (la India se imprime a 5 × 8 ft), así que no hay ejemplo que dibujar." + "mapPrint": "Esta plantilla imprime el mapa en vivo que está mirando el lector, así que no tiene imagen de ejemplo." }, "details": { "configName": "Nombre de la configuración", diff --git a/library/i18n/locales/fr/posterDesign.json b/library/i18n/locales/fr/posterDesign.json index c83549e02..1c8267b57 100644 --- a/library/i18n/locales/fr/posterDesign.json +++ b/library/i18n/locales/fr/posterDesign.json @@ -33,8 +33,7 @@ "packet": "La galerie ne dessine pas encore le dossier. Les détails indiquent son générateur et sa variante.", "cards": "La galerie ne dessine pas encore les cartes. Les détails indiquent le générateur et le format de carte.", "bless": "Le moteur de ce modèle n'est pas encore dans la bibliothèque partagée, la galerie ne peut donc pas le dessiner.", - "mapPrint": "Ce modèle imprime la carte en direct que le lecteur regarde, il n'a donc pas d'image d'exemple.", - "largeFormat": "Le générateur connaît ce format, mais aucun pays ne s'imprime encore à ce format (l'Inde s'imprime en 5 × 8 ft), il n'y a donc pas d'exemple à dessiner." + "mapPrint": "Ce modèle imprime la carte en direct que le lecteur regarde, il n'a donc pas d'image d'exemple." }, "details": { "configName": "Nom de la configuration", diff --git a/library/i18n/locales/hi/posterDesign.json b/library/i18n/locales/hi/posterDesign.json index 586546d67..e956fa4ca 100644 --- a/library/i18n/locales/hi/posterDesign.json +++ b/library/i18n/locales/hi/posterDesign.json @@ -33,8 +33,7 @@ "packet": "गैलरी अभी पैकेट नहीं बनाती। विवरण में उसका जनरेटर और संस्करण बताया गया है।", "cards": "गैलरी अभी कार्ड नहीं बनाती। विवरण में जनरेटर और कार्ड का आकार बताया गया है।", "bless": "इस टेम्पलेट का इंजन अभी साझा लाइब्रेरी में नहीं है, इसलिए गैलरी इसे नहीं बना सकती।", - "mapPrint": "यह टेम्पलेट वह लाइव मानचित्र प्रिंट करता है जिसे पाठक देख रहा है, इसलिए इसकी कोई नमूना तस्वीर नहीं है।", - "largeFormat": "जनरेटर में यह आकार है, पर अभी कोई देश इस आकार में नहीं छपता (भारत 5 × 8 फ़ुट में छपता है), इसलिए बनाने के लिए कोई नमूना नहीं है।" + "mapPrint": "यह टेम्पलेट वह लाइव मानचित्र प्रिंट करता है जिसे पाठक देख रहा है, इसलिए इसकी कोई नमूना तस्वीर नहीं है।" }, "details": { "configName": "कॉन्फ़िगरेशन का नाम", diff --git a/library/i18n/locales/it/posterDesign.json b/library/i18n/locales/it/posterDesign.json index bc9828328..b7318d6e3 100644 --- a/library/i18n/locales/it/posterDesign.json +++ b/library/i18n/locales/it/posterDesign.json @@ -33,8 +33,7 @@ "packet": "La galleria non disegna ancora il fascicolo. I dettagli indicano il suo generatore e la variante.", "cards": "La galleria non disegna ancora le schede. I dettagli indicano il generatore e il formato della scheda.", "bless": "Il motore di questo modello non è ancora nella libreria condivisa, quindi la galleria non può disegnarlo.", - "mapPrint": "Questo modello stampa la mappa dal vivo che il lettore sta guardando, quindi non ha un'immagine di esempio.", - "largeFormat": "Il generatore ha questo formato, ma nessun paese viene ancora stampato così (l'India si stampa a 5 × 8 ft), quindi non c'è un esempio da disegnare." + "mapPrint": "Questo modello stampa la mappa dal vivo che il lettore sta guardando, quindi non ha un'immagine di esempio." }, "details": { "configName": "Nome della configurazione", diff --git a/library/i18n/locales/pt/posterDesign.json b/library/i18n/locales/pt/posterDesign.json index 7e2c25b28..3fe10a8d3 100644 --- a/library/i18n/locales/pt/posterDesign.json +++ b/library/i18n/locales/pt/posterDesign.json @@ -33,8 +33,7 @@ "packet": "A galeria ainda não desenha o pacote. Os detalhes indicam o seu gerador e a variante.", "cards": "A galeria ainda não desenha os cartões. Os detalhes indicam o gerador e o formato do cartão.", "bless": "O motor deste modelo ainda não está na biblioteca compartilhada, por isso a galeria não consegue desenhá-lo.", - "mapPrint": "Este modelo imprime o mapa ao vivo que o leitor está vendo, por isso não tem imagem de exemplo.", - "largeFormat": "O gerador tem este tamanho, mas nenhum país é impresso nele ainda (a Índia é impressa em 5 × 8 ft), por isso não há exemplo para desenhar." + "mapPrint": "Este modelo imprime o mapa ao vivo que o leitor está vendo, por isso não tem imagem de exemplo." }, "details": { "configName": "Nome da configuração", diff --git a/library/i18n/locales/ro/posterDesign.json b/library/i18n/locales/ro/posterDesign.json index 36eb2d0c0..f833d04db 100644 --- a/library/i18n/locales/ro/posterDesign.json +++ b/library/i18n/locales/ro/posterDesign.json @@ -33,8 +33,7 @@ "packet": "Galeria nu desenează încă pachetul. Detaliile numesc generatorul și varianta lui.", "cards": "Galeria nu desenează încă cartonașele. Detaliile numesc generatorul și formatul cartonașului.", "bless": "Motorul acestui șablon nu este încă în biblioteca comună, așa că galeria nu îl poate desena.", - "mapPrint": "Acest șablon tipărește harta live pe care o privește cititorul, așa că nu are imagine de exemplu.", - "largeFormat": "Generatorul are această dimensiune, dar nicio țară nu se tipărește încă la ea (India se tipărește la 5 × 8 ft), așa că nu există un exemplu de desenat." + "mapPrint": "Acest șablon tipărește harta live pe care o privește cititorul, așa că nu are imagine de exemplu." }, "details": { "configName": "Numele configurației", diff --git a/library/i18n/locales/ru/posterDesign.json b/library/i18n/locales/ru/posterDesign.json index 278afbcdb..43f3e5a25 100644 --- a/library/i18n/locales/ru/posterDesign.json +++ b/library/i18n/locales/ru/posterDesign.json @@ -33,8 +33,7 @@ "packet": "Галерея пока не рисует пакет. В сведениях указаны его генератор и вариант.", "cards": "Галерея пока не рисует карточки. В сведениях указаны генератор и формат карточки.", "bless": "Движка этого шаблона пока нет в общей библиотеке, поэтому галерея не может его нарисовать.", - "mapPrint": "Этот шаблон печатает живую карту, на которую смотрит читатель, поэтому у него нет примерного изображения.", - "largeFormat": "Генератор поддерживает этот размер, но ни одна страна пока в нём не печатается (Индия печатается в размере 5 × 8 футов), поэтому рисовать пример не из чего." + "mapPrint": "Этот шаблон печатает живую карту, на которую смотрит читатель, поэтому у него нет примерного изображения." }, "details": { "configName": "Название конфигурации", diff --git a/library/i18n/locales/zh/posterDesign.json b/library/i18n/locales/zh/posterDesign.json index 110d539eb..83f85e110 100644 --- a/library/i18n/locales/zh/posterDesign.json +++ b/library/i18n/locales/zh/posterDesign.json @@ -33,8 +33,7 @@ "packet": "图库暂不绘制资料包。详情中列出了它的生成器和版本。", "cards": "图库暂不绘制祷告卡。详情中列出了生成器和卡片规格。", "bless": "此模板的引擎尚未进入共享组件库,因此图库无法绘制。", - "mapPrint": "此模板打印读者正在查看的实时地图,因此没有示例图片。", - "largeFormat": "生成器支持此尺寸,但目前还没有国家以此尺寸打印(印度以 5 × 8 英尺打印),因此没有可绘制的示例。" + "mapPrint": "此模板打印读者正在查看的实时地图,因此没有示例图片。" }, "details": { "configName": "配置名称", diff --git a/plugin-designs/poster-design/src/templates.js b/plugin-designs/poster-design/src/templates.js index 8b1521422..9454bfa78 100644 --- a/plugin-designs/poster-design/src/templates.js +++ b/plugin-designs/poster-design/src/templates.js @@ -25,13 +25,12 @@ export const SAMPLE_COUNTRY_ID = 'country-npl' // FORMATS from the source and fails when the two disagree. // In the gallery's order: the 3 × 3 country sheet first, then the large sizes, then the rest. The large SIDE-LANE // sheets name a whole country's groups beside the map; the one country that prints on them is India (countrySheet.js -// LARGE_SHEETS), so India is their sample. A format no country prints at yet is listed, not drawn (drawn: false): -// asking the shared path for it would hand back the country's own large sheet under another size's label. +// LARGE_SHEETS), so India is their sample, drawn at each requested side-lane size through the shared path. export const SHEET_FORMATS = { '3x3': { page: '3 × 3', px: [1500, 1500] }, '60x96': { page: '5 × 8 ft, side lanes', px: [2500, 4000], sample: 'country-ind' }, - '66x66': { page: '5.5 × 5.5 ft, side lanes', px: [2750, 2750], sample: 'country-ind', drawn: false }, - '36x60': { page: '3 × 5 ft, side lanes', px: [1500, 2500], sample: 'country-ind', drawn: false }, + '66x66': { page: '5.5 × 5.5 ft, side lanes', px: [2750, 2750], sample: 'country-ind' }, + '36x60': { page: '3 × 5 ft, side lanes', px: [1500, 2500], sample: 'country-ind' }, '3x4': { page: '3 × 4', px: [1500, 2000], legacy: true }, letter: { page: 'Letter, portrait', px: [1500, 1941] }, packet: { page: 'Letter, portrait (packet page 1)', px: [1500, 1941] }, @@ -59,8 +58,7 @@ function sheetEntry(format) { renderer: 'library/packet/posterSheets.js generateCountrySheet → library/packet/poster-render.js', settings: { format }, sample: f.sample || SAMPLE_COUNTRY_ID, - render: f.drawn === false ? null : (ctx) => ctx.countrySheet(format, f.sample || SAMPLE_COUNTRY_ID), - ...(f.drawn === false ? { missing: 'posterDesign.missing.largeFormat' } : {}), + render: (ctx) => ctx.countrySheet(format, f.sample || SAMPLE_COUNTRY_ID), } }