Index: src/main/resources/XWiki/WatchListMessage.xml
===================================================================
--- src/main/resources/XWiki/WatchListMessage.xml (revision 16224)
+++ src/main/resources/XWiki/WatchListMessage.xml (working copy)
@@ -14,7 +14,7 @@
1203938786000
1205320524000
1205320524000
-4.1
+1.1
@@ -79,12 +79,12 @@
##
##
<body style="background-color:#F7F7F7;">
-<b>Hello $pseudo,</b><br/>
-<i>This message is sent by XWiki. Here are the documents in your watchlist that have been created or updated since the last notification :</i><br/>
+<b>$msg.get("watchlist.mail.hello") $pseudo,</b><br/>
+<i>$msg.get("watchlist.mail.intro")</i><br/>
<br/>
<table width="100%" style="font-family:arial;font-size:14px;" cellpadding="4" cellspacing="0">
<tr style="background-color:$DEDEDE;font-weight:bold;">
-<td>Page</td><td>Informations</td>
+<td>$msg.get("watchlist.mail.page")</td><td>$msg.get("watchlist.mail.modifications")</td>
</tr>
<tr><td colspan="2"></td></tr>
## ------------------------------------------
@@ -165,7 +165,7 @@
#set ($identifiedModification = true)
<table class="changes-table" width="100%" style="border-color:#CDCDCD;font-family:arial;font-size:12px;text-align:left;">
<tr class="changes-table-title">
- <th style="border-bottom:1px solid #000000;">Content</th>
+ <th style="border-bottom:1px solid #000000;">$msg.get("watchlist.mail.content")</th>
</tr>
<tr>
<td>
@@ -225,7 +225,7 @@
#set ($identifiedModification = true)
<table class="changes-table" width="100%" style="border-color:#CDCDCD;font-family:arial;font-size:12px;text-align:left;">
<tr class="changes-table-title" style="border-bottom:1px solid #000000;">
-<th style="border-bottom:1px solid #000000;">Comment</th>
+<th style="border-bottom:1px solid #000000;">$msg.get("watchlist.mail.comment")</th>
</tr>
#foreach($objdiffs in $newdoc.getObjectDiff($origdoc, $newdoc))
#set ($wascomment = false)
@@ -253,7 +253,7 @@
#if ($comment!="")
<tr>
<td>
- Added by $author on $date : <br/>
+ $msg.get("watchlist.mail.addedby") $author $msg.get("watchlist.mail.on") $date : <br/>
<br/>
$comment
</td>
@@ -270,18 +270,18 @@
#set ($identifiedModification = true)
<table class="changes-table" width="100%" style="border-color:#CDCDCD;font-family:arial;font-size:12px;text-align:left;">
<tr class="changes-table-title">
- <th style="border-bottom:1px solid #000000;">Attachment</th>
+ <th style="border-bottom:1px solid #000000;">$msg.get("watchlist.mail.attachment")</th>
</tr>
#foreach($attachChange in $attachChanges)
<tr>
<td>
#if(!$attachChange.origVersion)
- Attachment added : <a href="${externalUrl}$newdoc.getAttachmentRevisionURL($attachChange.fileName,$attachChange.newVersion)">$attachChange.fileName</a>
+ $msg.get("watchlist.mail.attachment.added") : <a href="${externalUrl}$newdoc.getAttachmentRevisionURL($attachChange.fileName,$attachChange.newVersion)">$attachChange.fileName</a>
#elseif(!$attachChange.newVersion)
- Attachment deleted : $attachChange.fileName
+ $msg.get("watchlist.mail.attachment.deleted") : $attachChange.fileName
#else
- Attachment updated from version <a href="${externalUrl}$newdoc.getAttachmentRevisionURL($attachChange.fileName,$attachChange.origVersion)">$attachChange.origVersion</a>
- to version <a href="$newdoc.getAttachmentRevisionURL($attachChange.fileName,$attachChange.newVersion)">$attachChange.newVersion</a>
+ $msg.get("watchlist.mail.attachment.updatedfrom")Attachment updated from version <a href="${externalUrl}$newdoc.getAttachmentRevisionURL($attachChange.fileName,$attachChange.origVersion)">$attachChange.origVersion</a>
+ $msg.get("watchlist.mail.attachment.updatedto") <a href="$newdoc.getAttachmentRevisionURL($attachChange.fileName,$attachChange.newVersion)">$attachChange.newVersion</a>
#end
</td>
</tr>
@@ -292,7 +292,7 @@
## / Differences
##
#if (!$identifiedModification)
-Modifications on page objects or class
+$msg.get("watchlist.mail.modifications.objectsclasses")
#end
</td>
</tr>
@@ -311,11 +311,11 @@
en
-XWiki : Watchlist Updates, #set($format="dd/MM/yyyy")#if ($interval == 1)#set($format="${format} hh:mm")#end$xwiki.formatDate($util.date, $format)
+$msg.get("watchlist.mail.subject"), #set($format="dd/MM/yyyy")#if ($interval == 1)#set($format="${format} hh:mm")#end$xwiki.formatDate($util.date, $format)
-Hello $pseudo,
-This message is sent by XWiki. Here are the documents in your watchlist that have been created or updated since the last notification :
+$msg.get("watchlist.mail.hello") $pseudo,
+$msg.get("watchlist.mail.intro")
#foreach ($udocname in $documents)
#set ($udoc = $xwiki.getDocument($udocname))$udoc.getDisplayTitle() : ${udoc.getExternalURL()}