Changeset 98 for trunk/Forms
- Timestamp:
- Aug 27, 2016, 8:58:18 PM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormExport.pas
r97 r98 24 24 private 25 25 ItemCount: Integer; 26 Content: string; 26 27 procedure JobExportCSV(Job: TJob); 27 28 procedure JobExportMediaWiki(Job: TJob); … … 66 67 I: Integer; 67 68 J: Integer; 68 Content: string;69 69 begin 70 70 Job.Progress.Max := Core.AcronymDb.Acronyms.Count; … … 81 81 if Job.Terminate then Break; 82 82 end; 83 Memo1.Lines.Text := Content;84 83 end; 85 84 … … 88 87 I: Integer; 89 88 J: Integer; 90 Content: string;91 89 begin 92 90 Job.Progress.Max := Core.AcronymDb.Acronyms.Count; … … 104 102 if Job.Terminate then Break; 105 103 end; 106 Memo1.Lines.Text := Content;107 104 end; 108 105 … … 112 109 J: Integer; 113 110 Line: string; 114 Content: string;115 111 begin 116 112 Job.Progress.Max := Core.AcronymDb.Acronyms.Count; … … 131 127 end; 132 128 Content := Content + '|}' + LineEnding; 133 Memo1.Lines.Text := Content;134 129 end; 135 130 … … 143 138 Core.JobProgressView1.AddJob(SExporting, JobExportMediaWikiTable); 144 139 Core.JobProgressView1.Start; 140 Memo1.Lines.Text := Content; 145 141 ShowMessage(Format(SExportedAcronyms, [ItemCount])); 146 142 end; -
trunk/Forms/UFormImport.pas
r96 r98 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 UAcronym , Types;9 UAcronym; 10 10 11 11 type -
trunk/Forms/UFormMain.pas
r97 r98 610 610 // If installed in Linux system then use installation directory for po files 611 611 if Application.ExeName = '/usr/bin/' + ExtractFileNameOnly(Application.ExeName) then 612 Co olTranslator1.POFilesFolder := '/usr/share/' + ExtractFileNameOnly(Application.ExeName) + '/languages';612 Core.CoolTranslator1.POFilesFolder := '/usr/share/' + ExtractFileNameOnly(Application.ExeName) + '/languages'; 613 613 {$ENDIF} 614 614
Note:
See TracChangeset
for help on using the changeset viewer.