New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCSExption "Cannot remove yourself from the admin group" is not translatable #13820
Comments
Same for another one: "Bad request"
Should I file separate issue? |
The api messages should not be translated I think. |
Well, we could turn it into a hintexception and then have english+translated. |
The text is visible to the user so it should be translated IMHO. |
@rakekniven where did you saw the message? Users management? |
Ah yes, I recall now. We're indeed using the error message as a notification. |
This comment has been minimized.
This comment has been minimized.
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! |
I would say we should translate the message as you should rather rely on the exception code for any programmatically usage. Translating in the frontend seems to duplicate logic / code. |
Reported at forums.
See https://help.nextcloud.com/t/die-deutsche-ubersetzung-von-nextcloud-hier-diskutieren-und-fehler-melden/32139/120
Source line:
server/apps/provisioning_api/lib/Controller/UsersController.php
Line 751 in b8b650a
The text was updated successfully, but these errors were encountered: