MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / privacy_panic_active

Function privacy_panic_active

Scripts/ButSystem.py:3102–3106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3100
3101def _(s: str) -> str:
3102 """Translate a short UI string based on session language."""
3103 if get_lang() == "el":
3104 return TRANSLATIONS_EL.get(s, s)
3105 return s
3106
3107# Make _() available in all templates (optional direct use).
3108try:
3109 app.jinja_env.globals["_"] = _

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected