mcc2 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data/.autotest +23 -0
  4. data/.gitignore +15 -0
  5. data/.rubocop.yml +3 -0
  6. data/Gemfile +13 -0
  7. data/History.txt +6 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +51 -0
  10. data/Rakefile +12 -0
  11. data/config/i18n-tasks.yml +193 -0
  12. data/exe/mcc2 +18 -0
  13. data/exe/mcc2-generate-preview +17 -0
  14. data/exe/mcc2print +6 -0
  15. data/lib/libguib16.rb +1620 -0
  16. data/lib/mcc2/advanced_data_edit_dlg.rb +139 -0
  17. data/lib/mcc2/cc_dialogbox.rb +52 -0
  18. data/lib/mcc2/constants.rb +154 -0
  19. data/lib/mcc2/dataman/base.rb +61 -0
  20. data/lib/mcc2/dataman/csv.rb +49 -0
  21. data/lib/mcc2/dataman/database.rb +8 -0
  22. data/lib/mcc2/dataman/dbf.rb +45 -0
  23. data/lib/mcc2/dataman/none.rb +25 -0
  24. data/lib/mcc2/dataview.rb +348 -0
  25. data/lib/mcc2/dataview_dlg.rb +232 -0
  26. data/lib/mcc2/debug_tools.rb +20 -0
  27. data/lib/mcc2/fx_colored_item.rb +101 -0
  28. data/lib/mcc2/generate_preview.rb +68 -0
  29. data/lib/mcc2/gui/advanced_data_edit_dlg.rbin +0 -0
  30. data/lib/mcc2/gui/dataview_dlg.pp +522 -0
  31. data/lib/mcc2/gui/layoutview_dlg.pp +5115 -0
  32. data/lib/mcc2/gui/mcc2_mainwin.pp +838 -0
  33. data/lib/mcc2/gui/picture_data_edit_dlg.rbin +0 -0
  34. data/lib/mcc2/gui/printerview_dlg.pp +3311 -0
  35. data/lib/mcc2/images/Image-Arrow-Left.gif +0 -0
  36. data/lib/mcc2/images/Image-Arrow-Right.gif +0 -0
  37. data/lib/mcc2/images/Image-FastArrowLeft.gif +0 -0
  38. data/lib/mcc2/images/Image-FastArrowRight.bmp +0 -0
  39. data/lib/mcc2/images/Image-FastArrowRight.gif +0 -0
  40. data/lib/mcc2/images/application-exit.png +0 -0
  41. data/lib/mcc2/images/copy.png +0 -0
  42. data/lib/mcc2/images/country_de.png +0 -0
  43. data/lib/mcc2/images/country_gb.png +0 -0
  44. data/lib/mcc2/images/country_rs.png +0 -0
  45. data/lib/mcc2/images/cut.png +0 -0
  46. data/lib/mcc2/images/distribute-horizontal-baseline.png +0 -0
  47. data/lib/mcc2/images/distribute-vertical-baseline.png +0 -0
  48. data/lib/mcc2/images/document-close.png +0 -0
  49. data/lib/mcc2/images/document-edit.png +0 -0
  50. data/lib/mcc2/images/document-new.png +0 -0
  51. data/lib/mcc2/images/document-open.png +0 -0
  52. data/lib/mcc2/images/document-print-frame.png +0 -0
  53. data/lib/mcc2/images/document-print.png +0 -0
  54. data/lib/mcc2/images/document-save-as.png +0 -0
  55. data/lib/mcc2/images/document-save.png +0 -0
  56. data/lib/mcc2/images/documentation.png +0 -0
  57. data/lib/mcc2/images/draw-rectangle.png +0 -0
  58. data/lib/mcc2/images/dummy.gif +0 -0
  59. data/lib/mcc2/images/exchange-positions.png +0 -0
  60. data/lib/mcc2/images/insert-image.png +0 -0
  61. data/lib/mcc2/images/insert-text.png +0 -0
  62. data/lib/mcc2/images/libreoffice-oasis-master-document.png +0 -0
  63. data/lib/mcc2/images/measure.png +0 -0
  64. data/lib/mcc2/images/messagebox_warning.png +0 -0
  65. data/lib/mcc2/images/paste.png +0 -0
  66. data/lib/mcc2/images/process-stop.png +0 -0
  67. data/lib/mcc2/images/zoom-in.png +0 -0
  68. data/lib/mcc2/layout.rb +323 -0
  69. data/lib/mcc2/layout_file.rb +794 -0
  70. data/lib/mcc2/layout_object/barcode.rb +33 -0
  71. data/lib/mcc2/layout_object/box.rb +18 -0
  72. data/lib/mcc2/layout_object/chip.rb +54 -0
  73. data/lib/mcc2/layout_object/embed.rb +16 -0
  74. data/lib/mcc2/layout_object/go_attribut.rb +16 -0
  75. data/lib/mcc2/layout_object/graphic.rb +59 -0
  76. data/lib/mcc2/layout_object/magstripe.rb +13 -0
  77. data/lib/mcc2/layout_object/picture.rb +22 -0
  78. data/lib/mcc2/layout_object/text.rb +29 -0
  79. data/lib/mcc2/layout_win.rb +2052 -0
  80. data/lib/mcc2/layoutview.rb +845 -0
  81. data/lib/mcc2/layoutview_dlg.rb +2058 -0
  82. data/lib/mcc2/locales.rb +27 -0
  83. data/lib/mcc2/mcc2_mainwin.rb +453 -0
  84. data/lib/mcc2/mcc2gui.rb +295 -0
  85. data/lib/mcc2/mcc2print.rb +54 -0
  86. data/lib/mcc2/picture_data_edit_dlg.rb +139 -0
  87. data/lib/mcc2/print_dlg.rb +520 -0
  88. data/lib/mcc2/printer/base.rb +148 -0
  89. data/lib/mcc2/printer/card_printer.rb +45 -0
  90. data/lib/mcc2/printer/file_printer.rb +135 -0
  91. data/lib/mcc2/printer/gdi_card_printer.rb +14 -0
  92. data/lib/mcc2/printer/gdi_printer.rb +197 -0
  93. data/lib/mcc2/printer/linux_cups_printer.rb +92 -0
  94. data/lib/mcc2/printer/preview.rb +277 -0
  95. data/lib/mcc2/printer/printer_cab.rb +118 -0
  96. data/lib/mcc2/printer/printer_cx320_direct.rb +286 -0
  97. data/lib/mcc2/printer/printer_epl.rb +118 -0
  98. data/lib/mcc2/printer/printer_ttp34x.rb +124 -0
  99. data/lib/mcc2/printer/printer_zebra.rb +324 -0
  100. data/lib/mcc2/printer/svg_drawer.rb +689 -0
  101. data/lib/mcc2/printerview.rb +604 -0
  102. data/lib/mcc2/printerview_dlg.rb +1248 -0
  103. data/lib/mcc2/version.rb +3 -0
  104. data/lib/mcc2.rb +11 -0
  105. data/locales/de.yml +6 -0
  106. data/locales/en.yml +502 -0
  107. data/locales/rs.yml +502 -0
  108. data/mcc2.gemspec +41 -0
  109. data/test/dummy.rb +19 -0
  110. data/test/layouts/bart_simpson.png +0 -0
  111. data/test/layouts/color_test.xml +151 -0
  112. data/test/layouts/ms.xml +67 -0
  113. data/test/ruby_print.rb +380 -0
  114. data/test/test.csv +4 -0
  115. data/test/test.dbf +0 -0
  116. data/test/test.str +4 -0
  117. data/test/test_mcc2.rb +8 -0
  118. data.tar.gz.sig +6 -0
  119. metadata +421 -0
  120. metadata.gz.sig +0 -0
