mirror of
https://codeberg.org/metamuffin/abrechenbarkeit.git
synced 2024-12-29 00:04:35 +00:00
fix problems caused by weblates spacing
This commit is contained in:
parent
bbbcc3e1d5
commit
3badf67851
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ local function load_translations(langs)
|
|||
if file ~= nil then
|
||||
for l in file:lines("l") do
|
||||
if l ~= "" then
|
||||
local key, value = string.match(l, "^([^=]+)=([^=]*)")
|
||||
local key, value = string.match(l, "^([^=%s]+)%s?=%s?([^=]*)")
|
||||
if key ~= nil and value ~= nil then
|
||||
t["+" .. key] = value
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue