Skip to content

Commit

Permalink
Merge pull request #136 from xuefeng-xu/english
Browse files Browse the repository at this point in the history
doc: update some english phrases
  • Loading branch information
521xueweihan authored Jul 14, 2024
2 parents bc601c7 + d718c6c commit 2019c3d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"header": {
"search": "Search Open Source Projects",
"search": "Search Projects",
"home": "Home",
"periodical": "Monthly",
"rank": "Ranking",
Expand All @@ -15,7 +15,7 @@
"login": "Sign In"
},
"advert": {
"desc": "Server expire in",
"desc": "Server expires in",
"desc2": "Buy me a coffee",
"next": "Need to gold",
"next2": "Next target by",
Expand Down
36 changes: 18 additions & 18 deletions public/locales/en/repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"vite": "Visit",
"voted": "Liked",
"vote": "Like",
"opensource": "Open Source",
"opensource": "License",
"discuss": "Discuss",
"share": "Share",
"collect": "Collect",
"copy_desc": "More details at:",
"copy_success": "Project information copied successfully, share it now!",
"collect": "Save",
"copy_desc": "More details at: ",
"copy_success": "Project information copied, go share it!",
"copy_fail": "Copy failed"
},
"url": {
Expand All @@ -29,15 +29,15 @@
},
"favorite": {
"default": "Default Favorites",
"cancel": "Unfavorite",
"cancel": "Remove favorite",
"success": "Added to Favorites",
"fail": "Failed to add to Favorites",
"title": "Select Favorites",
"desc": "You can find favorited projects in 'My Homepage'",
"desc": "Find favorited projects in 'Profile'",
"save": "Save"
},
"history": {
"past_day_desc": "Past {{days}} days",
"past_day_desc": "Past {{days}} days ",
"total_desc": "Received {{total}} stars ✨",
"fail_desc": "No star history data available"
},
Expand Down Expand Up @@ -65,7 +65,7 @@
},
"comment": {
"title": "Comments",
"sort_hot": "Hot",
"sort_hot": "Popular",
"sort_new": "Newest",
"total": "{{total}} selected comments",
"more_reply": "View all {{total}} replies",
Expand All @@ -77,22 +77,22 @@
"reply": "Reply",
"cancel": "Cancel",
"item": {
"featured": "Featured",
"unfeatured": "Not Featured",
"featured": "Selected",
"unfeatured": "Not Selected",
"vote": "Like",
"expand": "Expand",
"collapse": "Collapse",
"login": "Please log in first"
"login": "Please sign in first"
},
"submit": {
"reply_placeholder": "Replying to: {{nickname}}",
"placeholder": "Write your comment: share your experience, pros/cons, use cases, or any surprising aspects of this open-source project...",
"reply_placeholder": "Reply to: {{nickname}}",
"placeholder": "Write your experience, opinions, usages, or anything special about this project...",
"save": "Submit",
"success": "Posted successfully! Will be displayed after approval",
"fail": "Submission failed",
"err1": "Comment content cannot be empty",
"err2": "Comment content must be at least 5 characters",
"err3": "Comment content cannot exceed 500 characters",
"success": "Submit successfully! Will be displayed after approval",
"fail": "Submit failed",
"err1": "Comment cannot be empty",
"err2": "Comment must be at least 5 characters",
"err3": "Comment cannot exceed 500 characters",
"err4": "Please provide a rating"
}
}
Expand Down
6 changes: 3 additions & 3 deletions public/locales/zh/repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"vite": "访问",
"voted": "已赞",
"vote": "点赞",
"opensource": "开源",
"opensource": "开源协议",
"discuss": "讨论",
"share": "分享",
"collect": "收藏",
Expand Down Expand Up @@ -87,9 +87,9 @@
"submit": {
"reply_placeholder": "正在回复:{{nickname}}",
"placeholder": "写下你的评论:分享开源项目的使用体验、优点/吐槽、适用场景、惊艳之处...",
"save": "发表",
"save": "发布",
"success": "发布成功!通过审核后展示",
"fail": "提交失败",
"fail": "发布失败",
"err1": "评论内容不能为空",
"err2": "评论内容不能少于 5 个字",
"err3": "评论内容不能超过 500 个字",
Expand Down

0 comments on commit 2019c3d

Please sign in to comment.