File tree Expand file tree Collapse file tree 4 files changed +22
-9
lines changed
kotlin/org/datepollsystems/waiterrobot/mediator/ui Expand file tree Collapse file tree 4 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 1515 neuste version herunter und installiere diese
1616 </string >
1717 <string name =" update_go_to_download" >Zum Download</string >
18+
19+ <string name =" start_update_now" >Jetzt aktualisieren</string >
20+ <string name =" start_update_not_now" >Nicht jetzt</string >
21+ <string name =" start_new_version_title" >Neue Version</string >
22+ <string name =" start_new_version_description" >Eine neue Version steht zur Verfügung. Update jetzt um alle neuen
23+ Funktionalitäten nutzen zu können.
24+ </string >
1825</resources >
Original file line number Diff line number Diff line change 3939 <string name =" main_connected" >Connected</string >
4040 <string name =" main_lost_connection" >Lost connection - reconnecting...</string >
4141 <string name =" main_running" >Running...</string >
42+
43+ <string name =" start_update_now" >Update now</string >
44+ <string name =" start_update_not_now" >Not now</string >
45+ <string name =" start_new_version_title" >New version</string >
46+ <string name =" start_new_version_description" >A new version is available. Update now to get all new features and
47+ improvements.
48+ </string >
4249</resources >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ fun ForceUpdateScreen() {
4444 val uriHandler = LocalUriHandler .current
4545 Button (
4646 onClick = {
47- uriHandler.openUri(" https://github.com/DatepollSystems/waiterrobot-desktop/releases/latest " )
47+ uriHandler.openUri(" https://get.kellner.team/download.html " )
4848 }
4949 ) {
5050 Text (stringResource(Res .string.update_go_to_download))
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import androidx.compose.material3.Text
66import androidx.compose.runtime.Composable
77import androidx.compose.runtime.collectAsState
88import androidx.compose.ui.platform.LocalUriHandler
9+ import org.datepollsystems.waiterrobot.mediator.mediator.generated.resources.*
910import org.datepollsystems.waiterrobot.mediator.ui.common.LoadableScreen
11+ import org.jetbrains.compose.resources.stringResource
1012
1113@Composable
1214fun StartUpScreen (vm : StartUpViewModel ) {
@@ -19,24 +21,21 @@ fun StartUpScreen(vm: StartUpViewModel) {
1921 confirmButton = {
2022 val uriHandler = LocalUriHandler .current
2123 Button (onClick = {
22- uriHandler.openUri(" https://github.com/DatepollSystems/waiterrobot-desktop/releases/latest " )
24+ uriHandler.openUri(" https://get.kellner.team/download.html " )
2325 }) {
24- Text (" Jetzt aktualisieren " )
26+ Text (stringResource( Res .string.start_update_now) )
2527 }
2628 },
2729 dismissButton = {
2830 Button (onClick = vm::goToStartScreen) {
29- Text (" Nicht jetzt " )
31+ Text (stringResource( Res .string.start_update_not_now) )
3032 }
3133 },
3234 title = {
33- Text (" Neue Version " )
35+ Text (stringResource( Res .string.start_new_version_title) )
3436 },
3537 text = {
36- Text (
37- " Eine neue Version steht zur Verfügung. " +
38- " Update jetzt um alle neuen Funktionalitäten nutzen zu können."
39- )
38+ Text (stringResource(Res .string.start_new_version_description))
4039 }
4140 )
4241 }
You can’t perform that action at this time.
0 commit comments