Skip to content

Conversation

@Valdnet
Copy link
Contributor

@Valdnet Valdnet commented Mar 20, 2021

Standardizing text strings with other Nextcloud applications.

Standardizing text strings with other Nextcloud applications.
if (!empty($alreadyShared)) {
$message = 'Sharing %1$s failed, this item is already shared with %2$s';
$message = 'Sharing %1$s failed, because this item is already shared with user %2$s';
$message_t = $this->l->t('Sharing %1$s failed, this item is already shared with %2$s', [$share->getNode()->getName(), $shareWith]);
Copy link
Member

Choose a reason for hiding this comment

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

Then please also add it here, because that is the string that is translated - the other one is the english one for the debug logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

An oversight on my part. Thanks 😉.

@Valdnet Valdnet requested a review from MorrisJobke March 22, 2021 08:02
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish bug feature: language/translations (l10n/i18n) Localization and translation matters feature: sharing labels Mar 22, 2021
@skjnldsv skjnldsv merged commit 6b4cfc5 into master Mar 22, 2021
@skjnldsv skjnldsv deleted the Valdnet-patch-6 branch March 22, 2021 08:42
@MorrisJobke MorrisJobke added this to the Nextcloud 22 milestone Mar 22, 2021
@MorrisJobke
Copy link
Member

/backport to stable21

@MorrisJobke
Copy link
Member

/backport to stable20

@MorrisJobke
Copy link
Member

/backport to stable19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: language/translations (l10n/i18n) Localization and translation matters feature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants