Skip to content

Move some errors to not be translated#6036

Merged
dessalines merged 3 commits intomainfrom
move-errors
Oct 7, 2025
Merged

Move some errors to not be translated#6036
dessalines merged 3 commits intomainfrom
move-errors

Conversation

@Nutomic
Copy link
Copy Markdown
Member

@Nutomic Nutomic commented Oct 2, 2025

No description provided.

Unreachable,
CouldntSendWebmention,
CommunityHasNoFollowers,
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This struct could be renamed UntranslatedErrors

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you, IMO its fine as is, as its clear that API errors are the ones that need to be translated.

Unreachable,
CouldntSendWebmention,
CommunityHasNoFollowers,
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you, IMO its fine as is, as its clear that API errors are the ones that need to be translated.

@dessalines dessalines enabled auto-merge (squash) October 2, 2025 19:30
@Nutomic
Copy link
Copy Markdown
Member Author

Nutomic commented Oct 7, 2025

Renamed it and added comments.

@dessalines dessalines merged commit 47b574a into main Oct 7, 2025
2 checks passed
@dessalines dessalines deleted the move-errors branch October 7, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants