_pages and _blogs: Testing formatting of message

This commit is contained in:
Stig-Ørjan Smelror 2024-02-14 17:48:52 +01:00
parent 22db3a705d
commit 7805e4a89b
4 changed files with 2 additions and 8 deletions

View File

@ -36,7 +36,6 @@ _pages_msg_4 "_pages: pages_array is not empty"
_pages_msg_5 "_pages: Setting Pages template" _pages_msg_5 "_pages: Setting Pages template"
_pages_msg_6 "Unable to find the Pages template:" _pages_msg_6 "Unable to find the Pages template:"
_pages_msg_7 "_pages: Reading Pages template into pages_tpl" _pages_msg_7 "_pages: Reading Pages template into pages_tpl"
_pages_msg_8 "\t-"
_pages_msg_9 "_pages: Loading page_content once -" _pages_msg_9 "_pages: Loading page_content once -"
_pages_msg_10 "_pages: Finding page_title" _pages_msg_10 "_pages: Finding page_title"
_pages_msg_11 "_pages:" _pages_msg_11 "_pages:"
@ -71,7 +70,6 @@ _blogs_msg_10 "* _blogs: BLOG_TITLE metadata missing in"
_blogs_msg_11 "_blogs: Adding data for" _blogs_msg_11 "_blogs: Adding data for"
_blogs_msg_11.1 "to array to export" _blogs_msg_11.1 "to array to export"
_blogs_msg_12 "_blogs: Processing" _blogs_msg_12 "_blogs: Processing"
_blogs_msg_13 "\t-"
_blogs_msg_14 "_blogs: Processing substitutes in" _blogs_msg_14 "_blogs: Processing substitutes in"
_blogs_msg_15 "_blogs: Running function $engine for" _blogs_msg_15 "_blogs: Running function $engine for"
_blogs_msg_16 "_blogs: Checking for #link, #showimg and #ytvideo in blog_content" _blogs_msg_16 "_blogs: Checking for #link, #showimg and #ytvideo in blog_content"

View File

@ -36,7 +36,6 @@ _pages_msg_4 "_pages: array_de_páginas no está vacío"
_pages_msg_5 "_pages: Estableciendo plantilla de Páginas" _pages_msg_5 "_pages: Estableciendo plantilla de Páginas"
_pages_msg_6 "No se puede encontrar la plantilla de Páginas:" _pages_msg_6 "No se puede encontrar la plantilla de Páginas:"
_pages_msg_7 "_pages: Leyendo plantilla de Páginas en pages_tpl" _pages_msg_7 "_pages: Leyendo plantilla de Páginas en pages_tpl"
_pages_msg_8 "- Generando Página:"
_pages_msg_9 "_pages: Cargando contenido de la página una vez -" _pages_msg_9 "_pages: Cargando contenido de la página una vez -"
_pages_msg_10 "_pages: Buscando título de página" _pages_msg_10 "_pages: Buscando título de página"
_pages_msg_11 "_pages:" _pages_msg_11 "_pages:"
@ -71,7 +70,6 @@ _blogs_msg_10 "* _blogs: Falta metadatos de TÍTULO DEL BLOG en"
_blogs_msg_11 "_blogs: Añadiendo datos para" _blogs_msg_11 "_blogs: Añadiendo datos para"
_blogs_msg_11.1 "al array para exportar" _blogs_msg_11.1 "al array para exportar"
_blogs_msg_12 "_blogs: Procesando" _blogs_msg_12 "_blogs: Procesando"
_blogs_msg_13 "- Generando Blog:"
_blogs_msg_14 "_blogs: Procesando sustitutos en" _blogs_msg_14 "_blogs: Procesando sustitutos en"
_blogs_msg_15 "_blogs: Ejecutando función $engine para" _blogs_msg_15 "_blogs: Ejecutando función $engine para"
_blogs_msg_16 "_blogs: Verificando #link, #showimg y #ytvideo en contenido del blog" _blogs_msg_16 "_blogs: Verificando #link, #showimg y #ytvideo en contenido del blog"

View File

@ -35,7 +35,6 @@ _pages_msg_4 "_pages: sidearray er ikke tom"
_pages_msg_5 "_pages: Setter Opp Sider-mal" _pages_msg_5 "_pages: Setter Opp Sider-mal"
_pages_msg_6 "Kan ikke finne Sidemalen:" _pages_msg_6 "Kan ikke finne Sidemalen:"
_pages_msg_7 "_pages: Leser Sidemalen inn i pages_tpl" _pages_msg_7 "_pages: Leser Sidemalen inn i pages_tpl"
_pages_msg_8 "- Genererer Side:"
_pages_msg_9 "_pages: Laster sideinnhold en gang - " _pages_msg_9 "_pages: Laster sideinnhold en gang - "
_pages_msg_10 "_pages: Finne sidetittel" _pages_msg_10 "_pages: Finne sidetittel"
_pages_msg_11 "_pages:" _pages_msg_11 "_pages:"
@ -70,7 +69,6 @@ _blogs_msg_10 "* _blogs: BLOGGTITTEL-metadata mangler i"
_blogs_msg_11 "_blogs: Legger til data for" _blogs_msg_11 "_blogs: Legger til data for"
_blogs_msg_11.1 "til array for eksport" _blogs_msg_11.1 "til array for eksport"
_blogs_msg_12 "_blogs: Behandler" _blogs_msg_12 "_blogs: Behandler"
_blogs_msg_13 "- Genererer Blogg:"
_blogs_msg_14 "_blogs: Behandler erstatninger i" _blogs_msg_14 "_blogs: Behandler erstatninger i"
_blogs_msg_15 "_blogs: Kjører funksjon $engine for" _blogs_msg_15 "_blogs: Kjører funksjon $engine for"
_blogs_msg_16 "_blogs: Sjekker for #link, #showimg og #ytvideo i blogginnhold" _blogs_msg_16 "_blogs: Sjekker for #link, #showimg og #ytvideo i blogginnhold"

4
qsgen2
View File

@ -442,7 +442,7 @@ function _pages() {
local pages_tpl="$(<${pages})" local pages_tpl="$(<${pages})"
fi fi
_msg std "${0:t}_msg_8" " ${pages_in_array%.*}.html" _msg std "\t- ${pages_in_array%.*}.html"
# Read the file once # Read the file once
if (${debug}) _msg debug "${0:t}_msg_9" " ${pages_in_array}" if (${debug}) _msg debug "${0:t}_msg_9" " ${pages_in_array}"
local page_content="$(<${pages_in_array})" local page_content="$(<${pages_in_array})"
@ -666,7 +666,7 @@ function _blogs() {
if (${debug}) _msg debug "${0:t}_msg_12" " ${blog}" if (${debug}) _msg debug "${0:t}_msg_12" " ${blog}"
_msg std "${0:t}_msg_13" " ${blog_index}.html" _msg std "\t- ${blog_index}.html"
# Prepare the blog template # Prepare the blog template
if (${debug}) _msg debug "${0:t}_msg_14" " ${blog}" if (${debug}) _msg debug "${0:t}_msg_14" " ${blog}"