Skip to content

Commit

Permalink
Time display now uses an icon in order to save some space on smaller …
Browse files Browse the repository at this point in the history
…screens
  • Loading branch information
Bios-Marcel committed Feb 26, 2022
1 parent 015faab commit 4deb0bf
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@ original file.
* [Fill Icon](https://commons.wikimedia.org/wiki/File:Circle-icons-paintcan.svg)
* [Trash Icon](https://www.iconfinder.com/icons/315225/trash_can_icon) - Made by [Yannick Lung](https://yannicklung.com)
* [Undo Icon](https://www.iconfinder.com/icons/308948/arrow_undo_icon) - Made by [Ivan Boyko](https://www.iconfinder.com/visualpharm)
* [Alarmclock Icon])(https://www.iconfinder.com/icons/4280508/alarm_outlined_alert_clock_icon) - Made by [Kit of Parts](https://www.iconfinder.com/kitofparts)
1 change: 1 addition & 0 deletions frontend/resources/clock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/resources/lobby.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#time-left-value {
min-width: 3rem;
width: 3rem;
margin-left: 0.5rem;
margin-left: 0.25rem;
}

#word-container {
Expand Down
2 changes: 1 addition & 1 deletion frontend/templates/lobby.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</div>

<div id="time-left">
{{.Translation.Get "time-left"}}:
<img src=" {{.RootPath}}/resources/clock.svg" class="header-button-image" />
<div id="time-left-value"></div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion translations/de_DE.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func initGermanTranslation() {
translation.put("toggle-fullscreen", "Vollbild aktivieren / deaktivieren")
translation.put("show-help", "Hilfe anzeigen")
translation.put("votekick-a-player", "Stimme dafür ab, einen Spieler rauszuwerfen")
translation.put("time-left", "Zeit")

translation.put("change-lobby-settings", "Lobby-Einstellungen ändern")
translation.put("lobby-settings-changed", "Lobby-Einstelungen verändert")
Expand Down
1 change: 0 additions & 1 deletion translations/en_us.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ func initEnglishTranslation() Translation {
translation.put("toggle-fullscreen", "Toggle fullscreen")
translation.put("show-help", "Show help")
translation.put("votekick-a-player", "Vote to kick a player")
translation.put("time-left", "Time")

translation.put("last-turn", "(Last turn: %s)")

Expand Down

0 comments on commit 4deb0bf

Please sign in to comment.