Commit graph

299 commits

Author SHA1 Message Date
Igor Chubin
e1bc708f05 aliasing zh-cn as zh for messages (#83) 2019-12-31 19:06:22 +01:00
youthlin.chen
b2cad8db78 add translation Simplified Chinese(zh-cn).
添加简体中文翻译 部分术语参考了 GB/T 35663-2017
2019-12-31 11:21:35 +08:00
Igor Chubin
244f1d002a
pt translation of v2 (fixes #80) 2019-12-30 11:53:53 +01:00
Igor Chubin
be586d7fa0
Merge pull request #370 from amekare/patch-1
Update for 'es'
2019-12-30 11:49:44 +01:00
Igor Chubin
340f88c6ea
Merge pull request #389 from CupOfEspresso/master
Entered the dutch translations
2019-12-29 22:41:45 +01:00
CupOfEspresso
5f9d96bc3b Entered the dutch translations 2019-12-29 20:31:27 +01:00
Igor Chubin
a9367befb9 travis: pyflake only bin and lib 2019-12-29 17:50:14 +01:00
Igor Chubin
1f28c8840c travis fixes 2019-12-29 17:19:58 +01:00
Igor Chubin
383739aadd travis fixes 2019-12-29 17:11:08 +01:00
Igor Chubin
568f620511
Merge pull request #387 from ryunix/add-japanese-translations-v2
Add japanese translations v2
2019-12-29 11:18:48 +01:00
Jeff Huang
0acc2824a6 Update v2 translations. 2019-12-29 10:49:15 +08:00
ryunix
9dbba2be91 Add japanese translations v2 2019-12-29 09:34:39 +09:00
Igor Chubin
23f473197c v2 initial translaion added 2019-12-28 20:36:12 +01:00
Igor Chubin
b1ea9be11f minor fixes 2019-12-28 18:08:06 +01:00
Jakob Neumann
d8985e3c42
Add missing comma for German translation ;-) 2019-11-22 22:27:36 +01:00
Andrea Torres
ca7bb93b60
Update for 'es'
update for spanish translation
2019-10-31 13:48:28 -06:00
Igor Chubin
6217a091db ca is fully translated now (#367) 2019-10-22 14:58:15 +02:00
Vatunyoo Suwannapisit
b0c5cfc164 [+] add Thai translation 2019-10-17 14:06:56 +07:00
Igor Chubin
70087c9368 full translation: be and zh-tw (#358, #359) 2019-10-10 15:23:29 +02:00
Jeff Huang
b7e03649e7 Add zh-tw translations. 2019-10-08 11:48:09 +08:00
Mardep
06b8a43a3c
Update translations.py 2019-10-01 19:37:17 +03:30
Nick
a368b622c5 Adding Probability of Precipitation to one-line output 2019-09-26 06:44:34 -05:00
Kristofer Rye
f709969362
lib/spark.py: Remove unnecessary assignment to color_codes
Since color_codes is immediately redefined directly below this, the
former of the two assignemnts is unnecessary.

Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2019-09-18 12:42:49 -05:00
Igor Chubin
de1b79d705 lru cache for formatted answers (fixes #346) 2019-09-07 15:12:10 +02:00
Igor Chubin
e78e6e6f22 fixed lower case problem 2019-09-07 15:06:40 +02:00
Igor Chubin
c8341c5d84 do not display location for 0-day queries (#342) 2019-08-30 18:10:22 +02:00
Igor Chubin
eecd88794c lib/translations.py: minor fix 2019-08-28 13:58:11 +02:00
Igor Chubin
65a21b2c2d initial support of subviews 2019-08-28 13:57:10 +02:00
Igor Chubin
d0d152b10c /Moon minifix 2019-08-28 13:56:22 +02:00
Igor Chubin
953aff302e moon phases minor fix 2019-08-28 13:55:17 +02:00
Igor Chubin
74d005c0cc initial v2 format implementation (fixes #332) 2019-08-25 20:39:22 +02:00
Igor Chubin
0f4dbd2e09 always force the ~query form 2019-08-25 20:39:22 +02:00
Igor Chubin
c465dfe08f initial json support (fixes #331) 2019-08-25 20:39:22 +02:00
Igor Chubin
57f6178640 lib/translations.py: added weather caption for en 2019-08-25 20:39:22 +02:00
Igor Chubin
509e87fa86 use original location for /Moon (fixes #337) 2019-08-25 20:39:22 +02:00
Igor Chubin
50dff37040 lib/constants.py: added WEATHER_SYMBOL_WIDTH_VTE, LOCALE, etc. 2019-08-25 20:39:22 +02:00
Igor Chubin
ad987b7a24 lib/translations.py: added CAPTION 2019-08-25 20:39:22 +02:00
Igor Chubin
69d3ea6cce
Merge branch 'master' into master 2019-08-15 06:23:56 +03:00
Igor Chubin
454bc2e156 tr is now fully translated 2019-07-23 21:46:56 +02:00
Igor Chubin
a17e778bca handle source IP for PNG queries (#311) 2019-07-08 19:56:29 +02:00
Igor Chubin
e7b7b91277 LOCATION['vi'] key fixed 2019-07-08 12:28:24 +02:00
Igor Chubin
9944488ba5 converted tests by @talyian into doctests (#304) 2019-07-07 21:51:15 +02:00
Igor Chubin
7b254b0773 Merge branch 'master' of https://github.com/chubin/wttr.in 2019-07-07 21:27:40 +02:00
Igor Chubin
5ae8fd90a0
Merge pull request #304 from talyian/master
Improve Accept-Language header ordering
2019-07-07 21:27:24 +02:00
Igor Chubin
a95a95cdb2 added two scripts categories: Arabic, Hebrew 2019-07-07 20:39:59 +02:00
Igor Chubin
6a0f61b316 added vi to PROXY_LANGS (#307) 2019-07-07 19:56:31 +02:00
Igor Chubin
0ab924b9ec
Merge branch 'master' into master 2019-07-07 19:42:13 +02:00
Igor Chubin
ef50b23f5b fixes for the @echarlie IPv6 patch (#160) 2019-07-07 19:10:05 +02:00
Igor Chubin
040b9ea7d7 various png-related problems fixed (#311) 2019-07-07 18:39:53 +02:00
Achintya Rao
2bce2e7dbc
Fix small typo in wttr_line.py
Signed-off-by: Achintya Rao <achintya.rao@cern.ch>
2019-06-28 16:46:10 +02:00
Igor Chubin
ee2c5f5bd4 hu is full now (#318) 2019-06-24 21:43:20 +02:00
Igor Chubin
5e6906551c hu is not yet full (#317) 2019-06-23 22:36:32 +02:00
Mark Petruska
d67fa41438 fixes typo 2019-06-23 13:47:31 +02:00
Mark Petruska
d56ffdb431 adds Hungarian translations 2019-06-23 13:29:37 +02:00
Igor Chubin
278c6550e1 el is fully translated now thanks to @Petewg (#313) 2019-06-20 17:40:31 +02:00
Vladimir Vitkov
77ffb6bf62 Add bg translation 2019-06-18 15:38:57 +03:00
Igor Chubin
1bf2701d83 added el to proxy langs, added pete to translation.txt (#310) 2019-06-07 20:20:37 +02:00
Luu Vinh Phuc
7e3c937f51 Add Vietnamese translation 2019-06-02 17:31:43 +07:00
Igor Chubin
c1665fd908 initiali Irish translation added 2019-05-30 19:48:20 +02:00
Igor Chubin
587a678fbd added fy to the PROXY_LANGS (#302) 2019-05-28 20:36:35 +02:00
Jimmy
5cee313096 Improve Accept-Language header parsing 2019-05-26 02:24:12 +00:00
Anne Douwe Bouma
04f33c3992 Add Frisian to lib/translations.py 2019-05-24 09:24:57 +02:00
Igor Chubin
e1930bedfb lib/location.py: location can be None (#296) 2019-05-15 17:57:01 +02:00
Igor Chubin
8f7d3140ca handle WTTR_* environment variables 2019-05-10 17:46:44 +02:00
Igor Chubin
8142e30e53 how to configure ip2location (#296) 2019-05-09 17:40:22 +02:00
Igor Chubin
9a72e04ec7 pressure (P) and precipitation (p) (fixes #293) 2019-04-23 17:31:46 +02:00
Igor Chubin
83b1fd45f2 new option: C (Weather condition textual name) 2019-04-23 16:44:41 +02:00
Igor Chubin
5901e711f6 multilingual support for the oneline mode 2019-04-23 16:42:58 +02:00
Jordi Camps Puchades
e9a1cdb738 Update: some catalan sentences reworded. 2019-04-15 13:15:13 +02:00
Jordi Camps Puchades
596e9d2722 Update: Fixed some catalan words. 2019-04-15 12:11:02 +02:00
Igor Chubin
9cb43d715e Estonian translation is completed (#275) 2019-03-18 21:03:01 +01:00
Igor Chubin
1256f842a0 unknown location for one-line mode (#174) 2019-03-15 20:20:36 +01:00
Igor Chubin
df46123b7f fixed: M option for one-line mode (#174) 2019-03-15 20:20:05 +01:00
Igor Chubin
a688296aee added ru to PROXY_LANGS 2019-03-15 19:22:16 +01:00
Igor Chubin
6ab055b079 added et to PROXY_LANGS 2019-03-15 19:11:07 +01:00
Igor Chubin
b715ad769e added uk to PROXY_LANGS 2019-03-15 19:02:14 +01:00
Igor Chubin
ce8dce8b55 Merge branch 'master' of https://github.com/chubin/wttr.in 2019-03-15 18:40:32 +01:00
Igor Chubin
7917816d4b Merge branch 'master' of https://github.com/chubin/wttr.in 2019-03-15 18:40:13 +01:00
Igor Chubin
ea2ef299cb
Merge branch 'master' into master 2019-03-15 18:39:27 +01:00
Sergey
1ff6ad6a65 Pull "et" translation, to avoid merge conflict in pull request 2019-03-13 11:25:29 +01:00
Sergey
8d80fca66d Full translation to Ukrainian 2019-03-12 16:22:09 +01:00
Igor Chubin
1363c1622d Merge branch 'master' of https://github.com/chubin/wttr.in 2019-02-21 23:00:09 +01:00
Igor Chubin
e16c68cd4c added bt-br 2019-02-21 23:00:05 +01:00
Jaan Janesmae
5ba2da088b
translate variables: follow_me and new feature, update translation location to end of array unless list is sorted 2019-02-21 23:46:06 +02:00
Jaan Janesmae
cf117411e6
translate variable: capacity_limit_reached 2019-02-21 23:33:13 +02:00
Jaan Janesmae
7780276874
translate variables: message, unknown_location and location 2019-02-21 23:14:26 +02:00
Tupã Negreiros
91fa8af5fa
Update translations.py 2019-02-20 10:52:14 -03:00
Igor Chubin
fde786b7b2 one-line version: humidity 2019-02-19 20:25:52 +01:00
Igor Chubin
146999eae1 Merge branch 'master' of https://github.com/chubin/wttr.in 2019-02-05 18:24:31 +01:00
Igor Chubin
cfd3e748bc proxy languages: +af, +ro 2019-02-05 18:24:27 +01:00
Alin Trăistaru
2596464254
translations.py: Romanian fixes 2019-02-04 20:22:27 +02:00
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