diff --git a/src/main/kotlin/org/briarproject/briar/desktop/Main.kt b/src/main/kotlin/org/briarproject/briar/desktop/Main.kt index 9065db710c57a2891a10a1c9b9ec4c4a3dc022a7..ab5faf4f84c788502014a0de47ffeb01b0738751 100644 --- a/src/main/kotlin/org/briarproject/briar/desktop/Main.kt +++ b/src/main/kotlin/org/briarproject/briar/desktop/Main.kt @@ -48,11 +48,11 @@ private class Main : CliktCommand( ).default(DEFAULT_DATA_DIR) private val socksPort by option( "--socks-port", - help = "Tor Socks Port" + help = i18n("main.help.tor.port.socks") ).int().default(DEFAULT_SOCKS_PORT) private val controlPort by option( "--control-port", - help = "Tor Control Port" + help = i18n("main.help.tor.port.control") ).int().default(DEFAULT_CONTROL_PORT) @OptIn(ExperimentalComposeUiApi::class) diff --git a/src/main/resources/strings/BriarDesktop.properties b/src/main/resources/strings/BriarDesktop.properties index 535f818d015728f22b0b1e0bbfd894f1a7bd6b9c..2d114cbd804a36eda7114ff186871c56cc033b48 100644 --- a/src/main/resources/strings/BriarDesktop.properties +++ b/src/main/resources/strings/BriarDesktop.properties @@ -45,6 +45,8 @@ main.help.title=Briar Desktop Client main.help.debug=Enable printing of debug messages main.help.verbose=Print verbose log messages main.help.data=The directory where Briar will store its files. Default: {0} +main.help.tor.port.socks=Tor Socks Port +main.help.tor.port.control=Tor Control Port # Miscellaneous password=Password diff --git a/src/main/resources/strings/BriarDesktop_ar.properties b/src/main/resources/strings/BriarDesktop_ar.properties index 11b29ba8d5b4d80b3558e7b97a7463bde7cae0cb..bb4b078e554ec8931f17caa03be132eb7e4a577b 100644 --- a/src/main/resources/strings/BriarDesktop_ar.properties +++ b/src/main/resources/strings/BriarDesktop_ar.properties @@ -54,4 +54,6 @@ registration.username=اسم المستخدم registration.register=إنشاء Ø§Ù„ØØ³Ø§Ø¨ # Settings -settings.theme=Change Theme \ No newline at end of file +settings.theme=Change Theme +main.help.tor.port.socks=Tor Socks Port +main.help.tor.port.control=Tor Control Port \ No newline at end of file diff --git a/src/main/resources/strings/BriarDesktop_de.properties b/src/main/resources/strings/BriarDesktop_de.properties index 837aea2ab8efee5ee2acfe14cabdd74c50e8899a..6bc301f326a852f86339f9b2430bd8ca3bfe0bf7 100644 --- a/src/main/resources/strings/BriarDesktop_de.properties +++ b/src/main/resources/strings/BriarDesktop_de.properties @@ -54,4 +54,6 @@ registration.username=Benutzername registration.register=Konto erstellen # Settings -settings.theme=Change Theme \ No newline at end of file +settings.theme=Change Theme +main.help.tor.port.socks=Tor Socks Port +main.help.tor.port.control=Tor Control Port \ No newline at end of file diff --git a/src/main/resources/strings/BriarDesktop_es.properties b/src/main/resources/strings/BriarDesktop_es.properties index 38f2660951f514d5f7ca71dbd95b3f0e4353aa2a..62eb8d08024450b1ab8bbf94ac3827a51cdf9726 100644 --- a/src/main/resources/strings/BriarDesktop_es.properties +++ b/src/main/resources/strings/BriarDesktop_es.properties @@ -54,4 +54,6 @@ registration.username=Nombre de usuario registration.register=Crear cuenta # Settings -settings.theme=Change Theme \ No newline at end of file +settings.theme=Change Theme +main.help.tor.port.socks=Tor Socks Port +main.help.tor.port.control=Tor Control Port \ No newline at end of file