2// #################################################################################################
4// Resources of ALib "BaseCamp"
6// Copyright 2025 A-Worx GmbH, Germany
7// Published under Boost Software License (a free software license, see LICENSE.txt)
8// #################################################################################################
10// CodeMarker_CommonEnums
45// CreateDefaults: using Bool
46// CreateIfNotExists: using Bool
83// Recursive: using Bool
138 500, DeferredDeletion ,1,
145//-------------------------------------- module variables ------------------------------------
149 1, ErrorOpeningFile ,VARERF,
150 2, ErrorWritingFile ,VAREWF
152VARERF "Can't open {}file {!Q'} for reading."
153VAREWF "Can't open {}file {!Q'} for writing."
157 1000, AutoDetected ,1,
158 2000, DefaultValues ,1,
161 8000, Environment ,1,
162 10000, SessionFile ,8,
167// names of the configuration plug-ins added to configuration in default construction.
168CFGPlgEnv "Environment Variables"
169CFGPlgCLI "Command Line Arguments"
175 "False I 1," "True I 1,"
183// DOX_MARKER([DOX_VARIABLES_DECLARATION6])
184Var0 ~ 1 | ALIB/LOCALE | S
185Var1 ~ 2 | ALIB/WAIT_FOR_KEY_PRESS | B
186Var2 ~ 3 | ALIB/HAS_CONSOLE_WINDOW | B
189 Defines the locale of the application. If empty or not set, the system's locale is used.\n
190 If set, a UTF8 locale should be used, for example, 'us_US.UTF-8' or 'de_DE.UTF-8'
192 If true, the process waits for a key stroke on termination. If empty, under Windows\n
193 the behavior is detected, under other OSes, it defaults to false.
195 Boolean value that denotes what its name indicates. If empty, under Windows the value is\n
196 detected, under other OSes, it defaults to true.
197// DOX_MARKER([DOX_VARIABLES_DECLARATION6])
200// INI-File comment for section ALIB
201CFG_SECT_CMT_ALIB "@>'/// '@HL-General ALib library settings.\n@HL-)"
203// Exit message when waiting for key-press requested with variable WAIT_FOR_KEY_PRESS
204EXIT_MSG "ALIB: Press 'Enter' to exit..."
217Months January,February,March,April,May,June,July,August,September,October,November,December
218Days Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
220// 0 TS_ZERO, 1 DayP, 2 DayS, 3 HourP, 4 HourS, 5 MinP, 6 MinS,
221// 7 SecP, 8 SecS, 9 MlSecP, 10 MlSecS, 11 McSecP, 12 McSecS, 13 NSecP, 14 NSecS
240// default format string for DateTime values used by FFormat_DateTime()
241FMTDT "yyyy-MM-dd HH:mm:ss"
243// default format string for CallerInfo values used by FFormat_CallerInfo()
244FMTCI "[@ sf:sl from ''ya'' by ''ta'']"
246// format output if CallerInfo has no thread set
249// format output if CallerInfo originates from static method or namespace function
252// format output if CallerInfo originates from static method or namespace function
266//---------------------------------------- module exceptions ---------------------------------------
267ExcFmtExc "\nAn exception occurred while formatting another (!) exception:\n"
269//------------------------------------------ module format -----------------------------------------
284// general formatter errors
287FE0 ~ 11,ArgumentIndexIs0 ,FMG11
288FE1 ~ 12,ArgumentIndexOutOfBounds ,FMG12
289FE2 ~ 13,IncompatibleTypeCode ,FMG13
291// Formatter Python Style
292FE3 ~ 101,MissingClosingBracket ,FPS101
293FE4 ~ 102,MissingPrecisionValuePS ,FPS102
294FE5 ~ 103,DuplicateTypeCode ,FPS103
295FE6 ~ 104,UnknownTypeCode ,FPS104
296FE7 ~ 105,ExclamationMarkExpected ,FPS105
297FE8 ~ 106,UnknownConversionPS ,FPS106
298FE9 ~ 107,PrecisionSpecificationWithInteger ,FPS107
299FE10 ~ 108,MissingReplacementStrings ,FPS108
301// Formatter Java Style
302FE11 ~ 201,NegativeValuesInBracketsNotSupported ,FJS101
303FE12 ~ 202,MissingPrecisionValueJS ,FJS102
304FE13 ~ 203,HexadecimalFloatFormatNotSupported ,FJS103
305FE14 ~ 204,NoAlternateFormOfConversion ,FJS104
306FE15 ~ 205,NoPrecisionWithConversion ,FJS105
307FE16 ~ 206,UnknownDateTimeConversionSuffix ,FJS106
308FE17 ~ 207,UnknownConversionJS ,FJS107
310// PropertyFormatter and PropertyFormatters
311FE18 ~ 501,UnknownPropertyInFormatString ,PFM501
312FE19 ~ 502,ErrorInResultingFormatString ,PFM502
313FE20 ~ 510,MissingConfigurationVariable ,PFM510
316FE21 ~ 601,UnknownMarker ,ST601
317FE22 ~ 602,EndmarkerWithoutStart ,ST602
319// general formatter errors
321 Argument index 0 not allowed.\n
322 In: {!Q}\n >{!FillC-}^
324 Argument index #{} is out of bounds. {} arguments are available.\n
325 In: {!Q}\n >{!FillC-}^
327 Detected placeholder type does not match given argument.\n
328 Placeholder number: {}\n
329 Placeholder type: {} ({})\n
330 Deduced argument type: {!Q}\n
331 In: {!Q}\n >{!FillC-}^
333// Formatter Python Style
335 Closing bracket '}}' of placeholder not found (or syntax error).\n
336 In: {!Q}\n >{!FillC-}^
338 Missing precision value after '.' character.\n
339 In: {!Q}\n >{!FillC-}^
341 Duplicate type code {!Q'} given (previous was {!Q'}).\n
342 In: {!Q}\n >{!FillC-}^
345 Unknown type code {!Q'} given.\n
346 In: {!Q}\n >{!FillC-}^
349 Expected '!' in continuation of placeholder.\n
350 In: {!Q}\n >{!FillC-}^
353 Unknown conversion \"!{}\".\n
354 In: {!Q}\n >{!FillC-}^
357 Precision not allowed with integer format.\n
358 In: {!Q}\n >{!FillC-}^
361 Missing pair of replacement strings \"<src><repl>\" after \"!Replace\".\n
362 In: {!Q}\n >{!FillC-}^
364// Formatter Java Style
366 Brackets for negative values not implemented/supported.\n
367 In: {!Q}\n >{!FillC-}^
369 Missing precision value after '.' character.\n
370 In: {!Q}\n >{!FillC-}^
372 Hexadecimal float format not implemented/supported.\n
373 In: {!Q}\n >{!FillC-}^
375 Alternate form '#' not supported with conversion {!Q}.\n
376 In: {!Q}\n >{!FillC-}^
378 Precision specification (\.{}\) is not supported with conversion {!Q}.\n
379 In: {!Q}\n >{!FillC-}^
381 Unknown date/time conversion suffix {!Q'}.\n
382 In: {!Q}\n >{!FillC-}^
384 Unknown conversion character {!Q'}.\n
385 In: {!Q}\n >{!FillC-}^
388// PropertyFormatter and PropertyFormatters
390 Unknown property identifier \{}{}\ in format string.\n
391 Format string: {!Q}.\n
393PFM502 Error in resulting format string.\nSource format: {!Q}.
394PFM510 Missing or empty configuration variable {!Q} containing user-defined format string.
398 Unknown marker at position {}.
399 \n Marked text: {!Q}.
402 Found an end-marker without a start marker at position {}.
403 \n Marked text: {!Q}.