瀏覽代碼

* Add some constants for Delphi compatibility

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

+ 5 - 0
rtl/objpas/rtlconst.inc

@@ -567,6 +567,11 @@ ResourceString
   SMsgDlgYes = '&Yes';
   SMsgDlgYesToAll = 'Yes to a&ll';
 
+  // Constants for Delphi compatibility
+  sAttributeExists = 'Attribute ''%s'' already exists';
+  sDeviceExists = 'Device ''%s'' already exists';
+  sCannotManuallyConstructDevice = 'Manual construction of TDeviceInfo is not supported'; 
+  SArgumentOutOfRange = 'Argument out of range';
 
 implementation