[
{
    blockid=part;
    help=store_part_part;
    custom=com.netscape.management.msgserv.StoreGeneralControl;
    localvar={
	/* translate this block */
	.header.text="\u5206\u5272\u5340\u914d\u7f6e";
	.part.text="\u90f5\u4ef6\u5132\u5b58\u7684\u5206\u5272\u5340\u4e4b\u6e05\u55ae";
	.default.header="\u9810\u8a2d";
	.name.header="\u7565\u7a31";
	.path.header="\u8def\u5f91";
    };
    content=[
	{
	    ctrl=pane;
	    layout=[ybox];
	    content=[
		{
		    ctrl=label;
		    text=$.header.text;
		    wrap=$g.label.size5;
		    font=["","",16];
		},
		{
		    ctrl=vstrut;
		},
		{
		    ctrl=separator;
		},
		{
		    ctrl=vstrut;
		},
		{
		    ctrl=pane;
		    layout=[ybox];
		    content=[
			{
			    ctrl=label;
			    id=partlabel;
			    text=$.part.text;
			    wrap=$g.label.size4;
			},
			{
			    ctrl=vstrut;
			},
			{
			    ctrl=table;
			    label=partlabel;
			    id=parttable;
			    showedit=true;
          addtext=$g.addbutton.text;
          edittext=$g.editbutton.text;
          deltext=$g.deletebutton.text;
			    columns=[
				{
				    header=$.default.header;
				    renderer=boolean;
				    editor=boolean;
				    width=60;
				},
				{
				    header=$.name.header;
				    width=120;
				},
				{
				    header=$.path.header;
				    width=260;
				}
			    ];
			}
		    ]
		}
	    ]
	}
    ]
},
{
    blockid=editentry;
    help=store_part_editentry;
    localvar={
	.name.text="\u5206\u5272\u5340\u7565\u7a31\uff1a";
	.path.text="\u5206\u5272\u5340\u8def\u5f91\uff1a";
	.default.text="\u4f7f\u6b64\u5206\u5272\u5340\u6210\u70ba\u9810\u8a2d\u5206\u5272\u5340";
    };
    content=[
	{
	    ctrl=pane;
	    layout=[ybox];
	    content=[
		{
		    ctrl=pane;
		    content=[
			{
			    ctrl=label;
			    id=namelabel;
			    text=$.name.text;
			    wrap=$g.label.size1;
			    aligny=0.5;
			},
			{
			    ctrl=text;
			    label=namelabel;
			    val=$name;
			    aligny=0.5;
			    validate=com.netscape.management.msgserv.util.ValidLowerAlphanumeric;
			    errhint=$.name.text;
			    focus=true;
			},
			{
			    ctrl=hglue;
			}
		    ]
		},
		{
		    ctrl=vstrut;
		},
		{
		    ctrl=label;
		    id=pathlabel;
		    text=$.path.text;
		    wrap=$g.label.size3;
		},
		{
		    ctrl=text;
		    label=pathlabel;
		    val=$path;
		    validate=com.netscape.management.msgserv.util.ValidAbsolutePath;
		    errhint=$.path.text;
		},
		{
		    ctrl=vstrut;
		},
		{
		    ctrl=togglepane;
		    id=defaultcheck;
		    label=defaultlabel;
		    val=$.default.val;
		    text=$.default.text;
		}
	    ]
	}
    ]
}
]

