aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/locale.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/locale.lua b/core/locale.lua
index 90142708..1763f396 100644
--- a/core/locale.lua
+++ b/core/locale.lua
@@ -17,7 +17,7 @@ if not f then error('"core/locale.conf" not found.') end
for line in f:lines() do
if not line:find('^%s*%%') then
local id, str = line:match('^(.-)%s*=%s*(.+)$')
- if id and str then M[id] = str end
+ if id and str then M[id] = not NCURSES and str or str:gsub('_', '') end
end
end
f:close()