Skip to content

Commit

Permalink
Use Portuguese for Brazilian Portuguese
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb committed Mar 20, 2023
1 parent d32a762 commit 1d56de6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/translations.py
Expand Up @@ -80,10 +80,9 @@ def _translate(
):
if target_lang == "zh-rTW":
target_lang = "zh-TW"
# Not supported
# Use "Portuguese for "pt-rBR"
if target_lang == "pt-rBR":
logging.warning("Not supported: '%s'", target_lang)
return
target_lang = "pt"
logging.info("Translating into '%s'...", translated_string_xml_file)
translated_str = _get_strings_to_translate(translated_string_xml_file)
translations_to_add: typing.Dict[str, ET.Element] = dict()
Expand Down

0 comments on commit 1d56de6

Please sign in to comment.