Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1108

Allow informUser, warnUser, raiseError and also exception messages to be translated.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: core-1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core
    • Labels:
      None

      Description

      Probably by having overloaded methods etc that return TranslatableString instead of just String, eg

      public class RecoverableException {
      public RecoverableException(TranslatableString tr)

      { ... }

      public TranslatableString getTranslatableMessage() { ... }

      }

      ~~~~

      and

      public interface DomainObjectContainer {
      public void informUser(TranslatableString tr);
      ...
      }

      etc

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: