jenkins-bot has submitted this change and it was merged.

Change subject: Fix command-line apertium-xhtml script
......................................................................


Fix command-line apertium-xhtml script

The refactor commit 9739d66fe36fe33663dd230c10dcc1a649b66df4 changed the 
Apertium
call interface so this script needed updating accordingly.

Change-Id: I84affdd50c6116d652122f0ddf84afda2a943c34
---
M bin/apertium-xhtml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/bin/apertium-xhtml b/bin/apertium-xhtml
index af7a897..4d23f06 100755
--- a/bin/apertium-xhtml
+++ b/bin/apertium-xhtml
@@ -22,7 +22,7 @@
        sourceHtml.push( data );
 } );
 process.stdin.on( 'end', function() {
-       Apertium.translate(
+       new Apertium().translate(
                sourceLang,
                targetLang,
                sourceHtml.join( '' )

-- 
To view, visit https://gerrit.wikimedia.org/r/177595
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I84affdd50c6116d652122f0ddf84afda2a943c34
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Divec <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to