Commit 14b784bb authored by Kristof Csillag's avatar Kristof Csillag

Add support for actually using Gettext in Annotator.

(For now, only with customized English text.)
parent 0125ec0e
......@@ -17,6 +17,7 @@ class Annotator.Host extends Annotator
tick: false
constructor: (element, options) ->
Gettext.prototype.parse_locale_data annotator_locale_data
super
@app = @options.app
......
......@@ -52,6 +52,7 @@ class Hypothesis extends Annotator
this.$inject = ['$document', '$location', '$rootScope', '$route', 'drafts']
constructor: ($document, $location, $rootScope, $route, drafts) ->
Gettext.prototype.parse_locale_data annotator_locale_data
super ($document.find 'body')
# Load plugins
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment