Skip to content

Commit 7acae22

Browse files
committed
Fixed $tree issues in routes
1 parent e7edc37 commit 7acae22

File tree

9 files changed

+129
-114
lines changed

9 files changed

+129
-114
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"jefferson49/webtrees-common": ">=1.2.6",
13+
"jefferson49/webtrees-common": ">=1.2.7",
1414
"stevenmaguire/oauth2-dropbox": "dev-Remove-scope-from-getAccessToken",
1515
"league/oauth2-client": "=2.8.0",
1616
"league/oauth2-github": "=3.1.1",

composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/lang/de.mo

25 Bytes
Binary file not shown.

resources/lang/de.po

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: OAuth2Client\n"
4-
"POT-Creation-Date: 2025-01-25 07:24+0100\n"
5-
"PO-Revision-Date: 2025-01-25 07:26+0100\n"
4+
"POT-Creation-Date: 2025-01-25 11:31+0100\n"
5+
"PO-Revision-Date: 2025-01-25 11:32+0100\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"Language: de\n"
@@ -26,17 +26,17 @@ msgstr ""
2626
"Angaben für die Option \"%s\". Bitte prüfen Sie die Konfiguration in der "
2727
"folgenden Datei: data/config.ini.php"
2828

29-
#: src/LoginWithAuthorizationProviderAction.php:134
29+
#: src/LoginWithAuthorizationProviderAction.php:137
3030
msgid "The requested authorization provider could not be found"
3131
msgstr "Der angeforderte Autorisierungsanbieter konnte nicht gefunden werden"
3232

33-
#: src/LoginWithAuthorizationProviderAction.php:151
33+
#: src/LoginWithAuthorizationProviderAction.php:154
3434
#, php-format
3535
msgid "Disconnected the user %s from provider: %s"
3636
msgstr ""
3737
"Die Verknüpfung von Benutzer %s mit Autorisierungsanbieter %s wurde gelöst"
3838

39-
#: src/LoginWithAuthorizationProviderAction.php:173
39+
#: src/LoginWithAuthorizationProviderAction.php:176
4040
msgid ""
4141
"Failed security check: A user, who is currently not signed in, requested to "
4242
"connect an authorization provider with the current user."
@@ -45,7 +45,7 @@ msgstr ""
4545
"angemeldet ist, hat angefordert, einen Autorisierungsanbieter mit dem "
4646
"aktuellen Benutzer zu verbinden."
4747

48-
#: src/LoginWithAuthorizationProviderAction.php:184
48+
#: src/LoginWithAuthorizationProviderAction.php:187
4949
#, php-format
5050
msgid ""
5151
"Timeout for connecting user %s with authorization provider %s. Please "
@@ -55,25 +55,25 @@ msgstr ""
5555
"Autorisierungsanbieter %s. Bitte starten Sie die Verknüpfung mit dem "
5656
"Autorisierungsanbieter neu."
5757

58-
#: src/LoginWithAuthorizationProviderAction.php:215
59-
#: src/LoginWithAuthorizationProviderAction.php:243
58+
#: src/LoginWithAuthorizationProviderAction.php:218
59+
#: src/LoginWithAuthorizationProviderAction.php:246
6060
msgid "OAuth 2.0 communication error"
6161
msgstr "OAuth 2.0 Kommunikationsfehler"
6262

63-
#: src/LoginWithAuthorizationProviderAction.php:219
63+
#: src/LoginWithAuthorizationProviderAction.php:222
6464
msgid "Invalid state in communication with authorization provider."
6565
msgstr ""
6666
"Ungültiger Zustand in der Kommunikation mit dem Autorisierungsanbieter."
6767

68-
#: src/LoginWithAuthorizationProviderAction.php:247
68+
#: src/LoginWithAuthorizationProviderAction.php:250
6969
msgid ""
7070
"Failed to get the access token or the user details from the authorization "
7171
"provider"
7272
msgstr ""
7373
"Fehler beim Empfang des Zugriffs-Tokens oder der Benutzer-Daten vom "
7474
"Autorisierungsanbieter"
7575

