aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-17 22:35:59 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-17 22:35:59 -0500
commit46ea855b4f819b9fae487233f24ef917fd03e2f8 (patch)
tree7a8d911c6cf360f8755875515cf247702ab4cc4f
parentd217ad4e85a85c21f27a371334c3bbcd10fb9afd (diff)
downloadtextadept-46ea855b4f819b9fae487233f24ef917fd03e2f8.tar.gz
textadept-46ea855b4f819b9fae487233f24ef917fd03e2f8.zip
Moved localization into a configuration file.
-rw-r--r--core/locale.conf908
-rw-r--r--core/locale.lua617
2 files changed, 922 insertions, 603 deletions
diff --git a/core/locale.conf b/core/locale.conf
new file mode 100644
index 00000000..a3eacfb2
--- /dev/null
+++ b/core/locale.conf
@@ -0,0 +1,908 @@
+% Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE.
+%
+% Localization file.
+% The localized strings may contain UTF-8 characters, but not UTF-16 or UTF-32.
+% The latter must be converted manually from the \U+xxxx format. Note that if
+% you use the \ddd repesentation of characters, it must be in DECIMAL format,
+% not Octal.
+%
+% Each line contains a message ID (in capital letters) followed by the localized
+% string in double-quotation marks (""). The message ID should not be localized.
+% For reference, the first commented line is the file where the localized string
+% appears in; the second is the English version of the string.
+%
+% Notes:
+% - Double quotations inside the localized string need not be escaped.
+% - Please do not localize the %d, %s, etc.
+% - gtk-* strings do not need to be localized; GTK will do it for you based
+% on your system's locale settings.
+% - Menu items have a "_" character as a mnemonic (for Alt+character) access.
+% You can put the "_" anywhere applicable in your localized version.
+
+% core/events.lua
+% "Untitled"
+UNTITLED "Untitled"
+
+% core/events.lua
+% "[Message Buffer]"
+MESSAGE_BUFFER "[Message Buffer]"
+
+% core/events.lua
+% "OVR"
+STATUS_OVR "OVR"
+
+% core/events.lua
+% "INS"
+STATUS_INS "INS"
+
+% core/events.lua
+% "CRLF"
+STATUS_CRLF "CRLF"
+
+% core/events.lua
+% "CR"
+STATUS_CR "CR"
+
+% core/events.lua
+% "LF"
+STATUS_LF "LF"
+
+% core/events.lua
+% "Tabs: "
+STATUS_TABS "Tabs: "
+
+% core/events.lua
+% "Spaces: "
+STATUS_SPACES "Spaces: "
+
+% core/events.lua
+% "Line: %d/%d Col: %d Lexer: %s %s %s %s"
+DOCSTATUSBAR_TEXT "Line: %d/%d Col: %d Lexer: %s %s %s %s"
+
+% core/events.lua
+% "Save?"
+EVENTS_QUIT_TITLE "Save?"
+
+% core/events.lua
+% "Save changes before quitting?"
+EVENTS_QUIT_TEXT "Save changes before quitting?"
+
+% core/events.lua
+% "The following buffers are unsaved:\n\n%s\n\nYou will have to save changes manually."
+EVENTS_QUIT_MSG "The following buffers are unsaved:\n\n%s\n\nYou will have to save changes manually."
+
+% core/events.lua
+% "[Error Buffer]"
+ERROR_BUFFER "[Error Buffer]"
+
+% core/file_io.lua
+% "Open"
+IO_OPEN_TITLE "Open"
+
+% core/file_io.lua
+% "Select a file(s) to open"
+IO_OPEN_TEXT "Select a file(s) to open"
+
+% core/file_io.lua
+% "Save"
+IO_SAVE_TITLE "Save"
+
+% core/file_io.lua
+% "Save?"
+IO_CLOSE_TITLE "Save?"
+
+% core/file_io.lua
+% "Save changes before closing?"
+IO_CLOSE_TEXT "Save changes before closing?"
+
+% core/file_io.lua
+% "You will have to save changes manually."
+IO_CLOSE_MSG "You will have to save changes manually."
+
+% core/file_io.lua
+% "Reload?"
+IO_RELOAD_TITLE "Reload?"
+
+% core/file_io.lua
+% "Reload modified file?"
+IO_RELOAD_TEXT "Reload modified file?"
+
+% core/file_io.lua
+% ""%s"\nhas been modified outside of Textadept.\nReload it to reflect the newest version?"
+IO_RELOAD_MSG ""%s"\nhas been modified outside of Textadept.\nReload it to reflect the newest version?"
+
+% core/init.lua
+% "Buffer argument expected."
+ERR_BUFFER_EXPECTED "Buffer argument expected."
+
+% core/init.lua
+% "The indexed buffer is not the focused one."
+ERR_BUFFER_NOT_FOCUSED "The indexed buffer is not the focused one."
+
+% core/ext/find.lua
+% Search wrapped
+FIND_SEARCH_WRAPPED "Search wrapped"
+
+% core/ext/find.lua
+% "No results found"
+FIND_NO_RESULTS "No results found"
+
+% core/ext/find.lua
+% "Error"
+FIND_ERROR_DIALOG_TITLE "Error"
+
+% core/ext/find.lua
+% "An error occured:"
+FIND_ERROR_DIALOG_TEXT "An error occured"
+
+% core/ext/find.lua
+% "%d replacement(s) made"
+FIND_REPLACEMENTS_MADE "%d replacement(s) made"
+
+% core/ext/find.lua
+% "Find in Files"
+FIND_IN_FILES_TITLE "Find in Files"
+
+% core/ext/find.lua
+% "Select Directory to Search"
+FIND_IN_FILES_TEXT "Select Directory to Search"
+
+% core/ext/find.lua
+% "[Files Found Buffer]"
+FIND_FILES_FOUND_BUFFER "[Files Found Buffer]"
+
+% core/ext/keys.lua
+% "Keychain: "
+KEYCHAIN "Keychain: "
+
+% core/ext/keys.lua
+% "Invalid sequence"
+KEYS_INVALID "Invalid sequence"
+
+% core/ext/keys.lua
+% "Unknown command: "
+KEYS_UNKNOWN_COMMAND "Unknown command: "
+
+% core/ext/menu.lua
+% "_File"
+MENU_FILE_TITLE "_File"
+
+% core/ext/menu.lua
+% "gtk-new"
+MENU_FILE_NEW "gtk-new"
+
+% core/ext/menu.lua
+% "gtk-open"
+MENU_FILE_OPEN "gtk-open"
+
+% core/ext/menu.lua
+% "_Reload"
+MENU_FILE_RELOAD "_Reload"
+
+% core/ext/menu.lua
+% "gtk-save"
+MENU_FILE_SAVE "gtk-save"
+
+% core/ext/menu.lua
+% "gtk-save-as"
+MENU_FILE_SAVEAS "gtk-save-as"
+
+% core/ext/menu.lua
+% "gtk-close"
+MENU_FILE_CLOSE "gtk-close"
+
+% core/ext/menu.lua
+% "Close A_ll"
+MENU_FILE_CLOSE_ALL "Close A_ll"
+
+% core/ext/menu.lua
+% "Loa_d Session..."
+MENU_FILE_LOAD_SESSION "Loa_d Session..."
+
+% core/ext/menu.lua
+% "Sa_ve Session..."
+MENU_FILE_SAVE_SESSION "Sa_ve Session..."
+
+% core/ext/menu.lua
+% "gtk-quit"
+MENU_FILE_QUIT "gtk-quit"
+
+% core/ext/menu.lua
+% "_Edit"
+MENU_EDIT_TITLE "_Edit"
+
+% core/ext/menu.lua
+% "gtk-undo"
+MENU_EDIT_UNDO "gtk-undo"
+
+% core/ext/menu.lua
+% "gtk-redo"
+MENU_EDIT_REDO "gtk-redo"
+
+% core/ext/menu.lua
+% "gtk-cut"
+MENU_EDIT_CUT "gtk-cut"
+
+% core/ext/menu.lua
+% "gtk-copy"
+MENU_EDIT_COPY "gtk-copy"
+
+% core/ext/menu.lua
+% "gtk-paste"
+MENU_EDIT_PASTE "gtk-paste"
+
+% core/ext/menu.lua
+% "gtk-delete"
+MENU_EDIT_DELETE "gtk-delete"
+
+% core/ext/menu.lua
+% "gtk-select-all"
+MENU_EDIT_SELECT_ALL "gtk-select-all"
+
+% core/ext/menu.lua
+% "Match _Brace"
+MENU_EDIT_MATCH_BRACE "Match _Brace"
+
+% core/ext/menu.lua
+% "Select t_o Brace"
+MENU_EDIT_SELECT_TO_BRACE "Select t_o Brace"
+
+% core/ext/menu.lua
+% "Complete _Word"
+MENU_EDIT_COMPLETE_WORD "Complete _Word"
+
+% core/ext/menu.lua
+% "De_lete Word"
+MENU_EDIT_DELETE_WORD "De_lete Word"
+
+% core/ext/menu.lua
+% "Tran_spose Characters"
+MENU_EDIT_TRANSPOSE_CHARACTERS "Tran_spose Characters"
+
+% core/ext/menu.lua
+% "S_queeze"
+MENU_EDIT_SQUEEZE "S_queeze"
+
+% core/ext/menu.lua
+% "_Join Lines"
+MENU_EDIT_JOIN_LINES "_Join Lines"
+
+% core/ext/menu.lua
+% "Convert _Indentation"
+MENU_EDIT_CONVERT_INDENTATION "Convert _Indentation"
+
+% core/ext/menu.lua
+% "_Kill Ring"
+MENU_EDIT_KR_TITLE "_Kill Ring"
+
+% core/ext/menu.lua
+% "_Cut to Line End"
+MENU_EDIT_KR_CUT_TO_LINE_END "_Cut to Line End"
+
+% core/ext/menu.lua
+% "C_opy to Line End"
+MENU_EDIT_KR_COPY_TO_LINE_END "C_opy to Line End"
+
+% core/ext/menu.lua
+% "_Paste From"
+MENU_EDIT_KR_PASTE_FROM "_Paste From"
+
+% core/ext/menu.lua
+% "Paste _Next From"
+MENU_EDIT_KR_PASTE_NEXT_FROM "Paste _Next From"
+
+% core/ext/menu.lua
+% "Paste _Previous From"
+MENU_EDIT_KR_PASTE_PREV_FROM "Paste _Previous From"
+
+% core/ext/menu.lua
+% "S_election"
+MENU_EDIT_SEL_TITLE "S_election"
+
+% core/ext/menu.lua
+% "_Enclose in..."
+MENU_EDIT_SEL_ENC_TITLE "_Enclose in..."
+
+% core/ext/menu.lua
+% "_HTML Tags"
+MENU_EDIT_SEL_ENC_HTML_TAGS "_HTML Tags"
+
+% core/ext/menu.lua
+% "HTML Single _Tag"
+MENU_EDIT_SEL_ENC_HTML_SINGLE_TAG "HTML Single _Tag"
+
+% core/ext/menu.lua
+% "_Double Quotes"
+MENU_EDIT_SEL_ENC_DOUBLE_QUOTES "_Double Quotes"
+
+% core/ext/menu.lua
+% "_Single Quotes"
+MENU_EDIT_SEL_ENC_SINGLE_QUOTES "_Single Quotes"
+
+% core/ext/menu.lua
+% "_Parentheses"
+MENU_EDIT_SEL_ENC_PARENTHESES "_Parentheses"
+
+% core/ext/menu.lua
+% "_Brackets"
+MENU_EDIT_SEL_ENC_BRACKETS "_Brackets"
+
+% core/ext/menu.lua
+% "B_races"
+MENU_EDIT_SEL_ENC_BRACES "B_races"
+
+% core/ext/menu.lua
+% "_Character Sequence"
+MENU_EDIT_SEL_ENC_CHAR_SEQ "_Character Sequence"
+
+% core/ext/menu.lua
+% "_Grow"
+MENU_EDIT_SEL_GROW "_Grow"
+
+% core/ext/menu.lua
+% "Select i_n..."
+MENU_EDIT_SEL_IN_TITLE "Select i_n..."
+
+% core/ext/menu.lua
+% "_HTML Tag"
+MENU_EDIT_SEL_IN_HTML_TAG "_HTML Tag"
+
+% core/ext/menu.lua
+% "_Double Quote"
+MENU_EDIT_SEL_IN_DOUBLE_QUOTE "_Double Quote"
+
+% core/ext/menu.lua
+% "_Single Quote"
+MENU_EDIT_SEL_IN_SINGLE_QUOTE "_Single Quote"
+
+% core/ext/menu.lua
+% "_Parenthesis"
+MENU_EDIT_SEL_IN_PARENTHESIS "_Parenthesis"
+
+% core/ext/menu.lua
+% "_Bracket"
+MENU_EDIT_SEL_IN_BRACKET "_Bracket"
+
+% core/ext/menu.lua
+% "B_race"
+MENU_EDIT_SEL_IN_BRACE "B_race"
+
+% core/ext/menu.lua
+% "_Word"
+MENU_EDIT_SEL_IN_WORD "_Word"
+
+% core/ext/menu.lua
+% "_Line"
+MENU_EDIT_SEL_IN_LINE "_Line"
+
+% core/ext/menu.lua
+% "Para_graph"
+MENU_EDIT_SEL_IN_PARAGRAPH "Para_graph"
+
+% core/ext/menu.lua
+% "_Indented Block"
+MENU_EDIT_SEL_IN_INDENTED_BLOCK "_Indented Block"
+
+% core/ext/menu.lua
+% "S_cope"
+MENU_EDIT_SEL_IN_SCOPE "S_cope"
+
+% core/ext/menu.lua
+% "_Search"
+MENU_SEARCH_TITLE "_Search"
+
+% core/ext/menu.lua
+% "gtk-find"
+MENU_SEARCH_FIND "gtk-find"
+
+% core/ext/menu.lua
+% "Find _Next"
+MENU_SEARCH_FIND_NEXT "Find _Next"
+
+% core/ext/menu.lua
+% "Find _Previous"
+MENU_SEARCH_FIND_PREV "Find _Previous"
+
+% core/ext/menu.lua
+% "gtk-find-and-replace"
+MENU_SEARCH_FIND_AND_REPLACE "gtk-find-and-replace"
+
+% core/ext/menu.lua
+% "Replace"
+MENU_SEARCH_REPLACE "Replace"
+
+% core/ext/menu.lua
+% "Replace _All"
+MENU_SEARCH_REPLACE_ALL "Replace _All"
+
+% core/ext/menu.lua
+% "gtk-jump-to"
+MENU_SEARCH_GOTO_LINE "gtk-jump-to"
+
+% core/ext/menu.lua
+% "_Tools"
+MENU_TOOLS_TITLE "_Tools"
+
+% core/ext/menu.lua
+% "Focus _Command Entry"
+MENU_TOOLS_FOCUS_COMMAND_ENTRY "Focus _Command Entry"
+
+% core/ext/menu.lua
+% "_Run"
+MENU_TOOLS_RUN "_Run"
+
+% core/ext/menu.lua
+% "_Compile"
+MENU_TOOLS_COMPILE "_Compile"
+
+% core/ext/menu.lua
+% "_Snippets"
+MENU_TOOLS_SNIPPETS_TITLE "_Snippets"
+
+% core/ext/menu.lua
+% "_Insert Snippet"
+MENU_TOOLS_SNIPPETS_INSERT "_Insert"
+
+% core/ext/menu.lua
+% "_Previous Placeholder"
+MENU_TOOLS_SNIPPETS_PREV_PLACE "_Previous Placeholder"
+
+% core/ext/menu.lua
+% "_Cancel"
+MENU_TOOLS_SNIPPETS_CANCEL "_Cancel"
+
+% core/ext/menu.lua
+% "_List"
+MENU_TOOLS_SNIPPETS_LIST "_List"
+
+% core/ext/menu.lua
+% "_Show Scope"
+MENU_TOOLS_SNIPPETS_SHOW_SCOPE "_Show Scope"
+
+% core/ext/menu.lua
+% "_Multiple Line Editing"
+MENU_TOOLS_ML_TITLE "_Multiple Line Editing"
+
+% core/ext/menu.lua
+% "_Add Line"
+MENU_TOOLS_ML_ADD "_Add Line"
+
+% core/ext/menu.lua
+% "Add _Multiple Lines"
+MENU_TOOLS_ML_ADD_MULTIPLE "Add _Multiple Lines"
+
+% core/ext/menu.lua
+% "_Remove Line"
+MENU_TOOLS_ML_REMOVE "_Remove Line"
+
+% core/ext/menu.lua
+% "R_emove Multiple Lines"
+MENU_TOOLS_ML_REMOVE_MULTIPLE "R_emove Multiple Lines"
+
+% core/ext/menu.lua
+% "_Update Multiple Lines"
+MENU_TOOLS_ML_UPDATE "_Update Multiple Lines"
+
+% core/ext/menu.lua
+% "_Finish Editing"
+MENU_TOOLS_ML_FINISH "_Finish Editing"
+
+% core/ext/menu.lua
+% "_Bookmark"
+MENU_TOOLS_BM_TITLE "_Bookmark"
+
+% core/ext/menu.lua
+% "_Toggle on Current Line"
+MENU_TOOLS_BM_TOGGLE "_Toggle on Current Line"
+
+% core/ext/menu.lua
+% "_Clear All"
+MENU_TOOLS_BM_CLEAR_ALL "_Clear All"
+
+% core/ext/menu.lua
+% "_Next"
+MENU_TOOLS_BM_NEXT "_Next"
+
+% core/ext/menu.lua
+% "_Previous"
+MENU_TOOLS_BM_PREV "_Previous"
+
+% core/ext/menu.lua
+% "M_acros"
+MENU_TOOLS_MACROS_TITLE "M_acros"
+
+% core/ext/menu.lua
+% "_Start Recording"
+MENU_TOOLS_MACROS_START "_Start Recording"
+
+% core/ext/menu.lua
+% "S_top Recording"
+MENU_TOOLS_MACROS_STOP "S_top Recording"
+
+% core/ext/menu.lua
+% "_Play Macro"
+MENU_TOOLS_MACROS_PLAY "_Play Macro"
+
+% core/ext/menu.lua
+% "_Buffers"
+MENU_BUF_TITLE "_Buffers"
+
+% core/ext/menu.lua
+% "_Next Buffer"
+MENU_BUF_NEXT "_Next Buffer"
+
+% core/ext/menu.lua
+% "_Prev Buffer"
+MENU_BUF_PREV "_Prev Buffer"
+
+% core/ext/menu.lua
+% "Toggle View _EOL"
+MENU_BUF_TOGGLE_VIEW_EOL "Toggle View _EOL"
+
+% core/ext/menu.lua
+% "Toggle _Wrap Mode"
+MENU_BUF_TOGGLE_WRAP "Toggle _Wrap Mode"
+
+% core/ext/menu.lua
+% "Toggle Show _Indentation Guides"
+MENU_BUF_TOGGLE_INDENT_GUIDES "Toggle Show _Indentation Guides"
+
+% core/ext/menu.lua
+% "Toggle Use _Tabs"
+MENU_BUF_TOGGLE_TABS "Toggle Use _Tabs"
+
+% core/ext/menu.lua
+% "Toggle View White_space"
+MENU_BUF_TOGGLE_VIEW_WHITESPACE "Toggle View White_space"
+
+% core/ext/menu.lua
+% "EOL Mode"
+MENU_BUF_EOL_MODE_TITLE "EOL Mode"
+
+% core/ext/menu.lua
+% "CR+LF"
+MENU_BUF_EOL_MODE_CRLF "CR+LF"
+
+% core/ext/menu.lua
+% "CR"
+MENU_BUF_EOL_MODE_CR "CR"
+
+% core/ext/menu.lua
+% "LF"
+MENU_BUF_EOL_MODE_LF "LF"
+
+% core/ext/menu.lua
+% "_Refresh Syntax Highlighting"
+MENU_BUF_REFRESH "_Refresh Syntax Highlighting"
+
+% core/ext/menu.lua
+% "_Views"
+MENU_VIEW_TITLE "_Views"
+
+% core/ext/menu.lua
+% "_Next View"
+MENU_VIEW_NEXT "_Next View"
+
+% core/ext/menu.lua
+% "_Prev View"
+MENU_VIEW_PREV "_Prev View"
+
+% core/ext/menu.lua
+% "Split _Vertical"
+MENU_VIEW_SPLIT_VERTICAL "Split _Vertical"
+
+% core/ext/menu.lua
+% "Split _Horizontal"
+MENU_VIEW_SPLIT_HORIZONTAL "Split _Horizontal"
+
+% core/ext/menu.lua
+% "_Unsplit"
+MENU_VIEW_UNSPLIT "_Unsplit"
+
+% core/ext/menu.lua
+% "Unsplit _All"
+MENU_VIEW_UNSPLIT_ALL "Unsplit _All"
+
+% core/ext/menu.lua
+% "_Grow"
+MENU_VIEW_GROW "_Grow"
+
+% core/ext/menu.lua
+% "_Shrink"
+MENU_VIEW_SHRINK "_Shrink"
+
+% core/ext/menu.lua
+% "_Lexers"
+MENU_LEX_TITLE "_Lexers"
+
+% core/ext/menu.lua
+% "Unknown command: "
+MENU_UNKNOWN_COMMAND "Unknown command: "
+
+% core/ext/pm/buffer_browser.lua
+% "gtk-new"
+PM_BROWSER_BUFFER_NEW "gtk-new"
+
+% core/ext/pm/buffer_browser.lua
+% "gtk-open"
+PM_BROWSER_BUFFER_OPEN "gtk-open"
+
+% core/ext/pm/buffer_browser.lua
+% "gtk-save"
+PM_BROWSER_BUFFER_SAVE "gtk-save"
+
+% core/ext/pm/buffer_browser.lua
+% "gtk-save-as"
+PM_BROWSER_BUFFER_SAVEAS "gtk-save-as"
+
+% core/ext/pm/buffer_browser.lua
+% "gtk-close"
+PM_BROWSER_BUFFER_CLOSE "gtk-close"
+
+% core/ext/pm/ctags.lua
+% "Extension "%s" not recognized"
+PM_BROWSER_CTAGS_BAD_EXT "Extension "%s" not recognized."
+
+% core/ext/pm/ctags.lua
+% "Unmatched ctag: %s"
+PM_BROWSER_CTAGS_UNMATCHED "Unmatched ctag: %s"
+
+% core/ext/pm/ctags.lua
+% ""%s" not found."
+PM_BROWSER_CTAGS_NOT_FOUND ""%s" not found."
+
+% core/ext/pm/file_browser.lua
+% "_Change Directory"
+PM_BROWSER_FILE_CD "_Change Directory"
+
+% core/ext/pm/file_browser.lua
+% "File _Info"
+PM_BROWSER_FILE_INFO "File _Info"
+
+% core/ext/pm/file_browser.lua
+% "Mode:\t%s\nSize:\t%s\nUID:\t%s\nGID:\t%s\nDevice:\t%s\nAccessed:\t%sModified:\t%s\nChanged:\t%s\n"
+PM_BROWSER_FILE_DATA "Mode:\t%s\nSize:\t%s\nUID:\t%s\nGID:\t%s\nDevice:\t%s\nAccessed:\t%sModified:\t%s\nChanged:\t%s\n"
+
+% core/ext/pm/file_browser.lua
+% "File info for "%s""
+PM_BROWSER_FILE_INFO_TEXT "File info for "%s""
+
+% core/ext/pm/file_browser.lua
+% "OK"
+PM_BROWSER_FILE_INFO_OK "OK"
+
+% core/ext/pm/file_browser.lua
+% "Show Dot Files"
+PM_BROWSER_FILE_SHOW_DOT_FILES "Show _Dot Files"
+
+% core/ext/pm/macro_browser.lua
+% "_Delete"
+PM_BROWSER_MACRO_DELETE "_Delete"
+
+% core/ext/pm/modules_browser.lua
+% "_New Module"
+PM_BROWSER_MODULE_NEW "_New Module"
+
+% core/ext/pm/modules_browser.lua
+% "_Delete Module"
+PM_BROWSER_MODULE_DELETE "_Delete Module"
+
+% core/ext/pm/modules_browser.lua
+% "Configure _MIME Types"
+PM_BROWSER_MODULE_CONF_MIME_TYPES "Configure _MIME Types"
+
+% core/ext/pm/modules_browser.lua
+% "Configure _Key Commands"
+PM_BROWSER_MODULE_CONF_KEY_COMMANDS "Configure _Key Commands"
+
+% core/ext/pm/modules_browser.lua
+% "_Reload Modules"
+PM_BROWSER_MODULE_RELOAD "_Reload Modules"
+
+% core/ext/pm/modules_browser.lua
+% "Module Name"
+PM_BROWSER_MODULE_NEW_TITLE "Module Name"
+
+% core/ext/pm/modules_browser.lua
+% "Module name:"
+PM_BROWSER_MODULE_NEW_INFO_TEXT "Module name:"
+
+% core/ext/pm/modules_browser.lua
+% "Language Name"
+PM_BROWSER_MODULE_NEW_LANG_TITLE "Language Name"
+
+% core/ext/pm/modules_browser.lua
+% "Language name:"
+PM_BROWSER_MODULE_NEW_LANG_INFO_TEXT "Language name:"
+
+% core/ext/pm/modules_browser.lua
+% "Error"
+PM_BROWSER_MODULE_NEW_ERROR "Error"
+
+% core/ext/pm/modules_browser.lua
+% "A module by that name already exists or you\ndo not have permission to create the module."
+PM_BROWSER_MODULE_NEW_ERROR_TEXT "A module by that name already exists or you\ndo not have permission to create the module."
+
+% core/ext/pm/modules_browser.lua
+% "Delete Module?"
+PM_BROWSER_MODULE_DELETE_TITLE "Delete Module?"
+
+% core/ext/pm/modules_browser.lua
+% "Are you sure you want to permanently delete\nthe "%s" module?"
+PM_BROWSER_MODULE_DELETE_TEXT "Are you sure you want to permanently delete\nthe "%s" module?"
+
+% core/ext/pm/project_browser.lua
+% "_New Project"
+PM_BROWSER_PROJECT_NEW "_New Project"
+
+% core/ext/pm/project_browser.lua
+% "_Open Project"
+PM_BROWSER_PROJECT_OPEN "_Open Project"
+
+% core/ext/pm/project_browser.lua
+% "_Close Project"
+PM_BROWSER_PROJECT_CLOSE "_Close Project"
+
+% core/ext/pm/project_browser.lua
+% "Add New File"
+PM_BROWSER_PROJECT_NEW_FILE "Add New File"
+
+% core/ext/pm/project_browser.lua
+% "Add Existing Files"
+PM_BROWSER_PROJECT_ADD_FILES "Add Existing Files"
+
+% core/ext/pm/project_browser.lua
+% "Add New Directory"
+PM_BROWSER_PROJECT_NEW_DIR "Add New Directory"
+
+% core/ext/pm/project_browser.lua
+% "Add Existing Directory"
+PM_BROWSER_PROJECT_ADD_DIR "Add Existing Directory"
+
+% core/ext/pm/project_browser.lua
+% "_Delete"
+PM_BROWSER_PROJECT_DELETE_FILE "_Delete"
+
+% core/ext/pm/project_browser.lua
+% "_Rename"
+PM_BROWSER_PROJECT_RENAME_FILE "_Rename"
+
+% core/ext/pm/project_browser.lua
+% "Save Project"
+PM_BROWSER_PROJECT_NEW_TITLE "Save Project"
+
+% core/ext/pm/project_browser.lua
+% "Open Project"
+PM_BROWSER_PROJECT_OPEN_TITLE "Open Project"
+
+% core/ext/pm/project_browser.lua
+% "Save File"
+PM_BROWSER_PROJECT_NEW_FILE_TITLE "Save File"
+
+% core/ext/pm/project_browser.lua
+% "Add to Project Root Instead?"
+PM_BROWSER_PROJECT_NEW_FILE_LIVE_FOLDER_TITLE "Add to Project Root Instead?"
+
+% core/ext/pm/project_browser.lua
+% "You are adding a new file to a live folder\nwhich may not show up if the filepaths do\nnot match.\nAdd the file to the project root instead?"
+PM_BROWSER_PROJECT_NEW_FILE_LIVE_FOLDER_TEXT "You are adding a new file to a live folder\nwhich may not show up if the filepaths do\nnot match.\nAdd the file to the project root instead?"
+
+% core/ext/pm/project_browser.lua
+% "Select Files"
+PM_BROWSER_PROJECT_ADD_FILES_TITLE "Select Files"
+
+% core/ext/pm/project_browser.lua
+% "Select files to add to the project"
+PM_BROWSER_PROJECT_ADD_FILES_TEXT "Select files to add to the project"
+
+% core/ext/pm/project_browser.lua
+% "Add to Project Root Instead?"
+PM_BROWSER_PROJECT_ADD_FILES_LIVE_FOLDER_TITLE "Add to Project Root Instead?"
+
+% core/ext/pm/project_browser.lua
+% "You are adding existing files to a live\nfolder which is not possible.\nAdd them to the project root instead?"
+PM_BROWSER_PROJECT_ADD_FILES_LIVE_FOLDER_TEXT "You are adding existing files to a live\nfolder which is not possible.\nAdd them to the project root instead?"
+
+% core/ext/pm/project_browser.lua
+% "Directory Name?"
+PM_BROWSER_PROJECT_NEW_DIR_TITLE "Directory Name?"
+
+% core/ext/pm/project_browser.lua
+% "Select Directory"
+PM_BROWSER_PROJECT_ADD_DIR_TITLE "Select Directory"
+
+% core/ext/pm/project_browser.lua
+% "Select a directory to add to the project"
+PM_BROWSER_PROJECT_ADD_DIR_TEXT "Select a directory to add to the project"
+
+% core/ext/pm/project_browser.lua
+% "Add to Project Root Instead?"
+PM_BROWSER_PROJECT_ADD_DIR_LIVE_FOLDER_TITLE "Add to Project Root Instead?"
+
+% core/ext/pm/project_browser.lua
+% "You are adding an existing directory to\na live folder which is not possible.\nAdd it to the project root instead?"
+PM_BROWSER_PROJECT_ADD_DIR_LIVE_FOLDER_TEXT "You are adding an existing directory to\na live folder which is not possible.\nAdd it to the project root instead?"
+
+% core/ext/pm/project_browser.lua
+% "Keep on Disk?"
+PM_BROWSER_PROJECT_DELETE_FILE_TITLE "Keep on Disk?"
+
+% core/ext/pm/project_browser.lua
+% "This file will be removed from the project.\nLeave it on your computer? If not, it will\nbe permanently deleted."
+PM_BROWSER_PROJECT_DELETE_FILE_TEXT "This file will be removed from the project.\nLeave it on your computer? If not, it will\nbe permanently deleted."
+
+% core/ext/pm/project_browser.lua
+% "Keep on Disk?"
+PM_BROWSER_PROJECT_DELETE_DIR_TITLE "Keep on Disk?"
+
+% core/ext/pm/project_browser.lua
+% "This directory will be removed from the\nproject. Leave it on your computer? If\nnot, it will be permanently deleted."
+PM_BROWSER_PROJECT_DELETE_DIR_TEXT "This directory will be removed from the\nproject. Leave it on your computer? If\nnot, it will be permanently deleted."
+
+% core/ext/pm/project_browser.lua
+% "Delete Permanently?"
+PM_BROWSER_PROJECT_DELETE_LIVE_FILE_TITLE "Delete Permanently?"
+
+% core/ext/pm/project_browser.lua
+% "You have selected a file from a live folder\nto delete. It will be deleted PERMANENTLY.\nContinue?\n(To delete a live folder from the project,\nselect the highest level live folder.)"
+PM_BROWSER_PROJECT_DELETE_LIVE_FILE_TEXT "You have selected a file from a live folder\nto delete. It will be deleted PERMANENTLY.\nContinue?\n(To delete a live folder from the project,\nselect the highest level live folder.)"
+
+% core/ext/pm/project_browser.lua
+% "No"
+PM_BROWSER_PROJECT_DELETE_LIVE_FILE_BUTTON1 "No"
+
+% core/ext/pm/project_browser.lua
+% "Yes"
+PM_BROWSER_PROJECT_DELETE_LIVE_FILE_BUTTON2 "Yes"
+
+% core/ext/pm/project_browser.lua
+% "Cancel"
+PM_BROWSER_PROJECT_DELETE_LIVE_FILE_BUTTON3 "Cancel"
+
+% core/ext/pm/project_browser.lua
+% "New Name?"
+PM_BROWSER_PROJECT_RENAME_FILE_TEXT "New Name?"
+
+% modules/textadept/editing.lua
+% "Go To"
+M_TEXTADEPT_EDITING_GOTO_TITLE "Go To"
+
+% modules/textadept/editing.lua
+% "Line Number:"
+M_TEXTADEPT_EDITING_GOTO_TEXT "Line Number:"
+
+% modules/textadept/macros.lua
+% "Macro recording"
+M_TEXTADEPT_MACRO_RECORDING "Macro recording"
+
+% modules/textadept/macros.lua
+% "Macro name?"
+M_TEXTADEPT_MACRO_SAVE_TITLE "Macro name?"
+
+% modules/textadept/macros.lua
+% "Macro name"
+M_TEXTADEPT_MACRO_SAVE_TEXT "Macro name"
+
+% modules/textadept/macros.lua
+% "Macro saved"
+M_TEXTADEPT_MACRO_SAVED "Macro saved"
+
+% modules/textadept/macros.lua
+% "Macro not saved"
+M_TEXTADEPT_MACRO_NOT_SAVED "Macro not saved"
+
+% modules/textadept/macros.lua
+% "Select a Macro"
+M_TEXTADEPT_MACRO_SELECT_TITLE "Select a Macro"
+
+% modules/textadept/macros.lua
+% "Macro name:"
+M_TEXTADEPT_MACRO_SELECT_TEXT "Macro name:"
+
+% modules/textadept/run.lua
+% "The file "%s" does not exist."
+M_TEXTADEPT_RUN_FILE_DOES_NOT_EXIST "The file "%s" does not exist."
+
+% modules/textadept/snippets.lua
+% "Lexer %s\nStyle %s (%d)"
+M_TEXTADEPT_SNIPPETS_SHOW_STYLE "Lexer %s\nStyle %s (%d)"
diff --git a/core/locale.lua b/core/locale.lua
index bf60f99a..306bb64d 100644
--- a/core/locale.lua
+++ b/core/locale.lua
@@ -1,608 +1,19 @@
-- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE.
---
--- This module contains all messages used by Textadept for localization.
--- Lua strings can contain UTF-8 characters. If you use the \ddd representation
--- though, it must be in DECIMAL format, not Octal as in some other programming
--- languages.
--- However, you must convert any UTF-16, UTF-32, etc. to UTF-8 manually as the
--- \U+xxxx format cannot be represented in Lua.
+-- This module loads all messages used by Textadept for localization.
+-- Localized strings are contained in 'core/locale.conf'. Please see this file
+-- for more information.
module('locale', package.seeall)
--- init.lua
-
--- core/events.lua
-
--- Untitled
-UNTITLED = 'Untitled'
--- [Message Buffer]
-MESSAGE_BUFFER = '[Message Buffer]'
--- OVR
-STATUS_OVR = 'OVR'
--- INS
-STATUS_INS = 'INS'
--- CRLF
-STATUS_CRLF = 'CRLF'
--- CR
-STATUS_CR = 'CR'
--- LF
-STATUS_LF = 'LF'
--- "Tabs: "
-STATUS_TABS = 'Tabs: '
--- "Spaces: "
-STATUS_SPACES = 'Spaces: '
--- "Line: %d/%d Col: %d Lexer: %s %s %s %s"
-DOCSTATUSBAR_TEXT = "Line: %d/%d Col: %d Lexer: %s %s %s %s"
--- Save?
-EVENTS_QUIT_TITLE = 'Save?'
--- Save changes before quitting?
-EVENTS_QUIT_TEXT = 'Save changes before quitting?'
--- The following buffers are unsaved:
---
--- %s
---
--- You will have to save changes manually
-EVENTS_QUIT_MSG = [[
-The following buffers are unsaved:
-
-%s
-
-You will have to save changes manually.
-]]
--- [Error Buffer]
-ERROR_BUFFER = '[Error Buffer]'
-
--- core/file_io.lua
-
--- Open
-IO_OPEN_TITLE = 'Open'
--- Select a file(s) to open
-IO_OPEN_TEXT = 'Select a file(s) to open'
--- Save
-IO_SAVE_TITLE = 'Save'
--- Save?
-IO_CLOSE_TITLE = 'Save?'
--- Save changes before closing?
-IO_CLOSE_TEXT = 'Save changes before closing?'
--- You will have to save changes manually.
-IO_CLOSE_MSG = 'You will have to save changes manually.'
--- Reload?
-IO_RELOAD_TITLE = 'Reload?'
--- Reload modified file?
-IO_RELOAD_TEXT = 'Reload modified file?'
--- '%s'
--- has been modified outside of Textadept.
--- Reload it to reflect the newest version?
-IO_RELOAD_MSG = [[
-'%s'
-has been modified outside of Textadept.
-Reload it to reflect the newest version?
-]]
-
--- core/iface.lua
-
--- core/init.lua
-
--- Buffer argument expected.
-ERR_BUFFER_EXPECTED = 'Buffer argument expected.'
--- The indexed buffer is not the focused one.
-ERR_BUFFER_NOT_FOCUSED = 'The indexed buffer is not the focused one.'
-
--- core/ext/command_entry.lua
-
--- core/ext/find.lua
-
--- Search wrapped
-FIND_SEARCH_WRAPPED = 'Search wrapped'
--- No results found
-FIND_NO_RESULTS = 'No results found'
--- Error
-FIND_ERROR_DIALOG_TITLE = 'Error'
--- An error occured:
-FIND_ERROR_DIALOG_TEXT = 'An error occured'
--- "%d replacement(s) made"
-FIND_REPLACEMENTS_MADE = '%d replacement(s) made'
--- Find in Files
-FIND_IN_FILES_TITLE = 'Find in Files'
--- Select Directory to Search
-FIND_IN_FILES_TEXT = 'Select Directory to Search'
--- [Files Found Buffer]
-FIND_FILES_FOUND_BUFFER = '[Files Found Buffer]'
-
--- core/ext/keys.lua
-
--- "Keychain: "
-KEYCHAIN = 'Keychain: '
--- Invalid sequence
-KEYS_INVALID = 'Invalid sequence'
--- "Unknown command: "
-KEYS_UNKNOWN_COMMAND = 'Unknown command: '
-
--- core/ext/menu.lua
-
--- _File
-MENU_FILE_TITLE = '_File'
--- gtk-new
-MENU_FILE_NEW = 'gtk-new'
--- gtk-open
-MENU_FILE_OPEN = 'gtk-open'
--- _Reload
-MENU_FILE_RELOAD = '_Reload'
--- gtk-save
-MENU_FILE_SAVE = 'gtk-save'
--- gtk-save-as
-MENU_FILE_SAVEAS = 'gtk-save-as'
--- gtk-close
-MENU_FILE_CLOSE = 'gtk-close'
--- Close A_ll
-MENU_FILE_CLOSE_ALL = 'Close A_ll'
--- Loa_d Session...
-MENU_FILE_LOAD_SESSION = 'Loa_d Session...'
--- Sa_ve Session...
-MENU_FILE_SAVE_SESSION = 'Sa_ve Session...'
--- gtk-quit
-MENU_FILE_QUIT = 'gtk-quit'
--- _Edit
-MENU_EDIT_TITLE = '_Edit'
--- gtk-undo
-MENU_EDIT_UNDO = 'gtk-undo'
--- gtk-redo
-MENU_EDIT_REDO = 'gtk-redo'
--- gtk-cut
-MENU_EDIT_CUT = 'gtk-cut'
--- gtk-copy
-MENU_EDIT_COPY = 'gtk-copy'
--- gtk-paste
-MENU_EDIT_PASTE = 'gtk-paste'
--- gtk-delete
-MENU_EDIT_DELETE = 'gtk-delete'
--- gtk-select-all
-MENU_EDIT_SELECT_ALL = 'gtk-select-all'
--- Match _Brace
-MENU_EDIT_MATCH_BRACE = 'Match _Brace'
--- Select t_o Brace
-MENU_EDIT_SELECT_TO_BRACE = 'Select t_o Brace'
--- Complete _Word
-MENU_EDIT_COMPLETE_WORD = 'Complete _Word'
--- De_lete Word
-MENU_EDIT_DELETE_WORD = 'De_lete Word'
--- Tran_spose Characters
-MENU_EDIT_TRANSPOSE_CHARACTERS = 'Tran_spose Characters'
--- S_queeze
-MENU_EDIT_SQUEEZE = 'S_queeze'
--- _Join Lines
-MENU_EDIT_JOIN_LINES = '_Join Lines'
--- Convert _Indentation
-MENU_EDIT_CONVERT_INDENTATION = 'Convert _Indentation'
--- _Kill Ring
-MENU_EDIT_KR_TITLE = '_Kill Ring'
--- _Cut to Line End
-MENU_EDIT_KR_CUT_TO_LINE_END = '_Cut to Line End'
--- C_opy to Line End
-MENU_EDIT_KR_COPY_TO_LINE_END = 'C_opy to Line End'
--- _Paste From
-MENU_EDIT_KR_PASTE_FROM = '_Paste From'
--- Paste _Next From
-MENU_EDIT_KR_PASTE_NEXT_FROM = 'Paste _Next From'
--- Paste _Previous From
-MENU_EDIT_KR_PASTE_PREV_FROM = 'Paste _Previous From'
--- S_election
-MENU_EDIT_SEL_TITLE = 'S_election'
--- _Enclose in...
-MENU_EDIT_SEL_ENC_TITLE = '_Enclose in...'
--- _HTML Tags
-MENU_EDIT_SEL_ENC_HTML_TAGS = '_HTML Tags'
--- HTML Single _Tag
-MENU_EDIT_SEL_ENC_HTML_SINGLE_TAG = 'HTML Single _Tag'
--- _Double Quotes
-MENU_EDIT_SEL_ENC_DOUBLE_QUOTES = '_Double Quotes'
--- _Single Quotes
-MENU_EDIT_SEL_ENC_SINGLE_QUOTES = '_Single Quotes'
--- _Parentheses
-MENU_EDIT_SEL_ENC_PARENTHESES = '_Parentheses'
--- _Brackets
-MENU_EDIT_SEL_ENC_BRACKETS = '_Brackets'
--- B_races
-MENU_EDIT_SEL_ENC_BRACES = 'B_races'
--- _Character Sequence
-MENU_EDIT_SEL_ENC_CHAR_SEQ = '_Character Sequence'
--- _Grow
-MENU_EDIT_SEL_GROW = '_Grow'
--- Select i_n...
-MENU_EDIT_SEL_IN_TITLE = 'Select i_n...'
--- _HTML Tag
-MENU_EDIT_SEL_IN_HTML_TAG = '_HTML Tag'
--- _Double Quote
-MENU_EDIT_SEL_IN_DOUBLE_QUOTE = '_Double Quote'
--- _Single Quote
-MENU_EDIT_SEL_IN_SINGLE_QUOTE = '_Single Quote'
--- _Parenthesis
-MENU_EDIT_SEL_IN_PARENTHESIS = '_Parenthesis'
--- _Bracket
-MENU_EDIT_SEL_IN_BRACKET = '_Bracket'
--- B_race
-MENU_EDIT_SEL_IN_BRACE = 'B_race'
--- _Word
-MENU_EDIT_SEL_IN_WORD = '_Word'
--- _Line
-MENU_EDIT_SEL_IN_LINE = '_Line'
--- Para_graph
-MENU_EDIT_SEL_IN_PARAGRAPH = 'Para_graph'
--- _Indented Block
-MENU_EDIT_SEL_IN_INDENTED_BLOCK = '_Indented Block'
--- S_cope
-MENU_EDIT_SEL_IN_SCOPE = 'S_cope'
-
--- _Search
-MENU_SEARCH_TITLE = '_Search'
--- gtk-find
-MENU_SEARCH_FIND = 'gtk-find'
--- Find _Next
-MENU_SEARCH_FIND_NEXT = 'Find _Next'
--- Find _Previous
-MENU_SEARCH_FIND_PREV = 'Find _Previous'
--- gtk-find-and-replace
-MENU_SEARCH_FIND_AND_REPLACE = 'gtk-find-and-replace'
--- Replace
-MENU_SEARCH_REPLACE = 'Replace'
--- Replace _All
-MENU_SEARCH_REPLACE_ALL = 'Replace _All'
--- gtk-jump-to
-MENU_SEARCH_GOTO_LINE = 'gtk-jump-to'
-
--- _Tools
-MENU_TOOLS_TITLE = '_Tools'
--- Focus _Command Entry
-MENU_TOOLS_FOCUS_COMMAND_ENTRY = 'Focus _Command Entry'
--- _Run
-MENU_TOOLS_RUN = '_Run'
--- _Compile
-MENU_TOOLS_COMPILE = '_Compile'
--- _Snippets
-MENU_TOOLS_SNIPPETS_TITLE = '_Snippets'
--- _Insert Snippet
-MENU_TOOLS_SNIPPETS_INSERT = '_Insert'
--- _Previous Placeholder
-MENU_TOOLS_SNIPPETS_PREV_PLACE = '_Previous Placeholder'
--- _Cancel
-MENU_TOOLS_SNIPPETS_CANCEL = '_Cancel'
--- _List
-MENU_TOOLS_SNIPPETS_LIST = '_List'
--- _Show Scope
-MENU_TOOLS_SNIPPETS_SHOW_SCOPE = '_Show Scope'
--- _Multiple Line Editing
-MENU_TOOLS_ML_TITLE = '_Multiple Line Editing'
--- _Add Line
-MENU_TOOLS_ML_ADD = '_Add Line'
--- Add _Multiple Lines
-MENU_TOOLS_ML_ADD_MULTIPLE = 'Add _Multiple Lines'
--- _Remove Line
-MENU_TOOLS_ML_REMOVE = '_Remove Line'
--- R_emove Multiple Lines
-MENU_TOOLS_ML_REMOVE_MULTIPLE = 'R_emove Multiple Lines'
--- _Update Multiple Lines
-MENU_TOOLS_ML_UPDATE = '_Update Multiple Lines'
--- _Finish Editing
-MENU_TOOLS_ML_FINISH = '_Finish Editing'
--- _Bookmark
-MENU_TOOLS_BM_TITLE = '_Bookmark'
--- _Toggle on Current Line
-MENU_TOOLS_BM_TOGGLE = '_Toggle on Current Line'
--- _Clear All
-MENU_TOOLS_BM_CLEAR_ALL = '_Clear All'
--- _Next
-MENU_TOOLS_BM_NEXT = '_Next'
--- _Previous
-MENU_TOOLS_BM_PREV = '_Previous'
--- M_acros
-MENU_TOOLS_MACROS_TITLE = 'M_acros'
--- _Start Recording
-MENU_TOOLS_MACROS_START = '_Start Recording'
--- S_top Recording
-MENU_TOOLS_MACROS_STOP = 'S_top Recording'
--- _Play Macro
-MENU_TOOLS_MACROS_PLAY = '_Play Macro'
-
--- _Buffers
-MENU_BUF_TITLE = '_Buffers'
--- _Next Buffer
-MENU_BUF_NEXT = '_Next Buffer'
--- _Prev Buffer
-MENU_BUF_PREV = '_Prev Buffer'
--- Toggle View _EOL
-MENU_BUF_TOGGLE_VIEW_EOL = 'Toggle View _EOL'
--- Toggle _Wrap Mode
-MENU_BUF_TOGGLE_WRAP = 'Toggle _Wrap Mode'
--- Toggle Show _Indentation Guides
-MENU_BUF_TOGGLE_INDENT_GUIDES = 'Toggle Show _Indentation Guides'
--- Toggle Use _Tabs
-MENU_BUF_TOGGLE_TABS = 'Toggle Use _Tabs'
--- Toggle View White_space
-MENU_BUF_TOGGLE_VIEW_WHITESPACE = 'Toggle View White_space'
--- EOL Mode
-MENU_BUF_EOL_MODE_TITLE = 'EOL Mode'
--- CR+LF
-MENU_BUF_EOL_MODE_CRLF = 'CR+LF'
--- CR
-MENU_BUF_EOL_MODE_CR = 'CR'
--- LF
-MENU_BUF_EOL_MODE_LF = 'LF'
--- _Refresh Syntax Highlighting
-MENU_BUF_REFRESH = '_Refresh Syntax Highlighting'
-
--- _Views
-MENU_VIEW_TITLE = '_Views'
--- _Next View
-MENU_VIEW_NEXT = '_Next View'
--- _Prev View
-MENU_VIEW_PREV = '_Prev View'
--- Split _Vertical
-MENU_VIEW_SPLIT_VERTICAL = 'Split _Vertical'
--- Split _Horizontal
-MENU_VIEW_SPLIT_HORIZONTAL = 'Split _Horizontal'
--- _Unsplit
-MENU_VIEW_UNSPLIT = '_Unsplit'
--- Unsplit _All
-MENU_VIEW_UNSPLIT_ALL = 'Unsplit _All'
--- _Grow
-MENU_VIEW_GROW = '_Grow'
--- _Shrink
-MENU_VIEW_SHRINK = '_Shrink'
-
--- _Lexers
-MENU_LEX_TITLE = '_Lexers'
-
--- "Unknown command: "
-MENU_UNKNOWN_COMMAND = 'Unknown command: '
-
--- core/ext/mime_types.lua
-
--- core/ext/pm.lua
-
--- core/ext/pm/buffer_browser.lua
-
--- gtk-new
-PM_BROWSER_BUFFER_NEW = 'gtk-new'
--- gtk-open
-PM_BROWSER_BUFFER_OPEN = 'gtk-open'
--- gtk-save
-PM_BROWSER_BUFFER_SAVE = 'gtk-save'
--- gtk-save-as
-PM_BROWSER_BUFFER_SAVEAS = 'gtk-save-as'
--- gtk-close
-PM_BROWSER_BUFFER_CLOSE = 'gtk-close'
-
--- core/ext/pm/ctags.lua
-
--- 'Extension "%s" not recognized'
-PM_BROWSER_CTAGS_BAD_EXT = 'Extension "%s" not recognized.'
--- "Unmatched ctag: %s"
-PM_BROWSER_CTAGS_UNMATCHED = 'Unmatched ctag: %s'
--- '"%s" not found.'
-PM_BROWSER_CTAGS_NOT_FOUND = '"%s" not found.'
-
--- core/ext/pm/file_browser.lua
-
--- _Change Directory
-PM_BROWSER_FILE_CD = '_Change Directory'
--- File _Info
-PM_BROWSER_FILE_INFO = 'File _Info'
--- Mode: %s
--- Size: %s
--- UID: %s
--- GID: %s
--- Device: %s
--- Accessed: %s
--- Modified: %s
--- Changed: %s
-PM_BROWSER_FILE_DATA = [[
-Mode: %s
-Size: %s
-UID: %s
-GID: %s
-Device: %s
-Accessed: %s
-Modified: %s
-Changed: %s
-]]
--- 'File info for "%s"'
-PM_BROWSER_FILE_INFO_TEXT = 'File info for "%s"'
--- OK
-PM_BROWSER_FILE_INFO_OK = 'OK'
--- Show Dot Files
-PM_BROWSER_FILE_SHOW_DOT_FILES = 'Show _Dot Files'
-
--- core/ext/pm/macro_browser.lua
-
--- _Delete
-PM_BROWSER_MACRO_DELETE = '_Delete'
-
--- core/ext/pm/modules_browser.lua
-
--- _New Module
-PM_BROWSER_MODULE_NEW = '_New Module'
--- _Delete Module
-PM_BROWSER_MODULE_DELETE = '_Delete Module'
--- Configure _MIME Types
-PM_BROWSER_MODULE_CONF_MIME_TYPES = 'Configure _MIME Types'
--- Configure _Key Commands
-PM_BROWSER_MODULE_CONF_KEY_COMMANDS = 'Configure _Key Commands'
--- _Reload Modules
-PM_BROWSER_MODULE_RELOAD = '_Reload Modules'
--- Module Name
-PM_BROWSER_MODULE_NEW_TITLE = 'Module Name'
--- Module name:
-PM_BROWSER_MODULE_NEW_INFO_TEXT = 'Module name:'
--- Language Name
-PM_BROWSER_MODULE_NEW_LANG_TITLE = 'Language Name'
--- Language name:
-PM_BROWSER_MODULE_NEW_LANG_INFO_TEXT = 'Language name:'
--- Error
-PM_BROWSER_MODULE_NEW_ERROR = 'Error'
--- A module by that name already exists or you
--- do not have permission to create the module.
-PM_BROWSER_MODULE_NEW_ERROR_TEXT = [[
-A module by that name already exists or you
-do not have permission to create the module.
-]]
--- Delete Module?
-PM_BROWSER_MODULE_DELETE_TITLE = 'Delete Module?'
--- Are you sure you want to permanently delete
--- the "%s" module?
-PM_BROWSER_MODULE_DELETE_TEXT = [[
-Are you sure you want to permanently delete
-the "%s" module?
-]]
-
--- core/ext/pm/project_browser.lua
-
--- _New Project
-PM_BROWSER_PROJECT_NEW = '_New Project'
--- _Open Project
-PM_BROWSER_PROJECT_OPEN = '_Open Project'
--- _Close Project
-PM_BROWSER_PROJECT_CLOSE = '_Close Project'
--- Add New File
-PM_BROWSER_PROJECT_NEW_FILE = 'Add New File'
--- Add Existing Files
-PM_BROWSER_PROJECT_ADD_FILES = 'Add Existing Files'
--- Add New Directory
-PM_BROWSER_PROJECT_NEW_DIR = 'Add New Directory'
--- Add Existing Directory
-PM_BROWSER_PROJECT_ADD_DIR = 'Add Existing Directory'
--- _Delete
-PM_BROWSER_PROJECT_DELETE_FILE = '_Delete'
--- _Rename
-PM_BROWSER_PROJECT_RENAME_FILE = '_Rename'
--- Save Project
-PM_BROWSER_PROJECT_NEW_TITLE = 'Save Project'
--- Open Project
-PM_BROWSER_PROJECT_OPEN_TITLE = 'Open Project'
--- Save File
-PM_BROWSER_PROJECT_NEW_FILE_TITLE = 'Save File'
--- Add to Project Root Instead?
-PM_BROWSER_PROJECT_NEW_FILE_LIVE_FOLDER_TITLE = 'Add to Project Root Instead?'
--- You are adding a new file to a live folder
--- which may not show up if the filepaths do
--- not match.
--- Add the file to the project root instead?
-PM_BROWSER_PROJECT_NEW_FILE_LIVE_FOLDER_TEXT = [[
-You are adding a new file to a live folder
-which may not show up if the filepaths do
-not match.
-Add the file to the project root instead?
-]]
--- Select Files
-PM_BROWSER_PROJECT_ADD_FILES_TITLE = 'Select Files'
--- Select files to add to the project
-PM_BROWSER_PROJECT_ADD_FILES_TEXT = 'Select files to add to the project'
--- Add to Project Root Instead?
-PM_BROWSER_PROJECT_ADD_FILES_LIVE_FOLDER_TITLE = 'Add to Project Root Instead?'
--- You are adding existing files to a live
--- folder which is not possible.
--- Add them to the project root instead?
-PM_BROWSER_PROJECT_ADD_FILES_LIVE_FOLDER_TEXT = [[
-You are adding existing files to a live
-folder which is not possible.
-Add them to the project root instead?
-]]
--- Directory Name?
-PM_BROWSER_PROJECT_NEW_DIR_TITLE = 'Directory Name?'
--- Select Directory
-PM_BROWSER_PROJECT_ADD_DIR_TITLE = 'Select Directory'
--- Select a directory to add to the project
-PM_BROWSER_PROJECT_ADD_DIR_TEXT = 'Select a directory to add to the project'
--- Add to Project Root Instead?
-PM_BROWSER_PROJECT_ADD_DIR_LIVE_FOLDER_TITLE = 'Add to Project Root Instead?'
--- You are adding an existing directory to
--- a live folder which is not possible.
--- Add it to the project root instead?
-PM_BROWSER_PROJECT_ADD_DIR_LIVE_FOLDER_TEXT = [[
-You are adding an existing directory to
-a live folder which is not possible.
-Add it to the project root instead?
-]]
--- Keep on Disk?
-PM_BROWSER_PROJECT_DELETE_FILE_TITLE = 'Keep on Disk?'
--- This file will be removed from the project.
--- Leave it on your computer? If not, it will
--- be permanently deleted.
-PM_BROWSER_PROJECT_DELETE_FILE_TEXT = [[
-This file will be removed from the project.
-Leave it on your computer? If not, it will
-be permanently deleted.
-]]
--- Keep on Disk
-PM_BROWSER_PROJECT_DELETE_DIR_TITLE = 'Keep on Disk?'
--- This directory will be removed from the
--- project. Leave it on your computer? If
--- not, it will be permanently deleted.
-PM_BROWSER_PROJECT_DELETE_DIR_TEXT = [[
-This directory will be removed from the
-project. Leave it on your computer? If
-not, it will be permanently deleted.
-]]
--- Delete Permanently?
-PM_BROWSER_PROJECT_DELETE_LIVE_FILE_TITLE = 'Delete Permanently?'
--- You have selected a file from a live folder
--- to delete. It will be deleted PERMANENTLY.
--- Continue?
--- (To delete a live folder from the project,
--- select the highest level live folder.)
-PM_BROWSER_PROJECT_DELETE_LIVE_FILE_TEXT = [[
-You have selected a file from a live folder
-to delete. It will be deleted PERMANENTLY.
-Continue?
-(To delete a live folder from the project,
-select the highest level live folder.)
-]]
--- No
-PM_BROWSER_PROJECT_DELETE_LIVE_FILE_BUTTON1 = 'No'
--- Yes
-PM_BROWSER_PROJECT_DELETE_LIVE_FILE_BUTTON2 = 'Yes'
--- Cancel
-PM_BROWSER_PROJECT_DELETE_LIVE_FILE_BUTTON3 = 'Cancel'
--- New Name?
-PM_BROWSER_PROJECT_RENAME_FILE_TEXT = 'New Name?'
-
--- modules/textadept/bookmarks.lua
-
--- modules/textadept/editing.lua
-
--- Go To
-M_TEXTADEPT_EDITING_GOTO_TITLE = 'Go To'
--- Line Number:
-M_TEXTADEPT_EDITING_GOTO_TEXT = 'Line Number:'
-
--- modules/textadept/init.lua
-
--- modules/textadept/macros.lua
-
--- Macro recording
-M_TEXTADEPT_MACRO_RECORDING = 'Macro recording'
--- Macro name?
-M_TEXTADEPT_MACRO_SAVE_TITLE = 'Macro name?'
--- Macro name
-M_TEXTADEPT_MACRO_SAVE_TEXT = 'Macro name'
--- Macro saved
-M_TEXTADEPT_MACRO_SAVED = 'Macro saved'
--- Macro not saved
-M_TEXTADEPT_MACRO_NOT_SAVED = 'Macro not saved'
--- Select a Macro
-M_TEXTADEPT_MACRO_SELECT_TITLE = 'Select a Macro'
--- Macro name:
-M_TEXTADEPT_MACRO_SELECT_TEXT = 'Macro name:'
-
--- modules/textadept/mlines.lua
-
--- modules/textadept/run.lua
--- The file "%s" does not exist.
-M_TEXTADEPT_RUN_FILE_DOES_NOT_EXIST = 'The file "%s" does not exist.'
-
--- modules/textadept/snippets.lua
-
--- Lexer %s
--- Style %s (%d)
-M_TEXTADEPT_SNIPPETS_SHOW_STYLE = [[
-Lexer: %s
-Style: %s (%d)]]
+local escapes = { ['\\n'] = '\n', ['\\r'] = '\r', ['\\t'] = '\t' }
+
+local f = io.open(_HOME..'/core/locale.conf', 'rb')
+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+)%s+"(.+)"$')
+ if id and str then locale[id] = str:gsub('\\[nrt]', escapes) end
+ end
+end
+f:close()