8000 gh-126700: pygettext: Support more gettext functions by tomasr8 · Pull Request #126912 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126700: pygettext: Support more gettext functions #126912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 22, 2024
Prev Previous commit
Next Next commit
Remove extra space
  • Loading branch information
tomasr8 committed Nov 17, 2024
commit 06186a00110a15d418c0bdec7475c4934a751d4f
2 changes: 1 addition & 1 deletion Lib/test/test_tools/i18n_data/messages.pot
< B112 /tr>
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ msgid ""
msgstr ""

#: messages.py:40 messages.py:83 messages.py:84 messages.py:87 messages.py:88
#: messages.py:93
#: messages.py:93
msgid "foo"
msgid_plural "foos"
msgstr[0] ""
Expand Down
2 changes: 1 addition & 1 deletion Tools/i18n/pygettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def write(self, fp):
locline = locline + s
else:
print(locline, file=fp)
locline = f'#: {s}'
locline = f'#:{s}'
if len(locline) > 2:
print(locline, file=fp)
if msg.is_docstring:
Expand Down
Loading
0