Alt text for previous and next buttons on calendar

main
Bob Mottram 2019-11-26 19:58:05 +00:00
parent 6b27eb85f7
commit 84bee5201a
16 changed files with 47 additions and 17 deletions

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -189,5 +189,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -193,5 +193,7 @@
"Ask a question": "Ask a question",
"Possible answers": "Possible answers",
"replying to": "replying to",
"announces": "announces"
"announces": "announces",
"Previous month": "Previous month",
"Next month": "Next month"
}

View File

@ -3483,11 +3483,11 @@ def htmlCalendar(translate: {}, \
calendarStr+='<main><table class="calendar">\n'
calendarStr+='<caption class="calendar__banner--month">\n'
calendarStr+=' <a href="'+actor+'/calendar?year='+str(prevYear)+'?month='+str(prevMonthNumber)+'">'
calendarStr+=' <img loading="lazy" src="/'+iconsDir+'/prev.png" class="buttonprev"/></a>\n'
calendarStr+=' <img loading="lazy" alt="'+translate['Previous month']+'" title="'+translate['Previous month']+'" src="/'+iconsDir+'/prev.png" class="buttonprev"/></a>\n'
calendarStr+=' <a href="'+actor+'/inbox">'
calendarStr+=' <h1>'+monthName+'</h1></a>\n'
calendarStr+=' <a href="'+actor+'/calendar?year='+str(nextYear)+'?month='+str(nextMonthNumber)+'">'
calendarStr+=' <img loading="lazy" src="/'+iconsDir+'/prev.png" class="buttonnext"/></a>\n'
calendarStr+=' <img loading="lazy" alt="'+translate['Next month']+'" title="'+translate['Next month']+'" src="/'+iconsDir+'/prev.png" class="buttonnext"/></a>\n'
calendarStr+='</caption>\n'
calendarStr+='<thead>\n'
calendarStr+='<tr>\n'