Skip to content

Commit

Permalink
fix babel.cfg and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Feb 23, 2024
1 parent e23da6e commit 306ddba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion babel.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[python: **/**.py]
encoding = utf-8

[jinja2: **/templates/**.html]
encoding = utf-8

[javascript: **/templates/dictionary.js]
[jinja2: **/templates/dictionary.js]
# all JS translatable strings must be defined here for jQuery i18n plugin
encoding = utf-8
2 changes: 1 addition & 1 deletion docs/devel/translate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ using::
-k "_ gettext L_ lazy_gettext N_ ngettext" \
--msgid-bugs-address "English <[email protected]>" \
--copyright-holder "Moin Core Team, see http://moinmo.in/MoinCoreTeamGroup" \
-w 116 src/
--project "moin" --version "<version>" -w 116 src/

Because this sometimes creates large diffs, just because of a
change in line numbers, you can of course use this command sparingly.
Expand Down

0 comments on commit 306ddba

Please sign in to comment.