- Timestamp:
- Mar 19, 2013, 10:09:14 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FioInfo.lpi
r17 r18 49 49 <Linking> 50 50 <Debugging> 51 <UseHeaptrc Value="True"/> 51 52 <UseExternalDbgSyms Value="True"/> 52 53 </Debugging> -
trunk/FioInfo.lpr
r17 r18 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, laz_synapse, UFioAPI, Common, TemplateGenerics, SysUtils, heaptrc,10 Forms, laz_synapse, UFioAPI, Common, TemplateGenerics, SysUtils, 11 11 UFormSettings, UFormMain, UFormAbout, UFormAccounts, UCore, CoolTranslator; 12 12 -
trunk/Forms/UFormSettings.lfm
r14 r18 1 1 object FormSettings: TFormSettings 2 2 Left = 420 3 Height = 2813 Height = 393 4 4 Top = 127 5 5 Width = 558 6 6 Caption = 'Settings' 7 ClientHeight = 2817 ClientHeight = 393 8 8 ClientWidth = 558 9 9 OnCreate = FormCreate … … 13 13 Left = 384 14 14 Height = 25 15 Top = 25015 Top = 362 16 16 Width = 75 17 17 Anchors = [akRight, akBottom] … … 23 23 Left = 472 24 24 Height = 25 25 Top = 24925 Top = 360 26 26 Width = 75 27 27 Anchors = [akRight] … … 31 31 TabOrder = 1 32 32 end 33 object ComboBox 1: TComboBox33 object ComboBoxFormat: TComboBox 34 34 Left = 11 35 35 Height = 29 … … 104 104 WordWrap = True 105 105 end 106 object ComboBoxLang: TComboBox 107 Left = 11 108 Height = 29 109 Top = 248 110 Width = 208 111 ItemHeight = 0 112 Style = csDropDownList 113 TabOrder = 6 114 end 115 object Label3: TLabel 116 Left = 11 117 Height = 17 118 Top = 224 119 Width = 126 120 Caption = 'Interface language:' 121 ParentColor = False 122 end 106 123 end -
trunk/Forms/UFormSettings.lrt
r14 r18 7 7 TFORMSETTINGS.LABELEDEDITFILENAMEFORMAT.EDITLABEL.CAPTION=Output file name format: 8 8 TFORMSETTINGS.LABEL2.CAPTION=%f - data format, %d - date, %t - time, %a - account number, %n - account name, %% - percent symbol 9 TFORMSETTINGS.LABEL3.CAPTION=Interface language: -
trunk/Forms/UFormSettings.pas
r14 r18 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 StdCtrls ;9 StdCtrls, ULanguages; 10 10 11 11 type … … 17 17 ButtonCancel: TButton; 18 18 ButtonOk: TButton; 19 ComboBox1: TComboBox; 19 ComboBoxFormat: TComboBox; 20 ComboBoxLang: TComboBox; 20 21 Label1: TLabel; 21 22 Label2: TLabel; 23 Label3: TLabel; 22 24 LabeledEditFolder: TLabeledEdit; 23 25 LabeledEditFileNameFormat: TLabeledEdit; … … 50 52 I: TFioDataFormat; 51 53 begin 52 while ComboBox 1.Items.Count < Length(DataFormatText) do53 ComboBox 1.Items.Add('');54 while ComboBox 1.Items.Count > Length(DataFormatText) do55 ComboBox 1.Items.Delete(ComboBox1.Items.Count - 1);54 while ComboBoxFormat.Items.Count < Length(DataFormatText) do 55 ComboBoxFormat.Items.Add(''); 56 while ComboBoxFormat.Items.Count > Length(DataFormatText) do 57 ComboBoxFormat.Items.Delete(ComboBoxFormat.Items.Count - 1); 56 58 for I := Low(DataFormatText) to High(DataFormatText) do 57 ComboBox 1.Items.Strings[Integer(I)] := DataFormatText[I];59 ComboBoxFormat.Items.Strings[Integer(I)] := DataFormatText[I]; 58 60 end; 59 61 … … 68 70 procedure TFormSettings.Load; 69 71 begin 72 Core.CoolTranslator1.LanguageListToStrings(ComboBoxLang.Items); 73 ComboBoxLang.ItemIndex := ComboBoxLang.Items.IndexOfObject(Core.CoolTranslator1.Language); 70 74 LabeledEditFileNameFormat.Text := Core.OutputFormat; 71 ComboBox 1.ItemIndex := Integer(Core.DataFormat);75 ComboBoxFormat.ItemIndex := Integer(Core.DataFormat); 72 76 LabeledEditFolder.Text := Core.TargetDirectory; 73 77 end; … … 75 79 procedure TFormSettings.Save; 76 80 begin 81 if ComboBoxLang.Items.Objects[ComboBoxLang.ItemIndex] <> Core.CoolTranslator1.Language then begin 82 Core.CoolTranslator1.Language := TLanguage(ComboBoxLang.Items.Objects[ComboBoxLang.ItemIndex]); 83 84 end; 77 85 Core.OutputFormat := LabeledEditFileNameFormat.Text; 78 Core.DataFormat := TFioDataFormat(ComboBox 1.ItemIndex);86 Core.DataFormat := TFioDataFormat(ComboBoxFormat.ItemIndex); 79 87 Core.TargetDirectory := LabeledEditFolder.Text; 80 88 end; -
trunk/Languages/FioInfo.cs.po
r15 r18 120 120 #: tformmain.buttongetstate.caption 121 121 msgid "Get" 122 msgstr " "122 msgstr "Zjistit" 123 123 124 124 #: tformmain.buttoninterval.caption … … 239 239 msgstr "%f - formát dat, %d - datum, %t - Äas, %a - ÄÃslo úÄtu, %n - jméno úÄtu, %% - znak procent" 240 240 241 #: tformsettings.label3.caption 242 msgid "Interface language:" 243 msgstr "Jazyk rozhranÃ:" 244 241 245 #: tformsettings.labelededitfilenameformat.editlabel.caption 242 246 msgid "Output file name format:" -
trunk/Languages/FioInfo.po
r15 r18 229 229 msgstr "" 230 230 231 #: tformsettings.label3.caption 232 msgid "Interface language:" 233 msgstr "" 234 231 235 #: tformsettings.labelededitfilenameformat.editlabel.caption 232 236 msgid "Output file name format:"
Note:
See TracChangeset
for help on using the changeset viewer.