Skip to content

Commit

Permalink
Fix typo last one
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Nov 17, 2023
1 parent b6552a3 commit e6b6383
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lizmap/widgets/check_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def __str__(self):
'The edited connection will take effect only on newly added layer into a project that\'s why the right-click step '
'is required.'
)
either_move_file = tr('Either move the file used for the layer')
move_file = tr('Move the file used for the layer')


class Checks(Check, Enum):
Expand Down Expand Up @@ -508,7 +510,7 @@ class Checks(Check, Enum):
'<li>{help}</li>'
'<li>{other}</li>'
'</ul>'.format(
help=tr('Either move this file based layer'),
help=either_move_file,
other=safeguard,
)
),
Expand All @@ -521,7 +523,7 @@ class Checks(Check, Enum):
'<li>{help}</li>'
'</ul>'
).format(
help=tr('Move the layer'),
help=move_file,
)
)
PreventParentFolder = (
Expand All @@ -533,7 +535,7 @@ class Checks(Check, Enum):
'<li>{help}</li>'
'<li>{other}</li>'
'</ul>'.format(
help=tr('Either move this file based layer'),
help=either_move_file,
other=safeguard,
)
),
Expand All @@ -548,7 +550,7 @@ class Checks(Check, Enum):
'<li>{fyi}</li>'
'</ul>'
).format(
help=tr('Either move the layer'),
help=either_move_file,
other=safeguard,
fyi=tr(
'For your information, the maximum of parents is {count} on {hosting_name}. This will be overriden '
Expand Down

0 comments on commit e6b6383

Please sign in to comment.