﻿//resource for js base component
var _BR = {

    //=== moment.js ymd format ===
    MmUiDateFmt: 'MMM-D-YYYY',          //match datepicker format
    MmUiDtFmt: 'MMM-D-YYYY HH:mm:ss', 
    MmUiDt2Fmt: 'MMM-D-YYYY HH:mm',     //no second

    //row status
    StatusYes: 'Active',
    StatusNo: 'Off',
    Yes: 'Yes',

    //check input
    InputWrong: 'Input Wrong.',

    //for crud form
    Create: 'Create',
    Update: 'Update',
    View: 'View',
    UpdateOk: 'Update Ok.',
    DeleteOk: 'Delete Ok.',
    SaveOk: 'Save Ok.',
    SaveNone: 'No row changed !',
    Done: 'Done.',

    //find form
    FindOk: 'Find Ok.',
    FindNone: 'Find None !',

    //form tip
    TipUpdate: 'Update this Row.',
    TipDelete: 'Delete this Row.',
    TipView: 'View this Row.',

    //message-upload file
    UploadFileNotBig: 'Upload File Size Should Less Than {0}M !',
    UploadFileNotMatch: 'Upload File Type Not Match !',
    NewFileNotView: 'Save First Then View !',

    //message-others
    PlsSelectDeleted: 'Please Select Deleted Rows.',
    PlsSelectRows: 'Please Select Rows First.',
    SureDeleteRow: 'Sure to Delete Row ?',
    SureDeleteSelected: 'Sure to Delete Selected ?',

    //authority
    NoAuthUser: 'No right for this user, Please connect Admin.',
    NoAuthDept: 'No right for this department, Please connect Admin.',

    //others
    Working: 'Working...',

};