| 77 | } |
| 78 | |
| 79 | static String _translate_doc_string(const String &p_text) { |
| 80 | const String indent = _get_indent(p_text); |
| 81 | const String message = p_text.dedent().strip_edges(); |
| 82 | const String translated = TranslationServer::get_singleton()->doc_translate(message, ""); |
| 83 | // No need to restore stripped edges because they'll be stripped again later. |
| 84 | return translated.indent(indent); |
| 85 | } |
| 86 | |
| 87 | /// Comparator for constructors, based on `MethodDoc` operator. |
| 88 | struct ConstructorCompare { |
no test coverage detected