fix: support for unknown language
This commit is contained in:
parent
00c4391ac6
commit
a6dfcbde4c
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
from gettext import translation
|
||||
from pathlib import Path
|
||||
|
||||
t = translation('rougail', str(Path(__file__).parent / 'locale'))
|
||||
t = translation('rougail', str(Path(__file__).parent / 'locale'), fallback=True)
|
||||
|
||||
_ = t.gettext
|
||||
|
|
Loading…
Reference in a new issue