Changeset 12
- Timestamp:
- Apr 28, 2016, 5:35:05 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Languages/AcronymDecoder.cs.po
r10 r12 40 40 #: tformimport.buttonimport.caption 41 41 msgid "Process" 42 msgstr " "42 msgstr "Zpracovat" 43 43 44 44 #: tformimport.buttonloadfromfile.caption 45 45 msgid "Load from file" 46 msgstr " "46 msgstr "Načíst ze souboru" 47 47 48 48 #: tformimport.caption … … 50 50 msgctxt "tformimport.caption" 51 51 msgid "Import" 52 msgstr "Imp rotovat"52 msgstr "Importovat" 53 53 54 54 #: tformimport.comboboxdataformat.text 55 55 msgid "CSV" 56 msgstr " "56 msgstr "CSV" 57 57 58 58 #: tformimport.label1.caption 59 59 msgid "Data format:" 60 msgstr " "60 msgstr "Formát dat:" 61 61 62 62 #: tformmain.aacronymadd.caption … … 161 161 msgstr "Nastavení" 162 162 163 #: tformsettings.checkboxalwaysontop.caption 164 msgid "Always on top" 165 msgstr "Okno vždy navrchu" 166 163 167 #: tformsettings.label1.caption 164 168 msgid "Language:" … … 167 171 #: uformimport.simportednewacronyms 168 172 msgid "Imported %d new acronyms." 169 msgstr " "173 msgstr "Importováno %d nových zkratek." 170 174 171 175 #: uformmain.sappexit -
trunk/Languages/AcronymDecoder.po
r10 r12 150 150 msgstr "" 151 151 152 #: tformsettings.checkboxalwaysontop.caption 153 msgid "Always on top" 154 msgstr "" 155 152 156 #: tformsettings.label1.caption 153 157 msgid "Language:" -
trunk/Packages/CoolTranslator
-
Property svn:ignore
set to
lib
-
Property svn:ignore
set to
-
trunk/UFormAcronym.lfm
r10 r12 1 1 object FormAcronym: TFormAcronym 2 Left = 55 42 Left = 555 3 3 Height = 296 4 Top = 4 094 Top = 411 5 5 Width = 420 6 6 Caption = 'Acronym' … … 13 13 object Label1: TLabel 14 14 Left = 8 15 Height = 2 415 Height = 20 16 16 Top = 16 17 Width = 6017 Width = 43 18 18 Caption = 'Name:' 19 19 ParentColor = False … … 21 21 object EditAcronym: TEdit 22 22 Left = 136 23 Height = 3423 Height = 28 24 24 Top = 15 25 25 Width = 272 … … 30 30 object Label2: TLabel 31 31 Left = 8 32 Height = 2 432 Height = 20 33 33 Top = 49 34 Width = 8334 Width = 61 35 35 Caption = 'Meaning:' 36 36 ParentColor = False … … 38 38 object EditMeaning: TEdit 39 39 Left = 136 40 Height = 3440 Height = 28 41 41 Top = 49 42 42 Width = 272 … … 69 69 object Label3: TLabel 70 70 Left = 8 71 Height = 2 471 Height = 20 72 72 Top = 88 73 Width = 10973 Width = 79 74 74 Caption = 'Description:' 75 75 ParentColor = False -
trunk/UFormImport.lfm
r10 r12 1 1 object FormImport: TFormImport 2 Left = 57 32 Left = 575 3 3 Height = 507 4 Top = 4114 Top = 256 5 5 Width = 652 6 6 Caption = 'Import' … … 28 28 end 29 29 object ComboBoxDataFormat: TComboBox 30 Left = 2 5631 Height = 3430 Left = 264 31 Height = 28 32 32 Top = 5 33 33 Width = 140 34 ItemHeight = 034 ItemHeight = 20 35 35 ItemIndex = 0 36 36 Items.Strings = ( … … 44 44 object Label1: TLabel 45 45 Left = 153 46 Height = 2 446 Height = 20 47 47 Top = 9 48 Width = 11648 Width = 84 49 49 Caption = 'Data format:' 50 50 ParentColor = False -
trunk/UFormMain.lfm
r10 r12 1 1 object FormMain: TFormMain 2 Left = 76 72 Left = 769 3 3 Height = 446 4 Top = 4454 Top = 342 5 5 Width = 631 6 6 Caption = 'Acronym Decoder' 7 ClientHeight = 4 147 ClientHeight = 421 8 8 ClientWidth = 631 9 9 Menu = MainMenu1 … … 16 16 object ListViewAcronyms: TListView 17 17 Left = 8 18 Height = 3 6518 Height = 372 19 19 Top = 40 20 20 Width = 613 … … 46 46 object EditSearch: TEdit 47 47 Left = 8 48 Height = 3448 Height = 28 49 49 Top = 8 50 50 Width = 611 -
trunk/UFormMain.pas
r10 r12 87 87 procedure TrayIcon1Click(Sender: TObject); 88 88 private 89 FAlwaysOnTop: Boolean; 90 procedure SetAlwaysOnTop(AValue: Boolean); 91 private 89 92 FoundAcronyms: TAcronymMeanings; 90 93 RegistryContext: TRegistryContext; … … 96 99 public 97 100 AcronymDb: TAcronymDb; 101 property AlwaysOnTop: Boolean read FAlwaysOnTop write SetAlwaysOnTop; 98 102 end; 99 103 … … 300 304 procedure TFormMain.ASettingsExecute(Sender: TObject); 301 305 begin 302 FormSettings.ShowModal; 306 FormSettings.Load; 307 if FormSettings.ShowModal = mrOk then 308 FormSettings.Save; 303 309 end; 304 310 … … 368 374 end; 369 375 376 procedure TFormMain.SetAlwaysOnTop(AValue: Boolean); 377 begin 378 if FAlwaysOnTop = AValue then Exit; 379 FAlwaysOnTop := AValue; 380 if FAlwaysOnTop then FormStyle := fsSystemStayOnTop 381 else FormStyle := fsNormal; 382 end; 383 370 384 procedure TFormMain.OpenRecentClick(Sender: TObject); 371 385 begin … … 422 436 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(ReadStringWithDefault('LanguageCode', '')) 423 437 else CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(''); 438 AlwaysOnTop := ReadBoolWithDefault('AlwaysOnTop', False); 424 439 finally 425 440 Free; … … 438 453 WriteString('LanguageCode', CoolTranslator1.Language.Code) 439 454 else DeleteValue('LanguageCode'); 455 WriteBool('AlwaysOnTop', AlwaysOnTop); 440 456 finally 441 457 Free; -
trunk/UFormSettings.lfm
r10 r12 11 11 object ComboBoxLanguage: TComboBox 12 12 Left = 184 13 Height = 3813 Height = 28 14 14 Top = 24 15 15 Width = 236 16 ItemHeight = 016 ItemHeight = 20 17 17 Style = csDropDownList 18 18 TabOrder = 0 … … 20 20 object Label1: TLabel 21 21 Left = 16 22 Height = 2 422 Height = 20 23 23 Top = 24 24 Width = 9224 Width = 68 25 25 Caption = 'Language:' 26 26 ParentColor = False … … 47 47 TabOrder = 2 48 48 end 49 object CheckBoxAlwaysOnTop: TCheckBox 50 Left = 16 51 Height = 24 52 Top = 64 53 Width = 118 54 Caption = 'Always on top' 55 TabOrder = 3 56 end 49 57 end -
trunk/UFormSettings.lrt
r10 r12 3 3 TFORMSETTINGS.BUTTONOK.CAPTION=Ok 4 4 TFORMSETTINGS.BUTTONCANCEL.CAPTION=Cancel 5 TFORMSETTINGS.CHECKBOXALWAYSONTOP.CAPTION=Always on top -
trunk/UFormSettings.pas
r10 r12 16 16 ButtonOk: TButton; 17 17 ButtonCancel: TButton; 18 CheckBoxAlwaysOnTop: TCheckBox; 18 19 ComboBoxLanguage: TComboBox; 19 20 Label1: TLabel; … … 54 55 procedure TFormSettings.Load; 55 56 begin 57 CheckBoxAlwaysOnTop.Checked := FormMain.AlwaysOnTop; 56 58 end; 57 59 58 60 procedure TFormSettings.Save; 59 61 begin 60 62 FormMain.AlwaysOnTop := CheckBoxAlwaysOnTop.Checked; 61 63 end; 62 64
Note:
See TracChangeset
for help on using the changeset viewer.