Searched refs:ot_tag (Results 1 – 1 of 1) sorted by relevance
409 def add_language (self, bcp_47_tag, ot_tag): argument421 self.to_bcp_47[ot_tag].add (bcp_47_tag)422 self.from_bcp_47[bcp_47_tag].add (ot_tag)442 def remove_language_ot (self, ot_tag): argument448 self._remove_language (ot_tag, self.to_bcp_47, self.from_bcp_47)1082 for ot_tag, bcp_47_tags in ot.to_bcp_47.items ():1083 …t (t for t in bcp_47_tags if t not in bcp_47.grandfathered and ot.from_bcp_47.get (t)[0] == ot_tag)1085 expect (ot_tag not in disambiguation, 'unnecessary disambiguation for OT tag: %s' % ot_tag)1087 disambiguation[ot_tag] = primary_tags[0]1089 … expect (ot_tag not in disambiguation, 'There is no possible valid disambiguation for %s' % ot_tag)[all …]