location: Fix message sting if the database has been recently updated
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
src/python/location.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi,
> On 14 Sep 2020, at 19:36, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
>
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> src/python/location.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/python/location.in b/src/python/location.in
> index 8cdd140..3ba209d 100644
> --- a/src/python/location.in
> +++ b/src/python/location.in
> @@ -413,7 +413,7 @@ class CLI(object):
> # Check if the database has recently been updated
> if t >= (now - delta):
> log.info(
> - _("The datase has recently be updated recently (%s)") % \
> + _("The database has been updated recently(%s)") % \
> format_timedelta(now - t),
I think you want to keep the space after the word “recently”.
-Michael
> )
> return 3
> --
> 2.20.1
>
@@ -413,7 +413,7 @@ class CLI(object):
# Check if the database has recently been updated
if t >= (now - delta):
log.info(
- _("The datase has recently be updated recently (%s)") % \
+ _("The database has been updated recently(%s)") % \
format_timedelta(now - t),
)
return 3