国际化支持

This commit is contained in:
liuhanqing
2025-05-23 10:33:30 +08:00
parent fd1c9ef5e8
commit 1f61c0c84a
13 changed files with 339 additions and 101 deletions

68
ruoyi-ui/src/lang/en.js Normal file
View File

@@ -0,0 +1,68 @@
// en.js
export default {
login: {
title: 'RuoYi Login Form',
logIn: 'Login in',
username: 'Username',
password: 'Password',
code: 'Code',
rememberMe: 'Remember Me'
},
tagsView: {
refresh: 'Refresh',
close: 'Close',
closeOthers: 'Close Others',
closeAll: 'Close All'
},
settings: {
title: 'Page style setting',
theme: 'Theme Color',
tagsView: 'Open Tags-View',
fixedHeader: 'Fixed Header',
sidebarLogo: 'Sidebar Logo'
},
receiveStockinAdd:{
title: 'Add Receive Stockin',
warehouse: 'Warehouse',
supplier: 'Supplier',
remark: 'Remark',
InboundMaterials: 'Inbound Materials',
AddMaterials: 'Add Materials',
ImportMaterials: 'Import Materials',
selectWarehouse: 'Please select warehouse',
selectSupplier: 'Please select supplier',
inputRemark: 'Please input remark',
warehouseRequired: 'Please select warehouse',
supplierRequired: 'Please select supplier',
addMaterialsRequired: 'Please add inbound materials',
materialInfoRequired: 'Please fill in correct material information',
addSuccess: 'Add stockin successfully',
uploadTitle: 'Import Materials',
dragText: 'Drag files here, or',
clickUpload: 'click to upload',
uploadTip: 'Only xlsx and xls files are allowed.',
downloadTemplate: 'Download Template',
confirm: 'Confirm',
cancel: 'Cancel',
serialNumber: 'No.',
guid: 'GUID',
parentId: 'Parent ID',
productCode: 'Product Code',
productName: 'Product Name',
price: 'Price',
brand: 'Brand',
unit: 'Unit',
spec: 'Specification',
description: 'Description',
batchNumber: 'Batch No.',
quantity: 'Quantity',
unitPrice: 'Unit Price',
amount: 'Amount',
operation: 'Operation',
delete: 'Delete',
totalQuantity: 'Total Quantity',
totalAmount: 'Total Amount',
submit: 'Submit',
selectProduct: 'Select Product'
}
}