TagSpaces is an offline, open source, document manager with tagging support
cleaning up
Ilian Sapundshiev6836b37d6be1
diff --git a/app/components/EntryProperties.js b/app/components/EntryProperties.jsindex a40aacba8..cf3a35f42 100644--- a/app/components/EntryProperties.js+++ b/app/components/EntryProperties.js@@ -145,15 +145,6 @@ marked.setOptions({xhtml: true});-// function handleExternalLinks(event) { // TODO move to misc-// event.preventDefault();-// event.stopPropagation();-// console.log(event.currentTarget.href);--// // TODO evtl. use openFileNatively from app.js-// PlatformIO.openUrl(event.currentTarget.href);-// }-type Props = {classes: Object,entryPath?: string | null,@@ -231,24 +222,6 @@ class EntryProperties extends Component<Props, State> {}}- /* componentDidUpdate(prevProps, prevState) {- if (this.state.description == null || this.state.description !== prevState.description) {- const links = document.querySelectorAll('#descriptionArea a');- links.forEach((link) => {- link.addEventListener('click', handleExternalLinks, false);- });- }- }-- componentWillUnmount() {- if (this.state.description) {- const links = document.querySelectorAll('#descriptionArea a');- links.forEach((link) => {- link.removeEventListener('click', handleExternalLinks);- });- }- } */-loadEntryProperties = (entryPath) => {getAllPropertiesPromise(entryPath).then(entryProps => {this.setState({@@ -858,14 +831,13 @@ class EntryProperties extends Component<Props, State> {onClose={this.toggleMoveCopyFilesDialog}selectedFiles={[entryPath]}/>- {Pro && (+ {FileThumbChooseDialog && (<FileThumbChooseDialogkey={uuidv1()}open={isFileThumbChooseDialogOpened}onClose={this.toggleThumbFilesDialog}selectedFile={thumbPath}setThumb={this.setThumb}- // showSelectDirectoryDialog={this.props.showSelectDirectoryDialog}/>)}</div>@@ -873,14 +845,4 @@ class EntryProperties extends Component<Props, State> {}}-/* function mapActionCreatorsToProps(dispatch) {- return bindActionCreators({- showSelectDirectoryDialog: AppActions.showSelectDirectoryDialog- }, dispatch);-}--export default withStyles(styles)(- connect(undefined, mapActionCreatorsToProps)(EntryProperties)-); */-export default withStyles(styles)(EntryProperties);diff --git a/app/locales/en/core.json b/app/locales/en/core.jsonindex 2cfaa2a26..9cedb2d0a 100644--- a/app/locales/en/core.json+++ b/app/locales/en/core.json@@ -411,7 +411,7 @@"sizeHuge": "Huge","tagProperties": "Tag Properties","startContentExtraction": "Extract Content",- "thumbChooseFileTitle": "Thumb File Choose",- "clearThumbnail": "Clear Thumb",+ "thumbChooseFileTitle": "Thumbnail Chooser",+ "clearThumbnail": "Clear Thumbnail","-": "-"}