Changeset 582:e116f82606e1
- Timestamp:
- 09/30/09 13:43:13 (4 years ago)
- Author:
- tgambet
- Branch:
- default
- convert_revision:
- svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@583
- Message:
-
internationalized lots of strings
- Location:
- WebContent/WEB-INF/resources/templates
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r570
|
r582
|
|
| 20 | 20 | <div class="input"> |
| 21 | 21 | <p> |
| 22 | | <label><span>$task:</span> |
| | 22 | <label><span>$task_label:</span> |
| 23 | 23 | <select name="${param_prefix}task" id="tasks"> |
| 24 | 24 | #foreach( $task in $tasklist ) |
| … |
… |
|
| 40 | 40 | <p class="instructions">$instruction-by-uri</p> |
| 41 | 41 | <p> |
| 42 | | <label title="$uri_title" for="ucn_uri"><span>$uri:</span> |
| | 42 | <label title="$uri_title" for="ucn_uri"><span>$uri_label:</span> |
| 43 | 43 | <input type="text" name="${param_prefix}uri" id="ucn_uri" size="45" value="$!param_uri"/> |
| 44 | 44 | </label> |
| … |
… |
|
| 55 | 55 | <p class="instructions">$instruction-by-upload</p> |
| 56 | 56 | <p> |
| 57 | | <label title="$instruction-by-upload" for="ucn_file"><span>$local_file:</span> |
| | 57 | <label title="$instruction-by-upload" for="ucn_file"><span>$local_file_label:</span> |
| 58 | 58 | <input type="file" id="ucn_file" name="${param_prefix}file" size="30" /> |
| 59 | 59 | </label> |
-
|
r559
|
r582
|
|
| 41 | 41 | <h2 class="title"> |
| 42 | 42 | <span class="icons"> |
| 43 | | #if ($infoCount && $infoCount > 0)<a class="infos" href="#${observationName}_info"><span class="legend">Infos:</span><span class="count">$infoCount</span></a> #end |
| 44 | | #if ($errorCount && $errorCount > 0)<a class="errors" href="#${observationName}_error"><span class="legend">Errors:</span><span class="count">$errorCount</span></a> #end |
| 45 | | #if ($warningCount && $warningCount > 0)<a class="warnings" href="#${observationName}_warning"><span class="legend">Warnings:</span><span class="count">$warningCount</span></a> #end |
| 46 | | <a class="anchor smooth" href="#$observationName" title="anchor to this observation">[anchor]</a> |
| | 43 | #if ($infoCount && $infoCount > 0)<a class="infos" href="#${observationName}_info" title="$info_label:$infoCount"><span class="legend">$info_label</span><span class="count">$infoCount</span></a> #end |
| | 44 | #if ($errorCount && $errorCount > 0)<a class="errors" href="#${observationName}_error" title="$error_label:$errorCount"><span class="legend">$error_label</span><span class="count">$errorCount</span></a> #end |
| | 45 | #if ($warningCount && $warningCount > 0)<a class="warnings" href="#${observationName}_warning" title="$warning_label:$warningCount"><span class="legend">$warning_label</span><span class="count">$warningCount</span></a> #end |
| | 46 | <a class="anchor smooth" href="#$observationName" title="$anchor_observation">a</a> |
| 47 | 47 | </span> |
| 48 | 48 | #if($observation.isPassed()) |
| 49 | | $test_ok_1 |
| | 49 | $test_ok |
| 50 | 50 | #else |
| 51 | | $test_fail_1 |
| | 51 | $test_fail |
| 52 | 52 | #end |
| 53 | 53 | <span class="name">$unicorncall.getObserverName($observationName, $lang) #if ($observation.Rating) ($observation.Rating/100) #end</span> |
| 54 | | #if ($observation.getFilteredRequestUri())<a class="direct_link" href="$observation.getFilteredRequestUri()" title="revalidate this document on the validator website">[direct link]</a> |
| 55 | | #else <a class="direct_link" href="$observation.getBaseURI($observationName)" title="link to this validator website">[direct link]</a>#end |
| | 54 | #if ($observation.getFilteredRequestUri())<a class="direct_link" href="$observation.getFilteredRequestUri()" title="direct_link_title_1">$direct_link_label</a> |
| | 55 | #else <a class="direct_link" href="$observation.getBaseURI($observationName)" title="direct_link_title_2">$direct_link_label</a>#end |
| 56 | 56 | </h2> |
| 57 | 57 | |
| … |
… |
|
| 60 | 60 | <div class="section infos" id="${observationName}_info"> |
| 61 | 61 | <h3 class="title"> |
| 62 | | <a class="smooth anchor" title="anchor to this uri" href="#${observationName}_info">[anchor]</a> |
| 63 | | Infos ($infoCount) |
| | 62 | <a class="smooth anchor" title="$anchor_uri" href="#${observationName}_info">a</a> |
| | 63 | $info_label ($infoCount) |
| 64 | 64 | </h3> |
| 65 | 65 | <div class="block result"> |
| … |
… |
|
| 72 | 72 | <tr> |
| 73 | 73 | <td colspan="4" class="uri" id="${observationName}_info_${i}"> |
| 74 | | #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end |
| 75 | | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end |
| 76 | | #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end |
| 77 | | </td> |
| 78 | | <td class="anchor uri"><a class="smooth" title="anchor to this uri" href="#${observationName}_info_${i}">[anchor]</a></td> |
| | 74 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token</span><a href="$result.Uri">$result.Uri</a>#end |
| | 75 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token</span>$result.Uri#end |
| | 76 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
| | 77 | </td> |
| | 78 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_info_${i}">a</a></td> |
| 79 | 79 | </tr> |
| 80 | 80 | #foreach($info in $result.Infos) |
| 81 | 81 | #set ($messageId = "${observationName}_info_${i}_$velocityCount") |
| 82 | 82 | <tr> |
| 83 | | <td class="linenumber" title="#if($info.Line)Line:$info.Line#end">#if($info.Line)$info.Line#end</td> |
| 84 | | <td class="colnumber" title="#if($info.Column)Column:$info.Column#end">#if($info.Column)$info.Column #end</td> |
| 85 | | <td class="codeContext"> #if($info.Context) $info.Context #end </td> |
| | 83 | <td class="linenumber" title="#if($info.Line)$line_token: $info.Line#end">$!info.Line</td> |
| | 84 | <td class="colnumber" title="#if($info.Column)$column_token: $info.Column#end">$!info.Column</td> |
| | 85 | <td class="codeContext" title="$context_token">$!{info.Context}</td> |
| 86 | 86 | <td class="info" id="$messageId"> |
| 87 | 87 | #foreach($message in $info.Message)<span class="msg">$message</span>#end |
| … |
… |
|
| 94 | 94 | #end |
| 95 | 95 | </td> |
| 96 | | <td class="anchor"><a class="smooth" title="anchor to this message" href="#$messageId">[anchor]</a></td> |
| | 96 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
| 97 | 97 | </tr> |
| 98 | 98 | #end |
| … |
… |
|
| 108 | 108 | <div class="section errors" id="${observationName}_error"> |
| 109 | 109 | <h3 class="title"> |
| 110 | | <a class="smooth anchor" title="anchor to this uri" href="#${observationName}_error">[anchor]</a> |
| 111 | | Errors ($errorCount) |
| | 110 | <a class="smooth anchor" title="$anchor_uri" href="#${observationName}_error">a</a> |
| | 111 | $error_label ($errorCount) |
| 112 | 112 | </h3> |
| 113 | 113 | <div class="block result"> |
| … |
… |
|
| 120 | 120 | <tr> |
| 121 | 121 | <td colspan="4" class="uri" id="${observationName}_error_${i}"> |
| 122 | | #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end |
| 123 | | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end |
| 124 | | #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end |
| 125 | | </td> |
| 126 | | <td class="anchor uri"><a class="smooth" title="anchor to this uri" href="#${observationName}_error_${i}">[anchor]</a></td> |
| | 122 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token</span><a href="$result.Uri">$result.Uri</a>#end |
| | 123 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token</span>$result.Uri#end |
| | 124 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
| | 125 | </td> |
| | 126 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_error_${i}">a</a></td> |
| 127 | 127 | </tr> |
| 128 | 128 | #foreach($error in $result.Errors) |
| 129 | 129 | #set ($messageId = "${observationName}_error_${i}_$velocityCount") |
| 130 | 130 | <tr> |
| 131 | | <td class="linenumber" title="#if($error.Line)Line: $error.Line#end">#if($error.Line)$error.Line#end</td> |
| 132 | | <td class="colnumber" title="#if($error.Column)Column: $error.Column#end">#if($error.Column)$error.Column #end</td> |
| 133 | | <td class="codeContext">#if($error.Context) $error.Context #end</td> |
| | 131 | <td class="linenumber" title="#if($error.Line)$line_token: $error.Line#end">$!error.Line</td> |
| | 132 | <td class="colnumber" title="#if($error.Column)$column_token: $error.Column#end">$!error.Column</td> |
| | 133 | <td class="codeContext" title="$context_token">$!error.Context</td> |
| 134 | 134 | <td class="error" id="$messageId"> |
| 135 | 135 | #foreach($message in $error.Message)<span class="msg">$message</span>#end |
| … |
… |
|
| 142 | 142 | #end |
| 143 | 143 | </td> |
| 144 | | <td class="anchor"><a class="smooth" title="anchor to this message" href="#$messageId">[anchor]</a></td> |
| | 144 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
| 145 | 145 | </tr> |
| 146 | 146 | #end |
| … |
… |
|
| 156 | 156 | <div class="section warnings" id="${observationName}_warning"> |
| 157 | 157 | <h3 class="title"> |
| 158 | | <a class="smooth anchor" title="anchor to this uri" href="#${observationName}_warning">[anchor]</a> |
| 159 | | Warnings ($warningCount) |
| | 158 | <a class="smooth anchor" title="$anchor_uri" href="#${observationName}_warning">a</a> |
| | 159 | $warning_label ($warningCount) |
| 160 | 160 | </h3> |
| 161 | 161 | <div class="block result"> |
| … |
… |
|
| 168 | 168 | <tr> |
| 169 | 169 | <td colspan="4" class="uri" id="${observationName}_warning_${i}"> |
| 170 | | #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end |
| 171 | | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end |
| 172 | | #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end |
| 173 | | </td> |
| 174 | | <td class="anchor uri"><a class="smooth" title="anchor to this uri" href="#${observationName}_warning_${i}">[anchor]</a></td> |
| | 170 | #if ($unicorncall.getInputMethod() == "URI")<span>$uri_token</span><a href="$result.Uri">$result.Uri</a>#end |
| | 171 | #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token</span>$result.Uri#end |
| | 172 | #if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end |
| | 173 | </td> |
| | 174 | <td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_warning_${i}">a</a></td> |
| 175 | 175 | </tr> |
| 176 | 176 | #foreach($warning in $result.Warnings) |
| 177 | 177 | #set ($messageId = "${observationName}_warning_${i}_$velocityCount") |
| 178 | 178 | <tr> |
| 179 | | <td class="linenumber" title="#if($warning.Line)Line: $warning.Line#end">#if($warning.Line)$warning.Line#end</td> |
| 180 | | <td class="colnumber" title="#if($warning.Column)Column: $warning.Column#end">#if($warning.Column)$warning.Column #end</td> |
| 181 | | <td class="codeContext">#if($warning.Context) $warning.Context #end</td> |
| | 179 | <td class="linenumber" title="#if($warning.Line)$line_token: $warning.Line#end">$!warning.Line</td> |
| | 180 | <td class="colnumber" title="#if($warning.Column)$column_token: $warning.Column#end">$!warning.Column</td> |
| | 181 | <td class="codeContext" title="$context_token">$!warning.Context</td> |
| 182 | 182 | <td class="warning level$warning.getLevel()" id="$messageId"> |
| 183 | 183 | #foreach($message in $warning.Message)<span class="msg">$message</span>#end |
| … |
… |
|
| 190 | 190 | #end |
| 191 | 191 | </td> |
| 192 | | <td class="anchor"><a class="smooth" title="anchor to this message" href="#$messageId">[anchor]</a></td> |
| | 192 | <td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td> |
| 193 | 193 | </tr> |
| 194 | 194 | #end |
| … |
… |
|
| 204 | 204 | #end |
| 205 | 205 | </div> |
| 206 | | #parse( 'includes/footer.vm' ) |
| | 206 | #parse('includes/footer.vm') |