X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fnotify%2FsoneInsertNotification.html;h=c15864fcd3d2cc13c385bbe4df49c46dfd0bbb38;hb=4b878223db544de5796c5fca052694eef14c265c;hp=27374adec890624b0a70a67fbf9ce20790eb7c09;hpb=6ceda699ed09af534cfb6c4dd1dc95c476d135b7;p=Sone.git diff --git a/src/main/resources/templates/notify/soneInsertNotification.html b/src/main/resources/templates/notify/soneInsertNotification.html index 27374ad..c15864f 100644 --- a/src/main/resources/templates/notify/soneInsertNotification.html +++ b/src/main/resources/templates/notify/soneInsertNotification.html @@ -1,7 +1,7 @@ -<%if soneStatus|match value="inserting"> - Your Sone <%insertSone.niceName|html> is now being inserted. -<%elseif soneStatus|match value="inserted"> - Your Sone <%insertSone.niceName|html> has been inserted in <%= Notification.SoneInsert.Duration|l10n 0=insertDuration>. -<%elseif soneStatus|match value="insert-aborted"> - Inserting your Sone <%insertSone.niceName|html> has failed. -<%/if> \ No newline at end of file +<%if soneStatus|match value=="inserting"> + <%= Notification.SoneIsInserting.Text|l10n 0=insertSone.id|parse> +<%elseif soneStatus|match value=="inserted"> + <%= Notification.SoneIsInserted.Text|l10n 0=insertSone.id 1=insertDuration|parse> +<%elseif soneStatus|match value=="insert-aborted"> + <%= Notification.SoneInsertAborted.Text|l10n 0=insertSone.id|parse> +<%/if>