Changeset 138
- Timestamp:
- Dec 2, 2016, 12:41:40 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r134 r138 1 1 object FormMain: TFormMain 2 Left = 6752 Left = 526 3 3 Height = 447 4 Top = 6684 Top = 394 5 5 Width = 782 6 6 Caption = 'Acronym Decoder' 7 ClientHeight = 4 177 ClientHeight = 422 8 8 ClientWidth = 782 9 9 Menu = MainMenu1 … … 14 14 OnHide = FormHide 15 15 OnShow = FormShow 16 LCLVersion = '1.6. 0.4'16 LCLVersion = '1.6.2.0' 17 17 object PanelMain: TPanel 18 18 Left = 0 19 Height = 36 119 Height = 366 20 20 Top = 56 21 21 Width = 782 22 22 Align = alClient 23 23 BevelOuter = bvNone 24 ClientHeight = 36 124 ClientHeight = 366 25 25 ClientWidth = 782 26 26 TabOrder = 1 … … 35 35 object ListViewAcronyms: TListView 36 36 Left = 8 37 Height = 3 1937 Height = 324 38 38 Top = 35 39 39 Width = 767 … … 148 148 Left = 258 149 149 Top = 2 150 Action = AFilter ExactMatch150 Action = AFilterSameLength 151 151 Style = tbsCheck 152 152 end … … 154 154 Left = 281 155 155 Top = 2 156 Action = AFilter CaseSensitive156 Action = AFilterSameLetterCase 157 157 Style = tbsCheck 158 158 end … … 168 168 ClientWidth = 782 169 169 TabOrder = 2 170 object CheckBoxExact Match: TCheckBox170 object CheckBoxExactLength: TCheckBox 171 171 Left = 8 172 Height = 2 9172 Height = 24 173 173 Top = 3 174 Width = 1 24175 Action = AFilter ExactMatch174 Width = 107 175 Action = AFilterSameLength 176 176 TabOrder = 0 177 177 end 178 178 object CheckBoxCaseSensitive: TCheckBox 179 Left = 216180 Height = 2 9179 Left = 160 180 Height = 24 181 181 Top = 3 182 Width = 13 9183 Action = AFilter CaseSensitive182 Width = 133 183 Action = AFilterSameLetterCase 184 184 TabOrder = 1 185 185 end … … 280 280 OnExecute = AExportExecute 281 281 end 282 object AFilter ExactMatch: TAction282 object AFilterSameLength: TAction 283 283 AutoCheck = True 284 Caption = ' Exact match'284 Caption = 'Same length' 285 285 ImageIndex = 18 286 OnExecute = AFilter ExactMatchExecute287 end 288 object AFilter CaseSensitive: TAction286 OnExecute = AFilterSameLengthExecute 287 end 288 object AFilterSameLetterCase: TAction 289 289 AutoCheck = True 290 Caption = ' Case sensitive'290 Caption = 'Same letter case' 291 291 ImageIndex = 17 292 OnExecute = AFilter CaseSensitiveExecute292 OnExecute = AFilterSameLetterCaseExecute 293 293 end 294 294 end -
trunk/Forms/UFormMain.lrt
r122 r138 4 4 TFORMMAIN.LISTVIEWACRONYMS.COLUMNS[2].CAPTION=Categories 5 5 TFORMMAIN.TOOLBAR1.CAPTION=ToolBar1 6 TFORMMAIN.TOOLBUTTON8.CAPTION=ToolButton87 TFORMMAIN.TOOLBUTTON10.CAPTION=ToolButton108 6 TFORMMAIN.AEXIT.CAPTION=Exit 9 7 TFORMMAIN.ASHOW.CAPTION=Show … … 23 21 TFORMMAIN.APROCESSIMPORTS.CAPTION=Process imports 24 22 TFORMMAIN.AEXPORT.CAPTION=Export 25 TFORMMAIN.AFILTER EXACTMATCH.CAPTION=Exact match26 TFORMMAIN.AFILTER CASESENSITIVE.CAPTION=Case sensitive23 TFORMMAIN.AFILTERSAMELENGTH.CAPTION=Same length 24 TFORMMAIN.AFILTERSAMELETTERCASE.CAPTION=Same letter case 27 25 TFORMMAIN.MENUITEM8.CAPTION=File 28 26 TFORMMAIN.MENUITEMOPENRECENT.CAPTION=Open recent -
trunk/Forms/UFormMain.pas
r124 r138 16 16 17 17 TFormMain = class(TForm) 18 AFilter CaseSensitive: TAction;19 AFilter ExactMatch: TAction;18 AFilterSameLetterCase: TAction; 19 AFilterSameLength: TAction; 20 20 AHide: TAction; 21 21 AExport: TAction; … … 36 36 AExit: TAction; 37 37 ActionList1: TActionList; 38 CheckBoxExact Match: TCheckBox;38 CheckBoxExactLength: TCheckBox; 39 39 CheckBoxCaseSensitive: TCheckBox; 40 40 LastOpenedList1: TLastOpenedList; … … 95 95 procedure AFileSaveAsExecute(Sender: TObject); 96 96 procedure AFileSaveExecute(Sender: TObject); 97 procedure AFilter CaseSensitiveExecute(Sender: TObject);98 procedure AFilter ExactMatchExecute(Sender: TObject);97 procedure AFilterSameLetterCaseExecute(Sender: TObject); 98 procedure AFilterSameLengthExecute(Sender: TObject); 99 99 procedure AHideExecute(Sender: TObject); 100 100 procedure AImportExecute(Sender: TObject); … … 286 286 end; 287 287 288 procedure TFormMain.AFilter CaseSensitiveExecute(Sender: TObject);288 procedure TFormMain.AFilterSameLetterCaseExecute(Sender: TObject); 289 289 begin 290 290 UpdateAcronymsList; 291 291 end; 292 292 293 procedure TFormMain.AFilter ExactMatchExecute(Sender: TObject);293 procedure TFormMain.AFilterSameLengthExecute(Sender: TObject); 294 294 begin 295 295 UpdateAcronymsList; … … 509 509 function TFormMain.FilterCell(Text1, Text2: string): Boolean; 510 510 begin 511 if not AFilter CaseSensitive.Checked then begin511 if not AFilterSameLetterCase.Checked then begin 512 512 Text1 := UTF8LowerCase(Text1); 513 513 Text2 := UTF8LowerCase(Text2); 514 514 end; 515 if AFilter ExactMatch.Checked then515 if AFilterSameLength.Checked then 516 516 Result := Text1 = Text2 517 517 else Result := Pos(Text1, Text2) > 0; … … 650 650 Core.AlwaysOnTop := ReadBoolWithDefault('AlwaysOnTop', False); 651 651 Core.StartMinimizedToTray := ReadBoolWithDefault('StartMinimizedToTray', False); 652 AFilter ExactMatch.Checked := ReadBoolWithDefault('ExactMatch', False);653 AFilter CaseSensitive.Checked := ReadBoolWithDefault('CaseSensitive', False);652 AFilterSameLength.Checked := ReadBoolWithDefault('SameLength', False); 653 AFilterSameLetterCase.Checked := ReadBoolWithDefault('SameLetterCase', False); 654 654 MenuItemToolbar.Checked := ReadBoolWithDefault('ToolBarVisible', True); 655 655 MenuItemParam.Checked := ReadBoolWithDefault('FilterParamVisible', True); … … 682 682 WriteBool('AlwaysOnTop', Core.AlwaysOnTop); 683 683 WriteBool('StartMinimizedToTray', Core.StartMinimizedToTray); 684 WriteBool(' ExactMatch', AFilterExactMatch.Checked);685 WriteBool(' CaseSensitive', AFilterCaseSensitive.Checked);684 WriteBool('SameLength', AFilterSameLength.Checked); 685 WriteBool('SameLetterCase', AFilterSameLetterCase.Checked); 686 686 WriteBool('ToolBarVisible', MenuItemToolbar.Checked); 687 687 WriteBool('FilterParamVisible', MenuItemParam.Checked); -
trunk/Install/win/AcronymDecoder.iss
r137 r138 10 10 #define MyAppExeName "AcronymDecoder.exe" 11 11 #define MyAppDebugName "AcronymDecoder.dbg" 12 #define MyAppSubDir ".. "12 #define MyAppSubDir "../.." 13 13 14 14 [Setup] -
trunk/Languages/AcronymDecoder.cs.po
r122 r138 10 10 "Content-Transfer-Encoding: 8bit\n" 11 11 "Language: cs\n" 12 "X-Generator: Poedit 1.8. 9\n"12 "X-Generator: Poedit 1.8.8\n" 13 13 14 14 #: tformabout.buttonclose.caption … … 527 527 msgstr "Uložit jako..." 528 528 529 #: tformmain.afiltercasesensitive.caption 530 msgctxt "tformmain.afiltercasesensitive.caption" 531 msgid "Case sensitive" 532 msgstr "Velikosti písmen" 533 534 #: tformmain.afilterexactmatch.caption 535 msgctxt "tformmain.afilterexactmatch.caption" 536 msgid "Exact match" 537 msgstr "Odpovídá přesně" 529 #: tformmain.afiltersamelength.caption 530 msgid "Same length" 531 msgstr "Stejná délka" 532 533 #: tformmain.afiltersamelettercase.caption 534 msgid "Same letter case" 535 msgstr "Stejná velikost písmen" 538 536 539 537 #: tformmain.ahide.caption … … 647 645 msgstr "ToolBar1" 648 646 649 #: tformmain.toolbutton10.caption650 msgid "ToolButton10"651 msgstr "ToolButton10"652 653 #: tformmain.toolbutton8.caption654 msgid "ToolButton8"655 msgstr "ToolButton8"656 657 647 #: tformsettings.buttoncancel.caption 658 648 msgctxt "tformsettings.buttoncancel.caption" -
trunk/Languages/AcronymDecoder.po
r122 r138 517 517 msgstr "" 518 518 519 #: tformmain.afiltercasesensitive.caption 520 msgctxt "TFORMMAIN.AFILTERCASESENSITIVE.CAPTION" 521 msgid "Case sensitive" 522 msgstr "" 523 524 #: tformmain.afilterexactmatch.caption 525 msgctxt "TFORMMAIN.AFILTEREXACTMATCH.CAPTION" 526 msgid "Exact match" 519 #: tformmain.afiltersamelength.caption 520 msgid "Same length" 521 msgstr "" 522 523 #: tformmain.afiltersamelettercase.caption 524 msgid "Same letter case" 527 525 msgstr "" 528 526 … … 637 635 msgstr "" 638 636 639 #: tformmain.toolbutton10.caption640 msgid "ToolButton10"641 msgstr ""642 643 #: tformmain.toolbutton8.caption644 msgid "ToolButton8"645 msgstr ""646 647 637 #: tformsettings.buttoncancel.caption 648 638 msgctxt "tformsettings.buttoncancel.caption"
Note:
See TracChangeset
for help on using the changeset viewer.