MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / TTR

Function TTR

core/string/ustring.cpp:5953–5959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5951#ifdef TOOLS_ENABLED
5952
5953String TTR(const String &p_text, const String &p_context) {
5954 if (TranslationServer::get_singleton()) {
5955 return TranslationServer::get_singleton()->tool_translate(p_text, p_context);
5956 }
5957
5958 return p_text;
5959}
5960
5961String TTRN(const String &p_text, const String &p_text_plural, int p_n, const String &p_context) {
5962 if (TranslationServer::get_singleton()) {

Callers 15

instantiateMethod · 0.85
apply_resetMethod · 0.85
_delete_selectionMethod · 0.85
_fill_selectionMethod · 0.85
_do_pasteMethod · 0.85
GridMapEditorMethod · 0.85
initializeMethod · 0.85
godot_icall_Globals_TTRFunction · 0.85

Calls 1

tool_translateMethod · 0.80

Tested by 15

_set_implMethod · 0.68
get_titleMethod · 0.68
_notificationMethod · 0.68
gui_inputMethod · 0.68
_update_popupMethod · 0.68
_move_elementMethod · 0.68
_clear_arrayMethod · 0.68
_resize_arrayMethod · 0.68
_setupMethod · 0.68
EditorInspectorArrayMethod · 0.68
update_treeMethod · 0.68