Poster Design: draw India at 5.5 x 5.5 ft and 3 x 5 ft too
countrySheet.js now lets a requested side-lane format win over a large country's default sheet, so the shared path draws India at 66x66 and 36x60 as well as 60x96. The two cards that were listed but not drawn now draw the real whole-India poster at their own size, and the note that said no country printed at those sizes (missing.largeFormat, 11 locales) is removed: nothing refers to it.
This commit is contained in:
parent
6d0253d909
commit
8d63a0a04d
12 changed files with 15 additions and 28 deletions
|
|
@ -33,8 +33,7 @@
|
|||
"packet": "لا يرسم المعرض الحزمة بعد. تذكر التفاصيل مولّدها ونسختها.",
|
||||
"cards": "لا يرسم المعرض البطاقات بعد. تذكر التفاصيل المولّد ومقاس البطاقة.",
|
||||
"bless": "محرّك هذا القالب ليس في المكتبة المشتركة بعد، لذا لا يستطيع المعرض رسمه.",
|
||||
"mapPrint": "يطبع هذا القالب الخريطة الحية التي ينظر إليها القارئ، لذا ليست له صورة نموذجية.",
|
||||
"largeFormat": "يدعم المولّد هذا المقاس، لكن لا تُطبع أي دولة به بعد (تُطبع الهند بمقاس 5 × 8 أقدام)، لذا لا يوجد نموذج لرسمه."
|
||||
"mapPrint": "يطبع هذا القالب الخريطة الحية التي ينظر إليها القارئ، لذا ليست له صورة نموذجية."
|
||||
},
|
||||
"details": {
|
||||
"configName": "اسم الإعداد",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -33,8 +33,7 @@
|
|||
"packet": "गैलरी अभी पैकेट नहीं बनाती। विवरण में उसका जनरेटर और संस्करण बताया गया है।",
|
||||
"cards": "गैलरी अभी कार्ड नहीं बनाती। विवरण में जनरेटर और कार्ड का आकार बताया गया है।",
|
||||
"bless": "इस टेम्पलेट का इंजन अभी साझा लाइब्रेरी में नहीं है, इसलिए गैलरी इसे नहीं बना सकती।",
|
||||
"mapPrint": "यह टेम्पलेट वह लाइव मानचित्र प्रिंट करता है जिसे पाठक देख रहा है, इसलिए इसकी कोई नमूना तस्वीर नहीं है।",
|
||||
"largeFormat": "जनरेटर में यह आकार है, पर अभी कोई देश इस आकार में नहीं छपता (भारत 5 × 8 फ़ुट में छपता है), इसलिए बनाने के लिए कोई नमूना नहीं है।"
|
||||
"mapPrint": "यह टेम्पलेट वह लाइव मानचित्र प्रिंट करता है जिसे पाठक देख रहा है, इसलिए इसकी कोई नमूना तस्वीर नहीं है।"
|
||||
},
|
||||
"details": {
|
||||
"configName": "कॉन्फ़िगरेशन का नाम",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -33,8 +33,7 @@
|
|||
"packet": "Галерея пока не рисует пакет. В сведениях указаны его генератор и вариант.",
|
||||
"cards": "Галерея пока не рисует карточки. В сведениях указаны генератор и формат карточки.",
|
||||
"bless": "Движка этого шаблона пока нет в общей библиотеке, поэтому галерея не может его нарисовать.",
|
||||
"mapPrint": "Этот шаблон печатает живую карту, на которую смотрит читатель, поэтому у него нет примерного изображения.",
|
||||
"largeFormat": "Генератор поддерживает этот размер, но ни одна страна пока в нём не печатается (Индия печатается в размере 5 × 8 футов), поэтому рисовать пример не из чего."
|
||||
"mapPrint": "Этот шаблон печатает живую карту, на которую смотрит читатель, поэтому у него нет примерного изображения."
|
||||
},
|
||||
"details": {
|
||||
"configName": "Название конфигурации",
|
||||
|
|
|
|||
|
|
@ -33,8 +33,7 @@
|
|||
"packet": "图库暂不绘制资料包。详情中列出了它的生成器和版本。",
|
||||
"cards": "图库暂不绘制祷告卡。详情中列出了生成器和卡片规格。",
|
||||
"bless": "此模板的引擎尚未进入共享组件库,因此图库无法绘制。",
|
||||
"mapPrint": "此模板打印读者正在查看的实时地图,因此没有示例图片。",
|
||||
"largeFormat": "生成器支持此尺寸,但目前还没有国家以此尺寸打印(印度以 5 × 8 英尺打印),因此没有可绘制的示例。"
|
||||
"mapPrint": "此模板打印读者正在查看的实时地图,因此没有示例图片。"
|
||||
},
|
||||
"details": {
|
||||
"configName": "配置名称",
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue