diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/webhelper/smoke-tests/webview.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/webhelper/smoke-tests/webview.js b/test/webhelper/smoke-tests/webview.js index c3c7dd5..fe2a655 100644 --- a/test/webhelper/smoke-tests/webview.js +++ b/test/webhelper/smoke-tests/webview.js @@ -52,7 +52,7 @@ using the <input>\'s ID</a> \ <p><a href="endless://addStars?id=starspan">I want \ stars!</a> <span id="starspan"/></p> \ \ -<p>This is text that will be translated: <span name="translatable">Hello, \ +<p>This is text that will be italicized: <span name="translatable">Hello, \ world!</span></p> \ \ </body> \ @@ -62,6 +62,10 @@ const TestApplication = new Lang.Class({ Name: 'TestApplication', Extends: WebHelper.Application, + _translationFunction: function(string) { + return string.italics(); + }, + /* *** ACTIONS AVAILABLE FROM THE WEB VIEW *** */ _webActions: { |