MCPcopy
hub / github.com/hacksider/Deep-Live-Cam / _

Function _

modules/ui.py:227–231  ·  view source on GitHub ↗

Translate via LanguageManager; falls back to identity.

(text: str)

Source from the content-addressed store, hash-verified

225
226
227def _(text: str) -> str:
228 """Translate via LanguageManager; falls back to identity."""
229 if _LANG is None:
230 return text
231 return _LANG._(text)
232
233
234# Preserve original cwd state for file dialogs.

Callers 15

update_statusFunction · 0.85
_build_image_rowMethod · 0.85
_build_options_cardMethod · 0.85
makeMethod · 0.85
_build_sliders_cardMethod · 0.85
_build_action_rowMethod · 0.85
_build_camera_cardMethod · 0.85
_on_select_sourceMethod · 0.85
_on_select_targetMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 1

_Method · 0.80

Tested by

no test coverage detected