/**
 * Created with JetBrains PhpStorm.
 * User: taoqili
 * Date: 12-6-12
 * Time: 下午6:57
 * To change this template use File | Settings | File Templates.
 */
UE.I18N['en'] = {
    'labelMap':{
        'anchor':'Anchor', 'undo':'Undo', 'redo':'Redo', 'bold':'Bold', 'indent':'Indent', 'snapscreen':'SnapScreen',
        'italic':'Italic', 'underline':'Underline', 'strikethrough':'Strikethrough', 'subscript':'SubScript',
        'superscript':'SuperScript', 'formatmatch':'Format Match', 'source':'Source', 'blockquote':'BlockQuote',
        'pasteplain':'PastePlain', 'selectall':'SelectAll', 'print':'Print', 'preview':'Preview',
        'horizontal':'Horizontal', 'removeformat':'RemoveFormat', 'time':'Time', 'date':'Date',
        'unlink':'Unlink', 'insertrow':'InsertRow', 'insertcol':'InsertCol', 'mergeright':'MergeRight', 'mergedown':'MergeDown',
        'deleterow':'DeleteRow', 'deletecol':'DeleteCol', 'splittorows':'SplitToRows', 'splittocols':'SplitToCols', 'splittocells':'SplitToCells',
        'mergecells':'MergeCells', 'deletetable':'DeleteTable', 'insertparagraphbeforetable':'ParagraphBeforeTable', 'cleardoc':'Clear',
        'fontfamily':'FontFamily', 'fontsize':'FontSize', 'paragraph':'Paragraph', 'insertimage':'Image', 'inserttable':'Table', 'link':'Link',
        'emotion':'Emotion', 'spechars':'Spechars', 'searchreplace':'SearchReplace', 'map':'BaiduMap', 'gmap':'GoogleMap',
        'insertvideo':'Video', 'help':'Help', 'justifyleft':'JustifyLeft', 'justifyright':'JustifyRight', 'justifycenter':'JustifyCenter',
        'justifyjustify':'Justify', 'forecolor':'FontColor', 'backcolor':'BackColor', 'insertorderedlist':'OL',
        'insertunorderedlist':'UL', 'fullscreen':'FullScreen', 'directionalityltr':'EnterFromLeft', 'directionalityrtl':'EnterFromRight',
        'rowspacingtop':'RowSpacingTop', 'rowspacingbottom':'RowSpacingBottom', 'highlightcode':'Code', 'pagebreak':'PageBreak', 'insertframe':'Iframe', 'imagenone':'Default',
        'imageleft':'ImageLeft', 'imageright':'ImageRight', 'attachment':'Attachment', 'imagecenter':'ImageCenter', 'wordimage':'WordImage',
        'lineheight':'LineHeight','edittd':'EditTD', 'customstyle':'CustomStyle', 'scrawl':'Scrawl', 'autotypeset':'AutoTypeset', 'webapp':'WebAPP', 'touppercase':'UpperCase', 'tolowercase':'LowerCase','template':'Template','background':'Background'
    },
    'insertorderedlist':{
        'decimal':'1,2,3...',
        'lower-alpha':'a,b,c...',
        'lower-roman':'i,ii,iii...',
        'upper-alpha':'A,B,C...',
        'upper-roman':'I,II,III...'
    },
    'insertunorderedlist':{
        'circle':'○ Circle',
        'disc':'● Circle dot',
        'square':'■ Rectangle '
    },
    'paragraph':{'p':'Paragraph', 'h1':'Title 1', 'h2':'Title 2', 'h3':'Title 3', 'h4':'Title 4', 'h5':'Title 5', 'h6':'Title 6'},
    'fontfamily':{
        'songti':'Sim sun',
        'kaiti':'Sim kai',
        'heiti':'Sim hei',
        'lishu':'Sim li',
        'yahei': 'Microsoft yahei',
        'andaleMono':'Andale mono',
        'arial': 'Arial',
        'arialBlack':'Arial black',
        'comicSansMs':'Comic sans ms',
        'impact':'Impact',
        'timesNewRoman':'Times new roman'
    },
    'customstyle':{
        'tc':'Title center',
        'tl':'Title left',
        'im':'Important',
        'hi':'Highlight'
    },
    'elementPathTip':"Path",
    'wordCountTip':"Word Count",
    'wordCountMsg':'{#count} characters entered,{#leave} left. ',
    'wordOverFlowMsg':'<span style="color:red;">The number of characters has exceeded allowable maximum values, the server may refuse to save!</span>',
    'ok':"OK",
    'cancel':"Cancel",
    'closeDialog':"closeDialog",
    'tableDrag':"You must import the file uiUtils.js before drag! ",
    'autofloatMsg':"The plugin AutoFloat depends on EditorUI!",
    'snapScreen_plugin':{
        'browserMsg':"Only IE supported!",
        'callBackErrorMsg':"The callback data is wrong,please check the config!",
        'uploadErrorMsg':"Upload error,please check your server environment! "
    },
    'confirmClear':"Do you confirm to clear the Document?",
    'contextMenu':{
        'delete':"Delete",
        'selectall':"Select all",
        'deletecode':"Delete Code",
        'cleardoc':"Clear Document",
        'confirmclear':"Do you confirm to clear the Document?",
        'unlink':"Unlink",
        'paragraph':"Paragraph",
        'edittable':"Table property",
        'edittd':"Cell property",
        'table':"Table",
        'justifyleft':'Justify Left',
            'justifyright':'Justify Right',
            'justifycenter':'Justify Center',
            'justifyj':'Default',
        'deletetable':"Delete table",
        'insertparagraphbeforetable':"Insert paragraph",
        'deleterow':"Delete row",
        'deletecol':"Delete col",
        'insertrow':"Insert row",
        'insertcol':"Insert col",
        'mergeright':"Merge right",
        'mergeleft':"Merge left",
        'mergedown':"Merge down",
        'mergecells':"Merge cells",
        'splittocells':"Split to cells",
        'splittocols':"Split to Cols",
        'splittorows':"Split to Rows",
        'copy':"Copy(Ctrl + c)",
        'copymsg':"Please use 'Ctrl + c' instead!",
        'paste':"Paste(Ctrl + v)",
        'pastemsg':"Please use 'Ctrl + v' instead!"
    },

    'anthorMsg':"Link",
    'clearColor':'Clear',
    'standardColor':'Standard color',
    'themeColor':'Theme color',
    'property':'Property',
    'default':'Default',
    'modify':'Modify',
    'justifyleft':'Justify Left',
    'justifyright':'Justify Right',
    'justifycenter':'Justify Center',
    'justifyj':'Default',
    'clear':'Clear',
    'anchorMsg':'Anchor',
    'delete':'Delete',
    'clickToUpload':"Click to upload",
    'unset':'Language hasn\'t been set!',
    't_row':'row',
    't_col':'col',
    'more':'More',
    'autoTypeSet':{
        mergeLine:"Merge empty line",
        delLine:"Del empty line",
        removeFormat:"Remove format",
        indent:"Indent",
        alignment:"Alignment",
        imageFloat:"Image float",
        removeFontsize:"Remove font size",
        removeFontFamily:"Remove fontFamily",
        removeHtml:"Remove redundant HTML code",
        pasteFilter:"Paste filter",
        run:"Done"
    },

    'background':{
        'static':{
            'lang_background_normal':'Normal',
            'lang_background_local':'Local',
            'lang_background_set':'Background Set',
            'lang_background_none':'None',
            'lang_background_color':'Color Set',
            'lang_background_netimg':'Net-Image',
            'lang_background_align':'Align Type',
            'lang_background_position':'Position',
            'repeatType':{options:["Center", "Repeat-x", "Repeat-y", "Tile","Custom"]}
        },
        'noUploadImage':"No pictures has been uploaded！",
        'toggleSelect':'Change the active state by click!\n Image Size: '
    },
    //===============dialog i18N=======================
    insertimage:{
        'static':{
            'lang_tab_remote':"Remote", //节点
            'lang_tab_local':"Local",
            'lang_tab_imgManager':"Manager",
            'lang_tab_imgSearch':"Search",
            'lang_input_url':"Address",
            'lang_input_width':"Width",
            'lang_input_height':"Height",
            'lang_input_border':"Border",
            'lang_input_vhspace':"Margins",
            'lang_input_title':"Title",
            'lang_input_remoteAlign':'Align',
            'lang_imgLoading':"Loading...",
            'lock':{title:"Lock rate"}, //属性
            'imgType':{title:"ImageType", options:["News", "Wallpaper", "emotions", "photo"]}, //select的option
            'imgSearchTxt':{value:"Enter the search keyword!"},
            'imgSearchBtn':{value:"Search"},
            'imgSearchReset':{value:"Clear"},
            'upload':{style:'background: url(upload.png);'},
            'duiqi':{style:'background: url(imglabel.png) -12px 2px no-repeat;'}

        },
        'netError':"Network error,please check the config!",
        'noUploadImage':"No pictures has been uploaded！",
        'imageLoading':"Image is loading,please wait...",
        'tryAgain':" Sorry,can't find the image,please try again!",
        'toggleSelect':"Chang the active state by click!\n Image Size: ",
        'searchInitInfo':"Enter the search keyword!",
        'numError':"Please enter the correct Num. e.g 123,400",
        'imageUrlError':"The image format may be wrong!",
        'imageLoadError':"Error,please check the network or URL！",
        'flashError':'Flash Initialization failed，please update and try again!',
        'floatDefault':"Default",
        'floatLeft':"Float left",
        'floatRight':"Float right",
        'floatCenter':"Center",
        'fileType':"Image",
        'flashI18n':{
            lang:encodeURI( '{"UploadingState":"totalNum: ${a},uploadComplete: ${b}", "BeforeUpload":"waitingNum: ${a}", "ExceedSize":"Size exceed${a}", "ErrorInPreview":"Preview failed", "DefaultDescription":"Description", "LoadingImage":"Loading..."}' ),
            uploadingTF:encodeURI( '{"font":"Arial", "size":12, "color":"0x000", "bold":"true", "italic":"false", "underline":"false"}' ),
            imageTF:encodeURI( '{"font":"Arial", "size":11, "color":"red", "bold":"false", "italic":"false", "underline":"false"}' ),
            textEncoding:"utf-8",
            addImageSkinURL:"addimage.png",
            allDeleteBtnUpSkinURL:"alldeletebtnupskin.png",
            allDeleteBtnHoverSkinURL:"alldeletebtnhoverskin.png",
            rotateLeftBtnEnableSkinURL:"rotateleftenable.png",
            rotateLeftBtnDisableSkinURL:"rotateleftdisable.png",
            rotateRightBtnEnableSkinURL:"rotaterightenable.png",
            rotateRightBtnDisableSkinURL:"rotaterightdisable.png",
            deleteBtnEnableSkinURL:"deleteenable.png",
            deleteBtnDisableSkinURL:"deletedisable.png",
            backgroundURL:'',
            listBackgroundURL:'',
            buttonURL:'button.png'
        }
    },
    webapp:{
        tip1:"This function provided by Baidu APP,please apply for baidu APPKey webmaster first!",
        tip2:"And then open the file editor_config.js to set it! ",
        applyFor:"APPLY FOR",
        anthorApi:"Baidu API"
    },
    template:{
        'static':{
            'lang_template_bkcolor':'Background Color',
            'lang_template_clear' : 'Keep Content',
            'lang_template_select':'Select Template'
        },
        'blank':"Blank",
        'blog':"Blog",
        'resume':"Resume",
        'richText':"Rich Text",
        'scrPapers':"Scientific Papers"
    },
    scrawl:{
        'static':{
            'lang_input_previousStep':"Previous",
            'lang_input_nextsStep':"Next",
            'lang_input_clear':'Clear',
            'lang_input_addPic':'AddImage',
            'lang_input_ScalePic':'ScaleImage',
            'lang_input_removePic':'RemoveImage',
            'J_imgTxt':{title:'Add background image'}
        },
        'noScarwl':"No paint, a white paper...",
        'scrawlUpLoading':"Image is uploading, please wait...",
        'continueBtn':"Try again",
        'imageError':"Image failed to load!",
        'backgroundUploading':'Image is uploading,please wait...'
    },
    anchor:{
        'static':{
            'lang_input_anchorName':'Anchor Name:'
        }
    },
    attachment:{
        'static':{
            'lang_input_fileStatus':' No file uploaded!',
            'startUpload':{style:"background:url(upload.png) no-repeat;"}
        },
        'browseFiles':'Open files',
        'uploadSuccess':'Upload Successful!',
        'delSuccessFile':'Remove from the success of the queue',
        'delFailSaveFile':'Remove the save failed file',
        'statusPrompt':' file(s) uploaded! ',
        'flashVersionError':'The current Flash version is too low, please update FlashPlayer,then try again!',
        'flashLoadingError':'The Flash failed loading! Please check the path or network state',
        'fileUploadReady':'Wait for uploading...',
        'delUploadQueue':'Remove from the uploading queue ',
        'limitPrompt1':'Can not choose more than single',
        'limitPrompt2':'file(s)！Please choose again！',
        'delFailFile':'Remove failure file',
        'fileSizeLimit':'File size exceeds the limit！',
        'emptyFile':'Can not upload an empty file！',
        'fileTypeError':'File type error！',
        'unknownError':'Unknown error！',
        'fileUploading':'Uploading,please wait...',
        'cancelUpload':'Cancel upload',
        'netError':'Network error',
        'failUpload':'Upload failed',
        'serverIOError':'Server IO error！',
        'noAuthority':'No Permission！',
        'fileNumLimit':'Upload limit to the number',
        'failCheck':'Authentication fails, the upload is skipped!',
        'fileCanceling':'Cancel, please wait...',
        'stopUploading':'Upload has stopped...'
    },
    highlightcode:{
        'static':{
            'lang_input_selectLang':'Select Language'
        },
        importCode:'Please enter the code!'
    },
    emotion:{
        'static':{
            'lang_input_choice':'Choice',
            'lang_input_Tuzki':'Tuzki',
            'lang_input_lvdouwa':'LvDouWa',
            'lang_input_BOBO':'BOBO',
            'lang_input_babyCat':'BabyCat',
            'lang_input_bubble':'Bubble',
            'lang_input_youa':'YouA'
        }
    },
    gmap:{
        'static':{
            'lang_input_address':'Address:',
            'lang_input_search':'Search',
            'address':{value:"Beijing"}
        },
        searchError:'Unable to locate the address!'
    },
    help:{
        'static':{
            'lang_input_about':'About UEditor',
            'lang_input_shortcuts':'Shortcuts',
            'lang_input_version':'Version:1.2.3',
            'lang_input_introduction':"UEditor is developed by Baidu Co.ltd.  It is lightweight, customizable , focusing on user experience and etc. , UEditor is based on open source BSD license , allowing free use and redistribution.",
            'lang_Txt_shortcuts':'Shortcuts',
            'lang_Txt_func':'Function',
            'lang_Txt_bold':'Bold',
            'lang_Txt_copy':'Copy',
            'lang_Txt_cut':'Cut',
            'lang_Txt_Paste':'Paste',
            'lang_Txt_undo':'Undo',
            'lang_Txt_redo':'Redo',
            'lang_Txt_italic':'Italic',
            'lang_Txt_underline':'Underline',
            'lang_Txt_selectAll':'Select All',
            'lang_Txt_removeFormat':'Remove Format',
            'lang_Txt_leftJustification':'Justify Left',
            'lang_Txt_rightJustification':'Justify Right',
            'lang_Txt_visualEnter':'Submit'
        }
    },
    insertframe:{
        'static':{
            'lang_input_address':'Address：',
            'lang_input_width':'Width：',
            'lang_input_height':'height：',
            'lang_input_isScroll':'Enable scrollbars：',
            'lang_input_frameborder':'Show frame border：',
            'lang_input_alignMode':'Alignment：',
            'align':{title:"Alignment", options:["Default", "Left", "Right", "Center"]}
        },
        'enterAddress':'Please enter an address!'
    },
    link:{
        'static':{
            'lang_input_text':'Text：',
            'lang_input_url':'URL：',
            'lang_input_title':'Title：',
            'lang_input_target':'open in new window：'
        },
        'validLink':'Supports only effective when a link is selected',
        'httpPrompt':'The hyperlink you enter should start with "http|https|ftp://"!'
    },
    map:{
        'static':{
            lang_city:"City",
            lang_address:"Address",
            city:{value:"Beijing"},
            lang_search:"Search"
        },
        cityMsg:"Please enter the city name!",
        errorMsg:"Can't find the place!"
    },
    searchreplace:{
        'static':{
            lang_tab_search:"Search",
            lang_tab_replace:"Replace",
            lang_search1:"Search",
            lang_search2:"Search",
            lang_replace:"Replace",
            lang_case_sensitive1:"Case sense",
            lang_case_sensitive2:"Case sense",
            nextFindBtn:{value:"Next"},
            preFindBtn:{value:"Preview"},
            nextReplaceBtn:{value:"Next"},
            preReplaceBtn:{value:"Preview"},
            repalceBtn:{value:"Replace"},
            repalceAllBtn:{value:"Replace all"}
        },
        getEnd:"Has the search to the bottom!",
        getStart:"Has the search to the top!",
        countMsg:"Altogether replaced {#count} character(s)!"
    },
    snapscreen:{
        'static':{
            lang_showMsg:"You should install the UEditor screenshots program first!",
            lang_download:"Download!",
            lang_step1:"Step1:Download the program and then run it",
            lang_step2:"Step2:After complete install,try to click the button again"
        }
    },
    insertvideo:{
        'static':{
            lang_tab_insertV:"Insert Video",
            lang_tab_searchV:"Search Video",
            lang_video_url:" URL ",
            lang_video_size:"Video Size",
            lang_videoW:"Width",
            lang_videoH:"Height",
            lang_alignment:"Alignment",
            videoSearchTxt:{value:"Enter the search keyword!"},
            videoType:{options:["All", "Hot", "Entertainment", "Funny", "Sports", "Science", "variety"]},
            videoSearchBtn:{value:"Search in Baidu"},
            videoSearchReset:{value:"Clear result"}
        },
        numError:"Please enter the correct Num. e.g 123,400",
        floatLeft:"Float left",
        floatRight:"Float right",
        "default":"Default",
        block:"Display in block",
        urlError:"The video url format may be wrong!",
        loading:" &nbsp;The video is loading, please wait…",
        clickToSelect:"Click to select",
        goToSource:'Visit source video ',
        noVideo:" &nbsp; &nbsp;Sorry,can't find the video,please try again!"
    },
    spechars:{
        'static':{},
        tsfh:"Special",
        lmsz:"Roman",
        szfh:"Numeral",
        rwfh:"Japanese",
        xlzm:"The Greek",
        ewzm:"Russian",
        pyzm:"Phonetic",
        zyzf:"Others"
    },
    inserttable:{
        'static':{
            lang_baseInfo:"Base info",
            lang_rows:"Rows",
            lang_rowUnit:"row",
            lang_width:"Width",
            lang_widthUnit:"Unit",
            lang_height:"Height",
            lang_heightUnit:"Unit",
            lang_cols:"Cols",
            lang_colUnit:"col",
            lang_warmPrompt:"Warm prompt",
            lang_maxPadding:"Margins maximum can't more than 13 px! ",
            lang_extendInfo:"Extend info",
            lang_preview:"Can preview",
            lang_tableBorder:"Border",
            lang_borderSize:"Size",
            lang_borderColor:"Color",
            lang_mar_pad:"MarginPad",
            lang_margin:"Mar",
            lang_padding:"Pad",
            lang_table_background:"Table background",
            lang_table_alignment:"Table alignment",
            lang_borderFor:"Border for",
            align:{options:["Default", "Justify", "Justify Left", "Justify Right"]},
            borderType:{options:["Only table", "All cells"]},
            lang_forPreview:"This is used for preview"
        },
        errorNum:"Please enter the right number!",
        errorColor:"Please enter the right color!",
        clearColor:"Clear",
        overflowMsg:"Maximum can't more than {#value} px!",
        overflowPreviewMsg:"More than {#value} px no longer provide real-time preview!"
    },
    edittd:{
        'static':{
            lang_background:"Back Color",
            lang_alignment:"Alignment",
            lang_horizontal:"H",
            lang_vertical:"V",
            vAlign:{options:["Default", "Justify", "Justify Top", "Justify Bottom"]},
            align:{options:["Default", "Justify", "Justify Left", "Justify Right"]}
        },
        clearColor:"Clear"
    },
    wordimage:{
        'static':{
            lang_resave:"The re-save step",
            uploadBtn:{src:"upload.png", alt:"Upload"},
            clipboard:{style:"background: url(copy.png) -153px -1px no-repeat;"},
            lang_step:" 1. Click top button to copy the url and then open the dialog to paste it. 2. Open after choose photos uploaded process."
        },
        fileType:"Image",
        flashError:"Flash initialization failed!",
        netError:"Network error! Please try again!",
        copySuccess:"URL has been copied!",

        'flashI18n':{
            lang:encodeURI( '{"UploadingState":"totalNum: ${a},uploadComplete: ${b}", "BeforeUpload":"waitingNum: ${a}", "ExceedSize":"Size exceed${a}", "ErrorInPreview":"Preview failed", "DefaultDescription":"Description", "LoadingImage":"Loading..."}' ),
            uploadingTF:encodeURI( '{"font":"Arial", "size":12, "color":"0x000", "bold":"true", "italic":"false", "underline":"false"}' ),
            imageTF:encodeURI( '{"font":"Arial", "size":11, "color":"red", "bold":"false", "italic":"false", "underline":"false"}' ),
            textEncoding:"utf-8",
            addImageSkinURL:"addImage.png",
            allDeleteBtnUpSkinURL:"allDeleteBtnUpSkin.png",
            allDeleteBtnHoverSkinURL:"allDeleteBtnHoverSkin.png",
            rotateLeftBtnEnableSkinURL:"rotateLeftEnable.png",
            rotateLeftBtnDisableSkinURL:"rotateLeftDisable.png",
            rotateRightBtnEnableSkinURL:"rotateRightEnable.png",
            rotateRightBtnDisableSkinURL:"rotateRightDisable.png",
            deleteBtnEnableSkinURL:"deleteEnable.png",
            deleteBtnDisableSkinURL:"deleteDisable.png",
            backgroundURL:'',
            listBackgroundURL:'',
            buttonURL:'button.png'
        }
    }
};