diff options
author | metamuffin <metamuffin@disroot.org> | 2024-11-05 01:54:30 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-11-05 01:54:30 +0100 |
commit | 3badf6785181e03cf430f523c01e717b84e920e5 (patch) | |
tree | e6fe5f8af6febda93e5919ecf807c9d99c331c48 | |
parent | bbbcc3e1d50aa686365140597bed29468c6f88c7 (diff) | |
download | abrechenbarkeit-3badf6785181e03cf430f523c01e717b84e920e5.tar abrechenbarkeit-3badf6785181e03cf430f523c01e717b84e920e5.tar.bz2 abrechenbarkeit-3badf6785181e03cf430f523c01e717b84e920e5.tar.zst |
fix problems caused by weblates spacing
-rwxr-xr-x | abrechenbarkeit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index be60a18..e210fed 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -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 |