diff -r f2befea2c2d1 -r af969d762e03 crea/integration/metadataplayer/MusitagAnnotations.js --- a/crea/integration/metadataplayer/MusitagAnnotations.js Mon Jun 11 15:10:18 2012 +0200 +++ b/crea/integration/metadataplayer/MusitagAnnotations.js Mon Jun 11 15:47:37 2012 +0200 @@ -8,14 +8,23 @@ '
'; IriSP.Widgets.MusitagAnnotations.prototype.annotation_template = - '
' + '
' + '
' + '
' - + '
' - + '
' - + '
{{#audio}}
{{/audio}}' + + '
' + + '
' + + '
{{#annotation.audio}}
{{/annotation.audio}}' + '
'; +IriSP.Widgets.MusitagAnnotations.prototype.messages = { + fr: { + at_timecode: "à" + }, + en: { + at_timecode: "at" + } +} + IriSP.Widgets.MusitagAnnotations.prototype.defaults = { annotation_type: false, columns: 15, @@ -23,7 +32,7 @@ emoticons: [ { tag: "happy", name: "content"}, { tag: "unhappy", name: "mécontent"}, - { tag: "laughing", name: "rigolard"}, + { tag: "laughing", name: "rieur"}, { tag: "surprised", name: "étonné"} ], colors: [ @@ -108,7 +117,7 @@ } _html += '
'; _html += _column.map(function(_annotation) { - return Mustache.to_html(_this.annotation_template, _annotation); + return Mustache.to_html(_this.annotation_template, { annotation: _annotation, l10n: _this.l10n }); }).join(''); _html += '
'; }