Skip to content

Commit 7f679cf

Browse files
committed
ignore ! when comparing
1 parent 4a30a79 commit 7f679cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
"""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)