Add i18n to Sone insert notification.
[Sone.git] / src / main / resources / templates / notify / soneInsertNotification.html
index d760191..c15864f 100644 (file)
@@ -1,7 +1,7 @@
 <%if soneStatus|match value=="inserting">
-       Your Sone <a href="viewSone.html?sone=<%insertSone.id|html>"><%insertSone.niceName|html></a> is now being inserted.
+       <%= Notification.SoneIsInserting.Text|l10n 0=insertSone.id|parse>
 <%elseif soneStatus|match value=="inserted">
-       Your Sone <a href="viewSone.html?sone=<%insertSone.id|html>"><%insertSone.niceName|html></a> has been inserted in <%= Notification.SoneInsert.Duration|l10n 0=insertDuration>.
+       <%= Notification.SoneIsInserted.Text|l10n 0=insertSone.id 1=insertDuration|parse>
 <%elseif soneStatus|match value=="insert-aborted">
-       Inserting your Sone <a href="viewSone.html?sone=<%insertSone.id|html>"><%insertSone.niceName|html></a> has failed.
-<%/if>
\ No newline at end of file
+       <%= Notification.SoneInsertAborted.Text|l10n 0=insertSone.id|parse>
+<%/if>