76-
#: src/LoginWithAuthorizationProviderAction.php:272
76+
#: src/LoginWithAuthorizationProviderAction.php:275
7777
msgid ""
7878
"The identity received by the authorization provider cannot be connected to "
7979
"the requested user, because it is already used to sign in by another "
@@ -83,40 +83,40 @@ msgstr ""
8383
"angeforderten Benutzer verknüpft werden, da sie bereits von einem anderen "
8484
"webtrees-Benutzer für die Anmeldung verwendet wird."
8585

86-
#: src/LoginWithAuthorizationProviderAction.php:283
86+
#: src/LoginWithAuthorizationProviderAction.php:286
8787
#, php-format
8888
msgid "Sucessfully connected existing user %s with provider: %s"
8989
msgstr ""
9090
"Erfolgreiche Verknüpfung des existierenden Benutzers %s mit "
9191
"Autorisierungsanbieter: %s"
9292

93-
#: src/LoginWithAuthorizationProviderAction.php:299
93+
#: src/LoginWithAuthorizationProviderAction.php:302
9494
msgid ""
9595
"Invalid user account data received from authorizaton provider. Email or "
9696
"username missing."
9797
msgstr ""
9898
"Vom Autorisierungsanbieter wurden keine validen Daten empfangen. Email oder "
9999
"Benutzernamen fehlt."
100100

101-
#: src/LoginWithAuthorizationProviderAction.php:312
101+
#: src/LoginWithAuthorizationProviderAction.php:315
102102
msgid ""
103-
"Creating new webtrees user account based on the received user data from the "
104-
"authorization provider"
103+
"A new webtrees user account is requested based on the user data received "
104+
"from the authorization provider."
105105
msgstr ""
106-
"Erstellen eines neuen webtrees Benutzerkontos basierend auf den vom "
107-
"Autorisierungsanbieter erhaltenen Benutzerdaten"
106+
"Ein neues webtrees Benutzerkonto wird angefragt basierend auf den "
107+
"Benutzerdaten, welche vom Autorisierungsanbieter erhaltenen wurden."
108108

109-
#: src/LoginWithAuthorizationProviderAction.php:320
109+
#: src/LoginWithAuthorizationProviderAction.php:322
110110
msgid "Automatic user registration after sign in with authorization provider"
111111
msgstr ""
112112
"Automatische Benutzer-Registrierung nach Einloggen mit Autorisierungsanbieter"
113113

114-
#: src/LoginWithAuthorizationProviderAction.php:346
114+
#: src/LoginWithAuthorizationProviderAction.php:349
115115
#, php-format
116116
msgid "The email address for user %s was updated to: %s"
117117
msgstr "Die Email-Adresse für Benutzer %s wurde aktualisiert zu: %s"
118118

119-
#: src/LoginWithAuthorizationProviderAction.php:415
119+
#: src/LoginWithAuthorizationProviderAction.php:418
120120
msgid ""
121121
"Login with the provided user credentials denied. The username or email "
122122
"provided from the authorization provider might already exist in webtrees. If "
@@ -129,7 +129,7 @@ msgstr ""
129129
"vorhandenen webtrees-Benutzer mit einem Autorisierungsanbieter verbinden "
130130
"möchten, wählen Sie: Meine Seiten / Mein Konto / Verknüpfen mit"
131131

132-
#: src/LoginWithAuthorizationProviderAction.php:458
132+
#: src/LoginWithAuthorizationProviderAction.php:461
133133
#, php-format
134134
msgid ""
135135
"The length of the \"%s\" exceeded the maximum length of %s and was reduced "

resources/lang/en-AU.mo

-156 Bytes
Binary file not shown.

resources/lang/en-AU.po

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: OAuth2Client\n"
4-
"POT-Creation-Date: 2025-01-25 06:35+0100\n"
5-
"PO-Revision-Date: 2025-01-25 06:36+0100\n"
4+
"POT-Creation-Date: 2025-01-25 11:31+0100\n"
5+
"PO-Revision-Date: 2025-01-25 11:31+0100\n"
66
"Last-Translator: Rick Malkin <[email protected]>\n"
77
"Language-Team: \n"
88
"Language: en_AU\n"
@@ -26,24 +26,24 @@ msgstr ""
2626
"data for the option \"%s\". Please check the configuration in the following "
2727
"file: data/config.ini.php"
2828

29-
#: src/LoginWithAuthorizationProviderAction.php:134
29+
#: src/LoginWithAuthorizationProviderAction.php:137
3030
msgid "The requested authorization provider could not be found"
3131
msgstr "The requested authorisation provider could not be found"
3232

33-
#: src/LoginWithAuthorizationProviderAction.php:151
33+
#: src/LoginWithAuthorizationProviderAction.php:154
3434
#, php-format
3535
msgid "Disconnected the user %s from provider: %s"
3636
msgstr ""
3737

38-
#: src/LoginWithAuthorizationProviderAction.php:173
38+
#: src/LoginWithAuthorizationProviderAction.php:176
3939
msgid ""
4040
"Failed security check: A user, who is currently not signed in, requested to "
4141
"connect an authorization provider with the current user."
4242
msgstr ""
4343
"Failed security check: A user, who is currently not signed in, requested to "
4444
"connect an authorisation provider with the current user."
4545

46-
#: src/LoginWithAuthorizationProviderAction.php:184
46+
#: src/LoginWithAuthorizationProviderAction.php:187
4747
#, php-format
4848
msgid ""
4949
"Timeout for connecting user %s with authorization provider %s. Please "
@@ -52,24 +52,24 @@ msgstr ""
5252
"Timeout for connecting user %s with authorisation provider %s. Please "
5353
"restart connecting with the authorisation provider."
5454

55-
#: src/LoginWithAuthorizationProviderAction.php:215
56-
#: src/LoginWithAuthorizationProviderAction.php:243
55+
#: src/LoginWithAuthorizationProviderAction.php:218
56+
#: src/LoginWithAuthorizationProviderAction.php:246
5757
msgid "OAuth 2.0 communication error"
5858
msgstr ""
5959

60-
#: src/LoginWithAuthorizationProviderAction.php:219
60+
#: src/LoginWithAuthorizationProviderAction.php:222
6161
msgid "Invalid state in communication with authorization provider."
6262
msgstr "Invalid state in communication with authorisation provider."
6363

64-
#: src/LoginWithAuthorizationProviderAction.php:247
64+
#: src/LoginWithAuthorizationProviderAction.php:250
6565
msgid ""
6666
"Failed to get the access token or the user details from the authorization "
6767
"provider"
6868
msgstr ""
6969
"Failed to get the access token or the user details from the authorisation "
7070
"provider"
7171

72-
#: src/LoginWithAuthorizationProviderAction.php:272
72+
#: src/LoginWithAuthorizationProviderAction.php:275
7373
msgid ""
7474
"The identity received by the authorization provider cannot be connected to "
7575
"the requested user, because it is already used to sign in by another "
@@ -79,37 +79,37 @@ msgstr ""
7979
"the requested user, because it is already used to sign in by another "
8080
"webtrees user."
8181

82-
#: src/LoginWithAuthorizationProviderAction.php:283
82+
#: src/LoginWithAuthorizationProviderAction.php:286
8383
#, php-format
8484
msgid "Sucessfully connected existing user %s with provider: %s"
8585
msgstr ""
8686

87-
#: src/LoginWithAuthorizationProviderAction.php:299
87+
#: src/LoginWithAuthorizationProviderAction.php:302
8888
msgid ""
8989
"Invalid user account data received from authorizaton provider. Email or "
9090
"username missing."
9191
msgstr ""
9292
"Invalid user account data received from authorisaton provider. Email or "
9393
"username missing."
9494

95-
#: src/LoginWithAuthorizationProviderAction.php:312
95+
#: src/LoginWithAuthorizationProviderAction.php:315
9696
msgid ""
97-
"Creating new webtrees user account based on the received user data from the "
98-
"authorization provider"
97+
"A new webtrees user account is requested based on the user data received "
98+
"from the authorization provider."
9999
msgstr ""
100-
"Creating new webtrees user account based on the received user data from the "
101-
"authorisation provider"
100+
"A new webtrees user account is requested based on the user data received "
101+
"from the authorisation provider."
102102

103-
#: src/LoginWithAuthorizationProviderAction.php:320
103+
#: src/LoginWithAuthorizationProviderAction.php:322
104104
msgid "Automatic user registration after sign in with authorization provider"
105105
msgstr "Automatic user registration after sign in with authorisation provider"
106106

107-
#: src/LoginWithAuthorizationProviderAction.php:346
107+
#: src/LoginWithAuthorizationProviderAction.php:349
108108
#, php-format
109109
msgid "The email address for user %s was updated to: %s"
110110
msgstr ""
111111

112-
#: src/LoginWithAuthorizationProviderAction.php:415
112+
#: src/LoginWithAuthorizationProviderAction.php:418
113113
msgid ""
114114
"Login with the provided user credentials denied. The username or email "
115115
"provided from the authorization provider might already exist in webtrees. If "
@@ -121,7 +121,7 @@ msgstr ""
121121
"you want to connect an existing webtrees user to an authorisation provider, "
122122
"select: My pages / My account / Connect with"
123123

124-
#: src/LoginWithAuthorizationProviderAction.php:458
124+
#: src/LoginWithAuthorizationProviderAction.php:461
125125
#, php-format
126126
msgid ""
127127
"The length of the \"%s\" exceeded the maximum length of %s and was reduced "
@@ -245,26 +245,14 @@ msgid "Signed in with %s"
245245
msgstr ""
246246

247247
#: resources/views/edit-account-page.phtml:75
248-
msgid ""
249-
"The email address provided from the authorization provider cannot be changed"
250-
msgstr ""
251-
"The email address provided from the authorisation provider cannot be changed"
252-
253-
#: resources/views/edit-account-page.phtml:80
254248
#, php-format
255249
msgid "This user can sign in with %s"
256250
msgstr ""
257251

258-
#: resources/views/edit-account-page.phtml:80
259-
#: resources/views/register-page.phtml:67
252+
#: resources/views/edit-account-page.phtml:78
260253
msgid ""
261-
"The administrator might have disabled to change some of the received user "
262-
"data"
263-
msgstr ""
264-
265-
#: resources/views/edit-account-page.phtml:161
266-
#: resources/views/register-page.phtml:124
267-
msgid "Password (within webtrees)"
254+
"The administrator might have disabled to change the email address or the "
255+
"password"
268256
msgstr ""
269257

270258
#: resources/views/login-with-provider.phtml:32
@@ -317,6 +305,16 @@ msgstr ""
317305
msgid "Request account with"
318306
msgstr ""
319307

308+
#: resources/views/register-page.phtml:67
309+
msgid ""
310+
"The administrator might have disabled to change some of the received user "
311+
"data"
312+
msgstr ""
313+
314+
#: resources/views/register-page.phtml:124
315+
msgid "Password (within webtrees)"
316+
msgstr ""
317+
320318
#: resources/views/register-page.phtml:141
321319
msgid "Further registration data - Please complete and continue"
322320
msgstr ""
@@ -477,6 +475,13 @@ msgstr ""
477475
"flow between webtrees and the authorisation provider will be logged in the "
478476
"webtrees website logs."
479477

478+
#~ msgid ""
479+
#~ "The email address provided from the authorization provider cannot be "
480+
#~ "changed"
481+
#~ msgstr ""
482+
#~ "The email address provided from the authorisation provider cannot be "
483+
#~ "changed"
484+
480485
#~ msgid ""
481486
#~ "Mandatory user account data from the authorization provider cannot be "
482487
#~ "changed"

resources/lang/en-GB.mo

-156 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)