en-US-base.ts 13.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
import components_en_US from '@locale/lanres/components/components_en_US';
import usercustom_en_US from '@locale/lanres/usercustom/usercustom_en_US';

function getAppLocale(){
    const data:any = {
             app: {
            commonwords:{
                error: "Error",
                success: "Success",
                ok: "OK",
                cancel: "Cancel",
                save: "Save",
                codenotexist: 'Code list does not exist',
                reqexception: "Request exception",
                sysexception: "System abnormality",
                warning: "Warning",
                wrong: "Error",
                rulesexception: "Abnormal value check rule",
                savesuccess: "Saved successfully",
                savefailed: "Save failed",
                deletesuccess: "Successfully deleted!",
                deleteerror: "Failed to delete",
                deldatafail: "Failed to delete data",
                nodata: "No data",
                startsuccess:"Start successful",
                loadmore:"Load more",
                nomore:"No more",
                other:"other",
                nosupportsingle: "Single item data is not supported",
                nosupportmultiple: "Multiple data is not supported",
                getappiderror: "Failed to get web application appid",
                getdinginfoerror: "Failed to retrieve user information",
                getiderror: "Failed to get the enterprise ID",
                noassign: "No application functionality specified",
                codelistwarn: "Code table value type and property type do not match, automatic cast exception, please correct code table value type and property type match",
                yes: "yes",
                no: "no",
                wrongdataformat:"The data format is wrong!",
                alreadyexist:"Exist",
                srfmajortext: "Major Text",
                batchaddsuccess: "Batch added successfully"
            },
            local:{
                new: "New",
                add: "Add",
                delete: "Delete",
            },
            grid: {
                choicecolumns: "Choice columns",
                refresh: "refresh",
                show: "Show",
                records: "records",
                total: "total",
                selected: "selected ",
                novalueexist: "Value cannot be empty",
                group:"Group",
                other:"Other",
                notconfig: {
                    fetchaction: "The view table fetchaction parameter is not configured",
                    removeaction: "The view table removeaction parameter is not configured",
                    createaction: "The view table createaction parameter is not configured",
                    updateaction: "The view table updateaction parameter is not configured",
                    loaddraftaction: "The view table loadtrafaction parameter is not configured",
                },
                data: "Data",
                deldatafail: "Failed to delete data",
                delsuccess: "Delete successfully!",
                confirmdel: "Are you sure you want to delete",
                norecoverable: "delete will not be recoverable?",
                notbatch: "Batch addition not implemented",
                grid: "Grid",
                exportfail: "Data export failed",
                sum: "Total",
                formitemfailed: "Form item update failed",
                dataaggregate:{
                    dataaggregate: "Aggregate",
                    sum: "Sum:",
                    avg: "Avg:",
                    max: "Max:",
                    min: "Min:",
                },
                exportexcel: {
                    error: 'Export error'
                }
            },
            list: {
                notconfig: {
                    fetchaction: "View list fetchAction parameter is not configured",
                    removeaction: "View table removeAction parameter is not configured",
                    createaction: "View list createAction parameter is not configured",
                    updateaction: "View list updateAction parameter is not configured",
                },
                confirmdel: "Are you sure you want to delete",
                norecoverable: "delete will not be recoverable?",
95
                loadmore: "Load More",
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
            },
            listexpbar: {
                title: "List navigation bar",
            },
            wfexpbar: {
                title: "Process navigation bar",
            },
            calendarexpbar:{
                title: "Calendar navigation bar",
            },
            treeexpbar: {
                title: "Tree view navigation bar",
            },
            portlet: {
                noextensions: "No extensions",
            },
            tabpage: {
                sureclosetip: {
                    title: "Close warning",
                    content: "Form data Changed, are sure close?",
                },
                closeall: "Close all",
                closeother: "Close other",
            },
            searchbutton: {
                search: "Search",
                reset: "Reset",
            },
            calendar:{
            today: "today",
            month: "month",
            week: "week",
            day: "day",
            list: "list",
            dateselectmodaltitle: "select the time you wanted",
            gotodate: "goto",
            from: "From",
            to: "To",
            },
            utilview:{
                importview:"Import Data",
                warning:"warning",
                info:"Please configure the data import item",
                nodatakey:"No data primary key",
                printerror:"Printing failed",
                noprint:"No print items"
            },
            formpage:{
                error: "Error",
                desc1: "Operation failed, failed to find current form item",
                desc2: "Can't continue",
                notconfig: {
                    loadaction: "View form loadAction parameter is not configured",
                    loaddraftaction: "View form loaddraftAction parameter is not configured",
                    actionname: "View form actionName parameter is not configured",
                    removeaction: "View form removeAction parameter is not configured",
                },
                saveerror: "Error saving data",
                savecontent: "The data is inconsistent. The background data may have been modified. Do you want to reload the data?",
                rulesexception: "Value rule check exception",
                savesuccess: "Saved successfully!",
                deletesuccess: "Successfully deleted!",  
                workflow: {
                    starterror: "Workflow started successfully",
                    startsuccess: "Workflow failed to start",
                    submiterror: "Workflow submission failed",
                    submitsuccess: "Workflow submitted successfully",
                },
                updateerror: "Form item update failed",  
                valueverify:"Please input ",
                updateAction: "Update", 
                createAction: "Create",
                compositeitem: {
                    datepicker: 'The end time cannot be less than the start time',
                },     
            },
            gridexpbar: {
                title: "Table navigation bar",
            },
            multieditview: {
                notconfig: {
                    fetchaction: "View multi-edit view panel fetchAction parameter is not configured",
                    loaddraftaction: "View multi-edit view panel loaddraftAction parameter is not configured",
                },
            },
            dataviewexpbar: {
                title: "Card view navigation bar",
            },
            kanban: {
                notconfig: {
                    fetchaction: "View list fetchAction parameter is not configured",
                    removeaction: "View table removeAction parameter is not configured",
                },
                delete1: "Confirm to delete ",
                delete2: "the delete operation will be unrecoverable!",
            },
            dashboard: {
                handleclick: {
                    title: "Panel design",
                },
                dataerror: "Data Exception",
                serviceerror: "Server exception",
                loaderror: "Error loading panel model"
            },
            dataview: {
                sum: "total",
                data: "data",
                useless: "Packet data invalid",
                loadmore:'Load more'
            },
            chart: {
                undefined: "Undefined",
                quarter: "Quarter",   
                year: "Year",
                noindicator: "Indicator does not exist. Cannot convert data set!"
            },
            searchform: {
                notconfig: {
                    loadaction: "View search form loadAction parameter is not configured",
                    loaddraftaction: "View search form loaddraftAction parameter is not configured",
                },
                custom: "Store custom queries",
                title: "Name",
                globalerrortip:"Please check if the information is incorrect",
                nosearchparam: "No search param"
            },
            wizardpanel: {
                back: "Back",
                next: "Next",
                complete: "Complete",
                preactionmessage:"The calculation of the previous behavior is not configured",
                nofind: "Process function action view not found",
                success: "Submitted data successfully",
                error: "Mark the backlog task as read failed"
            },
            viewlayoutpanel: {
                applogoutview: {
                    prompt1: "Dear customer, you have successfully exited the system, after",
                    prompt2: "seconds, we will jump to the",
                    loginpage: "login page",
                },
                appwfsteptraceview: {
                    title: "Application process processing record view",
                },
                appwfstepdataview: {
                    title: "Application process tracking view",
                },
                apploginview: {
                    username: "Username",
                    password: "Password",
                    login: "Login",
                },
            },
            viewpanel: {
                noconfig: {
                    getaction: "The panel gets data behavior is not configured"
                },
                error: {
                    notgetservice: "Can't get entity service"
                }
            },
            editor: {
              noexist: "Editor instance does not exist!",
              nooutput: "The base class does not output",
              unsupport: "The editor type is not currently supported",
              nofind: "The destination editor could not be found",
              error: "Mark the cc task as read failed"
            },
            button: {
              leftbtn: "left shift",
              rightbtn: "right shift",
              allleftbtn: "All left",
              allrightbtn: "All the moves to the right",
            },
            nosupport: {
              nosupport: "This component is not currently supported",
              layout: "This layout pattern is not currently supported",
              unopen: "This mode is not supported to open",
              unassign: "The relational view is not specified",
              uncustom: "Custom not implemented"
            },
            warn: {
              nton: "Batch add need to add N:N relation",
              batcherror: "The batch operation failed" ,
              onlybatchadd: "Only batch additions are supported unimplemented",
              geterror: "Data acquisition exception",
              load: "Loading data",
              nofind: "No relevant data could be found",
              unopendata: "There is no opendata",
              unnewdata: "There is no newdata",
              unremove: "Don't remove",
              unrefresh: "There is no refresh",
              unopenview: "No open view"
            },
            error: {
                ok: " Success, no mistakes",
                internalerror: " Internal error occurred",
                accessdeny: " Access denied",
                invaliddata: " Invalid data",
                invaliddatakeys: " Invalid data key",
                inputerror: " The input is incorrect",
                duplicatekey: " Duplicate data key values",
                duplicatedata: " Duplicate data",
                daletereject: " Remove restrictions",
                logicerror: " Logic handling error",
                datanotmatch: " Data mismatch",
                daletedata: " Data that has been deleted",
                userconfirm: " Need to be validated",
                notimpl: " The specified function was not implemented",
                modelerror: " The model error",
                usererror: " User error",
                systemerror: "System anomaly",
                error_ok: "Success, no mistakes",
                error_empty: "Error with null data entry",
                error_datatype: "Incorrect data type error",
                error_valuerule: "Value rule error",
                error_duplicate: "Value duplicate error",
            },
        },
        components: components_en_US(),
        usercustom: usercustom_en_US(),
    };
    return data;
}
export default getAppLocale;