PingvinOpenTag / LTAscetic

Open lasertag project
http://armada.ltascet.com
11 stars 9 forks source link

Feature request: Englisch Translation #3

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi, i and my friends use the LTAscetic project in Germany very much. Its nice, and works well. But the problem is, the LCD menu and the LTAscetic Configurator. Only one in my team speaks the russian language. Only he can use the Configurator.

This is a feature request(?): Please Translate the menu and the Configurator to English.

Thank you in Advance.

Tipp: I added a current regulator for the LED on the pcb to save power. Works well.

insensitiveclod commented 9 years ago

On 12/24/2014 09:36 AM, gamecompiler wrote:

Hi, i and my friends use the LTAscetic project in Germany very much. Its nice, and works well.

W00h! Nice I still need to get (back) to the project, myself: i failed to actually build the system but I worked a bit on the code: mainly translation.

But the problem is, the LCD menu and the LTAscetic Configurator. Only one in my team speaks the russian language. Only he can use the Configurator. There's a configurator now ? Interesting. Will look into it.

This is a feature request(?): Please Translate the menu and the Configurator to English.

I did a translation of an older version: both the LCD-text + all the code/comments and some cleanup. I failed to integrated it into the mainline , however, as my Git-foo is rather weak.

Thank you in Advance.

Tipp: I added a current regulator for the LED on the pcb to save power. Works well.

I'd love to get into this project again, in time for the summer-holidays this time.

Any chance that you might be at the 31C3 event in Hamburg this weekend ?

Arnd


Reply to this email directly or view it on GitHub: https://github.com/PingvinOpenTag/LTAscetic/issues/3

ghost commented 9 years ago

Sorry, im not at the 31c3 event. Its too expensive for me. Do you live in Germany ?

Am 24.12.2014 um 12:28 schrieb insensitiveclod notifications@github.com:

On 12/24/2014 09:36 AM, gamecompiler wrote:

Hi, i and my friends use the LTAscetic project in Germany very much. Its nice, and works well.

W00h! Nice I still need to get (back) to the project, myself: i failed to actually build the system but I worked a bit on the code: mainly translation.

But the problem is, the LCD menu and the LTAscetic Configurator. Only one in my team speaks the russian language. Only he can use the Configurator. There's a configurator now ? Interesting. Will look into it.

This is a feature request(?): Please Translate the menu and the Configurator to English.

I did a translation of an older version: both the LCD-text + all the code/comments and some cleanup. I failed to integrated it into the mainline , however, as my Git-foo is rather weak.

Thank you in Advance.

Tipp: I added a current regulator for the LED on the pcb to save power. Works well.

I'd love to get into this project again, in time for the summer-holidays this time.

Any chance that you might be at the 31C3 event in Hamburg this weekend ?

Arnd


Reply to this email directly or view it on GitHub: https://github.com/PingvinOpenTag/LTAscetic/issues/3

— Reply to this email directly or view it on GitHub.

PingvinOpenTag commented 9 years ago

It is not hard to do. After New Year' I am internationalized project, so if it went. The application is written in Qt, use Qt Linguist for internationalized. Parameter names can be changed in the source code in the protocol description file commands.h. Will not only English, but also German. But I need your help.

PingvinOpenTag commented 9 years ago

Guys, if you need right on the main branch - I'll give you.

PingvinOpenTag commented 9 years ago

There is a new firmware, which altered work with sound. Now, when the sound is played, the damage would be considered. And adjusts the time "invulnerability". And yet adjusted carrier frequency IR (56KHz/36KHz) through the screen or configuration program.

Lay out in repository after the holidays, as a test. https://yadi.sk/d/iGUwlYLLdhcqz

And configurator for Android http://www.youtube.com/watch?v=7L_GSqQeS_4&list=UUE1d4DppO2IBZAxxgJPz0_A

PingvinOpenTag commented 9 years ago

And new project on ARM-core controller - "ARMada" http://www.open-tag.ru/forum/viewtopic.php?f=5&t=3776&p=38801#p38801 It will be something fantastic, believe me! ;-)

PingvinOpenTag commented 9 years ago

And more .... learn Russian! :-))

ghost commented 9 years ago

Awesome ! A Android configurator. Thats awesome nice. Nice work ! I like the character logo, i like TF 2.

If you need help to translate your code with QT Linguist or similiar, i could translate from English to German and Spanish.

Please give us access to the main repo. insensitiveclod made already the most of the translation https://github.com/insensitiveclod/LTAscetic

Next weekend i will try to make it possible to load sth like language.ini files to be load while compiling, so that the language will be changed during compiling.

I will post the code into this issue #3 when im ready.

ghost commented 9 years ago

Another question, if i do the language.ini file thing. (I would like to translate the AVR Firmware Display part) Which version should i use ? Your yadi.sk version or release 3_1 ?

ghost commented 9 years ago

I thougt about something like this.

-->config.h<--

extern int global_variable;

-->language.h<--

include "config.h"

include "main.h"

int global_variable = 2014;

int increment(void) { return global_variable++; }

-->ltag_ascetic.c<--

include "config.h"

include "main.h"

void use_it(void) { printf("Global variable: %d\n", global_variable++); }

PingvinOpenTag commented 9 years ago

Generating SSH keys https://help.github.com/articles/generating-ssh-keys/ and send me the key to e-mail: pingvin-patriot@yandex.ru I'll add it to the server, and you will have access, if I understand correctly the server.

Your yadi.sk version or release 3_1 ?

More need to consider the size of the LCD (number of characters per line). On Yandex is a new version of firmware (experimental). The mechanism of the internationalized firmware need to think more.

ghost commented 9 years ago

Im back, id checked insensitiveclod´s code on https://github.com/insensitiveclod/LTAscetic. And i did not found any code difference with the PingvinOpenTag repo. It took me nearly 7 hours for the review.... The English Translation of his work is almost complete and has a good quality. Please put his code in the main repo if you also think his translation is ok. Id found some spelling errors, but i will merge my fixes (? correct word, merge ???)with the repo.

PingvinOpenTag commented 9 years ago

OK, I'm put insensiveclod version in main repo. But what about the new firmware? I'll post it soon it without translation.

PingvinOpenTag commented 9 years ago

I managed to port the PC version of the configurator on Android! http://www.youtube.com/watch?v=n5ikXYz3mhE&list=UUE1d4DppO2IBZAxxgJPz0_A Now you can even program the sounds using a Tablet laptop or smartphone. http://www.youtube.com/watch?v=lW9ozMrs18M

insensitiveclod commented 9 years ago

On 01/07/2015 02:00 PM, Pingvin wrote:

OK, I'm put insensiveclod version in main repo.

— Reply to this email directly or view it on GitHub https://github.com/PingvinOpenTag/LTAscetic/issues/3#issuecomment-69018419.

Wow:)

Such honor bow

The code compiles exactly the same as the version I used before translation. It's only comments that got translated, prettified and a bit streamlined.

I will pick up the work of making it 'even nicer' soon, by doing code-cleanup a bit. First i will look at the configurator + translation.

Arnd

ghost commented 9 years ago

Awesome nice. I cant await to hear when you are ready. :)I currently try to find a translation trick for the Firmware which is better then global variables. Maybe we can store Kind of Language files in the EEPROM.(Sorry for those bad Spelling, German T9 in my mobile phone)-------- Originalnachricht --------Betreff: Re: [LTAscetic] Feature request: Englisch Translation (#3)Von: insensitiveclod An: PingvinOpenTag/LTAscetic Cc: Jason On 01/07/2015 02:00 PM, Pingvin wrote:

OK, I'm put insensiveclod version in main repo.

— Reply to this email directly or view it on GitHub https://github.com/PingvinOpenTag/LTAscetic/issues/3#issuecomment-69018419.

Wow:)

Such honor bow

The code compiles exactly the same as the version I used before translation. It's only comments that got translated, prettified and a bit streamlined.

I will pick up the work of making it 'even nicer' soon, by doing code-cleanup a bit. First i will look at the configurator + translation.

Arnd

—Reply to this email directly or view it on GitHub.

PingvinOpenTag commented 9 years ago

I can not add your ssh-key. I do not know why, but there is an error. Send it as an archive, try more.

ghost commented 9 years ago

Id see you added sth you call Anti-Cheat. Who does this Anti-Cheat system work ? And what happend with the TDA7052 problem ? https://github.com/PingvinOpenTag/LTAscetic/issues/4 What should we do now ?

Thanks in Advance.

PingvinOpenTag commented 9 years ago

Anti-cheat does not allow the player to disconnect bandana during the game on or off Bluetooth bandana. That it can not be Duncan Macleod ;-)

Anticheat already in release 2 worked.

What's the problem with TDA7052A?

ghost commented 9 years ago

I cant find the TDA7052 on Mouser as DIP. We may need another Distributer for our parts. Or we change the PCB, to let the SMD Version fit.

Or could i use a similiar IC ? Id found the NJM386 IC. Its similiar, has more features, we could change the volume over a gain pin. And it has output power of 1 Watts.

http://www.mouser.com/ds/2/294/NJM386_E-232003.pdf

I would prefer to use mouser because mouser ships worldwide and is very cheap in conclusion to my known distributors.

PingvinOpenTag commented 9 years ago

Began to correct the source firmware for multi-language support. I use this method, in header file

define EN 0

define RU 1

define LANGUAGE EN

in C file

if LANGUAGE == RU

lcd_puts("Ключ ТМ");

elif LANGUAGE == EN

lcd_puts("ТМ key");

endif

lcd_gotoxy(0, 1);

if LANGUAGE == RU

lcd_puts("записан!");

elif LANGUAGE == EN

lcd_puts("recorded");

endif

Teie commented 9 years ago

Hi Pingvin, I'm Theuer from Brazil. GREAT JOB you made here! I'm doing your project at protonboard, I tried open the ".c" files at maaaany softwares because my idea was to do "copy" Rusian COMMENTS and "paste" at Google Translator, but the comments not appears in Cyrillic. All comments appears like this: "//«‡ÔËÒ¸ ·‡ÈÚ‡ ‚ ÏÓ‰Ûθ Ô‡ÏˇÚË EEPROM" Do you know why? Others thing, I did not understand what it is for the EEPROM memory. Is it for Score? (Please say yes!) :)

Sorry for terrible english, and congratulations for your hard work! See you, Theuer.

ghost commented 9 years ago

The Translation is already (almost) done, please try to read the issues first before you comment. https://github.com/PingvinOpenTag/LTAscetic/tree/master/internationalized_firmware

Im not sure for what the EEPROM memory is for. If i remember correct, it contains the playerid and settings like ammo, battery settings (Max and min values when the battery is full or empty e.t.c), health, damage rate....

If im correct there is no score feature, but if you like to add it, please feel free to share your code.

If you have more question, please feel free to ask ;D Sorry for my english.

Teie commented 9 years ago

I read the issues, but I had understood that the partial translation was in "internationalized_firmware" and when I opened, everything I saw was "//«‡ÔËÒ¸ ·‡ÈÚ‡ ‚ ÏÓ‰ÛÎ". Now I opened "intensitivecloud" and I found it all translated.

Yes, my goal is to write score feature. My current system is MicroMT, and I'm dropping it because they lack the Score feature. My big question about ASCETIC was it can handle or not the Score feature, and today Pingvin answer: "Yes, of course - it is able to." Challenge accepted! :)

PingvinOpenTag commented 9 years ago

GitHab why the substitute encoding. Try to download and unpack the archive. Yes, we have an internal controller eeprom little used. There's plenty of space to save the recorded hits.