Uh oh!
There was an error while loading. Please reload this page.
Techdebt/noid/dedicated method to get a users language - #21533
Conversation
rullzer
left a comment
There was a problem hiding this comment.
code looks good.
didn't test. But I can see the bug this solves.
blizzz
commented
Jun 22, 2020
Mh, what about making the LanguageIterator accepting null-users and just returning it's first value? |
nickvergessen
commented
Jun 22, 2020
I guess it also should take an appid then as that could influence the result too. Also i never saw this iterator before and parta of the fix need backporting till 17 :/ |
blizzz
commented
Jun 22, 2020
Yeah, could be integrated right away, too.
I added it for the what's new thing. Haven't seen that anyone picked it up, but it was also rather a corner case. |
8e0d34d to
7e28104Comparenickvergessen
commented
Jun 23, 2020
Now based on #21535 which is backportable easily I'm not sure about the iterator usage, especially as it falls back to the current user and therefor e.g. always sends share related emails in the sharers language instead of default for guests. |
7e28104 to
aafcffcCompareaafcffc to
6445bc9Comparerullzer
commented
Jun 24, 2020
CI does not agree https://drone.nextcloud.com/nextcloud/server/30037/10/4 |
Signed-off-by: Joas Schilling <coding@schilljs.com>
6445bc9 to
44f33eaComparerullzer
commented
Jul 2, 2020
CI still says no |
Signed-off-by: Joas Schilling <coding@schilljs.com>
44f33ea to
db8267dComparenickvergessen
commented
Jul 3, 2020
Fixed |
nickvergessen
commented
Nov 9, 2022
Docs at nextcloud/documentation#9309 |
Uh oh!
There was an error while loading. Please reload this page.