Skip to content

Conversation

@SailReal
Copy link
Member

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 24, 2025

Walkthrough

This pull request involves modifications to the internationalization (i18n) files for German and English languages, specifically in the de.yaml and en.yaml files. A significant number of translation entries were removed across various sections, including navigation, footer, Android-related translations, and other UI strings. A new translation entry android_accrescent_exclusion was added to both files, explaining the exclusion of Google Drive due to proprietary dependencies. Additionally, a new HTML layout and partial template were introduced for the Accrescent app store section in the Android page, including structured metadata and a download section with exclusion information.

Possibly related PRs

  • Add Accrescent Blog post #115: Blog post about the Accrescent app store, highlighting the security and privacy aspects of the Cryptomator Android application

Suggested reviewers

  • CuriousPurah

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
layouts/partials/android-accrescent.html (1)

1-8: Enhance schema.org metadata for better SEO.

Consider adding these recommended fields for better search engine visibility:

  • operatingSystemVersion
  • downloadUrl
  • offers with pricing information
  • aggregateRating if available
 <div class="text-center" itemscope itemtype="http://schema.org/SoftwareApplication">
   <meta itemprop="name" content="Cryptomator"/>
   <meta itemprop="description" content="A free software to encrypt your cloud files."/>
   <meta itemprop="applicationCategory" content="Productivity"/>
   <meta itemprop="softwareVersion" content="{{ .Site.Params.releases.android.version }}"/>
   <meta itemprop="applicationSubCategory" content="Encryption"/>
   <meta itemprop="image" content="{{ "/img/logo.png" | absURL }}"/>
   <meta itemprop="operatingSystem" content="Android"/>
+  <meta itemprop="operatingSystemVersion" content="8.0"/>
+  <meta itemprop="downloadUrl" content="https://accrescent.app/app/org.cryptomator"/>
+  <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
+    <meta itemprop="price" content="0"/>
+    <meta itemprop="priceCurrency" content="USD"/>
+  </div>
 </div>
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 19dda39 and dd6db2e.

⛔ Files ignored due to path filters (1)
  • static/img/downloads/accrescent-badge.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • i18n/de.yaml (1 hunks)
  • i18n/en.yaml (1 hunks)
  • layouts/android/single.html (1 hunks)
  • layouts/partials/android-accrescent.html (1 hunks)
🔇 Additional comments (3)
layouts/android/single.html (1)

21-24: LGTM! Clean integration of the new section.

The Accrescent section is properly integrated into the existing layout structure.

i18n/en.yaml (1)

95-96: Verify the scope of translation changes.

A large number of translations are being removed that seem unrelated to adding Accrescent support. Consider splitting these changes into a separate PR for better review and tracking.

i18n/de.yaml (1)

95-96: LGTM! Consistent translation across languages.

The German translation for android_accrescent_exclusion matches the English version and maintains consistency with the existing exclusion messages.

Comment on lines +18 to +20
<a href="https://accrescent.app/app/org.cryptomator" role="button" class="plausible-event-name=downloads-android-accrescent">
<img class="h-10 mx-auto lazyload mb-4" data-src="/img/downloads/accrescent-badge.png">
</a>
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Add security attributes to external link and improve accessibility.

The external link to Accrescent should have security attributes and the image should have alt text.

-      <a href="https://accrescent.app/app/org.cryptomator" role="button" class="plausible-event-name=downloads-android-accrescent">
-        <img class="h-10 mx-auto lazyload mb-4" data-src="/img/downloads/accrescent-badge.png">
+      <a href="https://accrescent.app/app/org.cryptomator" role="button" rel="noopener noreferrer" target="_blank" class="plausible-event-name=downloads-android-accrescent">
+        <img class="h-10 mx-auto lazyload mb-4" data-src="/img/downloads/accrescent-badge.png" alt="Download on Accrescent">
       </a>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<a href="https://accrescent.app/app/org.cryptomator" role="button" class="plausible-event-name=downloads-android-accrescent">
<img class="h-10 mx-auto lazyload mb-4" data-src="/img/downloads/accrescent-badge.png">
</a>
<a href="https://accrescent.app/app/org.cryptomator" role="button" rel="noopener noreferrer" target="_blank" class="plausible-event-name=downloads-android-accrescent">
<img class="h-10 mx-auto lazyload mb-4" data-src="/img/downloads/accrescent-badge.png" alt="Download on Accrescent">
</a>

@overheadhunter
Copy link
Member

The attributes for external links are also my only concern. Looks good otherwise.

@SailReal
Copy link
Member Author

SailReal commented Jan 27, 2025

The attributes for external links are also my only concern. Looks good otherwise.

This is copied from https://github.com/cryptomator/cryptomator.github.io/blob/develop/content/downloads/android.en.html#L24-L26, so if we want to change it (what we should), we should change it everywhere where we use this tag and which is imo out of scope of this PR.

I'll create another PR for it within the next days.

Copy link
Member

@overheadhunter overheadhunter left a comment

Choose a reason for hiding this comment

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

Approved under aforementioned condition

@SailReal SailReal merged commit af76e97 into develop Jan 27, 2025
2 checks passed
@SailReal SailReal deleted the feature/add-accrescent branch January 27, 2025 16:08
@coderabbitai coderabbitai bot mentioned this pull request Mar 20, 2025
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