class_translationserver.rst 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the TranslationServer.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_TranslationServer:
  5. TranslationServer
  6. =================
  7. **Inherits:** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Server that manages all translations. Translations can be set to it and removed from it.
  12. Member Functions
  13. ----------------
  14. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`add_translation<class_TranslationServer_add_translation>` **(** :ref:`Translation<class_translation>` translation **)** |
  16. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`clear<class_TranslationServer_clear>` **(** **)** |
  18. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`String<class_string>` | :ref:`get_locale<class_TranslationServer_get_locale>` **(** **)** const |
  20. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`String<class_string>` | :ref:`get_locale_name<class_TranslationServer_get_locale_name>` **(** :ref:`String<class_string>` locale **)** const |
  22. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  23. | void | :ref:`remove_translation<class_TranslationServer_remove_translation>` **(** :ref:`Translation<class_translation>` translation **)** |
  24. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_locale<class_TranslationServer_set_locale>` **(** :ref:`String<class_string>` locale **)** |
  26. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`String<class_string>` | :ref:`translate<class_TranslationServer_translate>` **(** :ref:`String<class_string>` message **)** const |
  28. +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
  29. Member Function Description
  30. ---------------------------
  31. .. _class_TranslationServer_add_translation:
  32. - void **add_translation** **(** :ref:`Translation<class_translation>` translation **)**
  33. .. _class_TranslationServer_clear:
  34. - void **clear** **(** **)**
  35. .. _class_TranslationServer_get_locale:
  36. - :ref:`String<class_string>` **get_locale** **(** **)** const
  37. .. _class_TranslationServer_get_locale_name:
  38. - :ref:`String<class_string>` **get_locale_name** **(** :ref:`String<class_string>` locale **)** const
  39. .. _class_TranslationServer_remove_translation:
  40. - void **remove_translation** **(** :ref:`Translation<class_translation>` translation **)**
  41. .. _class_TranslationServer_set_locale:
  42. - void **set_locale** **(** :ref:`String<class_string>` locale **)**
  43. .. _class_TranslationServer_translate:
  44. - :ref:`String<class_string>` **translate** **(** :ref:`String<class_string>` message **)** const