mirror of
https://codeberg.org/metamuffin/abrechenbarkeit.git
synced 2025-01-01 09:14:34 +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
|
if file ~= nil then
|
||||||
for l in file:lines("l") do
|
for l in file:lines("l") do
|
||||||
if l ~= "" then
|
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
|
if key ~= nil and value ~= nil then
|
||||||
t["+" .. key] = value
|
t["+" .. key] = value
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue