|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace kalanis\kw_auth_sources; |
|
4
|
|
|
|
|
5
|
|
|
|
|
6
|
|
|
use kalanis\kw_auth_sources\Interfaces\IKAusTranslations; |
|
7
|
|
|
|
|
8
|
|
|
|
|
9
|
|
|
/** |
|
10
|
|
|
* Class Translations |
|
11
|
|
|
* @package kalanis\kw_auth_sources |
|
12
|
|
|
*/ |
|
13
|
|
|
class Translations implements IKAusTranslations |
|
14
|
|
|
{ |
|
15
|
16 |
|
public function kauPassFileNotFound(string $path): string |
|
16
|
|
|
{ |
|
17
|
16 |
|
return 'File with passwords not found in preselect path'; |
|
18
|
|
|
} |
|
19
|
|
|
|
|
20
|
2 |
|
public function kauPassMustBeSet(): string |
|
21
|
|
|
{ |
|
22
|
2 |
|
return 'You must set the password to check!'; |
|
23
|
|
|
} |
|
24
|
|
|
|
|
25
|
2 |
|
public function kauPassMissParam(): string |
|
26
|
|
|
{ |
|
27
|
2 |
|
return 'Missing necessary params to determine the password'; |
|
28
|
|
|
} |
|
29
|
|
|
|
|
30
|
1 |
|
public function kauPassLoginExists(): string |
|
31
|
|
|
{ |
|
32
|
1 |
|
return 'Login name already exists!'; |
|
33
|
|
|
} |
|
34
|
|
|
|
|
35
|
1 |
|
public function kauLockSystemNotSet(): string |
|
36
|
|
|
{ |
|
37
|
1 |
|
return 'Lock system not set'; |
|
38
|
|
|
} |
|
39
|
|
|
|
|
40
|
1 |
|
public function kauAuthAlreadyOpen(): string |
|
41
|
|
|
{ |
|
42
|
1 |
|
return 'Someone works with authentication. Please try again a bit later.'; |
|
43
|
|
|
} |
|
44
|
|
|
|
|
45
|
1 |
|
public function kauGroupMissParam(): string |
|
46
|
|
|
{ |
|
47
|
1 |
|
return 'Missing necessary params to determine the group'; |
|
48
|
|
|
} |
|
49
|
|
|
|
|
50
|
1 |
|
public function kauGroupHasMembers(): string |
|
51
|
|
|
{ |
|
52
|
1 |
|
return 'Group to removal still has members. Remove them first.'; |
|
53
|
|
|
} |
|
54
|
|
|
|
|
55
|
|
|
/** |
|
56
|
|
|
* @return string |
|
57
|
|
|
* @codeCoverageIgnore only on really specific installations |
|
58
|
|
|
*/ |
|
59
|
|
|
public function kauHashFunctionNotFound(): string |
|
60
|
|
|
{ |
|
61
|
|
|
return 'Cannot find function for making hashes!'; |
|
62
|
|
|
} |
|
63
|
|
|
|
|
64
|
15 |
|
public function kauCombinationUnavailable(): string |
|
65
|
|
|
{ |
|
66
|
15 |
|
return 'This combination is not available!'; |
|
67
|
|
|
} |
|
68
|
|
|
|
|
69
|
|
|
/** |
|
70
|
|
|
* @return string |
|
71
|
|
|
* @codeCoverageIgnore only on really specific installations |
|
72
|
|
|
*/ |
|
73
|
|
|
public function kauNoDelimiterSet(): string |
|
74
|
|
|
{ |
|
75
|
|
|
return 'No delimiter set in auth files!'; |
|
76
|
|
|
} |
|
77
|
|
|
} |
|
78
|
|
|
|