Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.02k stars 410 forks source link

geoip #213

Closed nicobubulle closed 10 years ago

nicobubulle commented 10 years ago

From art....@gmail.com on December 18, 2009 10:06:22

Скачал geoip из svn ( revision 599 ).

  1. Как я понял, перевод теперь целиком содержится в файле ru.js, так что не плохо бы описание к плагину поправить, а то там все еще про sr.php рассказывается.
  2. Во вкладке "Пиры" все равно написано "Country", хотя в ru.js - "utWebUI.prsColumns0 "text" = "Страна";".
  3. Название стран в ru.js все равно на английском языке. Есть смысл заняться переводом, или уже есть готовый список на русском языке?
  4. В список стран нужно добавить:
  5. "az" ("Azerbaijan");
  6. "by" ("Belarus").

Спасибо :)

Original issue: http://code.google.com/p/rutorrent/issues/detail?id=214

nicobubulle commented 10 years ago

From novik65 on December 18, 2009 01:36:40

Owner: zcsala021

nicobubulle commented 10 years ago

From zcsala...@gmail.com on December 18, 2009 05:08:31

dorogoi art.spb,

Yesli u vas dostatochno vremeni, togda pozhaluista perevedite vsyo, chto nado perevesti v faile "ru.js" i ostavte zdes ("Attach a file"). Ya ne govoryu horosho po- russki :-( i ne mogu nazvaniya vsyeh stran perevesti.

nicobubulle commented 10 years ago

From art....@gmail.com on December 18, 2009 13:12:41

Вот перевод. Добавил Азербайджан и Беларусь. А что с пунктами 1 и 2?

nicobubulle commented 10 years ago

From art....@gmail.com on December 18, 2009 13:14:58

Поставил перевод себе. Работает, но название вкладки все равно "Country".

nicobubulle commented 10 years ago

From art....@gmail.com on December 18, 2009 13:40:04

Добавил Реюньон.

nicobubulle commented 10 years ago

From art....@gmail.com on December 18, 2009 21:58:55

Добавил Казахстан.

Attachment: ru.js

nicobubulle commented 10 years ago

From zcsala...@gmail.com on December 21, 2009 03:22:12

art-spb, English description of geoip plugin does NOT contain any reference to sr.php file. I have just check that. I don't speak Russian and am hence NOT responsible for differences between various versions of plugin description.

@Russian version translator: please synchronize Russian version with English one. Therefore I disregard "punkt 1" from above.

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 04:23:19

Ok, description in Russian is outdated and should be updated. But still not resolved "punkt 2"...

Attachment: geoip.png

nicobubulle commented 10 years ago

From zcsala...@gmail.com on December 21, 2009 05:11:06

Yes, "punkt 2" remains unsolved. Just a bit of patience, please.

By the way, please let me know when you are totally finished with changes to "ru.js". Then I will update Russian translation of plugin geoip.

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 07:58:43

I make new version of en.js and ru.js. The are based on this ( http://en.wikipedia.org/wiki/ISO_3166-1 ) and this ( http://ru.wikipedia.org/wiki/ISO_3166-1 ) pages.

You need to copy new pictures from attachments to geoip/flags/ and delete obsolete yu.gif and zr.gif.

File lang.ods should help with translation into other languages.

Attachment: flags.zip en.js ru.js

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 08:16:34

I make cs.js using this ( http://cs.wikipedia.org/wiki/ISO_3166-1 ) page. Please, check this.

Attachment: cs.js lang.ods

nicobubulle commented 10 years ago

From zcsala...@gmail.com on December 21, 2009 12:19:43

Please check out SVN version 608 and give your feedback.

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 14:09:16

It's ok, thanks. But maybe copy en.js into other language files (br.js, cn.js etc.)?

I look forward to addressing the problem with country name.

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 14:17:02

By the way, geoip/README contains outdated information ;)

nicobubulle commented 10 years ago

From zcsala...@gmail.com on December 21, 2009 14:58:17

Not anymore. SVN version 609.

Status: Done

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 15:28:23

Hm... Now we have two tabs with name "Имя" and have not tabs with name "Страна" or "IP" :)

Attachment: geoip.png

nicobubulle commented 10 years ago

From zcsala...@gmail.com on December 21, 2009 16:14:19

Just click on "Refresh" and columns "Country" and "IP" should be back.

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 22:40:47

It's magic! :) Many thanks!

nicobubulle commented 10 years ago

From art....@gmail.com on December 21, 2009 23:19:23

I'm sad :( It works in Firefox, but I have this bug in latest (2.0.266) Google Chrome... I'm testing it in two different PCs with different OS - Windows XP and Ubuntu 9.10.

nicobubulle commented 10 years ago

From novik65 on December 22, 2009 00:40:50

1) Latest stable Google Chrome has version 3.0.195.38. 2) 2zcsala021 - you need to use primitive utWebUI.prsTable.renameColumn for correct localization (after loading of language files). See plugin seedingtime for example.

nicobubulle commented 10 years ago

From art....@gmail.com on December 22, 2009 05:55:00

4.0.266, of course.

nicobubulle commented 10 years ago

From novik65 on December 22, 2009 07:38:48

This is a beta. Betas doesn't supported.

nicobubulle commented 10 years ago

From art....@gmail.com on December 22, 2009 07:52:30

Yes, but yesterday it still worked!

nicobubulle commented 10 years ago

From art....@gmail.com on December 22, 2009 08:04:53

Google Chrome 3.0.195.38 also have this bug.

nicobubulle commented 10 years ago

From novik65 on December 23, 2009 00:24:20

Point 1 just for info. Method of error correcting listed in point 2.