i18n: Add new markup for lazy translation of giphy ratings.

Also, it adds phrases such as 'rated Y' to the ignored list.
Otherwise, the linter would require to write it as 'rated y'.
This commit is contained in:
Daniil Fadeev
2023-03-02 19:00:49 +04:00
committed by Tim Abbott
parent d335cb34af
commit d606f5ba42
3 changed files with 22 additions and 7 deletions

View File

@@ -106,6 +106,12 @@ IGNORED_PHRASES = [
r"your-organization-url",
# Used in invite modal
r"or",
# Used in GIPHY integration setting. GIFs Rating.
r"rated Y",
r"rated G",
r"rated PG",
r"rated PG13",
r"rated R",
# Used in GIPHY popover.
r"GIFs",
r"GIPHY",