Lines Matching refs:text
105 elif tag.text:
106 yield decode_escapes(tag.text)
135 text = "".join(child.itertext())
143 if "do not translate" in comment.text.lower():
155 limit = re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text)
166 if "'" in text:
168 text, "This doesn\u2019t need to \u2018happen\u2019 today")
169 if '"' in text and not text.startswith('"') and text.endswith('"'):
171 text, "This needs to \u201chappen\u201d today")
172 if "..." in text:
174 text, "Loading\u2026")
175 if "wi-fi" in text.lower():
177 text, "Wi\u2011Fi")
178 if "wifi" in text.lower():
180 text, "Wi\u2011Fi")
181 if re.search("\d-\d", text):
183 text, "You will find this material in chapters 8\u201312")
184 if "--" in text:
186 text, "Upon discovering errors\u2014all 124 of them\u2014they recalled.")
187 if ". " in text:
189 text, "First idea. Second idea.")
190 if re.match(r"^[A-Z\s]{5,}$", text):
192 text, "Refresh data")
193 if " phone " in text and "product" not in child.attrib:
195 text, None)
198 if len(re.findall("%[^%]", text)) > 1:
199 if len(re.findall("%[^\d]", text)) > 0:
201 text, "Add %1$s to %2$s")
215 if gc.text and re.search("%[^%]", gc.text): badsub = True
218 text, "<xliff:g id=\"domain\" example=\"example.com\">%1$s</xliff:g>")