瀏覽代碼

* Some delphi compatibility constants

Michaël Van Canneyt 1 年之前
父節點
當前提交
df67c18f7d
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      rtl/objpas/rtlconst.inc

+ 6 - 0
rtl/objpas/rtlconst.inc

@@ -18,6 +18,10 @@ unit RtlConsts;
 
 interface
 
+Const
+  SEmpty : string = 'Empty';  
+
+
 ResourceString
 
 { ---------------------------------------------------------------------
@@ -33,6 +37,7 @@ ResourceString
   SAllButton                    = '&All';
   SAllFilter                    = 'All files';
   SAncestorNotFound             = 'Ancestor class for "%s" not found';
+  SArgumentInvalid              = 'Invalid argument';
   SArgumentNil                  = 'Argument must not be nil';
   SAssignError                  = 'Cannot assign a %s to a %s';
   SAsyncSocketError             = 'Asynchronous socket error: %d';
@@ -168,6 +173,7 @@ ResourceString
   SInvalidImage                 = 'Invalid stream format';
   SInvalidImageList             = 'Invalid ImageList';
   SInvalidImageSize             = 'Invalid image size';
+  SInvalidKnownFilename         = 'Invalid filename - %s';
   SInvalidMask                  = '"%s" is not a valid mask at (%d)';
   SInvalidMemoSize              = 'Text larger than memo capacity';
   SInvalidMetafile              = 'Invalid Metafile';