Skip to content

Commit

Permalink
Merge pull request #6026 from mzimandl/improvements
Browse files Browse the repository at this point in the history
merge keywords table columns
  • Loading branch information
tomachalek authored Sep 27, 2023
2 parents 2447def + ec87527 commit b62ce3a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
3 changes: 1 addition & 2 deletions public/files/js/translations/messages.cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,6 @@
"kwords__rel_freq_in_corp2_hd": "Rel. frekv. (referenční korpus)",
"kwords__result_word_hd": "Slovo",
"kwords__min_freq": "Min. frekvence",
"kwords__max_freq": "Max. frekvence",
"kwords__filter_th": "Filtr"
"kwords__max_freq": "Max. frekvence"
}
}
3 changes: 1 addition & 2 deletions public/files/js/translations/messages.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,6 @@
"kwords__rel_freq_in_corp2_hd": "Rel. freq. (ref. corpus)",
"kwords__result_word_hd": "Word",
"kwords__min_freq": "Min. frequency",
"kwords__max_freq": "Max. frequency",
"kwords__filter_th": "Filter"
"kwords__max_freq": "Max. frequency"
}
}
3 changes: 1 addition & 2 deletions public/files/js/translations/messages.sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,6 @@
"kwords__rel_freq_in_corp2_hd": "Rel. freq. (ref. corpus) UNTRANSLATED",
"kwords__result_word_hd": "Word UNTRANSLATED",
"kwords__min_freq": "Min. frequency UNTRANSLATED",
"kwords__max_freq": "Max. frequency UNTRANSLATED",
"kwords__filter_th": "Filter"
"kwords__max_freq": "Max. frequency UNTRANSLATED"
}
}
3 changes: 1 addition & 2 deletions public/files/js/translations/messages.szl.json
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,6 @@
"kwords__rel_freq_in_corp2_hd": "Rel. freq. (ref. corpus) UNTRANSLATED",
"kwords__result_word_hd": "Word UNTRANSLATED",
"kwords__min_freq": "Min. frequency UNTRANSLATED",
"kwords__max_freq": "Max. frequency UNTRANSLATED",
"kwords__filter_th": "Filter"
"kwords__max_freq": "Max. frequency UNTRANSLATED"
}
}
10 changes: 4 additions & 6 deletions public/files/js/views/keywords/result/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ export function init({
] :
<th>{he.translate('kwords__score_col_hd')}</th>
}
<th>{he.translate('kwords__freq_in_corp1_hd')}</th>
<th>{he.translate('kwords__filter_th')}</th>
<th>{he.translate('kwords__freq_in_corp2_hd')}</th>
<th>{he.translate('kwords__filter_th')}</th>
<th colSpan={2}>{he.translate('kwords__freq_in_corp1_hd')}</th>
<th colSpan={2}>{he.translate('kwords__freq_in_corp2_hd')}</th>
<th>{he.translate('kwords__rel_freq_in_corp1_hd')}</th>
<th>{he.translate('kwords__rel_freq_in_corp2_hd')}</th>
</tr>
Expand All @@ -135,15 +133,15 @@ export function init({
}
<td className="num">{he.formatNumber(kw.frq1, 0)}</td>
<td>
<a href={he.createActionLink('create_view',
<a title={he.translate('global__pnfilter_label_p')} href={he.createActionLink('create_view',
props.focusSubcorpId ?
{corpname: props.focusCorpname, usesubcorp: props.focusSubcorpId, q: buildQ(kw.item)} :
{corpname: props.focusCorpname, q: buildQ(kw.item)}
)}> p </a>
</td>
<td className="num">{he.formatNumber(kw.frq2, 0)}</td>
<td>
<a href={he.createActionLink('create_view',
<a title={he.translate('global__pnfilter_label_p')} href={he.createActionLink('create_view',
props.refSubcorpId ?
{corpname: props.refCorpname, usesubcorp: props.refSubcorpId, q: buildQ(kw.item)} :
{corpname: props.refCorpname, q: buildQ(kw.item)}
Expand Down

0 comments on commit b62ce3a

Please sign in to comment.