Divec has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/177595

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver 
refs/changes/95/177595/1

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: newchange
Gerrit-Change-Id: I84affdd50c6116d652122f0ddf84afda2a943c34
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Divec <[email protected]>

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

Reply via email to