8000 Merge branch 'rst2po' of github.com:raulcd/python-docs-es into rst2po · oropher/python-docs-es@ae92662 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae92662

Browse files
committed
Merge branch 'rst2po' of github.com:raulcd/python-docs-es into rst2po
2 parents d7569d2 + 7f679cf commit ae92662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.migration/rst2po.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def get_paragraph(fd):
9696
def get_rst_translation_text(rstfilename, english_spanish, text):
9797
&quo 7C45 t;""Given an rstfilename an a text returns the corresponding translated text if exists"""
9898
for en, es in english_spanish:
99-
if en == text:
99+
if en.replace("!", "") == text.replace("!", ""):
100100
return es
101101

102102

0 commit comments

Comments
 (0)
0