Skip to content

Commit 106dd40

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent bfc8a44 commit 106dd40

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
The script ``Tools/i18n/msgfmt.py`` is now able to merge more than one single po file into a compiled mo
1+
:program:`msgfmt.py` is now able to merge more than one single po file into a compiled mo
22
file. When an entry exists in more than on input file, the last file wins.
33
It is also possible to directly call ``make`` more than once

Tools/i18n/msgfmt.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#! /usr/bin/env python3
22
# Written by Martin v. Löwis <[email protected]>
3-
# Modified by s-ball <[email protected]>
43

54
"""Generate binary message catalog from textual translation description.
65
@@ -106,11 +105,11 @@ def generate(messages):
106105

107106

108107
def make(filenames, outfile):
109-
"""This function is now member of the public interface.
108+
"""
110109
filenames is a string or an iterable of strings representing input file(s)
111110
outfile is a string for the name of an input file or None.
112111
113-
If it is not None, the output file receives a merge of the input files
112+
If it is not None, the output file receives a merge of the input files.
114113
If it is None, then filenames must be a string and the name of the output
115114
file is obtained by replacing the po extension with mo.
116115
Both ways are for compatibility reasons with previous behaviour.

0 commit comments

Comments
 (0)