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(user_ldap): Use %n in plural translation to avoid a crash in L10N #48028

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Sep 15, 2024

Summary

Tested and works.

Checklist

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc added bug 3. to review Waiting for reviews labels Sep 15, 2024
@come-nc come-nc added this to the Nextcloud 31 milestone Sep 15, 2024
@come-nc come-nc requested review from nickvergessen, susnux and a team September 15, 2024 16:40
@come-nc come-nc self-assigned this Sep 15, 2024
@come-nc come-nc requested review from ArtificialOwl, Altahrim and artonge and removed request for a team September 15, 2024 16:40
@come-nc
Copy link
Contributor Author

come-nc commented Sep 15, 2024

/backport to stable30

@AndyScherzinger AndyScherzinger merged commit a6bd34e into master Sep 16, 2024
174 checks passed
@AndyScherzinger AndyScherzinger deleted the fix/fix-ldap-setupcheck-crash branch September 16, 2024 06:32
@@ -58,23 +58,23 @@ public function run(): SetupResult {
if (!empty($bindFailedConfigurations)) {
$output .= $this->l10n->n(
'Binding failed for this LDAP configuration: %s',
Copy link
Member

Choose a reason for hiding this comment

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

should have added the %n here as well to help translators of non-"1/other" languages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: System check on UI throws "Wrong number of arguments" Nextcloud Hub 9 (30.0.0.14).
4 participants