Typos in a localizable string

Fixed the following:
- missing variable
- typo in the word „existing”
- ending comma for consistency
This commit is contained in:
Balázs Meskó 2020-02-21 21:21:24 +01:00 committed by GitHub
parent 6c5c2022fd
commit bbea9a875c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -419,8 +419,8 @@ def _generic_can_REMOVE(obj):
if cd is None: if cd is None:
return False return False
if cd.preserve: if cd.preserve:
return _("Cannot remove selflabel from pre-exsting {cdtype} " return _("Cannot remove {selflabel} from pre-existing {cdtype} "
"{cdlabel}").format( "{cdlabel}.").format(
selflabel=obj.label, selflabel=obj.label,
cdtype=cd.desc(), cdtype=cd.desc(),
cdlabel=cd.label) cdlabel=cd.label)