Skip to content

Conversation

@i2h3
Copy link
Collaborator

@i2h3 i2h3 commented Oct 27, 2025

Just a code call was missing for applying some localized string.

@i2h3 i2h3 force-pushed the fix/9686105-localization branch from 416b609 to 2feb707 Compare October 27, 2025 14:17
@i2h3 i2h3 requested a review from Copilot October 27, 2025 14:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes missing localization in the File Provider UI by ensuring localized strings are applied when the share view is initialized. The key change extracts localization code into a separate method and calls it during view setup.

Key Changes

  • Extracted localization logic into a dedicated applyLocalizedStrings() method in ShareOptionsView
  • Added call to applyLocalizedStrings() in ShareViewController.viewDidLoad() to ensure strings are localized on initialization
  • Added Danish translations and new string keys to the localization catalog

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
shell_integration/MacOSX/NextcloudIntegration/README.md Removed obsolete cleanup instructions section
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareViewController.swift Added call to apply localized strings during view initialization
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareOptionsView.swift Refactored localization code into separate public method
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings Added Danish translations and new localization keys

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nilsding
Copy link
Member

/backport to stable-4.0

@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-8966.zip

Digest: sha256:b25e33744144d18191844c3b66353709198b3dd154ac15243a9e3e4c94d8f7a0

To test this change/fix you can download the above artifact file, unzip it, and run it.

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

@i2h3 i2h3 merged commit 619fd6c into master Oct 27, 2025
20 checks passed
@i2h3 i2h3 deleted the fix/9686105-localization branch October 27, 2025 15:22
@sonarqubecloud
Copy link

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.

3 participants