Skip to content

Commit

Permalink
Fix typo in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Dec 4, 2023
1 parent 29a9f9a commit 757b8df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions lizmap/dialogs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ def __init__(self, parent=None, is_dev_version=True):
self.lwc_version_latest_changelog.setVisible(False)
self.lwc_version_oldest_changelog.setVisible(False)

self.label_explanations.setText(tr(
"Some checks might be blocking the Lizmap configuration file generation. To fix, either use the tooltip "
"(by hovering your mouse pointer on the table row) in the last column, or check the documentation in "
"the next tab '{tab_name}' for all errors which can be reported."
).format(tab_name=self.tab_log.tabText(1)))

# Filtering features
self.tab_filtering.setCurrentIndex(0)

Expand Down
4 changes: 2 additions & 2 deletions lizmap/resources/ui/ui_lizmap.ui
Original file line number Diff line number Diff line change
Expand Up @@ -4656,9 +4656,9 @@ This is different to the map maximum extent (defined in QGIS project properties,
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_70">
<item>
<widget class="QLabel" name="label_85">
<widget class="QLabel" name="label_explanations">
<property name="text">
<string>Some checks might be blocking the Lizmap configuration file generation. To fix, either use the tooltip (by overing your mouse pointer on the table row) in the last column, or check the documentation in the next tab for all errors which can be reported.</string>
<string notr="true">SET IN PYTHON</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down

0 comments on commit 757b8df

Please sign in to comment.