Skip to content

Conversation

@Elelan
Copy link

@Elelan Elelan commented Jun 23, 2025

No description provided.

Copilot AI review requested due to automatic review settings June 23, 2025 09:15
Copy link

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

Merge localization updates from the next branch into the backup branch, ensuring UI text is up to date across all supported languages.

  • Switched encryption intro text to reference Orbot and updated the link.
  • Introduced new open_orbot and unavailable string entries in English.
  • Added and adjusted translations in Turkish, French, Farsi, Spanish, and Arabic.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
app/src/main/res/values/strings.xml Updated intro_text_encrypt, added open_orbot and unavailable
app/src/main/res/values-tr/strings.xml Added many new keys and translations, appended unavailable
app/src/main/res/values-fr/strings.xml Added new keys, updated French translations, appended unavailable
app/src/main/res/values-fa/strings.xml Added new keys, updated Farsi translations, appended unavailable
app/src/main/res/values-es/strings.xml Added new keys, updated Spanish translations, appended unavailable
app/src/main/res/values-ar/strings.xml Added new keys, updated Arabic translations, appended unavailable

<string name="label_create_login">Create one</string>
<string name="prompt_no_account">No account?</string>
<string name="action_continue">Continue</string>
<string name="open_orbot">Open Orbot</string>
Copy link

Copilot AI Jun 23, 2025

Choose a reason for hiding this comment

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

The new "open_orbot" string key is missing translations in the localized resource files (values-tr, values-fr, values-fa, values-es, values-ar). Please add corresponding entries to keep all locales in sync.

Copilot uses AI. Check for mistakes.
<string name="lbl_no_servers">No servers added yet.</string>
<string name="lbl_no_archived_folders">No archived folders found.</string>
<string name="error_no_internet">Internet not available</string>
<string name="unavailable">unavailable</string>
Copy link

Copilot AI Jun 23, 2025

Choose a reason for hiding this comment

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

[nitpick] The value for "unavailable" is lowercase; consider capitalizing it to "Unavailable" to maintain consistency with other UI strings.

Suggested change
<string name="unavailable">unavailable</string>
<string name="unavailable">Unavailable</string>

Copilot uses AI. Check for mistakes.
This commit removes the Snackbar confirmation that appeared when deleting media items. The deletion now happens immediately.

Additionally, the following changes were made:
- Updated AGP to 8.11.0, Kotlin to 2.2.0, and KSP to 2.2.0-2.0.2.
- Updated Gradle wrapper to version 8.14.2.
- Ensured `BrowseFoldersFragment` navigates back even if the confirmation dialog is dismissed.
- Added an `onDismissAction` to `BaseDialog` to allow custom actions when a dialog is dismissed.
// })

snackbar.show()
//snackbar.show()

Check warning

Code scanning / detekt

Checks if comments have the right spacing Warning

Missing space after //
This commit updates the dialog UI by changing the icon color to tertiary. It also adds a "Download Orbot" button to the Tor disabled dialog, which links to the Orbot app on the Google Play Store.

Additionally, the version name has been updated to 4.0.0 and the version code to 30011.

The commit also includes a fix to ensure the arrow in the MainMediaFragment is shown/hidden correctly when the ContentPickerFragment is dismissed.
import net.opendasharchive.openarchive.features.core.dialog.DialogStateManager
import net.opendasharchive.openarchive.features.core.dialog.DialogType
import net.opendasharchive.openarchive.features.core.dialog.showDialog
import net.opendasharchive.openarchive.features.core.dialog.showWarningDialog

Check warning

Code scanning / detekt

Detects unused imports Warning

Unused import
@Elelan Elelan requested a review from prathieshna June 30, 2025 14:07
Copy link

@prathieshna prathieshna left a comment

Choose a reason for hiding this comment

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

LGTM

@prathieshna prathieshna merged commit 328baca into next-backup-10th Jun 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants