blob: 0e193b0e8894995eaf56d65289a6f0ab2be5ab53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
function L(string $key) {
// me when im lazy
return [
'login.title' => 'Log in',
'challenge.input.username' => 'Username',
'challenge.input.password' => 'Password',
'challenge.input.otp' => 'One-time passcode',
'challenge.message.wrong-password' => 'Incorrect username or password',
'challenge.message.wrong-otp' => 'Invalid OTP code',
'challenge.continue' => 'Continue',
][$key] ?? $key;
}
|