diff -r 353a78021ebc -r 03b03865eb9b src/js/widgets/annotationsWidget.js --- a/src/js/widgets/annotationsWidget.js Thu Mar 22 18:42:31 2012 +0100 +++ b/src/js/widgets/annotationsWidget.js Mon Mar 26 19:18:04 2012 +0200 @@ -1,3 +1,16 @@ +/* Internationalization for this widget */ + +IriSP.i18n.addMessages( + { + "fr": { + "keywords": "Mots-clés" + }, + "en": { + "keywords": "Keywords" + } + } +); + IriSP.AnnotationsWidget = function(Popcorn, config, Serializer) { IriSP.Widget.call(this, Popcorn, config, Serializer); /* flag used when we're creating an annotation */ @@ -46,7 +59,7 @@ } } - tags = "Keywords: " + tags.slice(0, tags.length - 2); + tags = IriSP.i18n.getMessage("keywords") + ": " + tags.slice(0, tags.length - 2); this.selector.find(".Ldt-SaKeywords").text(tags);