Skip to content

Commit 8277eef

Browse files
authored
Update main_window.py
1 parent 18ca237 commit 8277eef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main_window.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,16 @@ def syncing_desktop(self):
399399
self.syncingBox.set_margin_start(40)
400400
self.syncingBox.set_margin_end(40)
401401

402+
if "https://github.com/vikdevelop/SaveDesktop/wiki/Synchronization-between-computers-in-the-network" in _["sync_desc"]:
403+
old_url = _["sync_desc"]
404+
new_url = old_url.replace("https://github.com/vikdevelop/SaveDesktop/wiki/Synchronization-between-computers-in-the-network", f'{sync_wiki}')
405+
else:
406+
new_url = _["sync_desc"]
407+
402408
self.statusPage = Adw.StatusPage.new()
403409
self.statusPage.set_icon_name("emblem-synchronizing-symbolic")
404410
self.statusPage.set_title(_["sync_title"])
405-
self.statusPage.set_description(_["sync_desc"])
411+
self.statusPage.set_description(new_url)
406412
self.statusPage.set_child(self.syncingBox)
407413
self.syncingBox.append(self.statusPage)
408414

0 commit comments

Comments
 (0)