- add new language packs for multiple pages and components including category, cart, order, member center, distribution, etc. - add Chinese and English translations for new features and UI text - fix navigation service error message to use multilingual text - update component templates to use dynamic language translation instead of hardcoded text - adjust code indentation and formatting for consistency
33 lines
819 B
JavaScript
33 lines
819 B
JavaScript
export const lang = {
|
|
//title为每个页面的标题
|
|
title: 'Write a Review',
|
|
|
|
// ====== Rating Section ======
|
|
rating: {
|
|
descriptionMatch: 'Item as Described',
|
|
goodRating: 'Positive',
|
|
mediumRating: 'Neutral',
|
|
badRating: 'Negative'
|
|
},
|
|
|
|
// ====== Evaluation Input Section ======
|
|
input: {
|
|
evaluationPlaceholder: 'Please enter your evaluation here',
|
|
followUpPlaceholder: 'Please enter your follow-up review here'
|
|
},
|
|
|
|
// ====== Bottom Action Section ======
|
|
action: {
|
|
anonymous: 'Anonymous',
|
|
submit: 'Submit'
|
|
},
|
|
|
|
// ====== Toast Messages ======
|
|
toast: {
|
|
orderDataNotFound: 'Order data not found',
|
|
evaluateNotEnabled: 'Merchant has not enabled product evaluation',
|
|
evaluationCannotBeEmpty: 'Product evaluation cannot be empty',
|
|
evaluationSuccess: 'Evaluation submitted successfully'
|
|
}
|
|
}
|