@@ -0,0 +1,3 @@
1
+ module Mcc2
2
+ VERSION = "1.5.0"
3
+ end
data/lib/mcc2.rb ADDED
@@ -0,0 +1,11 @@
1
+ require "mcc2/constants"
2
+ require "mcc2/layout_file"
3
+ require "mcc2/locales"
4
+
5
+ module Mcc2
6
+ autoload :VERSION, "mcc2/version"
7
+ autoload :Mcc2Gui, "mcc2/mcc2gui"
8
+ autoload :FxColoredItem, "mcc2/fx_colored_item"
9
+ autoload :Mcc2Print, "mcc2/mcc2print"
10
+ autoload :GeneratePreview, "mcc2/generate_preview"
11
+ end
data/locales/de.yml ADDED
@@ -0,0 +1,6 @@
1
+ # -*- coding: utf-8 -*-
2
+ de:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ invalid: ist ungültig
data/locales/en.yml ADDED
@@ -0,0 +1,502 @@
1
+ ---
2
+ en:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ invalid: is invalid
7
+ barcode_is_not_avaliable: The barcode type %{bc_typ} does not exist in the list of available barcodes. The value is set to 'NONE'.
8
+ cab_send_command_error:
9
+ - Error sending
10
+ - |-
11
+ The command could not be executed
12
+ Please ensure that the connection parameters are correct.
13
+
14
+ %{e}
15
+ cancel_button: Cancel
16
+ chipparam_label: Parameter %{i}
17
+ columns_object_list:
18
+ - - Name
19
+ - 130
20
+ - - Type
21
+ - 100
22
+ cx320_from_second_card: from the second card on
23
+ cx320_printer_driver_load_caption: CX320 Printer
24
+ cx320_send_command_error:
25
+ - Error sending
26
+ - |-
27
+ The command could not be executed
28
+
29
+ %{e}
30
+ dataman_current_record: 'current dataset: %{recno}'
31
+ dataman_error_at_open_dataman:
32
+ - Data connection error
33
+ - |-
34
+ The data connection could not be established.
35
+
36
+ %{e}
37
+ dataman_error_printing_exception:
38
+ - Error creating the print image
39
+ - "%{e}"
40
+ dataman_error_printing_object:
41
+ - Error creating graphic object
42
+ - "%{e}"
43
+ dataman_found_n_records: "%{finding_count} records found \n- %{curr_text}"
44
+ dataman_loaded_records: "%{count} records loaded"
45
+ dataman_n_records_marked: "%{count} records selected"
46
+ dataman_no_further_record: no further record found
47
+ dataman_no_record: no record found
48
+ dataman_records_printed: "%{recno} of %{of} records printed"
49
+ datasource_type_csv: CSV file
50
+ datasource_type_database: Database
51
+ datasource_type_dbf: DBF file
52
+ datasource_type_none: no data - static layout
53
+ delete_button: "&Delete"
54
+ delete_object_confirmation: |-
55
+ Do you really want to delete %{count} %{nameslist}?
56
+ This action cannot be undone!
57
+ dialogbox_dataview:
58
+ button_datasource_text: "..."
59
+ button_datasource_tipText: Load CSV file via file selection dialog
60
+ button_deselect_all_text: none
61
+ button_deselect_all_tipText: remove all record markers
62
+ button_print_all_text: print all
63
+ button_print_all_tipText: Print all records
64
+ button_print_selected_text: print selected
65
+ button_print_selected_tipText: print all selected records
66
+ button_select_all_text: all
67
+ button_select_all_tipText: select all data sets
68
+ button_stop_printing_text: Stop
69
+ button_stop_printing_tipText: Stop printing according to the current map
70
+ dialogbox_dataview_title: Draft view
71
+ label_datasource_text: Data source
72
+ label_search_text: Search term
73
+ label_selected_text: ''
74
+ textfield_datasource_tipText: |+
75
+ The data file is specified here.
76
+ For a static layout, the number of pages can be specified here.
77
+
78
+ textfield_search_tipText: |-
79
+ By entering a character string, all displayed fields
80
+ are searched and highlighted. Pressing the Enter
81
+ key multiple times jumps to the next match.
82
+ dialogbox_layoutview:
83
+ button_box_border_color_text: "..."
84
+ button_box_fill_color_text: "..."
85
+ button_copy_text: copy
86
+ button_copy_tipText: copies the selected object and adopts all properties except the name
87
+ button_delete_text: delete
88
+ button_delete_tipText: Deletes the selected object after confirming a security prompt.
89
+ button_down_text: down v
90
+ button_down_tipText: This button moves the object up one line.
91
+ button_fontfile_select_text: "..."
92
+ button_move_down_text: "↓"
93
+ button_move_down_tipText: |-
94
+ move selected objects
95
+ also using arrow keys
96
+ 0.1mm with Shift key
97
+ 10mm with Ctrl key
98
+ button_move_left_text: "←"
99
+ button_move_left_tipText: |-
100
+ move selected objects
101
+ also using cursor keys
102
+ 0.1mm with Shift key
103
+ 10mm with Ctrl key
104
+ button_move_right_text: "→"
105
+ button_move_right_tipText: |-
106
+ move selected objects
107
+ also using arrow keys
108
+ 0.1mm with Shift key
109
+ 10mm with Ctrl key
110
+ button_move_up_text: "↑"
111
+ button_move_up_tipText: |-
112
+ move marked objects
113
+ also using cursor keys
114
+ 0.1mm with Shift key
115
+ 10mm with Ctrl key
116
+ button_spur1_text: "..."
117
+ button_spur2_text: "..."
118
+ button_spur3_text: "..."
119
+ button_text_color_text: select
120
+ button_text_color_tipText: Here, a color can be selected using a dialog.
121
+ button_up_text: up ^
122
+ button_up_tipText: This button moves the object up one line.
123
+ checkbutton_barcode_optimized_text: Optimize for DPI
124
+ checkbutton_barcode_optimized_tipText: |
125
+ Do not scale the barcode, but
126
+ adjust it to the printer resolution.
127
+ In the preview, the adjustment is made
128
+ to the DPI specification above the preview.
129
+ Activate for better barcode quality.
130
+ checkbutton_contact_text: ''
131
+ checkbutton_contact_tipText: Activate this check box if a contact chip is to be personalized on the card.
132
+ checkbutton_contactless_text: ''
133
+ checkbutton_contactless_tipText: 'Activate this box if a contactless chip is to be personalized for the card. '
134
+ checkbutton_duplex_text: ''
135
+ checkbutton_duplex_tipText: Activate this box if the card is to be personalized in duplex.
136
+ checkbutton_flip_back_text: mirror X
137
+ checkbutton_flip_front_text: mirror X
138
+ checkbutton_flop_back_text: mirror Y
139
+ checkbutton_flop_front_text: mirror Y
140
+ checkbutton_justify_text: justify
141
+ checkbutton_magstripe_text: ''
142
+ checkbutton_magstripe_tipText: Activate this box if the magnetic stripe on the card is to be personalized.
143
+ checkbutton_printlist_text: ''
144
+ checkbutton_printlist_tipText: This button currently has no function.
145
+ dialogbox_layoutview_title: Draft view
146
+ label_barcode_height_text: " Height:"
147
+ label_barcode_option_1_text: 'Option 1:'
148
+ label_barcode_option_2_text: 'Op.2:'
149
+ label_barcode_option_3_text: 'Op.3:'
150
+ label_barcode_ratio_text: 'Ratio:'
151
+ label_barcode_typ_text: 'Type:'
152
+ label_box_border_color_text: Frame color
153
+ label_box_border_width_mm_text: mm
154
+ label_box_border_width_text: Frame width
155
+ label_box_corner_radius_mm_text: mm
156
+ label_box_corner_radius_mm_tipText: |
157
+ Do not scale the barcode, but
158
+ adjust it to the printer resolution.
159
+ In the preview, the adjustment is made
160
+ to the DPI specification above the preview.
161
+ Enable for better readability.
162
+ label_box_corner_radius_text: Corner radius
163
+ label_box_fill_color_text: Fill color
164
+ label_chip_description_text: All chip parameters are key-value pairs in the form "key=value"
165
+ label_contact_text: Chip
166
+ label_contactless_text: Contactless
167
+ label_datasource_encoding_text: Encoding
168
+ label_datasource_typ_text: Data source
169
+ label_duplex_text: Duplex printing
170
+ label_flip_back_text: Rear
171
+ label_flip_front_text: Front
172
+ label_fonts_text: Font
173
+ label_fontsize_text: Font size
174
+ label_image_page_text: Image page
175
+ label_justify_text: Alignment
176
+ label_layer_text: Layer
177
+ label_magstripe_text: Magnetic stripe
178
+ label_name_empty_text: ''
179
+ label_name_text: Name
180
+ label_offset_mm_text: " mm"
181
+ label_offset_x_y_text: Offset X/Y
182
+ label_page_size_mm_text: " mm"
183
+ label_page_size_text: Page size
184
+ label_posit_mm_text: mm
185
+ label_posit_x_y_text: Position X/Y
186
+ label_printlist_text: Show in print list
187
+ label_rotation_degree_text: "° "
188
+ label_rotation_empty_text: ''
189
+ label_rotation_text: Rotation
190
+ label_sample_data_text: Sample data
191
+ label_seiten_nr_text: Page
192
+ label_size_empty_text: mm
193
+ label_size_text: Size X/Y
194
+ label_spur1_text: Track 1
195
+ label_spur2_text: Track 2
196
+ label_spur3_text: Track 3
197
+ label_text_color_text: Text color
198
+ label_textblock_text: Data
199
+ label_textfield_text: Data
200
+ listbox_barcode_typ_tipText: |
201
+ Here the barcode type can be selected.
202
+
203
+ For EAN13 please select "Eanx".
204
+ listbox_fonts_tipText: Here the font can be selected.
205
+ menubutton_enhanced_data_edit_text: ''
206
+ menubutton_enhanced_data_edit_tipText: |-
207
+ Inserts a data field
208
+ from the selected data source at the cursor position
209
+ menubutton_enhanced_data_text_edit_text: ''
210
+ menubutton_enhanced_data_text_edit_tipText: |-
211
+ Inserts a data field
212
+ from the selected data source at the cursor position
213
+ menubutton_sample_data_text: ''
214
+ menubutton_sample_data_tipText: |-
215
+ Selecting a file
216
+ (only for image objects)
217
+ radiobutton_just_l_text: Left
218
+ radiobutton_just_l_tipText: Align the text to the left.
219
+ radiobutton_just_m_text: Middle
220
+ radiobutton_just_m_tipText: Align the text centrally with the object width.
221
+ radiobutton_just_r_text: Right
222
+ radiobutton_just_r_tipText: Align the text flush right to the object width.
223
+ spinner_barcode_height_tipText: Relationship between barcode height and text height.
224
+ spinner_barcode_option_1_tipText: |
225
+ Symbol specific options.
226
+ This is for example:
227
+ QR code: ECC level 1 to 4
228
+
229
+ See further description at: https://zint.org.uk/manual/chapter/6/
230
+ spinner_image_page_tipText: Selection of the page from the inserted image.
231
+ spinner_layer_tipText: The ink ribbon with which the object is to be printed.
232
+ spinner_seiten_nr_tipText: This value specifies which side of the object is to be printed. For cards, no. 1 is the front and no. 2 is the rear. Please note! If duplex printing is not set in the printer driver, 2 cards will be printed.
233
+ tabitem_allgemein_text: General
234
+ tabitem_allgemein_tipText: All general settings that affect the entire layout are made here.
235
+ tabitem_barcode_text: Barcode
236
+ tabitem_box_text: Box
237
+ tabitem_chip_text: Chip
238
+ tabitem_chip_tipText: All chip parameters are entered here, regardless of whether the chip encoding actually takes place or not.
239
+ tabitem_font_text: Font
240
+ tabitem_font_tipText: In this tab, font settings can be configured.
241
+ tabitem_magstripe_text: Magnetic stripe
242
+ tabitem_magstripe_tipText: All magnetic stripe settings are made here, regardless of whether the magnetic stripe is actually being personalized.
243
+ tabitem_object_text: Object
244
+ tabitem_object_tipText: All general settings for the selected graphic object are made here.
245
+ tabitem_posit_text: Position
246
+ tabitem_posit_tipText: All settings regarding the positioning of the object are made in this tab.
247
+ textfield_data_non_text_tipText: |-
248
+ Contains the data that will later be printed on the card.
249
+ Only 1 line can be entered in this field.
250
+ Placeholders from a data source are formed according to the syntax
251
+ {fieldname[start,length]}.
252
+ textfield_data_tipText: |-
253
+ Contains the data to be printed on the card later.
254
+ Multiple lines can be entered in this field.
255
+ Placeholders from a data source are formed according to the syntax
256
+ {fieldname[start,length]}.
257
+ textfield_fontsize_tipText: Here the font size is set in points. It is also possible to specify real numbers (using a period as the decimal separator).
258
+ textfield_height_tipText: This value is the height of the object. Currently, it only has an effect on images.
259
+ textfield_name_tipText: The name is only necessary for the display in the object list and for certain actions, but should nevertheless be changed to a meaningful name.
260
+ textfield_page_height_tipText: This value shifts the entire print image along the Y-axis.
261
+ textfield_page_width_tipText: This value shifts the entire print image along the Y-axis.
262
+ textfield_rotation_tipText: This value specifies the angle by which the object is to be rotated. Real numbers are also possible (with a decimal point as the separator).
263
+ textfield_sample_data_tipText: |-
264
+ Contains the data to be printed on the card later.
265
+ Multiple lines can be entered in this field.
266
+ Placeholders from a data source are formed according to the syntax
267
+ {fieldname[start,length]}.
268
+ textfield_text_color_tipText: Here, the font color can be entered as a hexadecimal value. To select a color, use the button on the right.
269
+ textfield_width_tipText: This value specifies the width of the object. For text fields, this value currently only has an effect if the alignment is set to center or right.
270
+ textfield_x_offset_tipText: This value shifts the entire print image along the X-axis.
271
+ textfield_x_tipText: This value indicates the distance of the object from the left side of the map.
272
+ textfield_y_offset_tipText: This value shifts the entire print image along the Y-axis.
273
+ textfield_y_tipText: This value specifies the distance of the object from the top edge of the map. For text fields, this value refers to the bottom edge of the text.
274
+ dialogbox_printerview:
275
+ button_cab_cancel_jobs_text: Reset printer
276
+ button_cab_extended_info_text: Extended Status Query
277
+ button_cab_firmware_version_text: Firmware version
278
+ button_cab_info_text: Printer Status Query
279
+ button_cab_self_test_text: Start Self Test
280
+ button_cx320_move_to_0_text: to print station
281
+ button_cx320_move_to_2_text: to contactless
282
+ button_cx320_move_to_4_text: Eject
283
+ button_cx320_read_config_text: Read out config
284
+ button_cx320_reset_text: Reset
285
+ button_cx320_set_defaults_text: Default values
286
+ button_cx320_write_config_text: Write config
287
+ button_file_save_as_text: "..."
288
+ button_file_save_as_tipText: File selection
289
+ button_gdi_printersetup_text: Setup
290
+ button_gdi_printersetup_tipText: File selection
291
+ button_zebra_eject_card2_text: Eject card 2
292
+ button_zebra_eject_card2_tipText: Ejects the card from the printer (e.g., if a card is stuck in the printer). Also ejects cards that are in the card feeder.
293
+ button_zebra_eject_card_text: Eject card
294
+ button_zebra_eject_card_tipText: Ejects the card from the printer (e.g. if a card is jammed in the printer).
295
+ button_zebra_move_contactless_text: Contactless
296
+ button_zebra_move_contactless_tipText: Move the card to the position of the contactless reader.
297
+ button_zebra_print_testcard_text: Print test card
298
+ button_zebra_print_testcard_tipText: Prints a test card.
299
+ button_zebra_printer_info_text: Printer info
300
+ button_zebra_printer_info_tipText: Displays the printer type and firmware version.
301
+ button_zebra_printersetup_text: Setting up
302
+ button_zebra_printersetup_tipText: File selection
303
+ button_zebra_reset_text: Reset
304
+ button_zebra_reset_tipText: Reset the printer.
305
+ button_zebra_send_text: Send
306
+ label_cab_host_text: Host
307
+ label_cab_page_commands_text: Print commands per output page (see "Programming Manual" by cab Produktionstechnik GmbH)
308
+ label_cab_port_text: Port
309
+ label_cab_resolution_text: Resolution
310
+ label_cx320_driver_text: Drivers
311
+ label_cx320_parallel_print_text: Parallel printing
312
+ label_cx320_printer_nr_text: Printer No.
313
+ label_epl_device_text: Device file
314
+ label_epl_page_commands_text: Print commands per output page
315
+ label_epl_resolution_text: Resolution
316
+ label_fileprinter_dpi_text: dpi
317
+ label_fileprinter_resolution_text: Resolution
318
+ label_fileprinter_save_as_text: Save as
319
+ label_gdi_printer_text: Printer
320
+ label_linux_cups_dpi_text: dpi
321
+ label_linux_cups_printer_text: Printer
322
+ label_linux_cups_resolution_text: Resolution
323
+ label_linux_printer_state_text: Status
324
+ label_ttp343_device_text: Device file
325
+ label_ttp343_page_commands_text: Print commands per output page
326
+ label_ttp343_resolution_text: Resolution
327
+ label_zebra_answer_text: Answer
328
+ label_zebra_command_text: Command
329
+ label_zebra_commands_text: Printer commands
330
+ label_zebra_printer_text: Printer
331
+ tabitem_cab_printer_text: cab
332
+ tabitem_cx320_text: CX320
333
+ tabitem_epl_text: EPL
334
+ tabitem_file_printer_text: File
335
+ tabitem_gdi_printer_text: Windows GDI
336
+ tabitem_linux_cups_text: Linux-CUPS
337
+ tabitem_ttp343_text: TSC TTP 34X M
338
+ tabitem_zebra_printer_text: Zebra
339
+ textfield_file_save_as_tipText: |-
340
+ Storage location of the generated files
341
+ %d - Record number
342
+ %p - Page number
343
+ %i - Number of the card in the print job
344
+ embedded_object_dpi_differs: |
345
+ The barcode DPI in the preview (%{document_dpi}) and %{obj} (%{embedded_obj_dpi}) are different.
346
+ Please adjust the DPI and recheck the barcodes!
347
+ embedded_object_not_found: 'The layout ''%{path}'' could not be found.
348
+
349
+ '
350
+ error_generating_barcode: 'Error generating barcode %{data}: %{e}'
351
+ error_loading_layout_file: Error loading file
352
+ error_printer_not_setup: Please configure the selected printer first!
353
+ filepath_textfield_tip: |
354
+ The following replacement characters can be used:
355
+ %D - Path of the current layout file
356
+ %F - ​​Name of the current layout file without ".mcc2"
357
+ ~ - User directory
358
+ relative path - current directory in which MCC2 was started
359
+ font_not_found: The font '%{font}' in Object %{obj} could not be found.
360
+ font_selection_from_file: from font file
361
+ font_selection_please_select_entry: Please select
362
+ gdi_printer_driver_load_caption: the Windows printer interface
363
+ gdi_printer_error_at_setup: Error setting up the printer
364
+ image_not_found: The image '%{path}' could not be found.
365
+ language_change:
366
+ - Attention
367
+ - |
368
+ Please restart the app to activate
369
+ the change of the language.
370
+ language_forced:
371
+ - Attention
372
+ - |
373
+ The language cannot be changed, because it is forced by
374
+ option `--lang` on the command line!
375
+ linux_cups_printer_driver_load_caption: the Linux printer interface (i.e. libcups2)
376
+ mainWindow:
377
+ mcmd_barcode_accelText: Ctrl+B
378
+ mcmd_barcode_text: _Barcode
379
+ mcmd_box_text: _Frame
380
+ mcmd_cascade_text: Cascade
381
+ mcmd_close_accelText: Ctrl+W
382
+ mcmd_close_text: Close
383
+ mcmd_copy_accelText: Ctrl+C
384
+ mcmd_copy_text: _Copy
385
+ mcmd_cut_accelText: Ctrl+X
386
+ mcmd_cut_text: _Cut
387
+ mcmd_de_text: _Deutsch
388
+ mcmd_embed_text: _Layout-X-fold
389
+ mcmd_en_text: _English
390
+ mcmd_exit_accelText: Alt+F4
391
+ mcmd_exit_text: _Exit
392
+ mcmd_horizontal_text: _Horizontal
393
+ mcmd_new_accelText: Ctrl+N
394
+ mcmd_new_text: _New
395
+ mcmd_open_accelText: Ctrl+O
396
+ mcmd_open_text: Open
397
+ mcmd_paste_accelText: Ctrl+V
398
+ mcmd_paste_text: _Insert
399
+ mcmd_picture_accelText: Ctrl+i
400
+ mcmd_picture_text: Image
401
+ mcmd_rs_text: _српски
402
+ mcmd_save_accelText: Ctrl+S
403
+ mcmd_save_as_accelText: Shift-Ctrl-S
404
+ mcmd_save_as_text: Save _as
405
+ mcmd_save_text: _Save
406
+ mcmd_text_accelText: Ctrl+T
407
+ mcmd_text_text: _Text
408
+ mcmd_vertical_text: _Vertical
409
+ menutitle_datei_text: _File
410
+ menutitle_edit_text: _Edit
411
+ menutitle_language_text: _Language
412
+ menutitle_object_text: New _Object
413
+ menutitle_window_text: _Windows
414
+ new_layout_name: Layout
415
+ objectlist_job_settings: Job Settings
416
+ 'off': 'Off'
417
+ ok_button: "&OK"
418
+ 'on': 'On'
419
+ open_layout_file_dialog_caption: Open layout
420
+ open_layout_file_warning: Warning while loading %{filename}
421
+ open_layout_invalid_datasource_encoding: |
422
+ The data source encoding set to '%{datasource_encoding}' is invalid.
423
+
424
+ Valid values ​​are '%{valid_encodings}'.
425
+
426
+ Please set the correct encoding in the layout properties
427
+ and save the settings.
428
+ open_layout_invalid_datasource_type: |
429
+ The data source type '%{datasourcetyp}' is invalid.
430
+
431
+ Valid values ​​are '%{valid_types}'.
432
+
433
+ The value is now set to the default value '%{new}'.
434
+
435
+ Please set the correct data source type in the layout properties
436
+ and save the settings.
437
+ open_layout_old_barby: |
438
+ This file still uses Barby barcodes instead of the newer Zint barcodes.
439
+
440
+ Therefore, all barcodes must be checked and, if necessary, readjusted!
441
+
442
+ This warning will disappear once the file is saved.
443
+ open_layout_old_text_box: |
444
+ This file still contains text objects without regard to their frame size.
445
+
446
+ The frame size of the text objects has now been automatically set to that of the sample text.
447
+
448
+ However, adjustments may be necessary for the variable data.
449
+
450
+ Please verify that all text is positioned correctly.
451
+ open_layout_version_error: The file %{filename} is structured according to version %{filever}, but this program can only process versions %{supported}.
452
+ preview_dpi_and_print_differ: The barcode DPI for the preview (%{preview_dpi}) and the print version (%{print_dpi}) differ. Please adjust the DPI and re-check the barcodes!
453
+ preview_error_printing_exception:
454
+ - Error creating the preview of the layout
455
+ - "%{e}"
456
+ preview_error_printing_object:
457
+ - Error creating a graphic object
458
+ - "%{e}"
459
+ preview_keep_updated: Update preview
460
+ preview_keep_updated_tip: |-
461
+ If there are errors in the layout settings, the preview can be
462
+ turned off to avoid multiple warnings.
463
+ preview_label_zoom_tip: |-
464
+ Here you can enlarge or reduce the preview. If the
465
+ actual resolution of the connected screen is set,
466
+ the preview will appear in its original size.
467
+ preview_optimize_barcodes: Optimize barcodes to
468
+ preview_optimize_barcodes_tip: DPI of the printer
469
+ printer_driver_load_error:
470
+ - Error loading the driver for %{human_name}
471
+ - |-
472
+ The driver for %{human_name} could not be loaded.
473
+ Please ensure that the gem package '%{gem_name}' is installed.
474
+
475
+ %{e}
476
+ question_dialog_caption: Mode selection (please press the underlined letter)
477
+ save_layout_file_dialog_caption: Save
478
+ save_layout_file_dialog_question:
479
+ - Save file
480
+ - Save file %{filename}?
481
+ set_xpath_element: Set element under XPath %{xpath} in file %{filename} to %{value}
482
+ set_xpath_no_element_error: No element found under XPath %{xpath} in file %{filename}
483
+ tab_data_header: Da&ta
484
+ tab_layout_header: "&Layout"
485
+ tab_printer_header: P&rinter
486
+ text_color_dialog_caption: Text color
487
+ unknwon_error_message: |-
488
+ Unfortunately an error happend:
489
+
490
+ %{e} %{klass}
491
+ unknwon_error_message_exc: |-
492
+ Unfortunately an error happend:
493
+
494
+ %{e} (%{klass})
495
+ %{backtrace}
496
+ zebra_printer_driver_load_caption: Zebra printer
497
+ zebra_printer_error_send_cmd:
498
+ - 'Error sending command ''%{command}'' to the printer:'
499
+ - |-
500
+ %{e}
501
+
502
+ %{backtrace}