mirror of https://github.com/tiangolo/fastapi.git
👷 Update translation bot messages (#9206)
This commit is contained in:
parent
83050bead6
commit
c5f343a4fd
|
|
@ -347,8 +347,8 @@ if __name__ == "__main__":
|
||||||
logging.debug(f"Using translations map: {lang_to_discussion_map}")
|
logging.debug(f"Using translations map: {lang_to_discussion_map}")
|
||||||
|
|
||||||
# Messages to create or check
|
# Messages to create or check
|
||||||
new_translation_message = f"Good news everyone! 😉 There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login} 🎉"
|
new_translation_message = f"Good news everyone! 😉 There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}. 🎉 This requires 2 approvals from native speakers to be merged. 🤓"
|
||||||
done_translation_message = f"Good news everyone! 😉 ~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ 🎉 Good job! This is done. 🍰"
|
done_translation_message = f"~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ Good job! This is done. 🍰☕"
|
||||||
|
|
||||||
# Normally only one language, but still
|
# Normally only one language, but still
|
||||||
for lang in langs:
|
for lang in langs:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue