aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-06-30 01:26:43 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-06-30 01:26:43 -0400
commitd3483ade7ba04106fa9f67332b1d46cf5306ee2a (patch)
treeb493e28a010a8d3332471764cbedbe6fca83d3f5 /core
parentc407317f84ae66afd5843b00237318f083a0eddd (diff)
downloadtextadept-d3483ade7ba04106fa9f67332b1d46cf5306ee2a.tar.gz
textadept-d3483ade7ba04106fa9f67332b1d46cf5306ee2a.zip
Localize the labels and buttons in the find GUI frame; src/textadept.c
Diffstat (limited to 'core')
-rw-r--r--core/.find.luadoc20
-rw-r--r--core/locale.conf78
2 files changed, 63 insertions, 35 deletions
diff --git a/core/.find.luadoc b/core/.find.luadoc
index b5e3dd99..7b7a474b 100644
--- a/core/.find.luadoc
+++ b/core/.find.luadoc
@@ -15,6 +15,26 @@ module('gui.find')
-- * `whole_word` [bool]: Only whole-word matches are allowed in searches.
-- * `lua` [bool]: The search text is interpreted as a Lua pattern.
-- * `in_files` [bool]: Search for the text in a list of files.
+-- * `find_label_text` [string]: The text of the 'Find' label. This is primarily
+-- used for localization. (Write-only)
+-- * `replace_label_text` [string]: The text of the 'Replace' label. This is
+-- primarily used for localization. (Write-only)
+-- * `find_next_button_text` [string]: The text of the 'Find Next' button. This
+-- is primarily used for localization. (Write-only)
+-- * `find_prev_button_text` [string]: The text of the 'Find Prev' button. This
+-- is primarily used for localization. (Write-only)
+-- * `replace_button_text` [string]: The text of the 'Replace' button. This is
+-- primarily used for localization. (Write-only)
+-- * `replace_all_button_text` [string]: The text of the 'Replace All' button.
+-- This is primarily used for localization. (Write-only)
+-- * `match_case_label_text` [string]: The text of the 'Match case' label. This
+-- is primarily used for localization. (Write-only)
+-- * `whole_word_label_text` [string]: The text of the 'Whole word' label. This
+-- is primarily used for localization. (Write-only)
+-- * `lua_pattern_label_text` [string]: The text of the 'Lua pattern' label.
+-- This is primarily used for localization. (Write-only)
+-- * `in_files_label_text` [string]: The text of the 'In files' label. This is
+-- primarily used for localization. (Write-only)
---
-- Displays and focuses the find/replace dialog.
diff --git a/core/locale.conf b/core/locale.conf
index f76aee58..78973277 100644
--- a/core/locale.conf
+++ b/core/locale.conf
@@ -16,19 +16,6 @@
% You can put the "_" anywhere applicable in your localized version.
% core/events.lua
-Untitled = Untitled
-[Message Buffer] = [Message Buffer]
-CRLF = CRLF
-CR = CR
-LF = LF
-Tabs: = Tabs:
-Spaces: = Spaces:
-Line: = Line:
-Col: = Col:
-Quit without saving? = Quit without saving?
-The following buffers are unsaved: = The following buffers are unsaved:
-Quit _without saving = Quit _without saving
-[Error Buffer] = [Error Buffer]
Undefined event name = Undefined event name
% core/file_io.lua
@@ -46,27 +33,57 @@ has been modified. Reload it? = has been modified. Reload it?
% core/gui.lua
Buffer argument expected. = Buffer argument expected.
This buffer is not the current one. = This buffer is not the current one.
+[Message Buffer] = [Message Buffer]
+Untitled = Untitled
Switch Buffers = Switch Buffers
-Search wrapped = Search wrapped
+CRLF = CRLF
+CR = CR
+LF = LF
+Tabs: = Tabs:
+Spaces: = Spaces:
+Line: = Line:
+Col: = Col:
+Quit without saving? = Quit without saving?
+The following buffers are unsaved: = The following buffers are unsaved:
+Quit _without saving = Quit _without saving
+[Error Buffer] = [Error Buffer]
% core/keys.lua
Keychain: = Keychain:
Invalid sequence = Invalid sequence
-Unknown command: = Unknown command:
+
+% modules/textadept/bookmarks.lua
+Select Bookmark = Select Bookmark
+
+% modules/textadept/editing.lua
+Go To = Go To
+Line Number: = Line Number:
% modules/textadept/find.lua
+_Find: = _Find:
+R_eplace: = R_eplace:
+Find _Next = Find _Next
+Find _Prev = Find _Prev
+_Replace = _Replace
+Replace _All = Replace _All
+_Match case = _Match case
+_Whole word = _Whole word
+_Lua pattern = _Lua pattern
+_In files = _In files
+Find in Files = Find in Files
No results found = No results found
+[Files Found Buffer] = [Files Found Buffer]
+Search wrapped = Search wrapped
Error = Error
An error occured: = An error occured:
replacement(s) made = replacement(s) made
-Find in Files = Find in Files
-[Files Found Buffer] = [Files Found Buffer]
% modules/textadept/keys.lua
Lexer = Lexer
Style = Style
% modules/textadept/menu.lua
+Error loading webpage: = Error loading webpage:
_File = _File
gtk-new = gtk-new
gtk-open = gtk-open
@@ -76,7 +93,9 @@ gtk-save-as = gtk-save-as
gtk-close = gtk-close
Close A_ll = Close A_ll
Loa_d Session... = Loa_d Session...
+Load Session = Load Session
Sa_ve Session... = Sa_ve Session...
+Save Session = Save Session
gtk-quit = gtk-quit
_Edit = _Edit
gtk-undo = gtk-undo
@@ -105,7 +124,6 @@ _Single Quotes = _Single Quotes
_Parentheses = _Parentheses
_Brackets = _Brackets
B_races = B_races
-_Character Sequence = _Character Sequence
_Grow = _Grow
Select i_n... = Select i_n...
_HTML Tag = _HTML Tag
@@ -179,35 +197,19 @@ _Unsplit = _Unsplit
Unsplit _All = Unsplit _All
_Grow = _Grow
_Shrink = _Shrink
-Le_xers = Le_xers
_Help = _Help
_Manual = _Manual
_LuaDoc = _LuaDoc
gtk-about = gtk-about
-Error loading webpage: = Error loading webpage:
-Load Session = Load Session
-Save Session = Save Session
+Le_xers = Le_xers
Unknown command: = Unknown command:
% modules/textadept/mime_types.lua
Select Lexer = Select Lexer
-% modules/textadept/bookmarks.lua
-Select Bookmark = Select Bookmark
-
-% modules/textadept/editing.lua
-Go To = Go To
-Line Number: = Line Number:
-
% modules/textadept/run.lua
does not exist = does not exist
-% modules/textadept/snippets.lua
-Select Snippet = Select Snippet
-Trigger = Trigger
-Scope = Scope
-Snippet Text = Snippet Text
-
% modules/textadept/session.lua
Session Files Not Found = Session Files Not Found
The following session files were not found = The following session files were not found
@@ -216,3 +218,9 @@ The following session files were not found = The following session files were no
File Limit Exceeded = File Limit Exceeded
files or more were found. Showing the first = files or more were found. Showing the first
File = File
+
+% modules/textadept/snippets.lua
+Select Snippet = Select Snippet
+Trigger = Trigger
+Scope = Scope
+Snippet Text = Snippet Text