%% options copyright owner = Dirk Krause copyright year = 2011-2014 license = bsd %% header #ifdef __cplusplus extern "C" { #endif /** Get default message texts. @return Pointer to message texts array. */ dkChar const * const * dk3bmep_str_get_message_texts(void); /** Get short file name of string table file. @return File name. */ dkChar const * dk3bmep_str_get_string_table_name(void); #ifdef __cplusplus } #endif %% module #include "dk3all.h" #include "dk3bmeps.h" $!trace-include /** Message texts used by bmpp and wxbmpp. */ dkChar const * const dk3bmep_str_default_texts[] = { $!string-table file=dk3bmeps.str,macro=dkT # # 0: Simple newline. # \n # # 1: Space. # # # 2: Error: Output mode object requires ps or pdf output! # Inconsistent options!\nOutput mode "object" can be used for "ps" and "pdf" output only! # # 3: Error: Illegal driver number! # Illegal driver number! # # 4: Error: Illegal mode, must be a placed object! # Illegal mode, must be a placed object! # # 5: Error: Illegal mode, must not be a placed object! # Illegal mode, must not be a placed object! # # 6: Error: Illegal mode, must be image, object or document! # Inconsistent options!\nMode must be image, object, or document! # # 7: Error: Illegal mode, must be image or object! # Inconsistent options!\nMode must be image or object! # # 8: Error: Driver bb can produce objects only! # Inconsistent options!\nDriver bb can produce objects only! # # 9: Error: Illegal size mode specified! # Illegal size mode specified! # # 10: Error: Size mode must be 1px=1pt for objects! # Inconsistent options!\nSize mode must be 1px=1pt for objects! # # 11: Warning: Draft can not be used when producing document! # Draft can not be used when producing document! # # 12/13: Error: Option string "..." too long! # Option string too long:\n" " # # 14: Error: Empty language and options string! # Empty language and options string! # # 15/16: Error: Illegal driver! # Illegal driver: " "! # # 17/18: Error: Illegal mode! # Illegal mode: " "! # # 19: Error: Empty configuration string! # Empty configuration string! # # 20/21: Error: Configuration string "..." too long! # Configuration string too long:\n" "! # # 22/23: Error: Unknown configuration option name! # Unknown configuration option name: " "! # # 24/25: Error: Not a number! # Not a number: " "! # # 26: Error: PS level must be 2 or 3! # PS level must be 2 or 3! # # 27/28: Error: Not a boolean value! # Not a boolean value: " "! # # 29/30: Error: Unknown predictor! # Unknown predictor: " "! # # 31: Error: Empty background specification string! # Empty background specification string! # # 32/33: Error: Syntax error in background specification! # Syntax error in background specification: " "! # # 34: Error: Option needs an argument! # Option "size" needs an argument! # # 35/36: Error: Illegal size argument! # Illegal size argument: " "! # # 37: Error: Option needs an argument! # Option "paper" needs an argument! # # 38: Error: Setting a paper size is only allowed for document! # Inconsistent options!\nSetting a paper size is only allowed when producing a document! # # 39/40: Error: Paper size not found! # Paper size not found: " "! # # 41/42: Progress: Processing file "...". # Processing file " ". # # 43/44: Progress: Finished file "...". # Finished file " ". # # 45/46: Progress: Destination file is up to date. # Conversion not necessary for " ". # # 47: Progress: Reading image data. # Reading image data. # # 48: Progress: Analyzing image. # Analyzing image. # # 49: Answer yes # yes # # 50: Answer no # no # # 51: Color usage indicated: # Color usage indicated: # # 52: Color usage found: # Color usage found: # # 53: Alpha usage indicated: # Alpha usage indicated: # # 54: Alpha usage found: # Alpha usage found: # # 55: Bits per component indicated: # Bits per component indicated: # # 56: Bits per component found: # Bits per component found: # # 57: Bits per component used: # Bits per component used: # # 58: ERROR: Error while writing data! # Error while writing data! # # 59: ERROR: Failed to start encoded chunk! # Failed to set up output compression! # # 60: ERROR: Invalid paper setup! # Invalid paper setup! # # 61: ERROR: Failed to read image data! # Failed to read image data! # # 62: ERROR: Incorrect page setup, borders larger than page! # Incorrect page setup, borders larger than page! # # 63/64: ERROR: File type "..." unknown! # File type " " unknown! # # 65/66: ERROR: Illegal file type: "..."! # Illegal file type: " "! # # 67: ERROR: No file type specified for standard input! # No file type specified for standard input! # # 68: ERROR: Inconsistent options found in option check! # Inconsistent options found in option check! # # 69/70: ERROR: Failed to read image file: ....! # Failed to read image file:\n" "! # # 71: ERROR: PDF Writer failed to open a new page! # PDF writer failed to open a new page! # # 72: ERROR: Failed to write PDF output to file! # Failed to write PDF output to file! # # 73: ERROR: Failed to add image to PDF page! # Failed to add image to PDF page! # # 74/75 ERROR: Unknown output language "..."! # Illegal output language " "! # # 76: PROGRESS: Writing output. # Writing output. $!end }; /** Size of the dk3bmep_str_default_texts array. */ dkChar const dk3bmep_str_string_table_name[] = { dkT("dk3bmeps.str") }; dkChar const * const * dk3bmep_str_get_message_texts(void) { return dk3bmep_str_default_texts; } dkChar const * dk3bmep_str_get_string_table_name(void) { return dk3bmep_str_string_table_name; }