Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions locales/en.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rss_size_limit_exceeded = "RSS size limit exceeded ({size})"
continuous_fetch_error = "《<a href=\"{link}\">{title}</a>》has been pulled unsuccessfully for 5 consecutive days ({error}). It may have been closed, please unsubscribe."
feed_renamed = "<a href=\"{link}\">{title}</a> has been renamed to {new_title}"
continuous_fetch_error = "《{title}》has been pulled unsuccessfully for 5 consecutive days ({error}). It may have been closed, please unsubscribe."
feed_renamed = "{title} has been renamed to {new_title}"
network_error = "Network error ({source})"
parsing_error = "Parsing error ({source})"
commands_in_private_channel = "Please use commands in private chat to manage subscriptions for the channel"
Expand Down
4 changes: 2 additions & 2 deletions locales/zh.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rss_size_limit_exceeded = "RSS 超出大小限制({size})"
continuous_fetch_error = "《<a href=\"{link}\">{title}</a>》已经连续 5 天拉取出错 ({error}), 可能已经关闭, 请取消订阅"
feed_renamed = "<a href=\"{link}\">{title}</a> 已更名为 {new_title}"
continuous_fetch_error = "《{title}》已经连续 5 天拉取出错 ({error}), 可能已经关闭, 请取消订阅"
feed_renamed = "{title} 已更名为 {new_title}"
network_error = "网络错误({source})"
parsing_error = "解析错误({source})"
commands_in_private_channel = "请在私聊中使用命令为频道管理订阅"
Expand Down
2 changes: 0 additions & 2 deletions src/fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ async fn fetch_and_push_updates(
db.lock().await.reset_down_time(&feed.link);
let msg = tr!(
"continuous_fetch_error",
link = Escape(&feed.link),
title = Escape(&feed.title),
error = Escape(&e.to_user_friendly())
);
Expand Down Expand Up @@ -115,7 +114,6 @@ async fn fetch_and_push_updates(
FeedUpdate::Title(new_title) => {
let msg = tr!(
"feed_renamed",
link = Escape(&feed.link),
title = Escape(&feed.title),
new_title = Escape(&new_title)
);
Expand Down