fix: do not skip po file generation on missing sources

Description

Previously, when some po files were missing, the django.po or
djangojs.po were not generated at all. This was very inconvenient for
some languages (e.g: 'ro') that do not pass the 3% bar of reviewed
strings in some files. Here, we make a change where the remaining po
files are merged to produce the merged.po files.

This fixes an issue that occurs when we generate translation strings for the Romanian language in Tutor. See conversation here: https://discuss.overhang.io/t/translate-tutor-in-other-language/1078

This is ready to review.

Activity

Show:
Kashif Chaudhry
February 11, 2021, 4:26 PM

can you take care of it?

Done

Assignee

Dawoud Sheraz

Reporter

Open Source Pull Request Bot

Contributor Name

Régis Behmo

Repo

edx/i18n-tools

Customer

None

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

edX Theme

None

edX Squad

None

Github Lines Added

58

Github Lines Deleted

20

Priority

Unset