mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Prefix localization use placeholder instead
This commit is contained in:
@@ -40,7 +40,7 @@ const EMBEDS = {
|
|||||||
PREFIX_UPDATED: (data: HybridInteractionMessage, locale: I18n, newPrefix: string) => {
|
PREFIX_UPDATED: (data: HybridInteractionMessage, locale: I18n, newPrefix: string) => {
|
||||||
return makeSuccessEmbed({
|
return makeSuccessEmbed({
|
||||||
title: locale.__('settings_prefix.prefix_updated'),
|
title: locale.__('settings_prefix.prefix_updated'),
|
||||||
description: locale.__('settings_prefix.prefix_updated_description', newPrefix),
|
description: locale.__('settings_prefix.prefix_updated_description', { PREFIX: newPrefix }),
|
||||||
user: data.getUser()
|
user: data.getUser()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user