MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / add

Function add

scripts/msgfmt.py:47–51  ·  view source on GitHub ↗

Add a non-fuzzy translation to the dictionary.

(id, str, fuzzy)

Source from the content-addressed store, hash-verified

45
46
47def add(id, str, fuzzy):
48 "Add a non-fuzzy translation to the dictionary."
49 global MESSAGES
50 if not fuzzy and str:
51 MESSAGES[id] = str
52
53
54def generate():

Callers 1

makeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected