Skip to content

Commit

Permalink
beauty
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Oct 8, 2024
1 parent 9e39c1f commit 8e574c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/CognateAnalysisModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2862,8 +2862,8 @@ class CognateAnalysisModal extends React.Component {
<span className="lingvo-cognate-result-tit">
{ this.context(
fileSuite
? "Json file(s) for complex result:"
: "Please choose result files for merging (use <Ctrl> button for multiselect)"
? "Json file(s) for composite result:"
: "Please choose analyses results for merging (use <Ctrl> button for multiselect)"
)}
</span>

Expand Down Expand Up @@ -2949,7 +2949,7 @@ class CognateAnalysisModal extends React.Component {
: mode === "multi_morphology"
? this.context("Morphology distance multi-language")
: mode === "complex_distance"
? this.context("Complex distance")
? this.context("Composite distance")
: this.context("Cognate analysis")}
</Modal.Header>

Expand Down
9 changes: 6 additions & 3 deletions src/pages/ToolsRoute/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,13 @@ function ToolsRoute({ user, actions }) {
</Link>
)}
{user.id !== undefined && (
<Button className="card-item" onClick={() => actions.cognateAnalysisOpenModal(null, "complex_distance")}>
<label className="card-item__label">{getTranslation("Get complex distance between languages")}</label>
<Link className="card-item"
to="/tools"
onClick={() => actions.cognateAnalysisOpenModal(null, "complex_distance")}
>
<label className="card-item__label">{getTranslation("Get composite distance between languages")}</label>
<img className="card-item__img card-item__img_map" src={imageMap} />
</Button>
</Link>
)}
</div>
</div>
Expand Down

0 comments on commit 8e574c4

Please sign in to comment.