"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/formmain_translation.inc" between
CudaText-1.92.0.tar.gz and CudaText-1.93.0.tar.gz

About: CudaText is a cross-platform text editor (written in Lazarus).

formmain_translation.inc  (CudaText-1.92.0):formmain_translation.inc  (CudaText-1.93.0)
skipping to change at line 61 skipping to change at line 61
Btn.Hint:= StringReplace(ABtnNewHint, '&', '', [rfReplaceAll]); Btn.Hint:= StringReplace(ABtnNewHint, '&', '', [rfReplaceAll]);
exit; exit;
end; end;
end; end;
end; end;
procedure TfmMain.DoLocalize; procedure TfmMain.DoLocalize;
var var
fn: string; fn: string;
ini: TIniFile; ini: TIniFile;
Sep: TATStringSeparator;
begin begin
fn:= GetAppLangFilename; fn:= GetAppLangFilename;
if not FileExistsUTF8(fn) then exit; if not FileExistsUTF8(fn) then exit;
ini:= TIniFile.Create(fn); ini:= TIniFile.Create(fn);
try try
msgFileNew:= ini.ReadString('m_f', 'new', msgFileNew); msgFileNew:= ini.ReadString('m_f', 'new', msgFileNew);
msgFileOpen:= ini.ReadString('m_f', 'op', msgFileOpen); msgFileOpen:= ini.ReadString('m_f', 'op', msgFileOpen);
msgFileSave:= ini.ReadString('m_f', 's', msgFileSave); msgFileSave:= ini.ReadString('m_f', 's', msgFileSave);
skipping to change at line 90 skipping to change at line 91
DoLocMenuitem(ini, mnuFileSaveAll, 'm_f', 's_all'); DoLocMenuitem(ini, mnuFileSaveAll, 'm_f', 's_all');
DoLocMenuitem(ini, mnuFileClose, 'm_f', 'cl'); DoLocMenuitem(ini, mnuFileClose, 'm_f', 'cl');
DoLocMenuitem(ini, mnuFileCloseAll, 'm_f', 'cl_all'); DoLocMenuitem(ini, mnuFileCloseAll, 'm_f', 'cl_all');
DoLocMenuitem(ini, mnuFileCloseOther, 'm_f', 'cl_oth'); DoLocMenuitem(ini, mnuFileCloseOther, 'm_f', 'cl_oth');
DoLocMenuitem(ini, mnuFileCloseDel, 'm_f', 'cl_del'); DoLocMenuitem(ini, mnuFileCloseDel, 'm_f', 'cl_del');
DoLocMenuitem(ini, mnuFileEnc, 'm_f', 'e_'); DoLocMenuitem(ini, mnuFileEnc, 'm_f', 'e_');
DoLocMenuitem(ini, mnuFileEnds, 'm_f', 'z_'); DoLocMenuitem(ini, mnuFileEnds, 'm_f', 'z_');
DoLocMenuitem(ini, mnuFileHtml, 'm_f', 'html'); DoLocMenuitem(ini, mnuFileHtml, 'm_f', 'html');
DoLocMenuitem(ini, mnuFileExit, 'm_f', 'q'); DoLocMenuitem(ini, mnuFileExit, 'm_f', 'q');
DoMenuitemEllipsis(mnuFileEnc);
msgEncReloadAs:= ini.ReadString('m_f', 'e_r', msgEncReloadAs); msgEncReloadAs:= ini.ReadString('m_f', 'e_r', msgEncReloadAs);
msgEncConvertTo:= ini.ReadString('m_f', 'e_t', msgEncConvertTo); msgEncConvertTo:= ini.ReadString('m_f', 'e_t', msgEncConvertTo);
msgEncEuropean:= ini.ReadString('m_f', 'e_eu', msgEncEuropean); msgEncEuropean:= ini.ReadString('m_f', 'e_eu', msgEncEuropean);
msgEncAsian:= ini.ReadString('m_f', 'e_as', msgEncAsian); msgEncAsian:= ini.ReadString('m_f', 'e_as', msgEncAsian);
msgEncMisc:= ini.ReadString('m_f', 'e_mi', msgEncMisc); msgEncMisc:= ini.ReadString('m_f', 'e_mi', msgEncMisc);
UpdateMenuEnc(mnuFileEnc);
UpdateMenuEnc(PopupEnc.Items);
DoLocMenuItem(mnuFileEndWin, msgEndWin); DoLocMenuItem(mnuFileEndWin, msgEndWin);
DoLocMenuItem(mnuFileEndUn, msgEndUnix); DoLocMenuItem(mnuFileEndUn, msgEndUnix);
DoLocMenuItem(mnuFileEndMac, msgEndMac); DoLocMenuItem(mnuFileEndMac, msgEndMac);
DoLocMenuItem(mnuEndsWin, msgEndWin); DoLocString(cStrMenuitemUndo, ini, 'm_e', 'undo');
DoLocMenuItem(mnuEndsUnix, msgEndUnix); DoLocString(cStrMenuitemRedo, ini, 'm_e', 'redo');
DoLocMenuItem(mnuEndsMac, msgEndMac); DoLocString(cStrMenuitemCut, ini, 'm_e', 'cut');
DoLocString(cStrMenuitemCopy, ini, 'm_e', 'cp');
msgEditUndo:= ini.ReadString('m_e', 'undo', msgEditUndo); DoLocString(cStrMenuitemPaste, ini, 'm_e', 'pst');
msgEditRedo:= ini.ReadString('m_e', 'redo', msgEditRedo); DoLocString(cStrMenuitemDelete, ini, 'm_e', 'del');
msgEditCut:= ini.ReadString('m_e', 'cut', msgEditCut); DoLocString(cStrMenuitemSelectAll, ini, 'm_se', 'al');
msgEditCopy:= ini.ReadString('m_e', 'cp', msgEditCopy);
msgEditPaste:= ini.ReadString('m_e', 'pst', msgEditPaste); DoLocMenuitem(mnuEditUndo, cStrMenuitemUndo);
msgEditDelete:= ini.ReadString('m_e', 'del', msgEditDelete); DoLocMenuitem(mnuEditRedo, cStrMenuitemRedo);
msgEditSelectAll:= ini.ReadString('m_se', 'al', msgEditSelectAll); DoLocMenuitem(mnuEditCut, cStrMenuitemCut);
DoLocMenuitem(mnuEditCopy, cStrMenuitemCopy);
DoLocMenuitem(mnuEditUndo, msgEditUndo); DoLocMenuitem(mnuEditPaste, cStrMenuitemPaste);
DoLocMenuitem(mnuEditRedo, msgEditRedo); DoLocMenuitem(mnuEditDel, cStrMenuitemDelete);
DoLocMenuitem(mnuEditCut, msgEditCut);
DoLocMenuitem(mnuEditCopy, msgEditCopy);
DoLocMenuitem(mnuEditPaste, msgEditPaste);
DoLocMenuitem(mnuEditDel, msgEditDelete);
DoLocMenuitem(ini, mnuEdit, 'm_e', '_'); DoLocMenuitem(ini, mnuEdit, 'm_e', '_');
DoLocMenuitem(ini, mnuEditUndo, 'm_e', 'undo'); DoLocMenuitem(ini, mnuEditUndo, 'm_e', 'undo');
DoLocMenuitem(ini, mnuEditRedo, 'm_e', 'redo'); DoLocMenuitem(ini, mnuEditRedo, 'm_e', 'redo');
DoLocMenuitem(ini, mnuEditCut, 'm_e', 'cut'); DoLocMenuitem(ini, mnuEditCut, 'm_e', 'cut');
DoLocMenuitem(ini, mnuEditCopy, 'm_e', 'cp'); DoLocMenuitem(ini, mnuEditCopy, 'm_e', 'cp');
DoLocMenuitem(ini, mnuEditPaste, 'm_e', 'pst'); DoLocMenuitem(ini, mnuEditPaste, 'm_e', 'pst');
DoLocMenuitem(ini, mnuEditDel, 'm_e', 'del'); DoLocMenuitem(ini, mnuEditDel, 'm_e', 'del');
msgCopySub:= ini.ReadString('m_e', 'cp_', msgCopySub); msgCopySub:= ini.ReadString('m_e', 'cp_', msgCopySub);
skipping to change at line 161 skipping to change at line 158
DoLocMenuitem(ini, mnuEditIndentSub, 'm_e', 'bl_'); DoLocMenuitem(ini, mnuEditIndentSub, 'm_e', 'bl_');
DoLocMenuitem(ini, mnuEditIndent, 'm_e', 'bl_ind'); DoLocMenuitem(ini, mnuEditIndent, 'm_e', 'bl_ind');
DoLocMenuitem(ini, mnuEditUnindent, 'm_e', 'bl_uind'); DoLocMenuitem(ini, mnuEditUnindent, 'm_e', 'bl_uind');
DoLocMenuitem(ini, mnuEditTrim, 'm_e', 'tr_a'); DoLocMenuitem(ini, mnuEditTrim, 'm_e', 'tr_a');
DoLocMenuitem(ini, mnuEditTrimL, 'm_e', 'tr_l'); DoLocMenuitem(ini, mnuEditTrimL, 'm_e', 'tr_l');
DoLocMenuitem(ini, mnuEditTrimR, 'm_e', 'tr_r'); DoLocMenuitem(ini, mnuEditTrimR, 'm_e', 'tr_r');
DoLocMenuitem(ini, mnuEditTabToSp, 'm_e', 'con_t'); DoLocMenuitem(ini, mnuEditTabToSp, 'm_e', 'con_t');
DoLocMenuitem(ini, mnuEditSpToTab, 'm_e', 'con_s'); DoLocMenuitem(ini, mnuEditSpToTab, 'm_e', 'con_s');
DoLocMenuitem(ini, mnuCaseSub, 'm_e', 'cas_'); DoLocString(msgTextCaseMenu, ini, 'm_e', 'cas_');
DoLocMenuitem(ini, mnuCaseUp, 'm_e', 'cas_u'); DoLocString(msgTextCaseUpper, ini, 'm_e', 'cas_u');
DoLocMenuitem(ini, mnuCaseLow, 'm_e', 'cas_l'); DoLocString(msgTextCaseLower, ini, 'm_e', 'cas_l');
DoLocMenuitem(ini, mnuCaseTitle, 'm_e', 'cas_t'); DoLocString(msgTextCaseTitle, ini, 'm_e', 'cas_t');
DoLocMenuitem(ini, mnuCaseInvert, 'm_e', 'cas_i'); DoLocString(msgTextCaseInvert, ini, 'm_e', 'cas_i');
DoLocMenuitem(ini, mnuCaseSent, 'm_e', 'cas_s'); DoLocString(msgTextCaseSentence, ini, 'm_e', 'cas_s');
if Assigned(mnuCaseSub) then
mnuCaseSub.Caption:= msgTextCaseMenu;
if Assigned(mnuCaseUp) then if Assigned(mnuCaseUp) then
mnuToolbarCaseUp.Caption:= mnuCaseUp.Caption; mnuCaseUp.Caption:= msgTextCaseUpper;
if Assigned(mnuCaseLow) then if Assigned(mnuCaseLow) then
mnuToolbarCaseLow.Caption:= mnuCaseLow.Caption; mnuCaseLow.Caption:= msgTextCaseLower;
if Assigned(mnuCaseTitle) then if Assigned(mnuCaseTitle) then
mnuToolbarCaseTitle.Caption:= mnuCaseTitle.Caption; mnuCaseTitle.Caption:= msgTextCaseTitle;
if Assigned(mnuCaseInvert) then
mnuToolbarCaseInvert.Caption:= mnuCaseInvert.Caption;
if Assigned(mnuCaseSent) then if Assigned(mnuCaseSent) then
mnuToolbarCaseSent.Caption:= mnuCaseSent.Caption; mnuCaseSent.Caption:= msgTextCaseSentence;
DoLocMenuitem(ini, mnuEditCharmap, 'm_e', 'map'); DoLocMenuitem(ini, mnuEditCharmap, 'm_e', 'map');
DoLocMenuitem(ini, mnuSel, 'm_se', '_'); DoLocMenuitem(ini, mnuSel, 'm_se', '_');
DoLocMenuitem(mnuSelAll, msgEditSelectAll); DoLocMenuitem(mnuSelAll, cStrMenuitemSelectAll);
DoLocMenuitem(ini, mnuSelSplit, 'm_se', 'sp'); DoLocMenuitem(ini, mnuSelSplit, 'm_se', 'sp');
DoLocMenuitem(ini, mnuSelExtLine, 'm_se', 'ex'); DoLocMenuitem(ini, mnuSelExtLine, 'm_se', 'ex');
DoLocMenuitem(ini, mnuSelExtWord, 'm_se', 'ex_wo'); DoLocMenuitem(ini, mnuSelExtWord, 'm_se', 'ex_wo');
DoLocMenuitem(ini, mnuSelInvert, 'm_se', 'in'); DoLocMenuitem(ini, mnuSelInvert, 'm_se', 'in');
DoLocMenuitem(ini, mnuCaretsCancel, 'm_se', 'can'); DoLocMenuitem(ini, mnuCaretsCancel, 'm_se', 'can');
DoLocMenuitem(ini, mnuCaretsExtSub, 'm_se', 'm_'); DoLocMenuitem(ini, mnuCaretsExtSub, 'm_se', 'm_');
DoLocMenuitem(ini, mnuCaretsUp1Line, 'm_se', 'u_l'); DoLocMenuitem(ini, mnuCaretsUp1Line, 'm_se', 'u_l');
DoLocMenuitem(ini, mnuCaretsUp1Page, 'm_se', 'u_p'); DoLocMenuitem(ini, mnuCaretsUp1Page, 'm_se', 'u_p');
DoLocMenuitem(ini, mnuCaretsUpBegin, 'm_se', 'u_z'); DoLocMenuitem(ini, mnuCaretsUpBegin, 'm_se', 'u_z');
skipping to change at line 206 skipping to change at line 203
DoLocMenuitem(ini, mnuSr, 'm_sr', '_'); DoLocMenuitem(ini, mnuSr, 'm_sr', '_');
DoLocMenuitem(ini, mnuFindDlg, 'm_sr', 'f'); DoLocMenuitem(ini, mnuFindDlg, 'm_sr', 'f');
DoLocMenuitem(ini, mnuFindRepDialog, 'm_sr', 'r'); DoLocMenuitem(ini, mnuFindRepDialog, 'm_sr', 'r');
DoLocMenuitem(ini, mnuFindNext, 'm_sr', 'f_n'); DoLocMenuitem(ini, mnuFindNext, 'm_sr', 'f_n');
DoLocMenuitem(ini, mnuFindPrev, 'm_sr', 'f_p'); DoLocMenuitem(ini, mnuFindPrev, 'm_sr', 'f_p');
DoLocMenuitem(ini, mnuFindWordNext, 'm_sr', 'w_n'); DoLocMenuitem(ini, mnuFindWordNext, 'm_sr', 'w_n');
DoLocMenuitem(ini, mnuFindWordPrev, 'm_sr', 'w_p'); DoLocMenuitem(ini, mnuFindWordPrev, 'm_sr', 'w_p');
DoLocMenuitem(mnuFind2Next, mnuFindNext);
DoLocMenuitem(mnuFind2Prev, mnuFindPrev);
DoLocMenuitem(mnuFind2WordNext, mnuFindWordNext);
DoLocMenuitem(mnuFind2WordPrev, mnuFindWordPrev);
DoLocMenuitem(ini, mnuGotoLine, 'm_sr', 'g_l'); DoLocMenuitem(ini, mnuGotoLine, 'm_sr', 'g_l');
DoLocMenuitem(ini, mnuGotoBm, 'm_sr', 'g_b'); DoLocMenuitem(ini, mnuGotoBm, 'm_sr', 'g_b');
DoLocMenuitem(ini, mnuBmSub, 'm_sr', 'b_'); DoLocMenuitem(ini, mnuBmSub, 'm_sr', 'b_');
DoLocMenuitem(ini, mnuBmNext, 'm_sr', 'b_n'); DoLocMenuitem(ini, mnuBmNext, 'm_sr', 'b_n');
DoLocMenuitem(ini, mnuBmPrev, 'm_sr', 'b_p'); DoLocMenuitem(ini, mnuBmPrev, 'm_sr', 'b_p');
DoLocMenuitem(ini, mnuBmToggle, 'm_sr', 'b_to'); DoLocMenuitem(ini, mnuBmToggle, 'm_sr', 'b_to');
DoLocMenuitem(ini, mnuBmInvert, 'm_sr', 'b_in'); DoLocMenuitem(ini, mnuBmInvert, 'm_sr', 'b_in');
DoLocMenuitem(ini, mnuBmPlaceCarets, 'm_sr', 'b_ca'); DoLocMenuitem(ini, mnuBmPlaceCarets, 'm_sr', 'b_ca');
DoLocMenuitem(ini, mnuBmPlaceOnCarets, 'm_sr', 'b_ca2'); DoLocMenuitem(ini, mnuBmPlaceOnCarets, 'm_sr', 'b_ca2');
skipping to change at line 322 skipping to change at line 314
DoLocMenuitem(ini, mnuHelp, 'm_h', '_'); DoLocMenuitem(ini, mnuHelp, 'm_h', '_');
DoLocMenuitem(ini, mnuHelpCmd, 'm_h', 'co'); DoLocMenuitem(ini, mnuHelpCmd, 'm_h', 'co');
DoLocMenuitem(ini, mnuHelpForum, 'm_h', 'fo'); DoLocMenuitem(ini, mnuHelpForum, 'm_h', 'fo');
DoLocMenuitem(ini, mnuHelpWiki, 'm_h', 'wi'); DoLocMenuitem(ini, mnuHelpWiki, 'm_h', 'wi');
//DoLocMenuitem(ini, mnuHelpChangelog, 'm_h', 'ch'); //DoLocMenuitem(ini, mnuHelpChangelog, 'm_h', 'ch');
DoLocMenuitem(ini, mnuHelpIssues, 'm_h', 'iss'); DoLocMenuitem(ini, mnuHelpIssues, 'm_h', 'iss');
DoLocMenuitem(ini, mnuHelpAbout, 'm_h', 'ab'); DoLocMenuitem(ini, mnuHelpAbout, 'm_h', 'ab');
DoLocMenuitem(ini, mnuHelpCheckUpd, 'm_h', 'chk'); DoLocMenuitem(ini, mnuHelpCheckUpd, 'm_h', 'chk');
DoLocMenuitem(ini, mnuToolbarSortAsc, 'tb', 'sr_asc'); DoLocString(msgSortAsc, ini, 'tb', 'sr_asc');
DoLocMenuitem(ini, mnuToolbarSortDesc, 'tb', 'sr_des'); DoLocString(msgSortDesc, ini, 'tb', 'sr_des');
DoLocMenuitem(ini, mnuToolbarSortAscNocase, 'tb', 'sr_asc_i'); DoLocString(msgSortAscNocase, ini, 'tb', 'sr_asc_i');
DoLocMenuitem(ini, mnuToolbarSortDescNocase, 'tb', 'sr_des_i'); DoLocString(msgSortDescNocase, ini, 'tb', 'sr_des_i');
DoLocMenuitem(ini, mnuToolbarSortDialog, 'tb', 'sr_dl'); DoLocString(msgSortDialog, ini, 'tb', 'sr_dl');
DoLocMenuitem(ini, mnuToolbarSortReverse, 'tb', 'sr_rev'); DoLocString(msgSortReverse, ini, 'tb', 'sr_rev');
DoLocMenuitem(ini, mnuToolbarSortShuffle, 'tb', 'sr_shf'); DoLocString(msgSortShuffle, ini, 'tb', 'sr_shf');
DoLocMenuitem(ini, mnuToolbarSortRemoveDup, 'tb', 'sr_del_dp'); DoLocString(msgSortRemoveDup, ini, 'tb', 'sr_del_dp');
DoLocMenuitem(ini, mnuToolbarSortRemoveBlank, 'tb', 'sr_del_bl'); DoLocString(msgSortRemoveBlank, ini, 'tb', 'sr_del_bl');
DoLocMenuitem(ini, mnuToolbarCommentLineAdd, 'tb', 'cm_ln_add'); DoLocString(msgCommentLineAdd, ini, 'tb', 'cm_ln_add');
DoLocMenuitem(ini, mnuToolbarCommentLineDel, 'tb', 'cm_ln_del'); DoLocString(msgCommentLineDel, ini, 'tb', 'cm_ln_del');
DoLocMenuitem(ini, mnuToolbarCommentLineToggle, 'tb', 'cm_ln_tog'); DoLocString(msgCommentLineToggle, ini, 'tb', 'cm_ln_tog');
DoLocMenuitem(ini, mnuToolbarCommentStream, 'tb', 'cm_st_tog'); DoLocString(msgCommentStreamToggle, ini, 'tb', 'cm_st_tog');
msgPanelMenu:= ini.ReadString('ui', 't_menu', msgPanelMenu_Init); msgPanelMenu:= ini.ReadString('ui', 't_menu', msgPanelMenu_Init);
msgPanelTree:= ini.ReadString('ui', 't_tre', msgPanelTree_Init); msgPanelTree:= ini.ReadString('ui', 't_tre', msgPanelTree_Init);
msgPanelProject:= ini.ReadString('ui', 't_proj', msgPanelProject_Init); msgPanelProject:= ini.ReadString('ui', 't_proj', msgPanelProject_Init);
msgPanelTabs:= ini.ReadString('ui', 't_tabs', msgPanelTabs_Init); msgPanelTabs:= ini.ReadString('ui', 't_tabs', msgPanelTabs_Init);
msgPanelSnippet:= ini.ReadString('ui', 't_snip', msgPanelSnippet_Init); msgPanelSnippet:= ini.ReadString('ui', 't_snip', msgPanelSnippet_Init);
msgPanelConsole:= ini.ReadString('ui', 't_con', msgPanelConsole_Init); msgPanelConsole:= ini.ReadString('ui', 't_con', msgPanelConsole_Init);
msgPanelOutput:= ini.ReadString('ui', 't_out', msgPanelOutput_Init); msgPanelOutput:= ini.ReadString('ui', 't_out', msgPanelOutput_Init);
msgPanelValidate:= ini.ReadString('ui', 't_val', msgPanelValidate_Init); msgPanelValidate:= ini.ReadString('ui', 't_val', msgPanelValidate_Init);
skipping to change at line 362 skipping to change at line 354
DoLocToolbarButtonHint(ToolbarSideTop, msgPanelSnippet_Init, msgPanelSnippet ); DoLocToolbarButtonHint(ToolbarSideTop, msgPanelSnippet_Init, msgPanelSnippet );
DoLocToolbarButtonHint(ToolbarSideLow, msgPanelConsole_Init, msgPanelConsole ); DoLocToolbarButtonHint(ToolbarSideLow, msgPanelConsole_Init, msgPanelConsole );
DoLocToolbarButtonHint(ToolbarSideLow, msgPanelOutput_Init, msgPanelOutput); DoLocToolbarButtonHint(ToolbarSideLow, msgPanelOutput_Init, msgPanelOutput);
DoLocToolbarButtonHint(ToolbarSideLow, msgPanelValidate_Init, msgPanelValida te); DoLocToolbarButtonHint(ToolbarSideLow, msgPanelValidate_Init, msgPanelValida te);
DoLocToolbarButtonHint(ToolbarSideMid, msgPanelSearch_Init, msgPanelSearch); DoLocToolbarButtonHint(ToolbarSideMid, msgPanelSearch_Init, msgPanelSearch);
// //
DoLocToolbarButtonHint(ToolbarMain, 'f_new', msgFileNew); DoLocToolbarButtonHint(ToolbarMain, 'f_new', msgFileNew);
DoLocToolbarButtonHint(ToolbarMain, 'f_open', msgFileOpen); DoLocToolbarButtonHint(ToolbarMain, 'f_open', msgFileOpen);
DoLocToolbarButtonHint(ToolbarMain, 'f_save', msgFileSave); DoLocToolbarButtonHint(ToolbarMain, 'f_save', msgFileSave);
DoLocToolbarButtonHint(ToolbarMain, 'e_copy', msgEditCopy); DoLocToolbarButtonHint(ToolbarMain, 'e_copy', cStrMenuitemCopy);
DoLocToolbarButtonHint(ToolbarMain, 'e_cut', msgEditCut); DoLocToolbarButtonHint(ToolbarMain, 'e_cut', cStrMenuitemCut);
DoLocToolbarButtonHint(ToolbarMain, 'e_paste', msgEditPaste); DoLocToolbarButtonHint(ToolbarMain, 'e_paste', cStrMenuitemPaste);
DoLocToolbarButtonHint(ToolbarMain, 'e_undo', msgEditUndo); DoLocToolbarButtonHint(ToolbarMain, 'e_undo', cStrMenuitemUndo);
DoLocToolbarButtonHint(ToolbarMain, 'e_redo', msgEditRedo); DoLocToolbarButtonHint(ToolbarMain, 'e_redo', cStrMenuitemRedo);
if Assigned(mnuViewUnpri) then if Assigned(mnuViewUnpri) then
DoLocToolbarButtonHint(ToolbarMain, 'unpri', mnuViewUnpri.Caption); DoLocToolbarButtonHint(ToolbarMain, 'unpri', mnuViewUnpri.Caption);
if Assigned(mnuViewMinimap) then if Assigned(mnuViewMinimap) then
DoLocToolbarButtonHint(ToolbarMain, 'map', mnuViewMinimap.Caption); DoLocToolbarButtonHint(ToolbarMain, 'map', mnuViewMinimap.Caption);
if Assigned(mnuEditIndent) then if Assigned(mnuEditIndent) then
DoLocToolbarButtonHint(ToolbarMain, 'indent', mnuEditIndent.Caption); DoLocToolbarButtonHint(ToolbarMain, 'indent', mnuEditIndent.Caption);
if Assigned(mnuEditUnindent) then if Assigned(mnuEditUnindent) then
DoLocToolbarButtonHint(ToolbarMain, 'unindent', mnuEditUnindent.Caption); DoLocToolbarButtonHint(ToolbarMain, 'unindent', mnuEditUnindent.Caption);
DoLocToolbarButtonHint(ToolbarMain, 'opt', ini.ReadString('tb', 'opt', 'Opti ons Editor')); DoLocToolbarButtonHint(ToolbarMain, 'opt', ini.ReadString('tb', 'opt', 'Opti ons Editor'));
skipping to change at line 418 skipping to change at line 410
msgStatusbarHintCaret:= ini.ReadString('sta', 'crt', msgStatusbarHintCaret); msgStatusbarHintCaret:= ini.ReadString('sta', 'crt', msgStatusbarHintCaret);
msgStatusbarHintEnc:= ini.ReadString('sta', 'enc', msgStatusbarHintEnc); msgStatusbarHintEnc:= ini.ReadString('sta', 'enc', msgStatusbarHintEnc);
msgStatusbarHintLexer:= ini.ReadString('sta', 'lex', msgStatusbarHintLexer); msgStatusbarHintLexer:= ini.ReadString('sta', 'lex', msgStatusbarHintLexer);
msgStatusbarHintEnds:= ini.ReadString('sta', 'end', msgStatusbarHintEnds); msgStatusbarHintEnds:= ini.ReadString('sta', 'end', msgStatusbarHintEnds);
msgStatusbarHintSelMode:= ini.ReadString('sta', 'sel', msgStatusbarHintSelMo de); msgStatusbarHintSelMode:= ini.ReadString('sta', 'sel', msgStatusbarHintSelMo de);
msgStatusbarHintTabSize:= ini.ReadString('sta', 'tab', msgStatusbarHintTabSi ze); msgStatusbarHintTabSize:= ini.ReadString('sta', 'tab', msgStatusbarHintTabSi ze);
msgStatusbarHintInsOvr:= ini.ReadString('sta', 'ins', msgStatusbarHintInsOvr ); msgStatusbarHintInsOvr:= ini.ReadString('sta', 'ins', msgStatusbarHintInsOvr );
msgStatusbarHintWrap:= ini.ReadString('sta', 'wrp', msgStatusbarHintWrap); msgStatusbarHintWrap:= ini.ReadString('sta', 'wrp', msgStatusbarHintWrap);
UpdateStatusbarHints; UpdateStatusbarHints;
Sep.Init(ini.ReadString('sta', 'view', 'Viewer,Text,Binary,Hex,Unicode,Unico
de/Hex'));
Sep.GetItemStr(msgViewer);
Sep.GetItemStr(msgViewerModes[vbmodeText]);
Sep.GetItemStr(msgViewerModes[vbmodeBinary]);
Sep.GetItemStr(msgViewerModes[vbmodeHex]);
Sep.GetItemStr(msgViewerModes[vbmodeUnicode]);
Sep.GetItemStr(msgViewerModes[vbmodeUHex]);
msgDefault:= ini.ReadString('sta', 'def', msgDefault);
msgNoLexer:= ini.ReadString('ui', 'nlex', msgNoLexer); msgNoLexer:= ini.ReadString('ui', 'nlex', msgNoLexer);
UpdateMenuLexers;
msgFileClearList:= ini.ReadString('ui', 'clr', msgFileClearList); msgFileClearList:= ini.ReadString('ui', 'clr', msgFileClearList);
UpdateMenuRecent(nil, ''); UpdateMenuRecent(nil, '');
DoLocString(msgFinderHintRegex, ini, 'ui', 'fnd_re'); DoLocString(msgFinderHintRegex, ini, 'ui', 'fnd_re');
DoLocString(msgFinderHintCase, ini, 'ui', 'fnd_case'); DoLocString(msgFinderHintCase, ini, 'ui', 'fnd_case');
DoLocString(msgFinderHintWords, ini, 'ui', 'fnd_word'); DoLocString(msgFinderHintWords, ini, 'ui', 'fnd_word');
DoLocString(msgFinderHintBack, ini, 'ui', 'fnd_back'); DoLocString(msgFinderHintBack, ini, 'ui', 'fnd_back');
DoLocString(msgFinderHintWrapped, ini, 'ui', 'fnd_wrap'); DoLocString(msgFinderHintWrapped, ini, 'ui', 'fnd_wrap');
DoLocString(msgFinderHintInSel, ini, 'ui', 'fnd_sel'); DoLocString(msgFinderHintInSel, ini, 'ui', 'fnd_sel');
DoLocString(msgFinderHintFromCaret, ini, 'ui', 'fnd_crt'); DoLocString(msgFinderHintFromCaret, ini, 'ui', 'fnd_crt');
skipping to change at line 447 skipping to change at line 447
DoLocString(msgButtonNo, ini, 'ui', 'b_n'); DoLocString(msgButtonNo, ini, 'ui', 'b_n');
DoLocString(msgButtonNoAll, ini, 'ui', 'b_na'); DoLocString(msgButtonNoAll, ini, 'ui', 'b_na');
DoLocString(msgButtonAbort, ini, 'ui', 'b_ab'); DoLocString(msgButtonAbort, ini, 'ui', 'b_ab');
DoLocString(msgButtonRetry, ini, 'ui', 'b_re'); DoLocString(msgButtonRetry, ini, 'ui', 'b_re');
DoLocString(msgButtonIgnore, ini, 'ui', 'b_ig'); DoLocString(msgButtonIgnore, ini, 'ui', 'b_ig');
DoLocString(cHtmlAutocompleteTag, ini, 'ui', 'html_tag'); DoLocString(cHtmlAutocompleteTag, ini, 'ui', 'html_tag');
DoLocString(cHtmlAutocompleteAttrib, ini, 'ui', 'html_atr'); DoLocString(cHtmlAutocompleteAttrib, ini, 'ui', 'html_atr');
DoLocString(cHtmlAutocompleteValue, ini, 'ui', 'html_val'); DoLocString(cHtmlAutocompleteValue, ini, 'ui', 'html_val');
DoLocMenuitem(mnuTextUndo, msgEditUndo); DoLocMenuitem(mnuTextUndo, cStrMenuitemUndo);
DoLocMenuitem(mnuTextRedo, msgEditRedo); DoLocMenuitem(mnuTextRedo, cStrMenuitemRedo);
DoLocMenuitem(mnuTextCut, msgEditCut); DoLocMenuitem(mnuTextCut, cStrMenuitemCut);
DoLocMenuitem(mnuTextCopy, msgEditCopy); DoLocMenuitem(mnuTextCopy, cStrMenuitemCopy);
DoLocMenuitem(mnuTextPaste, msgEditPaste); DoLocMenuitem(mnuTextPaste, cStrMenuitemPaste);
DoLocMenuitem(mnuTextDelete, msgEditDelete); DoLocMenuitem(mnuTextDelete, cStrMenuitemDelete);
DoLocMenuitem(mnuTextSel, msgEditSelectAll); DoLocMenuitem(mnuTextSel, cStrMenuitemSelectAll);
DoLocMenuitem(ini, mnuTextGotoDef, 'ct', 'godef'); DoLocMenuitem(ini, mnuTextGotoDef, 'ct', 'godef');
DoLocMenuitem(ini, mnuTextOpenUrl, 'ct', 'url'); DoLocMenuitem(ini, mnuTextOpenUrl, 'ct', 'url');
DoLocMenuitem(ini, fmConsole.mnuTextClear, 'ct', 'clr'); DoLocString(msgConsoleClear, ini, 'ct', 'clr');
DoLocMenuitem(ini, fmConsole.mnuTextNav, 'ct', 'nav'); DoLocString(msgConsoleNavigate, ini, 'ct', 'nav');
DoLocMenuitem(ini, fmConsole.mnuTextWrap, 'ct', 'wr'); DoLocString(msgConsoleToggleWrap, ini, 'ct', 'wr');
with fmConsole.ed do
begin
MenuitemTextCut.Caption:= msgEditCut;
MenuitemTextCopy.Caption:= msgEditCopy;
MenuitemTextPaste.Caption:= msgEditPaste;
MenuitemTextDelete.Caption:= msgEditDelete;
MenuitemTextSelAll.Caption:= msgEditSelectAll;
MenuitemTextUndo.Caption:= msgEditUndo;
MenuitemTextRedo.Caption:= msgEditRedo;
end;
with fmConsole.memo do
begin
MenuitemTextCut.Caption:= msgEditCut;
MenuitemTextCopy.Caption:= msgEditCopy;
MenuitemTextPaste.Caption:= msgEditPaste;
MenuitemTextDelete.Caption:= msgEditDelete;
MenuitemTextSelAll.Caption:= msgEditSelectAll;
MenuitemTextUndo.Caption:= msgEditUndo;
MenuitemTextRedo.Caption:= msgEditRedo;
end;
DoLocMenuitem(ini, mnuTabCloseThis, 'ct', 'c_tab'); DoLocMenuitem(ini, mnuTabCloseThis, 'ct', 'c_tab');
DoLocMenuitem(ini, mnuTabCloseSub, 'ct', 'c_'); DoLocMenuitem(ini, mnuTabCloseSub, 'ct', 'c_');
DoLocMenuitem(ini, mnuTabCloseOtherSame, 'ct', 'c_oth_s'); DoLocMenuitem(ini, mnuTabCloseOtherSame, 'ct', 'c_oth_s');
DoLocMenuitem(ini, mnuTabCloseOtherAll, 'ct', 'c_oth_a'); DoLocMenuitem(ini, mnuTabCloseOtherAll, 'ct', 'c_oth_a');
DoLocMenuitem(ini, mnuTabCloseAllSame, 'ct', 'c_all_s'); DoLocMenuitem(ini, mnuTabCloseAllSame, 'ct', 'c_all_s');
DoLocMenuitem(ini, mnuTabCloseAllAll, 'ct', 'c_all_a'); DoLocMenuitem(ini, mnuTabCloseAllAll, 'ct', 'c_all_a');
DoLocMenuitem(ini, mnuTabCloseLeft, 'ct', 'c_lt_s'); DoLocMenuitem(ini, mnuTabCloseLeft, 'ct', 'c_lt_s');
DoLocMenuitem(ini, mnuTabCloseRight, 'ct', 'c_rt_s'); DoLocMenuitem(ini, mnuTabCloseRight, 'ct', 'c_rt_s');
skipping to change at line 502 skipping to change at line 481
DoLocMenuitem(ini, mnuTabSaveAs, 'ct', 'sv_as'); DoLocMenuitem(ini, mnuTabSaveAs, 'ct', 'sv_as');
DoLocMenuitem(ini, mnuTabColor, 'ct', 'col_t'); DoLocMenuitem(ini, mnuTabColor, 'ct', 'col_t');
DoLocMenuitem(ini, mnuTabMoveSub, 'ct', 'mov_'); DoLocMenuitem(ini, mnuTabMoveSub, 'ct', 'mov_');
DoLocMenuitem(ini, mnuTabMoveF1, 'ct', 'mov_f1'); DoLocMenuitem(ini, mnuTabMoveF1, 'ct', 'mov_f1');
DoLocMenuitem(ini, mnuTabMoveF2, 'ct', 'mov_f2'); DoLocMenuitem(ini, mnuTabMoveF2, 'ct', 'mov_f2');
DoLocMenuitem(ini, mnuTabMoveF3, 'ct', 'mov_f3'); DoLocMenuitem(ini, mnuTabMoveF3, 'ct', 'mov_f3');
DoLocMenuitem(ini, mnuTabMoveNext, 'ct', 'mov_n'); DoLocMenuitem(ini, mnuTabMoveNext, 'ct', 'mov_n');
DoLocMenuitem(ini, mnuTabMovePrev, 'ct', 'mov_p'); DoLocMenuitem(ini, mnuTabMovePrev, 'ct', 'mov_p');
DoLocMenuitem(ini, mnuTreeFoldAll, 'ct', 'fld_a'); DoLocString(cStrMenuitemFoldAll, ini, 'ct', 'fld_a');
DoLocMenuitem(ini, mnuTreeUnfoldAll, 'ct', 'fld_un'); DoLocString(cStrMenuitemUnfoldAll, ini, 'ct', 'fld_un');
DoLocMenuitem(ini, mnuTreeFoldLevel, 'ct', 'fld_lv'); DoLocString(cStrMenuitemFoldLevel, ini, 'ct', 'fld_lv');
DoLocMenuitem(ini, mnuTreeSorted, 'ct', 'tr_sr'); DoLocString(msgTreeSorted, ini, 'ct', 'tr_sr');
cStrMenuitemFoldAll:= mnuTreeFoldAll.Caption; DoLocString(msgTabsizeUseSpaces, ini, 'ct', 'ussp');
cStrMenuitemUnfoldAll:= mnuTreeUnfoldAll.Caption; DoLocString(msgTabsizeConvSpaces, ini, 'ct', 'cnv_t');
cStrMenuitemFoldLevel:= mnuTreeFoldLevel.Caption; DoLocString(msgTabsizeConvTabs, ini, 'ct', 'cnv_s');
DoLocMenuitem(ini, mnuTabsizeSpace, 'ct', 'ussp');
DoLocMenuitem(ini, mnuTabsizeConvSpaces, 'ct', 'cnv_t');
DoLocMenuitem(ini, mnuTabsizeConvTabs, 'ct', 'cnv_s');
ButtonCancel.Caption:= msgButtonCancel; ButtonCancel.Caption:= msgButtonCancel;
mnuContextOutputCopy.Caption:= msgEditCopy;
mnuContextOutputClear.Caption:= msgFileClearList;
mnuContextValidateCopy.Caption:= msgEditCopy;
mnuContextValidateClear.Caption:= msgFileClearList;
//----------------strings //----------------strings
DoLocString(msgCannotOpenFile , ini, 'se', 'OpenFile'); DoLocString(msgCannotOpenFile , ini, 'se', 'OpenFile');
DoLocString(msgCannotFindFile , ini, 'se', 'FindFile'); DoLocString(msgCannotFindFile , ini, 'se', 'FindFile');
DoLocString(msgCannotFindLexerInLibrary , ini, 'se', 'FindLexerInLibrar y'); DoLocString(msgCannotFindLexerInLibrary , ini, 'se', 'FindLexerInLibrar y');
DoLocString(msgCannotFindLexerFile , ini, 'se', 'FindLexerFile'); DoLocString(msgCannotFindLexerFile , ini, 'se', 'FindLexerFile');
DoLocString(msgCannotFindSublexerInLibrary , ini, 'se', 'FindSublexerInLib rary'); DoLocString(msgCannotFindSublexerInLibrary , ini, 'se', 'FindSublexerInLib rary');
DoLocString(msgCannotCreateDir , ini, 'se', 'CreateDir'); DoLocString(msgCannotCreateDir , ini, 'se', 'CreateDir');
DoLocString(msgCannotSaveFile , ini, 'se', 'SaveFile'); DoLocString(msgCannotSaveFile , ini, 'se', 'SaveFile');
DoLocString(msgCannotSaveFileWithEnc , ini, 'se', 'SaveWithEnc'); DoLocString(msgCannotSaveFileWithEnc , ini, 'se', 'SaveWithEnc');
DoLocString(msgCannotSaveUserConf , ini, 'se', 'SaveUserConf'); DoLocString(msgCannotSaveUserConf , ini, 'se', 'SaveUserConf');
skipping to change at line 615 skipping to change at line 585
DoLocString(msgConfirmRemoveStylesFromBackup , ini, 'sc', 'RemoveStylesFromB ackup'); DoLocString(msgConfirmRemoveStylesFromBackup , ini, 'sc', 'RemoveStylesFromB ackup');
DoLocString(msgConfirmHotkeyBusy , ini, 'sc', 'HotkeyBusy'); DoLocString(msgConfirmHotkeyBusy , ini, 'sc', 'HotkeyBusy');
DoLocString(msgConfirmReplaceGlobal , ini, 'sc', 'ReplaceGlobal'); DoLocString(msgConfirmReplaceGlobal , ini, 'sc', 'ReplaceGlobal');
finally finally
FreeAndNil(ini); FreeAndNil(ini);
end; end;
if Assigned(fmFind) then if Assigned(fmFind) then
fmFind.Localize; fmFind.Localize;
if Assigned(fmGoto) then
fmGoto.Localize;
if Assigned(fmCharmaps) then if Assigned(fmCharmaps) then
fmCharmaps.Localize; fmCharmaps.Localize;
//hack to localize already opened tab title //hack to localize already opened tab title
if FrameCount>0 then if FrameCount>0 then
with Frames[0] do with Frames[0] do
if TabCaption='Untitled1' then if TabCaption='Untitled1' then
TabCaption:= msgUntitledTab+'1'; TabCaption:= msgUntitledTab+'1';
end; end;
 End of changes. 21 change blocks. 
108 lines changed or deleted 77 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)