Skip to content

Commit

Permalink
refactor: rename to currentLocation
Browse files Browse the repository at this point in the history
similar, make it more clear the value applies to currently displayed
directory
  • Loading branch information
lidel committed Nov 14, 2024
1 parent 1f0ffbf commit 172cb42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion public/locales/en/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@
"blocks": "Blocks",
"localDatastore": "Local Datastore",
"localDatastoreDescription": "Total size of all blocks currently stored on your IPFS node; this includes everything in the Files view (MFS), plus any additional low-level pins and any temporary cached blocks that were not garbage-collected yet.",
"filesDescription": "Total size of data in the current directory (if a subdirectory, the size of all data in Files view (MFS) is also displayed). If you have a big directory that is only partially fetched, a total size listed here could be bigger than your local repository.",
"currentLocationRoot": "My Files",
"currentLocation": "Current Location",
"currentLocationDescription": "Total size of data in the current directory (if a subdirectory, the size of all data in Files view (MFS) is also displayed). This value includes both local and remote blocks. If you have a big directory that is only partially fetched, a total size listed here could be bigger than your local repository.",
"pinningQueue": "Pinning queue",
"more": "More",
"files": "Files",
Expand Down
2 changes: 1 addition & 1 deletion src/files/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Header extends React.Component {
className='fill-teal PendingAnimation' />
</a> }

<BarOption title={t('filesDescription')} text={t('app:terms:files')}>
<BarOption title={t('currentLocationDescription')} text={hasUpperDirectory ? t('currentLocation') : t('currentLocationRoot')}>
{ hasUpperDirectory
? (
<span>
Expand Down

0 comments on commit 172cb42

Please sign in to comment.