Skip to content

Commit

Permalink
Refactored FAB settings page to use similar conventions to other sett…
Browse files Browse the repository at this point in the history
…ing pages (#949)
  • Loading branch information
hjiangsu committed Dec 5, 2023
1 parent a7c3578 commit 8551545
Show file tree
Hide file tree
Showing 2 changed files with 426 additions and 452 deletions.
36 changes: 36 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
"@collapseCommentPreview": {
"description": "Semantic label for the collapse button in Setting -> Appearance -> Comments"
},
"collapseInformation": "Collapse Information",
"@collapseInformation": {
"description": "Describes the action to collapse information - used in FAB settings"
},
"collapsePost": "Collapse post",
"@collapsePost": {},
"collapsePostPreview": "Collapse Post Preview",
Expand Down Expand Up @@ -256,6 +260,14 @@
"@emptyUri": {
"description": "Error message for empty link."
},
"enableFeedFab": "Enable Floating Button on Feeds",
"@enableFeedFab": {
"description": "Enable the Floating Action Button for the feed"
},
"enablePostFab": "Enable Floating Button on Posts",
"@enablePostFab": {
"description": "Enable the Floating Action Button for the post"
},
"endSearch": "End Search",
"errorDownloadingMedia": "Could not download the media file to share: {errorMessage}",
"@errorDownloadingMedia": {},
Expand All @@ -267,6 +279,10 @@
"@expandCommentPreview": {
"description": "Semantic label for the expand button in Setting -> Appearance -> Comments"
},
"expandInformation": "Expand Information",
"@expandInformation": {
"description": "Describes the action to expand information - used in FAB settings"
},
"expandOptions": "Expand options",
"@expandOptions": {},
"expandPost": "Expand post",
Expand Down Expand Up @@ -305,6 +321,18 @@
"@floatingActionButton": {
"description": "Floating Action Button settings category."
},
"floatingActionButtonInformation": "Thunder has a fully customizable FAB experience that supports a few gestures.\n- Swipe up to reveal additional FAB actions\n- Swipe down/up to hide or reveal the FAB\n\nTo customize the main and secondary actions for the FAB, long press on one of the actions below.",
"@floatingActionButtonInformation": {
"description": "Description of the FAB in the settings page"
},
"floatingActionButtonLongPressDescription": "denotes the FAB's long-press action.",
"@floatingActionButtonLongPressDescription": {
"description": "Description of the FAB's long-press action"
},
"floatingActionButtonSinglePressDescription": "denotes the FAB's single-press action.",
"@floatingActionButtonSinglePressDescription": {
"description": "Description of the FAB's single-press action"
},
"fullScreenNavigationSwipeDescription": "Swipe anywhere to go back when left-to-right gestures are disabled",
"@fullScreenNavigationSwipeDescription": {},
"general": "General",
Expand Down Expand Up @@ -349,6 +377,10 @@
"@includeText": {},
"includeTitle": "Include Title",
"@includeTitle": {},
"information": "Information",
"@information": {
"description": "Information heading - used in the FAB settings page"
},
"instance": "Instance",
"@instance": {},
"instanceHasAlreadyBenAdded": "{instance} has already been added.",
Expand Down Expand Up @@ -614,6 +646,10 @@
"selectSearchType": "Select Search Type",
"serverErrorComments": "A server error was encountered when fetching more comments: {message}",
"@serverErrorComments": {},
"setAction": "Set Action",
"@setAction": {
"description": "Label for the action to set (short-press, long-press)"
},
"setLongPress": "Set as long-press action",
"@setLongPress": {},
"setShortPress": "Set as short-press action",
Expand Down
Loading

0 comments on commit 8551545

Please sign in to comment.