Repository navigation
linecast speaks ten more languages: Latin, Catalan, Croatian, Estonian, Latvian, Lithuanian, Irish, and Filipino, and, as experiments, Urdu and Amharic. In every language the command line now follows along, so help pages, the settings commands, doctor, and error messages are no longer in English. The Moon's calendars, the map's seas and lakes, and more of the sky are named in your language as well.
Weather's hourly chart has a strip for the wind gusts and a line at the freezing point, and it shows more hours in a wide window.
Radar draws its map as a patch of the globe, as maps does, so a wide view in the north keeps its shape.
Changes you may notice:
- Languages: Latin.
linecast language la, or--lang laon any command, puts every view in Latin, with ordinary dates and digits and place names as Vicipaedia has them (Londinium, Novum Eboracum). The Moon's panel numbers the day of the Moon as the Martyrology does, luna I to luna XXX. No Latinist has read it yet; corrections are welcome in an issue. - Languages: Catalan, Croatian, Estonian, Latvian, Lithuanian, Irish, and Filipino. Each takes its weather words from its own country's forecasters, and a terminal locale in the language chooses it, as does
linecast languageor--langwithca,hr,et,lv,lt,ga, ortl. docs/languages.md has a section on each. - Languages: Urdu (
ur) and Amharic (am), both experimental. Urdu is laid out right to left and shows the Islamic calendar beside the Moon by default; Amharic's forecast sentences tell the hour in Ethiopian time. No native reader has checked either yet, and corrections are welcome in an issue. - Languages: The command line follows the language:
linecast --help, every command's--help, the settings commands,doctor,link, and the errors a command ends with before a view opens. - Languages:
--langworks on every command, before or after its name:linecast --lang ja --help,linecast wind --lang ja.linecast languagelists each language under its own name (日本語, Français, فارسی). - Moon: A calendar read in another language uses that language's words. The Islamic calendar in Turkish reads 16 Ramazan 1447 and Kurban Bayramı, the Hebrew calendar in French Roch Hachana, and the Chinese calendar in Japanese 旧暦1月17日, where each read in English before.
- Moon: The Chinese calendar's solar terms follow a published source in the language where one names them, in French, Italian, Portuguese, Romanian, Arabic, Polish, Greek, Hungarian, Norwegian, Ukrainian, Indonesian, and Finnish. Swahili, which has no names of its own for them, gives them in pinyin.
- Moon: The Hawaiian, Samoan, CHamoru, and Refaluwasch calendars are checked against the Western Pacific Regional Fishery Management Council's 2027 lunar calendars, through January 2028.
- Moon: In Pakistan and Ethiopia, the month view opens the week on Sunday.
- Maps: Seas, bays, and lakes are named in your language where a source names them, so the Japanese globe reads 太陽は太平洋の上空.
- Maps: Cities and waters are named in the ten new languages and in Thai, Romanian, Danish, Norwegian, Finnish, Czech, Slovak, Icelandic, Welsh, Swahili, and Esperanto, such as กรุงเทพมหานคร, Kodaň, and Llundain.
- Maps: The shading for built-up areas is downloaded from
linecast-tiles.ashuttleworth.com, behind Cloudflare's cache, instead of an address meant for development. - Sky: The new languages, all but Amharic and Filipino, name nearly every constellation, such as Ossa Major, Veliki medvjed, and An Béar Mór.
- Sky: Galaxies, nebulae, and clusters carry their names in 20 more languages, and regional variants read their base language's names instead of English.
- Sky: Asterisms such as the Summer Triangle and Orion's Belt are named in Greek, Hebrew, Arabic, Indonesian, Thai, Icelandic, Welsh, the Nordic languages, and Portuguese where those languages' own sources name them.
- Sky: Welsh names 26 constellations, up from eleven, and Sirius and Capella. In Swahili, Leo and Gemini are Simba and Mapacha.
- Weather: A strip of grey blocks under the hourly chart shows the wind gusts hour by hour, on a scale that is the same everywhere and full at 80 km/h (50 mph). The blocks fade as the wind drops, so a calm stretch leaves the row empty. Hover over it for the wind and gusts; in a window too short for the strip, the chart's own pop-up gives them. Suggested by @nkh in #156.
- Weather: The wind labels on the hourly chart give the gust speed, and appear where gusts pass 40 km/h (25 mph).
- Weather: A dotted line marks the freezing point across the hourly chart when the forecast comes within a few degrees of it.
- Weather: The hourly chart shows more hours when there is room for them, so a wide terminal shows more days instead of stretching two across it. In the seasons when sunrise is late and sunset early, the hours sit a little closer together.
- Weather: Hovering over the cloud strip gives the hour's cloud cover, and over the rain bar its amount and chance of rain, however small.
- Weather: The rain bar keeps its height when only light rain is forecast, so the empty space above a shower shows how light it is.
- Weather: After half an inch of rain or 5 cm of snow, the prose gives the last day's total even on a day with a lot else to say.
- Radar: The map is drawn as a patch of the globe, as
linecast mapsdraws it, so a wide view far from the equator no longer stretches the north. Greenland is its true size beside Europe, and zooming out now goes as far as the whole planet. Suggested by @nkh in #163. - Radar: Dragging the map turns it under the pointer as you move, where it used to slide the last picture and redraw when you let go.
- Radar: Click the place name or press
lto change location, as in weather and tides. Press/to search for a place. - Contributors: CONTRIBUTING.md says where the sky's and the map's names live and what a new name needs.
Fixes:
- Languages: Map and radar credits, a tide station's stand-in name, the loading word, an unnamed alert, and the sky's magnitude label are translated; the sources' names and licences stay as written.
- Languages: In Russian, Ukrainian, Czech, Slovak, and Greek, Hijri, Hebrew, and Solar Hijri dates put the month in the form a date takes (16 рамадана). In Japanese, Korean, Chinese, and Hungarian, the month view's title for those calendars gives the year first.
- Languages: In Persian, Arabic, and Hebrew, flags, commands, and paths in help text read as typed. Japanese and Chinese help text wraps between characters instead of stranding a Latin word on its own line.
- Languages: Vietnamese festival names take a capital on the first syllable only (Tết Nguyên đán), as Vietnamese sources print them. Finnish sets the percent sign off with a space (73 %). Indonesian is listed as Bahasa Indonesia.
- Languages: Slovak snow totals say "by tomorrow morning" where they said "by tomorrow noon", European Spanish and Portuguese no longer borrow the Latin American wording in three notices, and the Icelandic calendar's moons are no longer called full moons in Indonesian.
- Languages:
linecast --helplists the regional variants, pt-PT, es-ES, fr-CA, and zh-HK, beside their base languages. - Doctor: Separators, file sizes, and counts are written as the language writes them, so Greek no longer joins phrases with its question mark and French gives sizes in octets.
- Maps, Radar: Fixed a bug that drew a city's dot at the far end of its name, off the city, where the name is written from right to left.
- Maps, Radar: Fixed a bug that reversed the map's shading behind a name written from right to left.
- Radar: In a narrow window the credit shortens to the source's name and licence instead of running off the edge.
- Tides: A data source's name too long for a narrow window's footer is cut to fit.
- Tides: Queensland's high and low waters no longer read five minutes early when the water stands level across two readings.
- Tides: On the night the clocks change,
tides --jsongives the water every half hour as it passes: the repeated hour appears twice and the skipped hour not at all. Contributed by @kevincommits in #165. - Sky: On the night the clocks change, a search for something below the horizon gives the right time for its rising, and Enter goes to it. Contributed by @kevincommits in #166.