«Translate»: الفرق بين المراجعتين
من ويكي عربآيز
(create) |
ط (استبدال النص - 'https://git.arabeyes.org/' ب'https://gitlab.com/') |
||
(11 مراجعة متوسطة بواسطة 4 مستخدمين غير معروضة) | |||
سطر 1: | سطر 1: | ||
+ | <div dir="ltr"> |
||
− | Translate is |
+ | 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 [https://gitlab.com/arabeyes-i18n/technicaldictionary/tree/translate/ here]. |
||
+ | |||
+ | Translate is written in C. It compiles successfuly on linux . Not tested on windows. |
||
+ | |||
+ | === Installation === |
||
+ | git clone https://gitlab.com/arabeyes-i18n/technicaldictionary.git |
||
+ | cd technicaldictionary/translate |
||
+ | make |
||
+ | |||
+ | Now you have a binary called 'bot' in the current directory. |
||
+ | |||
+ | Dependencies: |
||
+ | * libwww |
||
+ | <pre> |
||
+ | sudo apt-get install libwww0 libwww-dev build-essential |
||
+ | </pre> |
||
+ | |||
+ | == 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. |
||
+ | </div> |
||
+ | |||
+ | [[Category:Technical Dictionary]] |
المراجعة الحالية بتاريخ 08:05، 21 فبراير 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 here.
Translate is written in C. It compiles successfuly on linux . Not tested on windows.
Installation
git clone https://gitlab.com/arabeyes-i18n/technicaldictionary.git cd 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.