MCPcopy Create free account
hub / github.com/McCloudS/subgen / to_name

Method to_name

language_code.py:177–178  ·  view source on GitHub ↗
(self, in_english=True)

Source from the content-addressed store, hash-verified

175 return self.iso_639_2_b
176
177 def to_name(self, in_english=True):
178 return self.name_en if in_english else self.name_native
179 def __str__(self):
180 if self.name_en is None:
181 return "Unknown"

Callers 6

detect_languageFunction · 0.80
detect_language_taskFunction · 0.80
should_skip_fileFunction · 0.80
test_to_name_englishMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_to_name_englishMethod · 0.64