Skip to content

Commit

Permalink
updated to ignore .mo file and generate single .po file
Browse files Browse the repository at this point in the history
  • Loading branch information
qianqianluo authored and woj-tek committed Aug 31, 2022
1 parent d881a04 commit bfdcfdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
/docs/
*.ipr
src/main/database/*-common-*
src/main/restructured/locale/pl/LC_MESSAGES/*.mo
src/main/restructured/locale/*/LC_MESSAGES/*.mo
src/main/restructured/_build/
6 changes: 4 additions & 2 deletions src/main/restructured/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,13 @@
'display_version': True,
}

gettext_compact = False
gettext_compact = "message_archiving_translation"
language = "zh_CN"
locale_dirs = ["locale/"]


gettext_compact = False
gettext_compact = "message_archiving_translation"
language = "pl"
locale_dirs = ["locale/"]

gettext_allow_fuzzy_translations = True

0 comments on commit bfdcfdb

Please sign in to comment.