Stage.Strings.pas 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. //
  2. // The graphics engine GLScene
  3. //
  4. unit Stage.Strings;
  5. (*
  6. String constants that are used for internationalization
  7. To build your project with a single language's translations in the executable
  8. itself, define one of the next languages
  9. Language $DEFINE 2-character locale id
  10. ------------------- ---------- ---------------------
  11. English LANG_EN en
  12. French LANG_FR fr
  13. German LANG_DE de
  14. Italian LANG_IT it
  15. Japanese LANG_JP jp
  16. Russian LANG_RU ru
  17. Spanish LANG_ES es
  18. *)
  19. interface
  20. {$DEFINE LANG_EN}
  21. var
  22. Language: Integer;
  23. resourcestring
  24. // General
  25. strDot = '.';
  26. strError = 'Error!';
  27. strErrorEx = 'Error: ';
  28. strErrorLIB = 'ErrorLIB';
  29. strInvalidType = 'Invalid data type';
  30. strNothing = 'Nothing';
  31. strStateCashMissing = 'States cash missing: ';
  32. strUnknownArchiveVersion = 'Unknown archive version: ';
  33. strObjectsNotSupported = 'Linked object not supported';
  34. // SceneEdit
  35. strGLSceneEditor = 'GLScene Editor';
  36. // SceneViewer
  37. strNoRenderingContext = 'Could not create a rendering context';
  38. strWrongVersion = 'Need at least OpenGL version 1.1';
  39. strTooManyLights = 'Too many lights in the scene';
  40. strDisplayList = 'Failed to create a new display list for object ''%s''';
  41. strWrongBitmapCanvas = 'Couldn''t create a rendering context for the given bitmap';
  42. strWrongPrinter = 'Couldn''t render to printer';
  43. strAlreadyRendering = 'Already rendering';
  44. strSceneViewerNotDefined = 'SceneViewer not defined!';
  45. // Cadencer
  46. strCadencerNotDefined = 'Cadencer not defined!';
  47. strCadencerNotDefinedEx = 'Cadencer not defined for the ''%s'' component';
  48. // Context
  49. strCannotAlterAnActiveContext = 'Cannot alter an active context';
  50. strContextActivationFailed = 'Context activation failed: %X, %s';
  51. strContextAlreadyCreated = 'Context already created';
  52. strContextDeactivationFailed = 'Context deactivation failed';
  53. strContextNotCreated = 'Context not created';
  54. strDeleteContextFailed = 'Delete context failed';
  55. strFailedToShare = 'DoCreateContext - Failed to share contexts';
  56. strIncompatibleContexts = 'Incompatible contexts';
  57. strInvalidContextRegistration = 'Invalid context registration';
  58. strInvalidNotificationRemoval = 'Invalid notification removal';
  59. strNoActiveRC = 'No active rendering context';
  60. strUnbalancedContexActivations = 'Unbalanced context activations';
  61. strUnableToCreateLegacyContext = 'Unable to create legacy context';
  62. // InitOpenGL
  63. strOpenGLError = 'OpenGL error - %s';
  64. // File3DS
  65. str3DSMapNotFound = 'Loading %s map texture failed: %s in %s';
  66. strError3DS_NO_MEM = 'Not enough memory to complete operation.';
  67. strError3DS_INVALID_ARG = 'The argument passed to the function is invalid.'#13+
  68. 'Usually caused by a nil pointer or an out of range numeric argument.';
  69. strError3DS_INVALID_DATA = 'The structure passed as an argument to the function has'#13+
  70. 'invalid or out of range data in its fields.';
  71. strError3DS_INVALID_CHUNK = 'An invalid Chunk structure was encountered while reading'#13+
  72. 'the database. Usually caused by a corrupt database or file.';
  73. strError3DS_INVALID_DATABASE = 'The database passed as an argument has not be created yet.';
  74. strError3DS_WRONG_DATABASE = 'The database passed as an argument is the wrong kind of'#13+
  75. 'database for this function.';
  76. strError3DS_UNFOUND_CHUNK = 'The database is missing important file chunks needed to'#13+
  77. 'fill out the requested structure. Usually caused by a corrupt database or file.';
  78. strError3DS_WRONG_OBJECT = 'The Name passed to the functions exists but is not the type of object asked for.'#13+
  79. 'For example asking for a mesh object with the GetCameraByName3DS function.';
  80. strError3DS_NO_SUCH_FILE = 'The FileName passed as an argument for reading does not exist.';
  81. strError3DS_INIT_FAILED = 'Failed to initialize structure passed as an argument.';
  82. strError3DS_OPENING_FILE = 'Could not open requested file.';
  83. strError3DS_CLOSING_FILE = 'Could not close requested file.';
  84. strError3DS_READING_FILE = 'Error occured while reading file.';
  85. strError3DS_CREATING_DATABASE = 'Error occured while creating database.';
  86. strError3DS_READING_DATABASE = 'Error occured while reading database.';
  87. strError3DS_WRITING_DATABASE = 'Error occured while writing database.';
  88. strError3DS_WRITING_FILE = 'Error occured while writing file.';
  89. strError3DS_STRING_TOO_LONG = 'String encountered in file structure or as an argument was longer than expected.'#13+
  90. 'Possibly caused by an uninitialed pointer corrupt file or database.';
  91. strError3DS_GET_FAIL = 'Failed to get new data from database.';
  92. strError3DS_PUT_FAIL = 'Failed to add new data to the database.';
  93. strError3DS_INVALID_INDEX = 'Invalid index %d.';
  94. // FilePGM
  95. strCUTILFailed = 'Can not initialize cutil32.dll';
  96. // Graphics
  97. strCantConvertImg = '%s: can''t convert image to RGBA8 format';
  98. // Joystick
  99. strNoJoystickDriver = 'There''s no joystick driver present';
  100. strConnectJoystick = 'Joystick is not connected to your system';
  101. strJoystickError = 'Your system reports a joystick error, can''t do anything about it';
  102. // Material
  103. strCyclicRefMat = 'Cyclic reference detected in material "%s"';
  104. // Octree
  105. strOctreeMustBePreparedBeforeUse = 'Octree must be prepared before use';
  106. // PersistentClasses
  107. strInvalidFileSignature = 'Invalid file signature';
  108. strBrokenObjectListArchive = 'Broken ObjectList archive';
  109. strListIndexError = 'Invalid list index';
  110. // SceneContext
  111. strForwardContextFailed = 'Can not create forward compatible context: #%X, %s';
  112. strBackwardContextFailed = 'Can not create backward compatible context: #%X, %s';
  113. strFailHWRC = 'Unable to create rendering context with hardware acceleration - down to software';
  114. strTmpRC_Created = 'Temporary rendering context created';
  115. strDriverNotSupportFRC = 'Driver not support creating of forward context';
  116. strDriverNotSupportOESRC = 'Driver not support creating of OpenGL ES 2.0 context';
  117. strDriverNotSupportDebugRC = 'Driver not support creating of debug context';
  118. strOESvsForwardRC = 'OpenGL ES 2.0 context incompatible with Forward context - flag ignored';
  119. strFRC_created = 'Forward core context seccussfuly created';
  120. strOESRC_created = 'OpenGL ES 2.0 context seccussfuly created';
  121. strPBufferRC_created = 'Backward compatible core PBuffer context successfully created';
  122. // SceneRegister, strings additional to Designintf
  123. strOpenGLCategoryName = 'OpenGL';
  124. strLayoutCategoryName = 'Layout';
  125. strLocalizableCategoryName = 'Localizable';
  126. strVisualCategoryName = 'Visual';
  127. // Shaders
  128. strShaderNeedsAtLeastOneLightSource = 'This shader needs at least one LightSource!';
  129. strShaderNeedsAtLeastOneLightSourceEx = 'Shader ''%s'' needs at least one LightSource!';
  130. // Tree
  131. strSceneRoot = 'Scene root';
  132. strObjectRoot = 'Scene objects';
  133. strCameraRoot = 'Cameras';
  134. strCamera = 'Camera';
  135. // Textures
  136. strImageInvalid = 'Could not load texture, image is invalid';
  137. strNoNewTexture = 'Could not get new texture name';
  138. // Materials
  139. strMatLibNotDefined = 'Material Library not defined!';
  140. strMaterialNotFoundInMatlib = 'Material not found in current Material Library!';
  141. strMaterialNotFoundInMatlibEx = 'Material "%s" not found in current Material Library!';
  142. // Objects
  143. strSphereTopBottom = 'The top angle must be higher than the bottom angle';
  144. strSphereStartStop = 'The start angle must be smaller than then stop angle';
  145. strMaterialNotFound = 'Loading failed: could not find material %s';
  146. strInterleaveNotSupported = 'Interleaved Array format not supported yet. Sorry.';
  147. //Common messages
  148. strUnknownArchive = '%s : unknown archive version %d';
  149. strOutOfMemory = 'Fatal: Out of memory';
  150. strFileNotFound = 'File %s not found';
  151. strFailedOpenFile = 'Could not open file: %s';
  152. strFailedOpenFileFromCurrentDir = 'Could not open file: %s'#13#10'(Current directory is %s)';
  153. strNoDescriptionAvailable = 'No description available';
  154. strUnBalancedBeginEndUpdate = 'Unbalanced Begin/EndUpdate';
  155. strUnknownExtension = 'Unknown file extension (%s), maybe you forgot to add the support '
  156. +'unit to your uses? (%s?)' ;
  157. strMissingResource = 'Missing application resource: %s: %s';
  158. strIncompatibleTypes = 'Incompatible types!';
  159. strUnknownType = 'Unknown type!';
  160. strUnsupportedType = 'Unsupported type!';
  161. // Object categories in GLScene Registry
  162. strOCBasicGeometry = 'Basic geometry';
  163. strOCAdvancedGeometry = 'Advanced geometry';
  164. strOCMeshObjects = 'Mesh objects';
  165. strOCParticleSystems = 'Particle systems';
  166. strOCEnvironmentObjects = 'Environment objects';
  167. strOCSpecialObjects = 'Special objects';
  168. strOCGraphPlottingObjects = 'Graph-plotting objects';
  169. strOCDoodad = 'Doodad objects';
  170. strOCHUDObjects = 'HUD objects';
  171. strOCGuiObjects = 'GUI objects';
  172. strOCProxyObjects = 'Proxy objects';
  173. strOCExperimental = 'Experimental objects';
  174. // Utils
  175. strInvalidColor = '''%s'' is not a valid color format!';
  176. strUnknownParam = 'Unknown %s "%s" for "%s" or program not in use';
  177. // FXCollectionEditor
  178. strXCollectionEditor = 'XCollection editor';
  179. // CUDA strings
  180. strModuleAbsent = 'Module is absent';
  181. strInvalidParamType = 'Invalid parameter type';
  182. strInvalidContextReg = 'Invalid context registration.';
  183. strInvalidValue = 'Invalid value';
  184. strWrongParamSetup = 'Function''s parameters must be setup in OnParameterSetup event';
  185. strLaunchFailed = 'Kernel function "%s" launch failed';
  186. strFailMap = 'Unable to map %s - already mapped';
  187. strFailUnmap = 'Unable to unmap %s - not mapped';
  188. strFailCompilation = 'NVCC failed to compile:' + #10#13 + '%s';
  189. strFailCreatePipe = 'Unable to create Pipe';
  190. strFailRunNVCC = 'Unable to run process (NVCC)';
  191. strFuncRetErr = '%s return error: %s';
  192. strFuncNotConnected = '%s.Launch: Kernel function not connected';
  193. strOnlyHostData = 'Only host data or mapped device or array data can be written/read';
  194. strOutOfRange = 'Indexes out of range';
  195. strSizeMismatch = 'Element size mismatch';
  196. strCUDAEditor = 'Scene CUDA Component Editor';
  197. strRequireFreeThread = 'CUFFT functions require context-free thread';
  198. strBadPlanSize = 'MemData size less then Plan size';
  199. strContextNotInit = 'Context not initialized';
  200. strNoDeviceToCreate = 'No device to create CUDA context';
  201. strThreadBusy = 'Unable to create CUDA context - thread is busy by another context';
  202. strMakeFloatingFail = 'Unable to make context floating after creation';
  203. strUnbalansedUsage = 'Unbalansed CUDA context usage';
  204. strInvalidGLContext = 'Unable to create CUDA context with OpenGL interop' +
  205. ' - OpenGL context not ready';
  206. strFFTFuncRetErr = '%s return error: %s';
  207. strFailToBindArrayToTex = 'Unable to bind CUDA array to OpenGL unmaped t' + 'exture';
  208. strOutOfAttribSize = 'The amount of device''s data less then size of att' + 'ribute''s data.';
  209. strOutOfElementSize = 'The amount of device''s data less then size of in' + 'dexes data.';
  210. strSourceFileNotFound = 'Source file not found';
  211. strSuccessCompilation = 'Successful compilation:' + #10#13 + '%s';
  212. implementation //--------------------------------------------------------------
  213. end.