[JEDI.NET-commits] main/run Jedi.Collections.InlineEditable.pas,1.2,1.3
Status: Pre-Alpha
Brought to you by:
jedi_mbe
From: Marcel B. <jed...@us...> - 2005-01-23 11:06:02
|
Update of /cvsroot/jedidotnet/main/run In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9769/main/run Modified Files: Jedi.Collections.InlineEditable.pas Log Message: Used new resource static classes. Index: Jedi.Collections.InlineEditable.pas =================================================================== RCS file: /cvsroot/jedidotnet/main/run/Jedi.Collections.InlineEditable.pas,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Jedi.Collections.InlineEditable.pas 22 Jan 2005 15:05:05 -0000 1.2 --- Jedi.Collections.InlineEditable.pas 23 Jan 2005 11:05:51 -0000 1.3 *************** *** 159,163 **** uses System.ComponentModel.Design, ! System.Resources; {$ENDREGION} --- 159,163 ---- uses System.ComponentModel.Design, ! Jedi.System.FrameworkResources; {$ENDREGION} *************** *** 992,1007 **** {$REGION 'InlineCollectionUtils'} class function InlineCollectionUtils.CollectionConverterText: string; - var - rm: ResourceManager; begin if FCollectionValue = System.String.Empty then ! begin ! rm := ResourceManager.Create('System', TypeOf(Uri).Module.Assembly); ! try ! FCollectionValue := rm.GetString('CollectionConverterText'); ! finally ! rm.Free; ! end; ! end; Result := FCollectionValue; end; --- 992,998 ---- {$REGION 'InlineCollectionUtils'} class function InlineCollectionUtils.CollectionConverterText: string; begin if FCollectionValue = System.String.Empty then ! FCollectionValue := SystemResources.GetResourceString('CollectionConverterText'); Result := FCollectionValue; end; |