diff --git a/pom.xml b/pom.xml
index 58efe6a..885dcc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
tv.dotstart.beacon
parent
- 2.1.2
+ 2.1.3
pom
@@ -84,7 +84,7 @@
tv.dotstart.beacon
repository-model
- 2.1.2
+ 2.1.3
diff --git a/repository-compiler/pom.xml b/repository-compiler/pom.xml
index 1d63d14..38326de 100644
--- a/repository-compiler/pom.xml
+++ b/repository-compiler/pom.xml
@@ -23,7 +23,7 @@
parent
tv.dotstart.beacon
- 2.1.2
+ 2.1.3
repository-compiler
diff --git a/repository-model/pom.xml b/repository-model/pom.xml
index bd37ebe..75d013c 100644
--- a/repository-model/pom.xml
+++ b/repository-model/pom.xml
@@ -23,7 +23,7 @@
parent
tv.dotstart.beacon
- 2.1.2
+ 2.1.3
repository-model
diff --git a/ui/pom.xml b/ui/pom.xml
index 4e8259d..6c1a54e 100644
--- a/ui/pom.xml
+++ b/ui/pom.xml
@@ -23,7 +23,7 @@
parent
tv.dotstart.beacon
- 2.1.2
+ 2.1.3
ui
diff --git a/ui/src/main/kotlin/tv/dotstart/beacon/controller/MainController.kt b/ui/src/main/kotlin/tv/dotstart/beacon/controller/MainController.kt
index 371874c..931affc 100644
--- a/ui/src/main/kotlin/tv/dotstart/beacon/controller/MainController.kt
+++ b/ui/src/main/kotlin/tv/dotstart/beacon/controller/MainController.kt
@@ -38,6 +38,7 @@ import tv.dotstart.beacon.exposure.PortMapper
import tv.dotstart.beacon.repository.Model
import tv.dotstart.beacon.repository.ServiceRegistry
import tv.dotstart.beacon.repository.model.Port
+import tv.dotstart.beacon.util.Localization
import tv.dotstart.beacon.util.splashWindow
import java.net.URL
import java.nio.file.Files
@@ -83,7 +84,7 @@ class MainController : Initializable {
.addListener({ _, _, new -> this.onServiceSelect(new.value) })
this.externalAddress.textProperty().bind(Bindings.createObjectBinding(
Callable {
- Gateway.externalAddress?.hostAddress
+ Gateway.externalAddress?.hostAddress ?: Localization("address.unknown")
},
Gateway.externalAddressProperty
))
diff --git a/ui/src/main/resources/localization/messages_de.properties b/ui/src/main/resources/localization/messages_de.properties
index bf7ee06..274b232 100644
--- a/ui/src/main/resources/localization/messages_de.properties
+++ b/ui/src/main/resources/localization/messages_de.properties
@@ -22,6 +22,8 @@ preload.upnp=UPnP Client wird gestartet
preload.mapper=Port Mapper wird gestartet
preload.gateway.fuse=Warten auf Internet Gateway
+address.unknown=Unbekannte Externe Adresse
+
category.game=Spiele
category.tool=Werkzeuge
diff --git a/ui/src/main/resources/localization/messages_en.properties b/ui/src/main/resources/localization/messages_en.properties
index 0133bcf..6300498 100644
--- a/ui/src/main/resources/localization/messages_en.properties
+++ b/ui/src/main/resources/localization/messages_en.properties
@@ -22,6 +22,8 @@ preload.upnp=Starting UPnP Client
preload.mapper=Starting Port Mapper
preload.gateway.fuse=Waiting for Internet Gateway
+address.unknown=Unknown External Address
+
category.game=Games
category.tool=Tools