mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
fix signup link
This commit is contained in:
parent
ef7f61ab39
commit
dee7d45d8b
1 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,7 @@ import os
|
||||||
from typing import Callable, Tuple
|
from typing import Callable, Tuple
|
||||||
|
|
||||||
import aqt
|
import aqt
|
||||||
|
from anki.lang import without_unicode_isolation
|
||||||
from anki.rsbackend import (
|
from anki.rsbackend import (
|
||||||
TR,
|
TR,
|
||||||
FullSyncProgress,
|
FullSyncProgress,
|
||||||
|
@ -289,8 +290,10 @@ def get_id_and_pass_from_user(
|
||||||
diag.setWindowModality(Qt.WindowModal)
|
diag.setWindowModality(Qt.WindowModal)
|
||||||
vbox = QVBoxLayout()
|
vbox = QVBoxLayout()
|
||||||
info_label = QLabel(
|
info_label = QLabel(
|
||||||
|
without_unicode_isolation(
|
||||||
tr(TR.SYNC_ACCOUNT_REQUIRED, link="https://ankiweb.net/account/login")
|
tr(TR.SYNC_ACCOUNT_REQUIRED, link="https://ankiweb.net/account/login")
|
||||||
)
|
)
|
||||||
|
)
|
||||||
info_label.setOpenExternalLinks(True)
|
info_label.setOpenExternalLinks(True)
|
||||||
info_label.setWordWrap(True)
|
info_label.setWordWrap(True)
|
||||||
vbox.addWidget(info_label)
|
vbox.addWidget(info_label)
|
||||||
|
|
Loading…
Reference in a new issue