aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/locale.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-07-17 15:30:37 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-07-17 15:30:37 -0400
commit17c33b24243cccf82298513e5a99888ec5b9976e (patch)
treee9d3ffd2494a9b97fb84e614b2dde985775a6247 /core/locale.lua
parent6605f5e57de57c1b2b9c5227855d97c7bf879af1 (diff)
Remove mnemonics from localized ncurses strings; core/locale.lua
Diffstat (limited to 'core/locale.lua')
-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()