Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
9d50c53
transl(pl): Update Polish (#85)
zsdev-szymon Dec 16, 2025
6800161
docs(README): Translation progress chart and script to generate
romanlefler Dec 16, 2025
1cf4be9
Merge branch 'development' of github.com:romanlefler/SimpleWeather in…
romanlefler Dec 16, 2025
2850cd3
docs(AUTHORS): Credit Polish translations from Szymon Zielonka
romanlefler Dec 16, 2025
330c28b
transl(ja): Update
Dec 28, 2025
6cd0a4e
docs(CHANGELOG): Update changelog
romanlefler Dec 28, 2025
b62221e
transl(ja): Fix misformatted japanese po file
romanlefler Dec 29, 2025
2d77dab
transl(ru): Update (#87)
Valetss Jan 2, 2026
669a928
transl(cs): Update Czech (#88)
lev741 Jan 2, 2026
c53527f
feat(popup): Refresh weater button on Internet fail
romanlefler Jan 14, 2026
f3db633
refactor(popup): Make popup constructor take a single object with nam…
romanlefler Jan 14, 2026
52334b5
fix(popup): If an error occurs while data was previously cached, the …
romanlefler Jan 14, 2026
a194bca
fix: Catch both IO Socket timeout and Resolver error, also don't retr…
romanlefler Jan 14, 2026
66eab99
fix(soup): Don't resolve on invalid JSON
romanlefler Jan 14, 2026
78ef9d0
feat(setting): Option to not show indicator if it's just an error
romanlefler Jan 14, 2026
d0f80fa
fix(popup): Show copyright text if there is weather and no Internet
romanlefler Jan 14, 2026
2a05495
feat(preset): Unit preset "Nordic" which uses m/s as a speed unit
romanlefler Jan 14, 2026
2224760
docs(CHANGELOG): Update CHANGELOG and AUTHORS
romanlefler Jan 14, 2026
e1052e0
chore(po): Merge pot file with po files
romanlefler Jan 14, 2026
fdd5ece
docs(README): Update README
romanlefler Jan 14, 2026
ecd5383
feat(search): Improve place name formatting
romanlefler Jan 14, 2026
ccca770
chore(libsoup): Specify soup version name to stop warning
romanlefler Jan 14, 2026
6f51293
feat(popup): Setting to control the offset of popup menu relative to …
miyou379 Jan 19, 2026
1024f83
refactor(debug.sh): Rename nest-test.sh -> debug.sh
romanlefler Jan 19, 2026
a695c07
docs(AUTHORS): Credit miyou379 for feature
romanlefler Jan 19, 2026
17e8986
feat(about): Show git hash on about page in development versions
romanlefler Jan 19, 2026
293b3cc
feat(general): Make popup-offset have a slider
romanlefler Jan 19, 2026
735bd5d
transl(zh-CN): Update Chinese (#91)
Davidasx Jan 20, 2026
6ee5df8
docs(CHANGELOG): Update changelog for chinese translations
romanlefler Jan 20, 2026
8190048
build(Makefile): Fix use of INSTALLBASE for system installations (#90)
gszy Jan 20, 2026
5239313
docs(CHANGELOG): Update changelog for installbase fix
romanlefler Jan 20, 2026
b20328e
fix(units): If countdown is in less than a minute, it should display …
romanlefler Jan 20, 2026
fa0814e
feat(popup): Option to show a refresh button
romanlefler Jan 20, 2026
6c3c4de
transl(ja): Update
Jan 23, 2026
00d6ca9
docs(CHANGELOG): Update changelog
romanlefler Jan 23, 2026
29e4745
fix(indicator): Fix indicator being added early if resolver fails rig…
romanlefler Jan 23, 2026
545d94f
fix(themes): Fix Light and Afterdark themes not coloring buttons
romanlefler Jan 23, 2026
fb81601
docs(CHANGELOG): Update changelog
romanlefler Jan 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ dist/

node_modules/
po/simple-weather@romanlefler.com.pot

.readme-tools/

34 changes: 18 additions & 16 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@

Maintainer/Programmer: Roman Lefler

Contributors: Davide Murtas
Contributors: Davide Murtas, miyou379, Grzegorz Szymaszek

Brazilian Portuguese (Português do Brasil): Alzemand, André Fernandes
Bulgarian (български език): Lyubomir Vasilev
Chinese (中文): know-nothing-but-123, JiaoxianDu
Dutch (Nederlands): hidenosuke, Ontrack16
French (Français): Samuel St. Jean, mdouchin, & Neo-29
German (Deutsch): Ahmet Ala
Hungarian (magyar nyelv): Adamyno
Indonesian (Bahasa Indonesia): Fakhrul Rijal
Italian (Italiano): Davide Murtas
Japanese (日本語): hidenosuke
Korean (한국어): Jerry Hyun
Portugese (Português): André Fernandes
Romanian (Limba Română): ygorigor, Igor Sorocean
Russian (Русский): Valetss
Turkish (Türkçe): Ahmet Ala, Samo
Brazilian Portuguese: Alzemand, André Fernandes
Bulgarian: Lyubomir Vasilev
Chinese: know-nothing-but-123, JiaoxianDu, Davidasx
Czech: lev741
Dutch: hidenosuke, Ontrack16
French: Samuel St. Jean, mdouchin, Neo-29
German: Ahmet Ala
Hungarian: Adamyno
Indonesian: Fakhrul Rijal
Italian: Davide Murtas
Japanese: hidenosuke
Korean: Jerry Hyun
Polish: Szymon Zielonka
Portugese: André Fernandes
Romanian: ygorigor, Igor Sorocean
Russian: Valetss
Turkish: Ahmet Ala, Samo

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@

# v49.2.0-dev

## Features

- Extension now shows "Error!" if no Internet instead of just showing nothing
- Retry button if you start without Internet or lose Internet at any point
- Option to still hide indicator instead of displaying "Error!"
- "Nordic" unit preset using speed in `m/s` that is selected by default in Nordic countries
- Option to adjust where menu appears relative to panel icon (thanks miyou379)
- Option to always show a refresh button

## Improvements

- Better place name formatting in location search results; works internationally

## Bug Fixes

- Fixed Light and Afterdark themes not changing buttons
- Fixed "0 min" sometimes being displayed on the sun countdown (now always shows "Now")
- Fixed a rare but possible crash if you start with Internet but then lose it
- Fixed an install target in the build Makefile that didn't honor $INSTALLBASE (thanks Grzegorz Szymaszek)

## Translations

- Chinese (thanks Davidasx)
- Czech (thanks lev741)
- Japanese (thanks hidenosuke)
- Polish (thanks Szymon Zielonka)
- Russian (thanks Valetss)

# v49.1.1

## Bug Fixes
Expand Down
19 changes: 12 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ ICONSOUT := $(ICONSSRCS:$(ICONS)/%=$(BUILD)/icons/%)
CSSOUT := $(BUILD)/stylesheet.css
MOS := $(POFILES:$(PO)/%.po=$(BUILD)/locale/%/LC_MESSAGES/$(UUID).mo)

RESJS := $(BUILD)/resource.js
GITHASH := $(shell git rev-parse --short HEAD)
jsvar = printf "const $(1) = \`$(2)\`;\n"
jsvarfile = printf "const $(1) = \`%s\`;\n" "$$(cat $(2))"

# Packages should use make DESTDIR=... for packaging
ifeq ($(strip $(DESTDIR)),)
INSTALLTYPE = local
Expand All @@ -51,9 +56,9 @@ pack: $(ZIP)
pot: $(POT)

install: out
rm -rf ~/.local/share/gnome-shell/extensions/$(UUID)
mkdir -p ~/.local/share/gnome-shell/extensions
cp -r $(BUILD) ~/.local/share/gnome-shell/extensions/$(UUID)
rm -rf $(INSTALLBASE)/$(UUID)
mkdir -p $(INSTALLBASE)
cp -r $(BUILD) $(INSTALLBASE)/$(UUID)
ifeq ($(INSTALLTYPE),system)
rm -rf $(addprefix $(INSTALLBASE)/$(UUID)/, schemas locale LICENSE)
mkdir -p $(SHARE_PREFIX)/glib-2.0/schemas \
Expand Down Expand Up @@ -81,10 +86,10 @@ $(BUILD)/extension.js $(BUILD)/resource.js: $(SRCS) $(AUTHORS) ./node_modules/.p
tsc
@touch $(BUILD)/extension.js

@if ! grep -q '// Inserted' $(BUILD)/resource.js; then \
printf '// Inserted\n\nconst authors = `' >> $(BUILD)/resource.js; \
cat $(AUTHORS) >> $(BUILD)/resource.js; \
printf '`;' >> $(BUILD)/resource.js; \
@if ! grep -q '// Inserted' $(RESJS); then \
printf '\n// Inserted\n\n' >> $(RESJS); \
$(call jsvarfile,authors,$(AUTHORS)) >> $(RESJS); \
$(call jsvar,gitHash,$(GITHASH)) >> $(RESJS); \
else \
touch $(BUILD)/resource.js; \
fi
Expand Down
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,34 @@ Support for themes, the following screenshot uses the *Immersive* theme:

![Immersive Theme Screenshot](./docs/immersivescreenshot.png)

SimpleWeather is highly configurable but has zero required setup.

## Installation

[![Get on GNOME Extensions](./docs/ego.png)](https://extensions.gnome.org/extension/8261/simpleweather/)

## Features

- Does not depend on GNOME Weather which eliminates location issues
- Display temperature and conditions in top bar
- Configure units (US, UK, Metric, mix and match...)
- Get current location or add any number of locations and easily cycle through
- Configure units (US, UK, Metric, Nordic, mix and match...)
- Automatically configures units based on country
- Use current location or add any number of locations and easily cycle through
- Show hourly and weekly forecast
- Configurable details like Rain Chance, Humidity, Wind Speed, UV, etc.
- Location lookup with Nominatim or use latitude/longitude

## Translations

Many translations have been auto-generated using CrowdIn.
They are probably very bad; create pull requests to fix mistakes
or add missing translations.

Many languages or dialects also do not exist in the project.

Everybody is encouraged to make pull requests to add or fix
translations.

Many languages or dialects also do not exist in the project.

Check [AUTHORS](./AUTHORS) for a list of contributors.

![Translation Progress Chart](./docs/transl.png)

## Building

Consult [`docs/building.md`](./docs/building.md).
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Running a test in GNOME 49+ requires the mutter development package to be intall
Build extension and launch shell window for testing:

```shell
./nest-test.sh
./debug.sh
```

## Build to Build Directory
Expand Down
2 changes: 1 addition & 1 deletion docs/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Building

Use `./nest-test.sh` to easily test changes.
Use `./debug.sh` to easily test changes.
(This script runs `make install` among other things.)

For some major renaming/deleting or Makefile changes, you may need to run `make clean`.
Expand Down
Binary file added docs/transl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading