Skip to content
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

fix(files_sharing): fix sharing tab translations #41301

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Nov 6, 2023

Summary

Seems to be a regression of #39472

The generated permissions list doesn't work as a translation key in runtime. Also, the translation key is case-sensitive.

Screenshots

Before After
before after

TODO

  • Create a list of translated strings instead of translating of a list
  • Use toLocaleLowerCase to change the case instead of [0].toUpperCase

Checklist

@ShGKme ShGKme added this to the Nextcloud 28 milestone Nov 6, 2023
@ShGKme ShGKme self-assigned this Nov 6, 2023
@ShGKme
Copy link
Contributor Author

ShGKme commented Nov 6, 2023

/backport to stable27

Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme force-pushed the fix/files_sharing--translations branch from 0e3d1f9 to eb9257b Compare November 6, 2023 17:45
@ShGKme
Copy link
Contributor Author

ShGKme commented Nov 6, 2023

Rebased onto master and resolved conflicts

@ShGKme ShGKme enabled auto-merge November 6, 2023 17:45
@blizzz blizzz mentioned this pull request Nov 6, 2023
@susnux
Copy link
Contributor

susnux commented Nov 6, 2023

drone is unrelated

@susnux susnux disabled auto-merge November 6, 2023 23:46
@susnux susnux merged commit d056bd5 into master Nov 6, 2023
40 of 41 checks passed
@susnux susnux deleted the fix/files_sharing--translations branch November 6, 2023 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants