🌐Translations for the latest features (#78)
* 🌐Translations for the latest features
Also:
- Rename “Home” to Shared drive
- Hide banner with suggestion of downloading desktop app
- Fix Upload button on main screen
- Add separate buttons for the manage access and share by link
This commit is contained in:
@@ -35,5 +35,6 @@ export default (): React.ReactElement => {
|
||||
});
|
||||
}, []);
|
||||
|
||||
return showBanner ? <DownloadBanner onBannerClose={removeBanner} download={download} /> : <></>;
|
||||
return <></>;
|
||||
// return showBanner ? <DownloadBanner onBannerClose={removeBanner} download={download} /> : <></>;
|
||||
};
|
||||
|
||||
+2
-3
@@ -41,11 +41,10 @@ export default ({ pendingFilesState, visible }: PropsType) => {
|
||||
|
||||
const momentTimeRemaining = moment(new Date().getTime() + timeRemainingInMs).fromNow();
|
||||
|
||||
// TODO translation
|
||||
if (momentTimeRemaining !== 'Invalid date') {
|
||||
return `Will end ${momentTimeRemaining}...`;
|
||||
return Languages.t('components.pending_file_list.estimation.end') + `Will end ${momentTimeRemaining}...`;
|
||||
} else {
|
||||
return `Waiting for time approximations...`;
|
||||
return Languages.t('components.pending_file_list.estimation.approximations');
|
||||
}
|
||||
}, [getOnePendingFile, pendingFilesState]);
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ export default class UploadZone extends React.Component<PropsType, StateType> {
|
||||
}
|
||||
|
||||
open() {
|
||||
console.log("OPEN");
|
||||
if (this.props.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user