Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Jun 14, 2024
2 parents e7cf159 + 354f913 commit fbe33d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion rootfs/opt/data/discord.template-de_DE
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"value": "##HEADING## ",
"inline": false
},
##HASDIST--{
"name": "Entfernung vom Empfänger",
"value": "##DISTANCE## nm",
"inline": false
Expand Down
2 changes: 1 addition & 1 deletion rootfs/opt/data/masto-l10n-en_US.db
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ MASTO_TERM[ISSEENON]="is seen on"
MASTO_TERM[AGAIN]="Again:"
MASTO_TERM[NEW2]="New:"
MASTO_TERM[DIST_SINCE_LAST]="moved %.1f nm since last notification"
MASTO_TERM[DISTANCE]="Distance from receiver"
MASTO_TERM[DISTANCE]="Distance from receiver"
2 changes: 1 addition & 1 deletion rootfs/usr/share/vesselalert/send_mastodon
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ if [[ -n "${VESSELS[$1:lat]}" ]] && [[ -n "${VESSELS[$1:lon]}" ]] && [[ -n "$LAT
distance="$(bc -l <<< "scale=1; $(distance "${VESSELS[$1:lat]}" "${VESSELS[$1:lon]}" "$LAT" "$LON") / 1")"
mast_str+="${MASTO_TERM[DISTANCE]}: $distance nm\n"
fi

mast_str+="\n"

mast_str+="${MASTO_TERM[SIGNAL]} #RSSI: $(printf "%.1f dBFS" "${VESSELS[$1:level]}")\n"
Expand Down

0 comments on commit fbe33d1

Please sign in to comment.