Commit graph

483 commits

Author SHA1 Message Date
Igor Chubin
df6f179277
Merge pull request #747 from nakanakaii/patch-4
Update translations.py
2022-06-11 16:23:45 +02:00
Ahmed D. ALi
4b2318ddd7
Update translations_v2.py
updated the translation with a more precise one
2022-06-07 22:07:49 -07:00
Ahmed D. ALi
260bb5d326
Update translations.py
updated the translation with a more precise one
2022-06-07 22:05:33 -07:00
Igor Chubin
527682736f
Merge pull request #734 from solidsnack/patch-1
Ensure `M` enables metric
2022-06-06 12:12:43 +02:00
Igor Chubin
e7e532b24d
Merge pull request #730 from Skillkiller/location-not-found
Add not found header after postprocessing
2022-06-06 11:41:43 +02:00
Igor Chubin
3cbf7a9349 Add UV Index support (one-line format) 2022-06-05 20:07:00 +02:00
Jason Dusek
c7cb67f841
Ensure M enables metric
It seems reasonable, per the documentation (under the section, "Weather Units"), that `?M` would enable metric ("metric (SI), but show wind speed in m/s") all by itself.

> By default the USCS units are used for the queries from the USA and the metric system for the rest of the world. You can override this behavior...
> ...
> `curl wttr.in/Amsterdam?M`  # metric (SI), but show wind speed in m/s

In the USA, we have to pass `?m&M` (`https://wttr.in/?m&M`) to get metric and meters/second. If we just pass `?M`, we get USCS units for everything else and windspeed in meters/second.
2022-05-15 11:30:56 -05:00
Sebastian Espei
856a67a474
Add not found header after postprocessing
The postprocessing method assumes that the sout data is always delivered in the same format. If the location is not found, the passed format deviates and this then leads to an incorrect behavior => incorrect return value.
Close #729
Close #728
2022-05-13 12:53:22 +02:00
Igor Chubin
c9974d2a4c Add httpx to plain-text agents (#707) 2022-03-26 19:32:19 +01:00
Igor Chubin
c40859505a Add xh to plain-text agents (#695) 2022-03-26 19:24:23 +01:00
Igor Chubin
8bdc54bb70
Merge pull request #692 from nathanielevan/master
Make "Weather:" line use Nerd Fonts with v2d/v2n, and fix v2d to use day icons
2022-01-16 18:09:09 +01:00
Nathaniel Evan
556559a151 Make v2d use WEATHER_SYMBOL_WI_DAY 2022-01-06 04:31:29 +07:00
Nathaniel Evan
2f18e8ac02 Enables Nerd Font for "Weather:" line with v2d or v2n 2022-01-06 04:30:32 +07:00
संकेत गराडे
3f936e657f add Marathi translator name, v2 words, locale 2021-12-25 20:29:04 +09:00
संकेत गराडे
27bf3e827c add Marathi messages 2021-12-25 19:54:01 +09:00
blakadder
9dcc90c666
remove hourly from weather for JSON j2 format
#661 related 

Pardon my Python, I'm still a novice.

This is basically what I was thinking, strip out the hourly data completely and leave the rest.
2021-11-08 10:31:37 +01:00
bodduv
9496d30bd5 add (missing) localization for Telugu language 2021-11-07 22:42:23 +01:00
Igor Chubin
50670c677d Add USCS support for v2 (#376) 2021-11-07 09:28:39 +01:00
appledora
194c249b30 new suggested docs translated 2021-11-02 14:16:49 +06:00
Igor Chubin
4f7b182e4c Add j2 view (#661) 2021-11-01 11:13:00 +01:00
Igor Chubin
2b6db3a0c6 Fix minor errors 2021-10-31 21:56:50 +01:00
Igor Chubin
2c87386eea Add AQI sites to the datasources list (#49) 2021-10-31 13:20:10 +01:00
Igor Chubin
0cea9d1872 Add brightsky to the datasources list (#109) 2021-10-31 13:07:43 +01:00
Igor Chubin
5782f4f53e Add minor fixes 2021-10-30 17:47:43 +02:00
Igor Chubin
8a348f4546
Merge pull request #666 from appledora/lib-translation
Added translations for all the available strings
2021-10-30 17:40:43 +02:00
Igor Chubin
9b1fc05bcf
Fix typos 2021-10-30 17:39:53 +02:00
Igor Chubin
94f5ece8fc
Merge branch 'master' into master 2021-10-30 17:36:16 +02:00
Igor Chubin
156a18d7ed
Merge pull request #670 from JohanSanSebastian/master
Updated we-lang.go and translations_v2.py
2021-10-30 17:33:32 +02:00
parthibanp
6dac926616 Tamil translations added
Tamil translations added
2021-10-29 15:13:23 +08:00
Johan Sebastian
5da5495b7b
Update translations_v2.py 2021-10-29 10:43:23 +04:00
Arlème
635cd65a70
Add mg_MG 2021-10-28 21:44:29 +03:00
Arlème
3a7f0b3690
Add malagasy translation for V2 2021-10-28 21:30:45 +03:00
Arlème
1576c45808
Translate to mg-MG language (Madagascar) 2021-10-28 21:17:42 +03:00
appledora
0d44e0bee3 Added translations for all the available strings 2021-10-25 18:28:29 +06:00
Igor Chubin
8720b289d1
Merge branch 'master' into patch-1 2021-10-20 22:08:26 +02:00
Shweta Goyal
0f5331974f
Added few data sources and updated previous ones.
Made few changes in data sources:

1.) Added links to few data sources.
2.) Updated previous data sources with added links to their respective sites.
2021-10-15 02:12:27 +05:30
Igor Chubin
bb2780440b Enable Marathi language (#633) 2021-10-11 14:00:01 +02:00
Conor O'Callaghan
1129a20db7
Update translations_v2.py
Adding some more for  #305 in the spirit of Hacktoberfest :)
2021-10-02 21:22:52 +01:00
Austin Huang
74fc4df691
Add Environment Canada to the datasources list 2021-09-20 16:19:12 -04:00
kainengr
42333c54ce
Add Lithuanian translation 2021-09-20 01:25:32 +03:00
kainengr
df8feacfc5
add Lithuanian translation 2021-09-20 00:29:22 +03:00
Igor Chubin
6927116794 Store missing translations in separate logs (#324) 2021-04-26 20:56:16 +02:00
Igor Chubin
896dc263a1 Add missing translations (#324) (#535) 2021-04-21 20:03:17 +02:00
Igor Chubin
3c1ef6f681 Improve support for inverted mode for PNG 2021-04-05 14:02:08 +02:00
Igor Chubin
5ef9e3eddb Make background of png images configurable (#200) 2021-04-05 13:13:16 +02:00
Igor Chubin
e0cc061a64 Add fetch and aiohttp to PLAIN_TEXT_AGENTS (#586) 2021-03-15 15:02:53 +01:00
Igor Chubin
ed3a322f77 Add minor fix for plain-text weather symbols (#583) 2021-03-15 14:40:03 +01:00
Joseph
edd1e1e3dd Add new function: render_condition_plain 2021-03-01 01:58:37 +01:00
Joseph
747740997e Add optional argument 'plain' to render_condition 2021-03-01 01:41:42 +01:00
Joseph
cbae22a11f Add plaintext weather symbols 2021-03-01 01:27:56 +01:00