Skip to content

gTranslate is a Firefox addon which translates the selected text via Google Translate API.

License

Notifications You must be signed in to change notification settings

jkstrick/gtranslate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gTranslate

gTranslate is a Firefox addon which translates the selected text via Google Translate API.

Get it here: https://addons.mozilla.org/fr/firefox/addon/918/

Setting up to run tests

Set the XULRUNNER_BIN environment variable to the location of the XULRunner or Firefox 3.0+ executable. Here are some possible values (but your executable might be elsewhere):

Linux:
  /usr/bin/xulrunner
  /usr/bin/firefox

  Note: Firefox executables on distributions like Ubuntu that ship Firefox
        as a XULRunner app won't work.  But those distributions all have
        XULRunner installed, so just use the XULRunner executable on them.

Mac OS X:
  /Library/Frameworks/XUL.framework/xulrunner-bin
  /Applications/Firefox.app/Contents/MacOS/firefox-bin

Windows:
  /c/Program\ Files/Mozilla\ Firefox/firefox.exe

Running tests

  • To run all tests, simply run "make test" from the top-level directory (where the src and test directories are).
  • To run all unit tests, use: make -C test/unit
  • To run a specific unit test, use: make -C test/unit <test_name> i.e. to run test_resource.js, you would type make -C test/unit test_resource
  • To run all online tests, use: make -C test/online
  • To run a specific online test, use: make -C test/online <test_name>

About

gTranslate is a Firefox addon which translates the selected text via Google Translate API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published