| 5951 | #ifdef TOOLS_ENABLED |
| 5952 | |
| 5953 | String 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 | |
| 5961 | String TTRN(const String &p_text, const String &p_text_plural, int p_n, const String &p_context) { |
| 5962 | if (TranslationServer::get_singleton()) { |