location: Fix message sting if the database has been recently updated

Message ID 20200914183636.2564-1-stefan.schantl@ipfire.org
State Accepted
Headers
Series location: Fix message sting if the database has been recently updated |

Commit Message

Stefan Schantl Sept. 14, 2020, 6:36 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 src/python/location.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer Sept. 16, 2020, 11:17 a.m. UTC | #1
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
>
  

Patch

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),
 				)
 				return 3