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

l10n: Replace apostrophe with double quotation #3279

Merged
merged 3 commits into from
May 20, 2021
Merged

Conversation

Valdnet
Copy link
Contributor

@Valdnet Valdnet commented May 6, 2021

@Valdnet Valdnet requested a review from FlexW May 6, 2021 13:40
} else {
//: Argument is a file name
allFilenames.append(tr("'%1'").arg(fileName));
allFilenames.append("'%1'").arg(fileName);
Copy link

Choose a reason for hiding this comment

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

Please replace the tr with QLatin1String instead of removing it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No need to use the special QLatin1String better use QStringLiteral.
QLatin1String may be useful but in very rare cases (wanting to use an override method highly optimized with it) and that is not the case there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes made 😉.

@Valdnet Valdnet requested a review from FlexW May 10, 2021 11:40
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
@FlexW FlexW force-pushed the Valdnet-patch-3 branch from ae558d2 to dadddd7 Compare May 12, 2021 10:34
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
@Valdnet
Copy link
Contributor Author

Valdnet commented May 12, 2021

@FlexW You should also be advised attention to this issue #3278. There are too many of them to manually change on GitHub 😁.

@Valdnet Valdnet requested review from rakekniven, er-vin, allexzander and camilasan and removed request for camilasan, er-vin and allexzander May 19, 2021 13:27
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-3279-793c211232332621b8d3439813c2d5badd4efa91-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@rakekniven rakekniven merged commit de07319 into master May 20, 2021
@rakekniven rakekniven deleted the Valdnet-patch-3 branch May 20, 2021 06:04
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.

5 participants