mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-22 01:51:03 +00:00
all talks: allow localizing "with" in info line
This commit is contained in:
parent
0df292f396
commit
747b0eaae2
1 changed files with 4 additions and 1 deletions
5
tile.lua
5
tile.lua
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue