v4: the instance fields ask for a URL — the login page's field read "Its address, like music.example" and /manage's "An instance's address, like music.example", an example that named no instance of the reader's. They now read "Your gerbeur's URL" and "An instance's URL".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -355,8 +355,8 @@ msgid "Already have an account? <0>Log in</0>"
|
||||
msgstr "Already have an account? <0>Log in</0>"
|
||||
|
||||
#: src/components/federation/PeerManager.tsx:167
|
||||
msgid "An instance's address, like music.example"
|
||||
msgstr "An instance's address, like music.example"
|
||||
msgid "An instance's URL"
|
||||
msgstr "An instance's URL"
|
||||
|
||||
#: src/utils/shared/api.ts:35
|
||||
msgid "An unexpected error occurred."
|
||||
@@ -1068,11 +1068,7 @@ msgstr "invited by you"
|
||||
msgid "Invitees"
|
||||
msgstr "Invitees"
|
||||
|
||||
#: src/components/federation/FederatedSignIn.tsx:107
|
||||
msgid "Its address, like music.example"
|
||||
msgstr "Its address, like music.example"
|
||||
|
||||
#: src/components/feed/FeedTabBar.tsx:41
|
||||
#: src/components/feed/FeedTabBar.tsx:42
|
||||
#: src/pages/Settings.tsx:56
|
||||
msgid "Journal"
|
||||
msgstr "Journal"
|
||||
@@ -2165,6 +2161,10 @@ msgstr "Your account lives on {home}: your password, email address, avatar and u
|
||||
msgid "Your email address"
|
||||
msgstr "Your email address"
|
||||
|
||||
#: src/components/federation/FederatedSignIn.tsx:107
|
||||
msgid "Your gerbeur's URL"
|
||||
msgstr "Your gerbeur's URL"
|
||||
|
||||
#: src/pages/ResetPassword.tsx:89
|
||||
msgid "Your password has been changed. You can now log in."
|
||||
msgstr "Your password has been changed. You can now log in."
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -355,8 +355,8 @@ msgid "Already have an account? <0>Log in</0>"
|
||||
msgstr "Vous avez déjà un compte ? <0>Se connecter</0>"
|
||||
|
||||
#: src/components/federation/PeerManager.tsx:167
|
||||
msgid "An instance's address, like music.example"
|
||||
msgstr "L'adresse d'une instance, comme music.example"
|
||||
msgid "An instance's URL"
|
||||
msgstr "URL d'une instance"
|
||||
|
||||
#: src/utils/shared/api.ts:35
|
||||
msgid "An unexpected error occurred."
|
||||
@@ -1068,11 +1068,7 @@ msgstr "sur votre invitation"
|
||||
msgid "Invitees"
|
||||
msgstr "Invités"
|
||||
|
||||
#: src/components/federation/FederatedSignIn.tsx:107
|
||||
msgid "Its address, like music.example"
|
||||
msgstr "Son adresse, comme music.example"
|
||||
|
||||
#: src/components/feed/FeedTabBar.tsx:41
|
||||
#: src/components/feed/FeedTabBar.tsx:42
|
||||
#: src/pages/Settings.tsx:56
|
||||
msgid "Journal"
|
||||
msgstr "Journal"
|
||||
@@ -2165,6 +2161,10 @@ msgstr "Votre compte est sur {home} : votre mot de passe, votre adresse e-mail,
|
||||
msgid "Your email address"
|
||||
msgstr "Votre adresse e-mail"
|
||||
|
||||
#: src/components/federation/FederatedSignIn.tsx:107
|
||||
msgid "Your gerbeur's URL"
|
||||
msgstr "URL de votre gerbeur"
|
||||
|
||||
#: src/pages/ResetPassword.tsx:89
|
||||
msgid "Your password has been changed. You can now log in."
|
||||
msgstr "Votre mot de passe a été modifié. Vous pouvez maintenant vous connecter."
|
||||
|
||||
@@ -104,7 +104,7 @@ export function FederatedSignIn(
|
||||
<FormError title={t`Couldn't reach that instance`} />
|
||||
<TextField<Values>
|
||||
name="instance"
|
||||
placeholder={t`Its address, like music.example`}
|
||||
placeholder={t`Your gerbeur's URL`}
|
||||
autoComplete="url"
|
||||
rules={{ required: true }}
|
||||
/>
|
||||
|
||||
@@ -164,7 +164,7 @@ export function PeerManager(): React.JSX.Element {
|
||||
<FormError title={t`Couldn't add that instance`} />
|
||||
<TextField<Values>
|
||||
name="instance"
|
||||
placeholder={t`An instance's address, like music.example`}
|
||||
placeholder={t`An instance's URL`}
|
||||
autoComplete="url"
|
||||
rules={{ required: true }}
|
||||
/>
|
||||
|
||||
@@ -121,7 +121,7 @@ describe("Manage", () => {
|
||||
const user = open();
|
||||
await user.type(
|
||||
await screen.findByPlaceholderText(
|
||||
"An instance's address, like music.example",
|
||||
"An instance's URL",
|
||||
),
|
||||
"music.example",
|
||||
);
|
||||
@@ -173,7 +173,7 @@ describe("Manage", () => {
|
||||
expect(screen.queryByRole("button", { name: "Blocked" })).not
|
||||
.toBeInTheDocument();
|
||||
await user.type(
|
||||
screen.getByPlaceholderText("An instance's address, like music.example"),
|
||||
screen.getByPlaceholderText("An instance's URL"),
|
||||
"music.example{Enter}",
|
||||
);
|
||||
await waitFor(() =>
|
||||
|
||||
@@ -194,10 +194,10 @@ describe("UserLogin", () => {
|
||||
});
|
||||
|
||||
await user.clear(
|
||||
screen.getByPlaceholderText("Its address, like music.example"),
|
||||
screen.getByPlaceholderText("Your gerbeur's URL"),
|
||||
);
|
||||
await user.type(
|
||||
screen.getByPlaceholderText("Its address, like music.example"),
|
||||
screen.getByPlaceholderText("Your gerbeur's URL"),
|
||||
" films.example {Enter}",
|
||||
);
|
||||
await waitFor(() =>
|
||||
@@ -223,7 +223,7 @@ describe("UserLogin", () => {
|
||||
);
|
||||
const user = setup();
|
||||
await user.type(
|
||||
screen.getByPlaceholderText("Its address, like music.example"),
|
||||
screen.getByPlaceholderText("Your gerbeur's URL"),
|
||||
"films.example{Enter}",
|
||||
);
|
||||
expect(await screen.findByRole("alert")).toHaveTextContent(
|
||||
|
||||
Reference in New Issue
Block a user