Skip to content

Commit

Permalink
[*] add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed Jun 13, 2024
1 parent effddf9 commit 150aa34
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/util/translator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,13 @@ pub fn tr(text: &str) -> String {
items.insert("白天", "Light");
items.insert("黑暗", "Dark");
items.insert("跳过", "Skip");
items.insert("下一步", "Next step");
items.insert("下一步", "Next");
items.insert("完成", "Finish");
items.insert("返回", "Back");
item.insert("订阅、搜索和预览RSS消息", "Subscribe, search and review RSS message.");
item.insert("收藏喜欢的文章,以便以后重新阅读", "Collecting the articals you like. You can read it latter.");
item.insert("欢迎使用,享受你的阅读之旅", "Welcome! Enjoying you journey of reading.");
items.insert("订阅、搜索和预览RSS消息", "Subscribe, search and review RSS message.");
items.insert("收藏喜欢的文章,以便以后重新阅读", "Collecting the articals you like. You can read it latter.");
items.insert("欢迎使用,享受你的阅读之旅", "Welcome! Enjoying you journey of reading.");
items.insert("请选择语言", "Please select language");

if let Some(txt) = items.get(text) {
return txt.to_string();
Expand Down

0 comments on commit 150aa34

Please sign in to comment.