chore(tazjin/tgsa): log translation requests
Change-Id: Ia4a5059bc82ad337fc9648d65bab638a0c2a7682 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8627 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
85fe10bef1
commit
24cbf93729
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ fn fetch_with_cache(cache: &Cache, link: &TgLink) -> Result<TgPost> {
|
||||||
|
|
||||||
if let Some(message) = &msg.message {
|
if let Some(message) = &msg.message {
|
||||||
if link.translated {
|
if link.translated {
|
||||||
|
println!("translating {}#{}", link.username, link.message_id);
|
||||||
msg.message = Some(fetch_translation(message)?);
|
msg.message = Some(fetch_translation(message)?);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue