Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(warning) From Magnolia 6.2.1, any method annotated with

Javadoc
0info.magnolia.i18nsystem.I18nText
 uses @I18nText(fallback = "") if no translation is found.

Code Block
languagejava
titleinfo.magnolia.i18nsystem.I18nText
    /**
     * Without {@link #fallback()} explicitly specified, {@link info.magnolia.i18nsystem.TranslationServiceImpl} use the longest i18n key if translation key is not found as fallback.
     */
    String NO_FALLBACK = "<no-fallback>";

    /**
     * @return Value to be used if no translation is found.
     */
    String fallback() default NO_FALLBACK;

...