Commit Graph

258 Commits

Author SHA1 Message Date
Igor Chubin
f8e7aef267 typos fixed (fixes #267) 2019-02-04 12:12:02 +01:00
Igor Chubin
31d9fb7e59 /moon as well as /Moon should show the Moon; use Moon,Fr for the city Moon in France 2019-02-04 07:29:30 +01:00
Igor Chubin
485b17cf94 set the mime header properly 2019-02-04 07:28:44 +01:00
Igor Chubin
6b3c40922b force ansi output for line mode (fixes #266) 2019-02-04 07:27:22 +01:00
Igor Chubin
026acdfdac
Merge pull request #261 from casperl/master
Afrikaans translation.
2019-02-03 16:34:01 +01:00
Igor Chubin
65855a6d6a displayed location names for implied locations fixes (fixes #265) 2019-02-01 23:32:17 +01:00
Igor Chubin
5a4c57ce96 added new option: -A (force-ansi=True) (fixes #153) 2019-02-01 12:29:27 +01:00
Igor Chubin
eb64ed3b1e minor fix (related to Moon/?T support) 2019-02-01 12:17:42 +01:00
Igor Chubin
4bbbdaca7b T support for /Moon (fixes #175) 2019-02-01 12:14:01 +01:00
Igor Chubin
067be9c319 specify country resolving location found by geolocation (fixes #264; related to #167) 2019-02-01 12:04:26 +01:00
Casper Labuschagne
28f1047522
Add files via upload 2019-01-19 12:35:28 +02:00
Igor Chubin
0f6d8da10c do not add country name to the GPS coords (fixes #260) 2019-01-11 17:27:14 +01:00
Igor Chubin
6dfd809694 new option: F (no follow line) (fixes #214) 2019-01-11 12:48:00 +01:00
Igor Chubin
c6af7b6844 initial support for the one-line mode (#174) 2019-01-11 10:59:17 +01:00
Igor Chubin
fa4dcde9e1 activated be translation 2019-01-11 10:58:36 +01:00
Igor Chubin
b75f991b30 do full location resolution when location is not specified (experimental) 2019-01-11 10:58:08 +01:00
Igor Chubin
595428ea66 show number of stars in the footer 2019-01-11 10:52:07 +01:00
Igor Chubin
4a423fdd58 Do not show location when q or Q is specified (fixes #232) 2019-01-11 10:51:39 +01:00
Igor Chubin
daf9699e59 import dateutil.parser instead of dateutil (fixes #251) 2018-12-15 16:57:50 +01:00
Igor Chubin
e466abcd07 Merge branch 'master' of https://github.com/chubin/wttr.in 2018-12-12 20:55:55 +01:00
Igor Chubin
67d8b47fff added Danish (da) to translations.py 2018-12-12 20:55:51 +01:00
Igor Chubin
533820c604
dk => da, renamed; typo fixed 2018-12-11 16:05:50 +01:00
Kim Schulz
98e2688a29 Added Danish translation for python files 2018-12-10 20:36:26 +01:00
Igor Chubin
e41d6e629e
Merge pull request #236 from Aversiste/patch-1
Add OpenBSD ftp(1) to the PLAIN_TEXT list
2018-12-09 19:52:37 +01:00
Igor Chubin
26ed9fa28b Merge branch 'master' of https://github.com/chubin/wttr.in 2018-12-09 19:39:22 +01:00
Igor Chubin
4730dce9a4 ip2location related minor fixes 2018-12-09 19:39:20 +01:00
cclauss
7c47cd7d0c Modernize Python 2 code to get ready for Python 3 2018-12-02 09:41:29 +01:00
Igor Chubin
307ab535c3 translations.py clean up 2018-11-11 23:01:36 +01:00
Alois Mahdal
3e33fa7682
fixed whitespace
Co-Authored-By: javad94 <javad94@users.noreply.github.com>
2018-11-11 18:41:24 +03:30
Alois Mahdal
a246d98cb0
fixed whitespace
Co-Authored-By: javad94 <javad94@users.noreply.github.com>
2018-11-11 18:41:09 +03:30
Javad
d07b43809a translated translations.py 2018-11-11 01:29:57 +03:30
Tristan Le Guern
0f27ec700e
Add OpenBSD ftp(1) to the PLAIN_TEXT list
The [ftp](http://man.openbsd.org/ftp)(1) command is the default tool to fetch files over HTTP on OpenBSD. It could be nice to add it to the PLAIN_TEXT_AGENTS list so installing curl or wget is not necessary.

Its user-agent is, as described in the man page, “OpenBSD ftp”.
2018-11-06 13:05:12 +00:00
Igor Chubin
0d76ba4a3e new status line functions: moonphase, moonday 2018-11-02 18:52:42 +01:00
Igor Chubin
9f0f9baa32 wttrin_png.py: fixed bug 2018-11-02 18:15:59 +01:00
Igor Chubin
632a4169c5 minor fixes 2018-11-02 18:15:15 +01:00
Igor Chubin
c330875eda cyclic location support 2018-11-02 18:14:48 +01:00
Igor Chubin
a45855fbb4 geolocation related fixes 2018-11-02 18:12:53 +01:00
Igor Chubin
eed7c3597d added new function: debug_log() 2018-11-02 18:11:49 +01:00
Igor Chubin
95e1f61a40 moved limits to globals.py (fixes #233) 2018-11-01 18:23:32 +01:00
Igor Chubin
7303ae86ba renamed format => filetype; line => format (fixes #230) 2018-10-28 15:41:39 +01:00
Igor Chubin
efac9abc9e renamed url parameter for one line mode $174: line instead of format (fixes #230) 2018-10-28 15:28:50 +01:00
Igor Chubin
d819233b5a initial support of oneline output mode (#174) 2018-10-28 00:31:51 +02:00
Igor Chubin
bb5989a7aa added lib/weather_data.py 2018-10-27 23:55:14 +02:00
Igor Chubin
39ca1cd325 wwo key is in ~/.wwo.key 2018-10-27 23:54:37 +02:00
Igor Chubin
c10067fe89 added lib/constants.py 2018-10-27 23:53:18 +02:00
Igor Chubin
e6687abf13 use USCS for US-based IPs (fixes #229 #162) 2018-10-27 17:14:33 +02:00
Igor Chubin
c558824fbf rewrite country name (in some cases) 2018-10-27 00:58:42 +02:00
Igor Chubin
dbb8aab676 for IPs covered by GeoIP2, use country name instead of ISO Code (fixes #209) 2018-10-27 00:54:05 +02:00
Igor Chubin
2844a94c88 several minor geolocation bugs fixed (fixes #63, #135, #162, #209) 2018-10-27 00:19:22 +02:00
Igor Chubin
4dfa7f5ecc moved log and cache directory 2018-10-27 00:17:16 +02:00
Igor Chubin
1b90be34a4 logging query minor changes 2018-10-26 23:03:50 +02:00
Igor Chubin
4e40a23b83 response.headers fixes 2018-10-26 22:34:20 +02:00
Igor Chubin
597785e43f new pyte api 2018-10-26 22:33:30 +02:00
Igor Chubin
1df8c57bc2 moved api-cache to cache 2018-10-26 19:46:42 +02:00
Igor Chubin
7dd736ba8f minor cleanup 2018-10-26 19:35:34 +02:00
Igor Chubin
0c67b15e8a ip2location fixes 2018-10-26 19:35:13 +02:00
Igor Chubin
68f9c8cb3c Merge branch 'master' of https://github.com/chubin/wttr.in 2018-10-23 20:04:47 +02:00
Igor Chubin
10f5aa579c bin/proxy.py clean up 2018-10-23 20:04:42 +02:00
Igor Chubin
bd10befae4 pyphoon moved out of wttr.in/ 2018-10-23 18:53:34 +02:00
Igor Chubin
8d7c4cf07d
Merge pull request #226 from meigwilym/patch-1
Update cy/Welsh
2018-10-23 08:18:05 +02:00
Igor Chubin
112ef43aea minor fixes 2018-10-20 15:41:53 +02:00
Mei Gwilym
332b67a386
Update cy/Welsh
Minor improvements to the current translation and add in the CAPACITY_LIMIT_REACHED strings
2018-10-16 17:08:12 +01:00
Igor Chubin
b534f7290c
nl is now fully translated 2018-10-12 22:31:48 +02:00
Igor Chubin
8e54c6e2f3
Update translations.py 2018-10-12 22:17:07 +02:00
CupOfEspresso
f9b94c5afa added dutch translation 2018-10-12 20:03:38 +00:00
Igor Chubin
218acd8b9d location.py refactoring 2018-10-07 12:34:36 +02:00
Igor Chubin
af621947d9 minor cleanup 2018-10-07 12:34:03 +02:00
Igor Chubin
0782e99d6f moved to location_normalize() to location.py 2018-10-07 12:33:43 +02:00
Igor Chubin
0eabfb1218 minor refactoring 2018-10-07 12:14:23 +02:00
Igor Chubin
601bab5b19 moved metric_or_imperial to parse_query 2018-10-07 12:12:47 +02:00
Igor Chubin
a61746534d separated location related function 2018-10-07 12:11:59 +02:00
Igor Chubin
a25afe4771 moved server related code back to bin/srv.py 2018-10-07 12:11:09 +02:00
Igor Chubin
c8fb1dcc0d moved buttons related function to buttons.py 2018-10-07 12:10:07 +02:00
Igor Chubin
2fce9af0ea removed Limits class from srv.py 2018-10-05 22:37:35 +02:00
Igor Chubin
10c251c434 added lib/limits.py (from cheat.sh) 2018-10-05 20:37:46 +02:00
Igor Chubin
eb8b1cc92d globals.py clean up 2018-10-05 20:37:16 +02:00
Igor Chubin
fb89c4d985 syntax clean up 2018-10-05 20:19:49 +02:00
Igor Chubin
fcc7b79272 new global variables 2018-10-05 20:19:27 +02:00
Igor Chubin
e414e8f924 wsgi was renamed to pywsgi 2018-10-05 20:18:34 +02:00
Igor Chubin
c6d60c5ca0 lib/translations.py: minor syntax fixes 2018-10-05 20:17:50 +02:00
Igor Chubin
d7ec9ac840 moved srv.py to lib/ 2018-10-05 16:54:14 +02:00
Igor Chubin
0c96e97dd3 added LISTEN_HOST and LISTEN_PORT 2018-10-03 22:46:23 +02:00
Igor Chubin
489aec0a4b help translation support 2018-10-03 18:59:17 +02:00
Igor Chubin
0d69147278 opengraph support 2018-10-03 18:58:40 +02:00
Igor Chubin
0e9d46c490 opengraph support 2018-10-03 18:58:28 +02:00
Igor Chubin
c694ea2f07
Merge pull request #218 from pavansrinivasmamidala/master
It is an Indian language known as telugu
2018-09-15 13:44:57 +02:00
Pavan Srinivas Mamidala
76ba71fee7
It is an Indian language known as telugu 2018-09-02 19:30:42 +05:30
Anton Zhavoronkov
8ee678fe7c translations: add be 2018-08-27 02:37:15 +03:00
Igor Chubin
10afcd46fe minor fixes in lib/translations.py 2018-07-12 08:12:26 +02:00
Igor Chubin
9a69039e71 minor fix at lib/translations.py 2018-07-09 19:05:12 +02:00
Igor Chubin
90df82a8d6 minor fix at lib/translations.py 2018-07-09 19:04:07 +02:00
Igor Chubin
e759d5788a
Merge branch 'master' into master 2018-04-26 13:09:27 +02:00
Fernando Bitti Loureiro
59c106e1d4
Spanish (es) added 2018-04-19 17:45:04 +02:00
Fernando Bitti Loureiro
3c48a25e4f
PT added
Hi Igor, as a Brazilian, PT is my native language. As promised here you are the error messages translated.
2018-04-14 15:28:36 +02:00
Wojciech Lukasiewicz
14cd650774 add full polish translation 2018-03-17 17:01:49 +01:00
Igor Chubin
b454dd0928 added kk placeholders 2018-03-01 21:50:40 +01:00
Igor Chubin
7daf2b4fea
Merge pull request #179 from mrFrosty/master
Added Latvian translation
2018-02-20 20:03:14 +01:00
Gunārs Danovskis
deec699164
Add lv translations 2018-02-20 12:39:10 +02:00
Igor Chubin
38c63c4330 typo fixed 2018-02-17 19:18:22 +01:00
Igor Chubin
62b699ef6c added italian translation (thanks to Diego Maniacco) 2018-02-17 19:14:07 +01:00
Igor Chubin
48b9f0a9e4 ANSI seqeuences fixes in translation 2018-02-17 16:49:11 +01:00
Igor Chubin
72ae0aba9c Merge branch 'master' of https://github.com/chubin/wttr.in 2018-02-15 18:45:16 +01:00
M. Yilmaz SUSLU
75fd65b3d5 Add missing translations for Turkish, improve existing ones 2018-02-14 16:32:48 +01:00
Igor Chubin
7cbc62b127 fr, id and ru are fully translated 2017-12-24 15:21:40 +01:00
andria009
f855ffbe8a [ADD] Bahasa Indonesia translation. 2017-11-14 14:00:51 +01:00
Junhan
64d8cfb2cb Additional Simplified Chinese translation 2017-08-26 20:59:44 -07:00
Igor Chubin
23d1d0b94d Merge pull request #139 from fredrikfjeld/master
Added Norwegian translation
2017-08-20 23:09:46 +02:00
Igor Chubin
812338f151 added missing module: dateutil (closes #141) 2017-08-19 14:50:29 +02:00
Fredrik Fjeld
06340cc5df Additional Norwegian translation 2017-08-01 15:25:24 +02:00
Fredrik Fjeld
c48062dd52 Norwegian translation 2017-08-01 12:34:48 +02:00
Igor Chubin
b22e27edb0 Merge branch 'master' into fr 2017-07-02 19:13:21 +02:00
Igor Chubin
ebcc1201a3 german translation: typo fixed 2017-07-01 17:56:25 +02:00
MAGIC
becd977645
Add german translation
Ordered translations alphabetically except english due main language
fixed full/partial translations due to the fact that only german is the language which got translated fully
2017-07-01 17:40:36 +02:00
daftaupe
0c8135ac10 Added french translation of messages in translations.py 2017-06-26 22:11:38 +02:00
simsieg
34ea633b60 Update german grammar 2017-06-14 17:15:45 +02:00
Igor Chubin
b067dd705a + Bosnian translation 2017-06-02 23:28:06 +02:00
winterJ
683799e48c
Add advanced Korean translation 2017-05-04 21:50:21 +09:00
winterJ
caca7f2956
Add base Korean translation 2017-05-04 21:40:00 +09:00
Igor Chubin
293e169d9b Merge pull request #108 from adomenech73/catalan-corrections
Error messages translations and better Overcast shape
2017-04-24 21:14:27 +02:00
Albert Domenech
169aa5570e
Error messages translations and better Overcast shape 2017-04-24 20:01:01 +02:00
Shukhrat Mukimov
48f7db2909 fixed uz translation 2017-04-24 21:21:33 +05:00
Igor Chubin
eb1c2f8776 Icelandic translation of error messages 2017-04-23 23:18:19 +02:00
Igor Chubin
3e4b4d4ea5 Merge branch 'master' into patch-1 2017-04-23 20:49:24 +02:00
Igor Chubin
8b93f3d831 cleanup + activated ca and is 2017-04-23 20:41:08 +02:00
Matej Plavevski
8def963e79 Macedonian Translation 2017-04-23 18:54:35 +02:00
Igor Chubin
2ecb16483e use weather report title as html title of page (fixes #89) 2017-04-23 18:18:34 +02:00
Igor Chubin
470c7739c8 activated Slovenian language 2017-04-18 21:42:24 +02:00
Igor Chubin
271644f772 localized Moon 2017-04-17 09:56:18 +02:00
Igor Chubin
c48e741a52 fixed problem with Japanese colon (closes #95) 2017-04-03 16:14:08 +02:00
Igor Chubin
aa4b44529c Delete .translations.py.swp 2017-04-02 09:00:53 +02:00
Igor Chubin
251d9a6907 Merge pull request #94 from danielat998/master
updated translations.py to include Welsh translations
2017-04-02 09:00:24 +02:00
Daniel Thomas
258b65e793 typo 2017-04-02 01:13:38 +01:00
Daniel Thomas
a6c100142f updated lib/translations.py 2017-04-02 01:12:34 +01:00
Igor Chubin
921a93c838 added Esperanto translation 2017-04-01 17:17:55 +02:00
Igor Chubin
385fb8b71c Belarusian activated 2017-04-01 13:13:51 +02:00
Igor Chubin
a489b39467 activated Welsh translation 2017-04-01 12:57:38 +02:00
Igor Chubin
7575eede8b added lib/wttr.py: wrapper for weather rendering programs 2017-03-31 20:39:15 +02:00
Igor Chubin
303b2465c7 added lib/globals.py 2017-03-31 20:38:35 +02:00
Igor Chubin
fb89cf06f2 translation related globals moved to translations.py 2017-03-31 20:37:08 +02:00
Igor Chubin
01b8d0d8c5 Added path to Katakana and Hangul fonts 2017-03-31 20:35:42 +02:00
Igor Chubin
8d06619333 Armenian translation: minifix 2017-03-26 15:38:04 +02:00
Igor Chubin
2209854816 wrong Japanese translation fixed 2017-03-26 12:58:19 +02:00
Igor Chubin
0ea3d4d38f Merge branch 'master' into patch-1 2017-03-26 12:05:09 +02:00
mikayel ghazaryan
a9228f2cf6 – Armenian translation added 2017-03-26 12:30:50 +04:00
Igor Chubin
ff48515908 lib/wttrin_png.py: added some debug output 2017-03-25 00:00:25 +01:00
Igor Chubin
2f5e67cccf added option ?M: use_ms_for_wind 2017-03-24 23:59:49 +01:00
Igor Chubin
213d490a13 added several messages 2017-03-24 23:22:01 +01:00
Igor Chubin
2a2e89bff6 added lib/buttons.py 2017-03-24 23:21:15 +01:00
Igor Chubin
d6f54216ad new option: T (no-terminal) 2017-03-22 16:16:21 +01:00
Igor Chubin
7b5d8110c0 new message: LOCATION 2017-03-22 16:15:55 +01:00