MCPcopy
hub / github.com/django/django / _tx_resource_slug_for_name

Function _tx_resource_slug_for_name

scripts/manage_translations.py:178–182  ·  view source on GitHub ↗

Return the Transifex resource slug for the given name.

(name)

Source from the content-addressed store, hash-verified

176
177
178def _tx_resource_slug_for_name(name):
179 """Return the Transifex resource slug for the given name."""
180 if name != "core":
181 name = f"contrib-{name}"
182 return name
183
184
185def _tx_resource_for_name(name):

Callers 2

_tx_resource_for_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected