mwg API
    Preparing search index...

    Function setTargetText

    • Sets the target's text for key, preserving a plural structure when the new text parses as a plain JSON object over an existing plural entry - otherwise the entry becomes the string as typed. A select message (from an FTL source) edited here downgrades to a plain string; the tool warns about that on save rather than this function refusing it.

      Parameters

      Returns EditSession