Package org.incendo.cloud.translations
Interface TranslatedCaptionProvider<C>
- Type Parameters:
C- command sender type
- All Superinterfaces:
CaptionProvider<C>
- All Known Implementing Classes:
TranslatedCaptionProvider.Empty
Caption provider that provides translated captions.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from interface org.incendo.cloud.caption.CaptionProvider
provide
-
Method Details
-
empty
Returns an empty translation caption provider that always returnsnull.- Type Parameters:
C- command sender type- Returns:
- the translation
-
isEmpty
boolean isEmpty()Returns whether the provider is empty.- Returns:
trueif the translation is empty,falseif not
-
locale
Returns the provider locale.- Returns:
- the locale
-