From 46d6bf8304c24e75783438af85d7727ba14836ef Mon Sep 17 00:00:00 2001
From: Jan-Niklas Burfeind <git@aiyionpri.me>
Date: Fri, 16 Dec 2022 23:41:53 +0100
Subject: [PATCH] contrib/i18n-scan.pl: fix indentation

---
 .editorconfig        | 2 ++
 contrib/i18n-scan.pl | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.editorconfig b/.editorconfig
index e633e8a6a..cca668535 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -27,6 +27,8 @@ indent_size = 2
 indent_style = space
 indent_size = 4
 
+[*.pl]
+
 [*.py]
 indent_style = space
 indent_size = 4
diff --git a/contrib/i18n-scan.pl b/contrib/i18n-scan.pl
index 29abefcca..e6aaf0de2 100755
--- a/contrib/i18n-scan.pl
+++ b/contrib/i18n-scan.pl
@@ -79,7 +79,7 @@ if( open F, "find @ARGV -type f '(' -name '*.html' -o -name '*.lua' ')' |" )
 				{
 					my $stag = quotemeta $1;
 					my $etag = $stag;
-					   $etag =~ s/\[/]/g;
+					$etag =~ s/\[/]/g;
 
 					( $res ) = extract_tagged($code, $stag, $etag);
 
-- 
GitLab