mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-12 19:43:42 +08:00
reword
This commit is contained in:
@@ -213,8 +213,8 @@ class SunnylinkLayout(Widget):
|
||||
self._restore_btn.set_button_style(ButtonStyle.PRIMARY)
|
||||
|
||||
self._mobile_app_btn = button_item_sp(
|
||||
title=tr("Mobile App"),
|
||||
button_text=tr("OPEN"),
|
||||
title=tr("Sunnylink Local Connections"),
|
||||
button_text=tr("CONFIGURE"),
|
||||
description=tr("Manage the mobile app(s) connected over Wi-Fi: pair a new app ") +
|
||||
tr("or unpair existing ones."),
|
||||
callback=self._open_local_apps,
|
||||
|
||||
@@ -86,7 +86,7 @@ class SunnylinkLayoutMici(NavScroller):
|
||||
self._sunnylink_uploader_toggle = BigToggle(text=tr("sunnylink uploader"), initial_state=False,
|
||||
toggle_callback=self._sunnylink_uploader_callback)
|
||||
|
||||
self._mobile_app_btn = BigButton(tr("mobile app"), "")
|
||||
self._mobile_app_btn = BigButton(tr("sunnylink local"), "")
|
||||
self._mobile_app_btn.set_click_callback(lambda: gui_app.push_widget(LocalAppsPanelMici()))
|
||||
|
||||
self._scroller.add_widgets([
|
||||
@@ -309,7 +309,7 @@ class LocalAppsPanelMici(NavScroller):
|
||||
name = local_app_display_name(app)
|
||||
icon = gui_app.texture("icons_mici/settings/device/update.png", 64, 64)
|
||||
dlg = BigConfirmationDialog(
|
||||
tr("slide to unpair") + f" {name}",
|
||||
tr("slide to unpair"),
|
||||
icon,
|
||||
confirm_callback=lambda: remove_local_app(app.app_id),
|
||||
red=True,
|
||||
|
||||
Reference in New Issue
Block a user