all talks: allow localizing "with" in info line

This commit is contained in:
Franzi 2023-09-29 15:42:33 +02:00
parent 0df292f396
commit 747b0eaae2

View file

@ -248,7 +248,10 @@ local function view_all_talks(starts, ends, config, x1, y1, x2, y2)
local info_line = talk.room local info_line = talk.room
if show_speakers and #talk.persons then if show_speakers and #talk.persons then
info_line = info_line .. table.concat(talk.persons, ", ") local joiner = ({
de = "mit",
})[talk.locale] or "with"
info_line = info_line .. " " .. joiner .. " " .. table.concat(talk.persons, ", ")
end end
local info_lines = wrap( local info_lines = wrap(