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

Use proper translation source for direct editing #30119

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

juliusknorr
Copy link
Member

Translations are in lib instead of core

Make sure that mobile apps show a translated version of "Empty file" instead of always using the English one.

@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Dec 6, 2021
@juliusknorr juliusknorr requested review from azul, mejo-, julien-nc, a team, nickvergessen, icewind1991 and skjnldsv and removed request for a team December 6, 2021 15:13
@juliusknorr juliusknorr added this to the Nextcloud 24 milestone Dec 6, 2021
@nickvergessen nickvergessen added 1. to develop Accepted and waiting to be taken care of and removed 3. to review Waiting for reviews labels Dec 7, 2021
The 'Empty file' string is translated in `lib` - not in `core`.

Signed-off-by: Azul <azul@riseup.net>
@azul
Copy link
Contributor

azul commented Dec 16, 2021

Oh... I did not see this pr and opened #30298

I don't think there's a need for the user language option when getting l10n. At least I was able to confirm it works without it. I'm not sure if that's always the case though. Checking other files the language option is left out in most cases.

@azul azul force-pushed the bugfix/noid/direct-editor-translation branch from b4e3a42 to 8535dc4 Compare December 16, 2021 15:53
Copy link
Contributor

@azul azul left a comment

Choose a reason for hiding this comment

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

I investigated the issue and came to the same conclusion ... so I'd say it's good to go.

@juliusknorr
Copy link
Member Author

Yes, if null is used the current user will be fetched if available.

@azul azul dismissed nickvergessen’s stale review December 16, 2021 16:17

Adjusted PR accordingly. Checked with @juliushaertl

@azul azul merged commit f001cc7 into master Dec 16, 2021
@azul azul deleted the bugfix/noid/direct-editor-translation branch December 16, 2021 18:10
@azul
Copy link
Contributor

azul commented Dec 16, 2021

/backport to stable23

@azul
Copy link
Contributor

azul commented Dec 16, 2021

/backport to stable22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants