sbussetti / deluge-siphon

A Chrome extension for sending torrents to your Deluge server.
http://sbussetti.github.io/deluge-siphon/
82 stars 22 forks source link

add i18n support #28

Open sbussetti opened 7 years ago

clementleger commented 6 years ago

While debugging, I found that i18n can cause a lot of trouble. When delugesiphon tries to connect to the daemon, a callback is sent with the status/ip/port of the server. Since the webui is internationalized, the returned status can differ from "Connected". In my case, in french, "Connected" is "Connecté". I added the string in the switch case and it fixed it :) Anyway, that was just to add more weight in this feature :)