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

Fix value for legacy_listing_summary #2608

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

TranceLove
Copy link
Collaborator

Description

Previous string value for legacy_listing_summary in string.xml contradicts its behaviour - Amaze will use old method (ls) to list files when preference PreferenceConstants.PREFERENCE_ROOT_LEGACY_LISTING is true, while the translation string reads contradictory meaning.

Manual tests

  • Done

  • Device: Fairphone 3

  • OS: LineageOS 16.0 (9.0)

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

@TranceLove TranceLove added Issue-Bug Related unexpected behavior or something worth investigating. Issue-Task (low) This isn't a bug, but should be dealt with. Area-UIUX Related to user interface/experience (e.g. dialogs, notifications). labels Jun 11, 2021
@TranceLove TranceLove self-assigned this Jun 11, 2021
VishalNehra
VishalNehra previously approved these changes Jun 11, 2021
@@ -696,7 +696,7 @@
<string name="clear_open_file_summary">Clears selected default file opening apps</string>
<string name="ftp_readonly">Read-only access</string>
<string name="legacy_listing_title">Use legacy listing for root</string>
<string name="legacy_listing_summary">If enabled, uses stat for listing, else uses ls</string>
<string name="legacy_listing_summary">If enabled, uses old method (ls) for listing files, else uses stat (new method)</string>
Copy link
Member

Choose a reason for hiding this comment

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

Old method and new method is kinda redundant. Plus the ls and stat is something user wouldn't care. We should minimise text here.
Say 'If enabled uses legacy listing method, else uses new method'

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll then say If enabled, uses legacy method to list files.

Copy link
Member

Choose a reason for hiding this comment

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

👀

Its previous string value contradicts its behaviour - Amaze will use old method (ls) to list files when preference PreferenceConstants.PREFERENCE_ROOT_LEGACY_LISTING is true, while the translation string reads contradictory meaning.
@TranceLove TranceLove force-pushed the bugfix/legacy_listing_summary-explanation branch from 7686362 to 29e2103 Compare June 11, 2021 14:37
@VishalNehra VishalNehra merged commit 3edb9c2 into release/3.6 Jun 11, 2021
@VishalNehra VishalNehra deleted the bugfix/legacy_listing_summary-explanation branch June 11, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-UIUX Related to user interface/experience (e.g. dialogs, notifications). Issue-Bug Related unexpected behavior or something worth investigating. Issue-Task (low) This isn't a bug, but should be dealt with.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants