«Translate»: الفرق بين المراجعتين

من ويكي عربآيز
اذهب إلى: تصفح، ابحث
ط (استبدال النص - 'http://cvs.arabeyes.org/viewcvs/translate/technicaldictionary/translate/ ' ب'https://git.arabeyes.org/arabeyes-i18n/technicaldictionary/tree/translate/')
سطر 13: سطر 13:
 
== Source ==
 
== Source ==
   
Translate is GPL and the source code is available in [http://cvs.arabeyes.org/viewcvs/translate/technicaldictionary/translate/ here].
+
Translate is GPL and the source code is available in [https://git.arabeyes.org/arabeyes-i18n/technicaldictionary/tree/translate/here].
   
 
Translate is written in C. It compiles successfuly on linux . Not tested on windows.
 
Translate is written in C. It compiles successfuly on linux . Not tested on windows.

نسخة 03:59، 10 فبراير 2017

Translate is an IRC bot Afief created to be used on our IRC channel to allow fast queries to be made to the Technical Dictionary on the wiki. Translate currently can read the Technical Dictionary from the wiki but not write to it.

Usage

You have to go to our IRC channel #arabeyes on freenode network.

Then you can easily query it by writing its name and the term you want to find. i.e.:

<hydrated> Translate, Print
<Translate> hydrated, الاسم = طبع . 

Source

Translate is GPL and the source code is available in [1].

Translate is written in C. It compiles successfuly on linux . Not tested on windows.

Installation

cvs -d:pserver:anoncvs@cvs.arabeyes.org:/home/arabeyes/cvs login

cvs -z3 -d:pserver:anoncvs@cvs.arabeyes.org:/home/arabeyes/cvs co translate/technicaldictionary/translate/

cd translate/technicaldictionary/translate

make

Now you have a binary called 'bot' in the current directory.

Dependencies:

  • libwww
sudo apt-get install libwww0 libwww-dev build-essential

TODO

  • Remove more of the ugly C code and replace it with C++ that uses std::string
  • Make it write to the technical dictionary on the wiki.
    • details
    • details
  • Provide a link to the term on the wiki when using --url.
  • Provide a link when a term isn't found.