Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1108

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Core
    • 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

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: