diff --git a/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderManager.java b/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderManager.java index 3f45c3a9..e8c25d31 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderManager.java +++ b/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderManager.java @@ -198,6 +198,17 @@ public final class PlaceholderManager { ); } + /** + * Translate all placeholders without a placeholder context. + * + * @param text The text that may contain placeholders to translate. + * @return The text, translated. + */ + @NotNull + public static String translatePlaceholders(@NotNull final String text) { + return Eco.get().translatePlaceholders(text, PlaceholderContext.EMPTY); + } + /** * Translate all placeholders in a translation context. *