Skip to content

Commit 17bd6b3

Browse files
authored
Merge pull request #619 from datamweb/remove-namespace-from-lang
refactor: remove `namespace` from language files
2 parents 2263f82 + 77ec89e commit 17bd6b3

11 files changed

Lines changed: 1 addition & 29 deletions

File tree

rector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
// Ignore files that should not be namespaced to their folder
9898
NormalizeNamespaceByPSR4ComposerAutoloadRector::class => [
9999
__DIR__ . '/src/Helpers',
100+
__DIR__ . '/src/Language',
100101
__DIR__ . '/tests/_support',
101102
],
102103

src/Language/de/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\de;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} ist kein gültiger Authentifikator.',

src/Language/en/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\en;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} is not a valid authenticator.',

src/Language/es/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\es;
6-
75
return [
86
// Excepciones
97
'unknownAuthenticator' => '{0} no es un handler válido.',

src/Language/fa/Auth.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,6 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* This file is part of CodeIgniter 4 framework.
7-
*
8-
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9-
*
10-
* For the full copyright and license information, please view
11-
* the LICENSE file that was distributed with this source code.
12-
*/
13-
14-
namespace CodeIgniter\Shield\Language\fa;
15-
165
return [
176
// Exceptions
187
'unknownAuthenticator' => '{0} احراز هویت معتبری نمی باشد.',

src/Language/fr/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\fr;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} n\'est pas un authentificateur valide.',

src/Language/id/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\id;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} bukan otentikator yang sah.',

src/Language/it/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\it;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} non è un autenticatore valido.',

src/Language/ja/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\ja;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} は有効なオーセンティケーターではありません。', // '{0} is not a valid authenticator.',

src/Language/sk/Auth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
declare(strict_types=1);
44

5-
namespace CodeIgniter\Shield\Language\sk;
6-
75
return [
86
// Exceptions
97
'unknownAuthenticator' => '{0} nie je platný autentifikátor.',

0 commit comments

Comments
 (0)