X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fnotify%2FsoneInsertNotification.html;h=8965e36370494cb5691cbc0d74444c0965d27f30;hb=HEAD;hp=27374adec890624b0a70a67fbf9ce20790eb7c09;hpb=0df5e91852f737d760c5a9f54c5667309fbadcc2;p=Sone.git diff --git a/src/main/resources/templates/notify/soneInsertNotification.html b/src/main/resources/templates/notify/soneInsertNotification.html index 27374ad..8965e36 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|render> +<%elseif soneStatus|match value=="inserted"> + <%= Notification.SoneIsInserted.Text|l10n 0=insertSone.id 1=insertDuration|parse|render> +<%elseif soneStatus|match value=="insert-aborted"> + <%= Notification.SoneInsertAborted.Text|l10n 0=insertSone.id|parse|render> +<%/if>