From 747b0eaae27ec4154db40fa3a1b781441262ffc3 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 29 Sep 2023 15:42:33 +0200 Subject: [PATCH] all talks: allow localizing "with" in info line --- tile.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tile.lua b/tile.lua index 0ad6c15..7f8376e 100644 --- a/tile.lua +++ b/tile.lua @@ -248,7 +248,10 @@ local function view_all_talks(starts, ends, config, x1, y1, x2, y2) local info_line = talk.room 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 local info_lines = wrap(