aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-02-21 13:44:39 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2020-02-21 13:44:39 -0500
commitb4a67ffb3aedafcd778ad853246f8119f7e5e9e6 (patch)
tree4fbf98c50600d2e7045747bd2037996bd00ba355 /modules/textadept/find.lua
parent24d5a0503683f2367d2110c559bbbce81777bd6a (diff)
downloadtextadept-b4a67ffb3aedafcd778ad853246f8119f7e5e9e6.tar.gz
textadept-b4a67ffb3aedafcd778ad853246f8119f7e5e9e6.zip
Tweaked localization keys.
This is in anticipate of removing '_' from keys, which would have created duplicate keys.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r--modules/textadept/find.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index fc4c541b..368380e1 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -67,8 +67,8 @@ local M = ui.find
module('ui.find')]]
local _L = _L
-M.find_label_text = not CURSES and _L['_Find:'] or _L['Find:']
-M.replace_label_text = not CURSES and _L['R_eplace:'] or _L['Replace:']
+M.find_label_text = _L['_Find:']
+M.replace_label_text = _L['R_eplace:']
M.find_next_button_text = not CURSES and _L['Find _Next'] or _L['[Next]']
M.find_prev_button_text = not CURSES and _L['Find _Prev'] or _L['[Prev]']
M.replace_button_text = not CURSES and _L['_Replace'] or _L['[Replace]']
@@ -252,7 +252,7 @@ end})
-- @name find_in_files
function M.find_in_files(dir, filter)
dir = dir or ui.dialogs.fileselect{
- title = _L['Find in Files'], select_only_directories = true,
+ title = _L['Select Directory'], select_only_directories = true,
with_directory = io.get_project_root() or
(buffer.filename or ''):match('^.+[/\\]') or
lfs.currentdir()