1<interface domain="easytag">
2    <requires lib="gtk+" version="3.10"/>
3    <object class="GtkListStore" id="fill_masks_model">
4        <columns>
5            <column type="gchararray"/>
6        </columns>
7    </object>
8    <object class="GtkListStore" id="rename_masks_model">
9        <columns>
10            <column type="gchararray"/>
11        </columns>
12    </object>
13    <template class="EtScanDialog" parent="GtkDialog">
14        <property name="destroy-with-parent">True</property>
15        <property name="title" translatable="yes">Tag and Filename Scan</property>
16        <signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
17        <signal name="hide" handler="et_scan_on_hide"/>
18        <signal name="response" handler="et_scan_on_response"/>
19        <child internal-child="vbox">
20            <object class="GtkBox" id="scanner_vbox">
21                <property name="border-width">6</property>
22                <property name="spacing">12</property>
23                <child>
24                    <object class="GtkNotebook" id="notebook">
25                        <property name="enable-popup">True</property>
26                        <property name="scrollable">True</property>
27                        <property name="visible">True</property>
28                        <child>
29                            <object class="GtkGrid" id="fill_grid">
30                                <property name="border-width">12</property>
31                                <property name="column-spacing">12</property>
32                                <property name="orientation">vertical</property>
33                                <property name="row-spacing">6</property>
34                                <property name="visible">True</property>
35                                <child>
36                                    <object class="GtkComboBox" id="fill_combo">
37                                        <property name="has-entry">True</property>
38                                        <property name="model">fill_masks_model</property>
39                                        <property name="entry-text-column">0</property>
40                                        <property name="hexpand">True</property>
41                                        <property name="tooltip-text" translatable="yes">Select or type in a mask using codes (see Legend) to parse filename and directory. Used to fill in tag fields</property>
42                                        <property name="visible">True</property>
43                                    </object>
44                                </child>
45                                <child>
46                                    <object class="GtkLabel" id="fill_preview_label">
47                                        <property name="label" translatable="yes">Fill tag preview</property>
48                                        <property name="visible">True</property>
49                                    </object>
50                                </child>
51                                <child>
52                                    <object class="GtkGrid" id="editor_grid">
53                                        <property name="column-spacing">12</property>
54                                        <property name="orientation">vertical</property>
55                                        <property name="visible">True</property>
56                                        <child>
57                                            <object class="GtkLabel" id="editor_label">
58                                                <property name="halign">start</property>
59                                                <property name="label" translatable="yes">Mask Editor</property>
60                                                <property name="visible">True</property>
61                                                <attributes>
62                                                    <attribute name="weight" value="bold"/>
63                                                </attributes>
64                                            </object>
65                                        </child>
66                                        <child>
67                                            <object class="GtkScrolledWindow" id="mask_scrolled">
68                                                <property name="margin-left">12</property>
69                                                <property name="margin-top">6</property>
70                                                <property name="min-content-height">150</property>
71                                                <property name="shadow-type">etched-in</property>
72                                                <property name="visible">True</property>
73                                                <child>
74                                                    <object class="GtkTreeView" id="mask_view">
75                                                        <property name="expand">True</property>
76                                                        <property name="headers-visible">False</property>
77                                                        <property name="model">fill_masks_model</property>
78                                                        <property name="reorderable">True</property>
79                                                        <property name="visible">True</property>
80                                                        <signal name="key-press-event" handler="Mask_Editor_List_Key_Press"/>
81                                                        <child>
82                                                            <object class="GtkTreeViewColumn" id="mask_column">
83                                                                <child>
84                                                                    <object class="GtkCellRendererText" id="mask_renderer"/>
85                                                                    <attributes>
86                                                                        <attribute name="text">0</attribute>
87                                                                    </attributes>
88                                                                </child>
89                                                            </object>
90                                                        </child>
91                                                        <child internal-child="selection">
92                                                            <object class="GtkTreeSelection" id="mask_selection">
93                                                                <property name="mode">multiple</property>
94                                                                <signal name="changed" handler="Mask_Editor_List_Row_Selected" after="yes"/>
95                                                            </object>
96                                                        </child>
97                                                    </object>
98                                                </child>
99                                            </object>
100                                        </child>
101                                        <child>
102                                            <object class="GtkToolbar" id="editor_toolbar">
103                                                <property name="margin-left">12</property>
104                                                <property name="visible">True</property>
105                                                <style>
106                                                    <class name="inline-toolbar"/>
107                                                </style>
108                                                <child>
109                                                    <object class="GtkToolButton" id="mask_new_button">
110                                                        <property name="icon-name">document-new</property>
111                                                        <property name="tooltip-text" translatable="yes">Create a new mask</property>
112                                                        <property name="visible">True</property>
113                                                        <signal name="clicked" handler="Mask_Editor_List_New" swapped="yes"/>
114                                                    </object>
115                                                </child>
116                                                <child>
117                                                    <object class="GtkToolButton" id="mask_up_button">
118                                                        <property name="icon-name">go-up</property>
119                                                        <property name="tooltip-text" translatable="yes">Move the selected mask up</property>
120                                                        <property name="visible">True</property>
121                                                        <signal name="clicked" handler="Mask_Editor_List_Move_Up" swapped="yes"/>
122                                                    </object>
123                                                </child>
124                                                <child>
125                                                    <object class="GtkToolButton" id="mask_down_button">
126                                                        <property name="icon-name">go-down</property>
127                                                        <property name="tooltip-text" translatable="yes">Move the selected mask down</property>
128                                                        <property name="visible">True</property>
129                                                        <signal name="clicked" handler="Mask_Editor_List_Move_Down" swapped="yes"/>
130                                                    </object>
131                                                </child>
132                                                <child>
133                                                    <object class="GtkToolButton" id="mask_copy_button">
134                                                        <property name="icon-name">edit-copy</property>
135                                                        <property name="tooltip-text" translatable="yes">Duplicate the selected mask</property>
136                                                        <property name="visible">True</property>
137                                                        <signal name="clicked" handler="Mask_Editor_List_Duplicate" swapped="yes"/>
138                                                    </object>
139                                                </child>
140                                                <child>
141                                                    <object class="GtkToolButton" id="mask_add_button">
142                                                        <property name="icon-name">list-add</property>
143                                                        <property name="tooltip-text" translatable="yes">Add default masks</property>
144                                                        <property name="visible">True</property>
145                                                        <signal name="clicked" handler="Mask_Editor_List_Add" swapped="yes"/>
146                                                    </object>
147                                                </child>
148                                                <child>
149                                                    <object class="GtkToolButton" id="mask_remove_button">
150                                                        <property name="icon-name">list-remove</property>
151                                                        <property name="tooltip-text" translatable="yes">Remove the selected mask</property>
152                                                        <property name="visible">True</property>
153                                                        <signal name="clicked" handler="Mask_Editor_List_Remove" swapped="yes"/>
154                                                    </object>
155                                                </child>
156                                                <child>
157                                                    <object class="GtkToolButton" id="mask_save_button">
158                                                        <property name="icon-name">document-save</property>
159                                                        <property name="tooltip-text" translatable="yes">Save masks</property>
160                                                        <property name="visible">True</property>
161                                                        <signal name="clicked" handler="Mask_Editor_List_Save" swapped="yes"/>
162                                                    </object>
163                                                </child>
164                                            </object>
165                                        </child>
166                                        <child>
167                                            <object class="GtkEntry" id="mask_entry">
168                                                <property name="margin-left">12</property>
169                                                <property name="margin-top">6</property>
170                                                <property name="visible">True</property>
171                                                <signal name="changed" handler="Mask_Editor_Entry_Changed" swapped="yes"/>
172                                                <signal name="changed" handler="entry_check_scan_tag_mask"/>
173                                            </object>
174                                        </child>
175                                    </object>
176                                </child>
177                                <child>
178                                    <object class="GtkGrid" id="legend_grid">
179                                        <property name="column-spacing">12</property>
180                                        <property name="row-spacing">6</property>
181                                        <property name="visible">True</property>
182                                        <child>
183                                            <object class="GtkLabel" id="legend_label">
184                                                <property name="halign">start</property>
185                                                <property name="label" translatable="yes">Legend</property>
186                                                <property name="visible">True</property>
187                                                <attributes>
188                                                    <attribute name="weight" value="bold"/>
189                                                </attributes>
190                                            </object>
191                                            <packing>
192                                                <property name="left-attach">0</property>
193                                                <property name="top-attach">0</property>
194                                                <property name="width">3</property>
195                                            </packing>
196                                        </child>
197                                        <child>
198                                            <object class="GtkLabel" id="artist_label">
199                                                <property name="halign">start</property>
200                                                <property name="label" translatable="yes">%a: artist</property>
201                                                <property name="margin-left">12</property>
202                                                <property name="visible">True</property>
203                                            </object>
204                                            <packing>
205                                                <property name="left-attach">0</property>
206                                                <property name="top-attach">1</property>
207                                            </packing>
208                                        </child>
209                                        <child>
210                                            <object class="GtkLabel" id="album_artist_label">
211                                                <property name="halign">start</property>
212                                                <property name="label" translatable="yes">%z: album artist</property>
213                                                <property name="margin-left">12</property>
214                                                <property name="visible">True</property>
215                                            </object>
216                                            <packing>
217                                                <property name="left-attach">0</property>
218                                                <property name="top-attach">2</property>
219                                            </packing>
220                                        </child>
221                                        <child>
222                                            <object class="GtkLabel" id="album_label">
223                                                <property name="halign">start</property>
224                                                <property name="label" translatable="yes">%b: album</property>
225                                                <property name="margin-left">12</property>
226                                                <property name="visible">True</property>
227                                            </object>
228                                            <packing>
229                                                <property name="left-attach">0</property>
230                                                <property name="top-attach">3</property>
231                                            </packing>
232                                        </child>
233                                        <child>
234                                            <object class="GtkLabel" id="comment_label">
235                                                <property name="halign">start</property>
236                                                <property name="label" translatable="yes">%c: comment</property>
237                                                <property name="margin-left">12</property>
238                                                <property name="visible">True</property>
239                                            </object>
240                                            <packing>
241                                                <property name="left-attach">0</property>
242                                                <property name="top-attach">4</property>
243                                            </packing>
244                                        </child>
245                                        <child>
246                                            <object class="GtkLabel" id="composer_label">
247                                                <property name="halign">start</property>
248                                                <property name="label" translatable="yes">%p: composer</property>
249                                                <property name="margin-left">12</property>
250                                                <property name="visible">True</property>
251                                            </object>
252                                            <packing>
253                                                <property name="left-attach">0</property>
254                                                <property name="top-attach">5</property>
255                                            </packing>
256                                        </child>
257                                        <child>
258                                            <object class="GtkLabel" id="copyright_label">
259                                                <property name="halign">start</property>
260                                                <property name="label" translatable="yes">%r: copyright</property>
261                                                <property name="margin-left">12</property>
262                                                <property name="visible">True</property>
263                                            </object>
264                                            <packing>
265                                                <property name="left-attach">0</property>
266                                                <property name="top-attach">6</property>
267                                            </packing>
268                                        </child>
269                                        <child>
270                                            <object class="GtkLabel" id="disc_number_label">
271                                                <property name="halign">start</property>
272                                                <property name="label" translatable="yes">%d: disc number</property>
273                                                <property name="visible">True</property>
274                                            </object>
275                                            <packing>
276                                                <property name="left-attach">1</property>
277                                                <property name="top-attach">1</property>
278                                            </packing>
279                                        </child>
280                                        <child>
281                                            <object class="GtkLabel" id="encoded_by_label">
282                                                <property name="halign">start</property>
283                                                <property name="label" translatable="yes">%e: encoded by</property>
284                                                <property name="visible">True</property>
285                                            </object>
286                                            <packing>
287                                                <property name="left-attach">1</property>
288                                                <property name="top-attach">2</property>
289                                            </packing>
290                                        </child>
291                                        <child>
292                                            <object class="GtkLabel" id="genre_label">
293                                                <property name="halign">start</property>
294                                                <property name="label" translatable="yes">%g: genre</property>
295                                                <property name="visible">True</property>
296                                            </object>
297                                            <packing>
298                                                <property name="left-attach">1</property>
299                                                <property name="top-attach">3</property>
300                                            </packing>
301                                        </child>
302                                        <child>
303                                            <object class="GtkLabel" id="ignored_label">
304                                                <property name="halign">start</property>
305                                                <property name="label" translatable="yes">%i: ignored</property>
306                                                <property name="visible">True</property>
307                                            </object>
308                                            <packing>
309                                                <property name="left-attach">1</property>
310                                                <property name="top-attach">4</property>
311                                            </packing>
312                                        </child>
313                                        <child>
314                                            <object class="GtkLabel" id="number_of_tracks_label">
315                                                <property name="halign">start</property>
316                                                <property name="label" translatable="yes">%l: number of tracks</property>
317                                                <property name="visible">True</property>
318                                            </object>
319                                            <packing>
320                                                <property name="left-attach">1</property>
321                                                <property name="top-attach">5</property>
322                                            </packing>
323                                        </child>
324                                        <child>
325                                            <object class="GtkLabel" id="orig_artist_label">
326                                                <property name="halign">start</property>
327                                                <property name="label" translatable="yes">%o: original artist</property>
328                                                <property name="visible">True</property>
329                                            </object>
330                                            <packing>
331                                                <property name="left-attach">1</property>
332                                                <property name="top-attach">6</property>
333                                            </packing>
334                                        </child>
335                                        <child>
336                                            <object class="GtkLabel" id="track_label">
337                                                <property name="halign">start</property>
338                                                <property name="label" translatable="yes">%n: track number</property>
339                                                <property name="visible">True</property>
340                                            </object>
341                                            <packing>
342                                                <property name="left-attach">2</property>
343                                                <property name="top-attach">1</property>
344                                            </packing>
345                                        </child>
346                                        <child>
347                                            <object class="GtkLabel" id="title_label">
348                                                <property name="halign">start</property>
349                                                <property name="label" translatable="yes">%t: title</property>
350                                                <property name="visible">True</property>
351                                            </object>
352                                            <packing>
353                                                <property name="left-attach">2</property>
354                                                <property name="top-attach">2</property>
355                                            </packing>
356                                        </child>
357                                        <child>
358                                            <object class="GtkLabel" id="url_label">
359                                                <property name="halign">start</property>
360                                                <property name="label" translatable="yes">%u: URL</property>
361                                                <property name="visible">True</property>
362                                            </object>
363                                            <packing>
364                                                <property name="left-attach">2</property>
365                                                <property name="top-attach">3</property>
366                                            </packing>
367                                        </child>
368                                        <child>
369                                            <object class="GtkLabel" id="number_of_discs_label">
370                                                <property name="halign">start</property>
371                                                <property name="label" translatable="yes">%x: number of discs</property>
372                                                <property name="visible">True</property>
373                                            </object>
374                                            <packing>
375                                                <property name="left-attach">2</property>
376                                                <property name="top-attach">4</property>
377                                            </packing>
378                                        </child>
379                                        <child>
380                                            <object class="GtkLabel" id="year_label">
381                                                <property name="halign">start</property>
382                                                <property name="label" translatable="yes">%y: year</property>
383                                                <property name="visible">True</property>
384                                            </object>
385                                            <packing>
386                                                <property name="left-attach">2</property>
387                                                <property name="top-attach">5</property>
388                                            </packing>
389                                        </child>
390                                    </object>
391                                </child>
392                            </object>
393                        </child>
394                        <child type="tab">
395                            <object class="GtkLabel" id="fill_tab_label">
396                                <property name="label" translatable="yes">Fill Tag</property>
397                            </object>
398                        </child>
399                        <child>
400                            <object class="GtkGrid" id="rename_grid">
401                                <property name="border-width">12</property>
402                                <property name="column-spacing">6</property>
403                                <property name="orientation">vertical</property>
404                                <property name="row-spacing">6</property>
405                                <property name="visible">True</property>
406                                <child>
407                                    <object class="GtkBox" id="rename_box">
408                                        <property name="orientation">horizontal</property>
409                                        <property name="spacing">6</property>
410                                        <property name="visible">True</property>
411                                        <child>
412                                            <object class="GtkButton" id="rename_prefix_button">
413                                                <property name="tooltip-text" translatable="yes">Prefix mask with current directory</property>
414                                                <property name="visible">True</property>
415                                                <signal name="clicked" handler="Scan_Rename_File_Prefix_Path" swapped="yes"/>
416                                                <child>
417                                                    <object class="GtkImage" id="rename_prefix_image">
418                                                        <property name="icon-name">folder-new</property>
419                                                        <property name="visible">True</property>
420                                                    </object>
421                                                </child>
422                                            </object>
423                                        </child>
424                                        <child>
425                                            <object class="GtkComboBox" id="rename_combo">
426                                                <property name="has-entry">True</property>
427                                                <property name="model">rename_masks_model</property>
428                                                <property name="entry-text-column">0</property>
429                                                <property name="hexpand">True</property>
430                                                <property name="tooltip-text" translatable="yes">Select or type in a mask using codes (see Legend) to parse tag fields. Used to rename the file.
431Use ‘/’ to make directories. If the first character is ‘/’, it is an absolute path, otherwise it is relative to the old path</property>
432                                                <property name="visible">True</property>
433                                            </object>
434                                        </child>
435                                    </object>
436                                </child>
437                                <child>
438                                    <object class="GtkLabel" id="rename_preview_label">
439                                        <property name="label" translatable="yes">Rename file preview</property>
440                                        <property name="visible">True</property>
441                                    </object>
442                                </child>
443                            </object>
444                        </child>
445                        <child type="tab">
446                            <object class="GtkLabel" id="rename_tab_label">
447                                <property name="label" translatable="yes">Rename File</property>
448                            </object>
449                        </child>
450                        <child>
451                            <object class="GtkGrid" id="process_grid">
452                                <property name="border-width">12</property>
453                                <property name="orientation">vertical</property>
454                                <property name="row-spacing">6</property>
455                                <property name="visible">True</property>
456                                <child>
457                                    <object class="GtkLabel" id="tag_fields_label">
458                                        <property name="halign">start</property>
459                                        <property name="label" translatable="yes">Tag Fields</property>
460                                        <property name="visible">True</property>
461                                        <attributes>
462                                            <attribute name="weight" value="bold"/>
463                                        </attributes>
464                                    </object>
465                                </child>
466                                <child>
467                                    <object class="GtkGrid" id="fill_tags_grid">
468                                        <property name="column-spacing">12</property>
469                                        <property name="margin-left">12</property>
470                                        <property name="row-spacing">6</property>
471                                        <property name="visible">True</property>
472                                        <child>
473                                            <object class="GtkCheckButton" id="process_filename_check">
474                                                <property name="label" translatable="yes">Filename</property>
475                                                <property name="name">filename</property>
476                                                <property name="tooltip-text" translatable="yes">Process filename</property>
477                                                <property name="visible">True</property>
478                                            </object>
479                                            <packing>
480                                                <property name="left-attach">0</property>
481                                                <property name="top-attach">0</property>
482                                            </packing>
483                                        </child>
484                                        <child>
485                                            <object class="GtkCheckButton" id="process_title_check">
486                                                <property name="label" translatable="yes">Title</property>
487                                                <property name="name">title</property>
488                                                <property name="tooltip-text" translatable="yes">Process title field</property>
489                                                <property name="visible">True</property>
490                                            </object>
491                                            <packing>
492                                                <property name="left-attach">1</property>
493                                                <property name="top-attach">0</property>
494                                            </packing>
495                                        </child>
496                                        <child>
497                                            <object class="GtkCheckButton" id="process_artist_check">
498                                                <property name="label" translatable="yes">Artist</property>
499                                                <property name="name">artist</property>
500                                                <property name="tooltip-text" translatable="yes">Process artist field</property>
501                                                <property name="visible">True</property>
502                                            </object>
503                                            <packing>
504                                                <property name="left-attach">2</property>
505                                                <property name="top-attach">0</property>
506                                            </packing>
507                                        </child>
508                                        <child>
509                                            <object class="GtkCheckButton" id="process_album_artist_check">
510                                                <property name="label" translatable="yes">Album Artist</property>
511                                                <property name="name">album-artist</property>
512                                                <property name="tooltip-text" translatable="yes">Process album artist field</property>
513                                                <property name="visible">True</property>
514                                            </object>
515                                            <packing>
516                                                <property name="left-attach">3</property>
517                                                <property name="top-attach">0</property>
518                                            </packing>
519                                        </child>
520                                        <child>
521                                            <object class="GtkCheckButton" id="process_album_check">
522                                                <property name="label" translatable="yes">Album</property>
523                                                <property name="name">album</property>
524                                                <property name="tooltip-text" translatable="yes">Process album field</property>
525                                                <property name="visible">True</property>
526                                            </object>
527                                            <packing>
528                                                <property name="left-attach">4</property>
529                                                <property name="top-attach">0</property>
530                                            </packing>
531                                        </child>
532                                        <child>
533                                            <object class="GtkCheckButton" id="process_genre_check">
534                                                <property name="label" translatable="yes">Genre</property>
535                                                <property name="name">genre</property>
536                                                <property name="tooltip-text" translatable="yes">Process genre field</property>
537                                                <property name="visible">True</property>
538                                            </object>
539                                            <packing>
540                                                <property name="left-attach">5</property>
541                                                <property name="top-attach">0</property>
542                                            </packing>
543                                        </child>
544                                        <child>
545                                            <object class="GtkCheckButton" id="process_comment_check">
546                                                <property name="label" translatable="yes">Comment</property>
547                                                <property name="name">comment</property>
548                                                <property name="tooltip-text" translatable="yes">Process comment field</property>
549                                                <property name="visible">True</property>
550                                            </object>
551                                            <packing>
552                                                <property name="left-attach">0</property>
553                                                <property name="top-attach">1</property>
554                                            </packing>
555                                        </child>
556                                        <child>
557                                            <object class="GtkCheckButton" id="process_composer_check">
558                                                <property name="label" translatable="yes">Composer</property>
559                                                <property name="name">composer</property>
560                                                <property name="tooltip-text" translatable="yes">Process composer field</property>
561                                                <property name="visible">True</property>
562                                            </object>
563                                            <packing>
564                                                <property name="left-attach">1</property>
565                                                <property name="top-attach">1</property>
566                                            </packing>
567                                        </child>
568                                        <child>
569                                            <object class="GtkCheckButton" id="process_orig_artist_check">
570                                                <property name="label" translatable="yes">Orig. Artist</property>
571                                                <property name="name">original-artist</property>
572                                                <property name="tooltip-text" translatable="yes">Process original artist field</property>
573                                                <property name="visible">True</property>
574                                            </object>
575                                            <packing>
576                                                <property name="left-attach">2</property>
577                                                <property name="top-attach">1</property>
578                                            </packing>
579                                        </child>
580                                        <child>
581                                            <object class="GtkCheckButton" id="process_copyright_check">
582                                                <property name="label" translatable="yes">Copyright</property>
583                                                <property name="name">copyright</property>
584                                                <property name="tooltip-text" translatable="yes">Process copyright field</property>
585                                                <property name="visible">True</property>
586                                            </object>
587                                            <packing>
588                                                <property name="left-attach">3</property>
589                                                <property name="top-attach">1</property>
590                                            </packing>
591                                        </child>
592                                        <child>
593                                            <object class="GtkCheckButton" id="process_url_check">
594                                                <property name="label" translatable="yes">URL</property>
595                                                <property name="name">url</property>
596                                                <property name="tooltip-text" translatable="yes">Process URL field</property>
597                                                <property name="visible">True</property>
598                                            </object>
599                                            <packing>
600                                                <property name="left-attach">4</property>
601                                                <property name="top-attach">1</property>
602                                            </packing>
603                                        </child>
604                                        <child>
605                                            <object class="GtkCheckButton" id="process_encoded_by_check">
606                                                <property name="label" translatable="yes">Encoded By</property>
607                                                <property name="name">encoded-by</property>
608                                                <property name="tooltip-text" translatable="yes">Process encoded-by field</property>
609                                                <property name="visible">True</property>
610                                            </object>
611                                            <packing>
612                                                <property name="left-attach">5</property>
613                                                <property name="top-attach">1</property>
614                                            </packing>
615                                        </child>
616                                    </object>
617                                </child>
618                                <child>
619                                    <object class="GtkGrid" id="capital_spaces_grid">
620                                        <property name="column-spacing">12</property>
621                                        <property name="row-spacing">6</property>
622                                        <property name="visible">True</property>
623                                        <child>
624                                            <object class="GtkLabel" id="capitalization_label">
625                                                <property name="halign">start</property>
626                                                <property name="label" translatable="yes">Capitalization</property>
627                                                <property name="visible">True</property>
628                                                <attributes>
629                                                    <attribute name="weight" value="bold"/>
630                                                </attributes>
631                                            </object>
632                                            <packing>
633                                                <property name="left-attach">0</property>
634                                                <property name="top-attach">0</property>
635                                            </packing>
636                                        </child>
637                                        <child>
638                                            <object class="GtkRadioButton" id="capitalize_all_radio">
639                                                <property name="label" translatable="yes">Capitalize all</property>
640                                                <property name="margin-left">12</property>
641                                                <property name="tooltip-text" translatable="yes">Whether to upper-case all characters of the tag when processing tag fields</property>
642                                                <property name="visible">True</property>
643                                            </object>
644                                            <packing>
645                                                <property name="left-attach">0</property>
646                                                <property name="top-attach">1</property>
647                                            </packing>
648                                        </child>
649                                        <child>
650                                            <object class="GtkRadioButton" id="capitalize_lower_radio">
651                                                <property name="group">capitalize_all_radio</property>
652                                                <property name="label" translatable="yes">Lowercase all</property>
653                                                <property name="margin-left">12</property>
654                                                <property name="tooltip-text" translatable="yes">Whether to lower-case all characters of the tag when processing tag fields</property>
655                                                <property name="visible">True</property>
656                                            </object>
657                                            <packing>
658                                                <property name="left-attach">0</property>
659                                                <property name="top-attach">2</property>
660                                            </packing>
661                                        </child>
662                                        <child>
663                                            <object class="GtkRadioButton" id="capitalize_first_radio">
664                                                <property name="group">capitalize_all_radio</property>
665                                                <property name="label" translatable="yes">Capitalize first letter</property>
666                                                <property name="margin-left">12</property>
667                                                <property name="tooltip-text" translatable="yes">Whether to upper-case the first letter of the tag when processing tag fields</property>
668                                                <property name="visible">True</property>
669                                            </object>
670                                            <packing>
671                                                <property name="left-attach">0</property>
672                                                <property name="top-attach">3</property>
673                                            </packing>
674                                        </child>
675                                        <child>
676                                            <object class="GtkRadioButton" id="capitalize_first_style_radio">
677                                                <property name="group">capitalize_all_radio</property>
678                                                <property name="label" translatable="yes">Capitalize the first letter of each word</property>
679                                                <property name="margin-left">12</property>
680                                                <property name="tooltip-text" translatable="yes">Whether to upper-case the first letter of each word when processing tag fields</property>
681                                                <property name="visible">True</property>
682                                                <signal name="toggled" handler="Process_Fields_First_Letters_Check_Button_Toggled" swapped="yes"/>
683                                            </object>
684                                            <packing>
685                                                <property name="left-attach">0</property>
686                                                <property name="top-attach">4</property>
687                                            </packing>
688                                        </child>
689                                        <child>
690                                            <object class="GtkCheckButton" id="capitalize_roman_check">
691                                                <property name="label" translatable="yes">Detect Roman numerals</property>
692                                                <property name="margin-left">24</property>
693                                                <property name="tooltip-text" translatable="yes">Whether to detect Roman numerals when applying upper-case conversions while processing tag fields</property>
694                                                <property name="visible">True</property>
695                                            </object>
696                                            <packing>
697                                                <property name="left-attach">0</property>
698                                                <property name="top-attach">5</property>
699                                            </packing>
700                                        </child>
701                                        <child>
702                                            <object class="GtkRadioButton" id="capitalize_none_radio">
703                                                <property name="group">capitalize_all_radio</property>
704                                                <property name="label" translatable="yes">Do not change capitalization</property>
705                                                <property name="margin-left">12</property>
706                                                <property name="tooltip-text" translatable="yes"></property>
707                                                <property name="visible">True</property>
708                                            </object>
709                                            <packing>
710                                                <property name="left-attach">0</property>
711                                                <property name="top-attach">6</property>
712                                            </packing>
713                                        </child>
714                                        <child>
715                                            <object class="GtkLabel" id="spaces_label">
716                                                <property name="halign">start</property>
717                                                <property name="label" translatable="yes">Spaces Conversions</property>
718                                                <property name="visible">True</property>
719                                                <attributes>
720                                                    <attribute name="weight" value="bold"/>
721                                                </attributes>
722                                            </object>
723                                            <packing>
724                                                <property name="left-attach">1</property>
725                                                <property name="top-attach">0</property>
726                                            </packing>
727                                        </child>
728                                        <child>
729                                            <object class="GtkRadioButton" id="spaces_remove_radio">
730                                                <property name="label" translatable="yes">Remove spaces</property>
731                                                <property name="margin-left">12</property>
732                                                <property name="tooltip-text" translatable="yes">Whether to remove all spaces when processing tag fields</property>
733                                                <property name="visible">True</property>
734                                            </object>
735                                            <packing>
736                                                <property name="left-attach">1</property>
737                                                <property name="top-attach">1</property>
738                                            </packing>
739                                        </child>
740                                        <child>
741                                            <object class="GtkRadioButton" id="spaces_insert_radio">
742                                                <property name="group">spaces_remove_radio</property>
743                                                <property name="label" translatable="yes">Insert a space before uppercase letters</property>
744                                                <property name="margin-left">12</property>
745                                                <property name="tooltip-text" translatable="yes">Whether to insert spaces before capital letters when processing tag fields</property>
746                                                <property name="visible">True</property>
747                                            </object>
748                                            <packing>
749                                                <property name="left-attach">1</property>
750                                                <property name="top-attach">2</property>
751                                            </packing>
752                                        </child>
753                                        <child>
754                                            <object class="GtkRadioButton" id="spaces_insert_one_radio">
755                                                <property name="group">spaces_remove_radio</property>
756                                                <property name="label" translatable="yes">Remove duplicate spaces and underscores</property>
757                                                <property name="margin-left">12</property>
758                                                <property name="tooltip-text" translatable="yes">Whether to remove duplicate spaces and underscores when processing tag fields</property>
759                                                <property name="visible">True</property>
760                                            </object>
761                                            <packing>
762                                                <property name="left-attach">1</property>
763                                                <property name="top-attach">3</property>
764                                            </packing>
765                                        </child>
766                                        <child>
767                                            <object class="GtkRadioButton" id="spaces_none_radio">
768                                                <property name="group">spaces_remove_radio</property>
769                                                <property name="label" translatable="yes">Do not change word separators</property>
770                                                <property name="margin-left">12</property>
771                                                <property name="visible">True</property>
772                                            </object>
773                                            <packing>
774                                                <property name="left-attach">1</property>
775                                                <property name="top-attach">4</property>
776                                            </packing>
777                                        </child>
778                                    </object>
779                                </child>
780                                <child>
781                                    <object class="GtkLabel" id="convert_characters_label">
782                                        <property name="halign">start</property>
783                                        <property name="label" translatable="yes">Character Conversions</property>
784                                        <property name="visible">True</property>
785                                        <attributes>
786                                            <attribute name="weight" value="bold"/>
787                                        </attributes>
788                                    </object>
789                                </child>
790                                <child>
791                                    <object class="GtkRadioButton" id="convert_space_radio">
792                                        <property name="label" translatable="yes">Convert ‘_’ and ‘%20’ to spaces</property>
793                                        <property name="margin-left">12</property>
794                                        <property name="name">spaces</property>
795                                        <property name="tooltip-text" translatable="yes">The underscore character or the string ‘%20’ is replaced by one space. Example, before: ‘Text%20In%20An_Entry‘, after: ‘Text In An Entry’</property>
796                                        <property name="visible">True</property>
797                                    </object>
798                                </child>
799                                <child>
800                                    <object class="GtkRadioButton" id="convert_underscores_radio">
801                                        <property name="group">convert_space_radio</property>
802                                        <property name="label" translatable="yes">Convert spaces to underscores</property>
803                                        <property name="margin-left">12</property>
804                                        <property name="name">underscores</property>
805                                        <property name="tooltip-text" translatable="yes">The space character is replaced by one underscore character. Example, before: ‘Text In An Entry’, after: ‘Text_In_An_Entry’</property>
806                                        <property name="visible">True</property>
807                                    </object>
808                                </child>
809                                <child>
810                                    <object class="GtkBox" id="convert_string_box">
811                                        <property name="margin-left">12</property>
812                                        <property name="orientation">horizontal</property>
813                                        <property name="spacing">6</property>
814                                        <property name="visible">True</property>
815                                        <child>
816                                            <object class="GtkRadioButton" id="convert_string_radio">
817                                                <property name="group">convert_space_radio</property>
818                                                <property name="label" translatable="yes">Convert:</property>
819                                                <property name="name">characters</property>
820                                                <property name="tooltip-text" translatable="yes">Replace a string by another one. Note that the search is case sensitive</property>
821                                                <property name="visible">True</property>
822                                                <signal name="toggled" handler="Process_Fields_Convert_Check_Button_Toggled" swapped="yes"/>
823                                            </object>
824                                        </child>
825                                        <child>
826                                            <object class="GtkEntry" id="convert_from_entry">
827                                                <property name="visible">True</property>
828                                            </object>
829                                        </child>
830                                        <child>
831                                            <object class="GtkLabel" id="convert_to_label">
832                <!-- FIXME: translation context. -->
833                                                <property name="label" translatable="yes">to: </property>
834                                                <property name="visible">True</property>
835                                            </object>
836                                        </child>
837                                        <child>
838                                            <object class="GtkEntry" id="convert_to_entry">
839                                                <property name="visible">True</property>
840                                            </object>
841                                        </child>
842                                    </object>
843                                </child>
844                                <child>
845                                    <object class="GtkRadioButton" id="convert_none_radio">
846                                        <property name="group">convert_space_radio</property>
847                                        <property name="label" translatable="yes">Do not convert</property>
848                                        <property name="margin-left">12</property>
849                                        <property name="name">no-change</property>
850                                        <property name="visible">True</property>
851                                    </object>
852                                </child>
853                            </object>
854                        </child>
855                        <child type="tab">
856                            <object class="GtkLabel" id="process_tab_label">
857                                <property name="label" translatable="yes">Process Fields</property>
858                            </object>
859                        </child>
860                        <child type="action-end">
861                            <object class="GtkBox" id="action_box">
862                                <property name="orientation">horizontal</property>
863                                <property name="visible">True</property>
864                                <child>
865                                    <object class="GtkToggleButton" id="mask_editor_toggle">
866                                        <property name="tooltip-text" translatable="yes">Show / Hide Masks Editor</property>
867                                        <property name="visible">True</property>
868                                        <signal name="toggled" handler="Scan_Toggle_Mask_Editor_Button" swapped="yes"/>
869                                        <child>
870                                            <object class="GtkImage" id="mask_toggle_image">
871                                                <property name="resource">/org/gnome/EasyTAG/images/mask.png</property>
872                                                <property name="visible">True</property>
873                                            </object>
874                                        </child>
875                                    </object>
876                                </child>
877                                <child>
878                                    <object class="GtkToggleButton" id="legend_toggle">
879                                        <property name="tooltip-text" translatable="yes">Show / Hide Legend</property>
880                                        <property name="visible">True</property>
881                                        <signal name="toggled" handler="Scan_Toggle_Legend_Button" swapped="yes"/>
882                                        <child>
883                                            <object class="GtkImage" id="scanner_legend_image">
884                                                <property name="icon-name">help-faq</property>
885                                                <property name="visible">True</property>
886                                            </object>
887                                        </child>
888                                    </object>
889                                </child>
890                                <child>
891                                    <object class="GtkButton" id="scanner_preferences_button">
892                                        <property name="tooltip-text" translatable="yes">Scanner Preferences</property>
893                                        <property name="visible">True</property>
894                                        <signal name="clicked" handler="Scan_Option_Button"/>
895                                        <child>
896                                            <object class="GtkImage" id="scanner_preferences_image">
897                                                <property name="icon-name">preferences-other</property>
898                                                <property name="visible">True</property>
899                                            </object>
900                                        </child>
901                                    </object>
902                                </child>
903                            </object>
904                        </child>
905                    </object>
906                </child>
907            </object>
908        </child>
909    </template>
910</interface>
911