Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions locale/es/LC_MESSAGES/loris.po
Original file line number Diff line number Diff line change
Expand Up @@ -415,3 +415,6 @@ msgstr "Subido por"

msgid "TarchiveID"
msgstr "ID de archivo"

msgid "Type"
msgstr "Tipo"
6 changes: 6 additions & 0 deletions locale/fr/LC_MESSAGES/loris.po
Original file line number Diff line number Diff line change
Expand Up @@ -652,3 +652,9 @@ msgstr "Identifiant de tarchive"

msgid "Upload successful!"
msgstr "Téléversement réussi!"

msgid "unknown"
msgstr "inconnu"

msgid "Type"
msgstr "Type"
6 changes: 6 additions & 0 deletions locale/hi/LC_MESSAGES/loris.po
Original file line number Diff line number Diff line change
Expand Up @@ -587,3 +587,9 @@ msgstr "टीआर्काइवआईडी"

msgid "Upload successful!"
msgstr "अपलोड सफल!"

msgid "unknown"
msgstr "अज्ञात"

msgid "Type"
msgstr "प्रकार"
6 changes: 6 additions & 0 deletions locale/ja/LC_MESSAGES/loris.po
Original file line number Diff line number Diff line change
Expand Up @@ -611,3 +611,9 @@ msgstr "TarchiveID"

msgid "Upload successful!"
msgstr "アップロード成功しました!"

msgid "unknown"
msgstr "不明"

msgid "Type"
msgstr "タイプ"
6 changes: 6 additions & 0 deletions locale/loris.pot
Original file line number Diff line number Diff line change
Expand Up @@ -621,3 +621,9 @@ msgid "TarchiveID"

msgid "Upload successful!"
msgstr ""

msgid "unknown"
msgstr ""

msgid "Type"
msgstr ""
6 changes: 6 additions & 0 deletions locale/zh/LC_MESSAGES/loris.po
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,9 @@ msgstr "档案ID"

msgid "Upload successful!"
msgstr "上传成功!"

msgid "unknown"
msgstr "未知"

msgid "Type"
msgstr "类型"
4 changes: 2 additions & 2 deletions modules/biobank/jsx/containerTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ContainerTab extends Component {
*/
mapContainerColumns(column, value) {
switch (column) {
case this.props.t('Type', {ns: 'biobank'}):
case this.props.t('Type', {ns: 'loris'}):
return this.props.options.container.types[value].label;
case this.props.t('Status', {ns: 'biobank'}):
return this.props.options.container.stati[value].label;
Expand Down Expand Up @@ -151,7 +151,7 @@ class ContainerTab extends Component {
name: 'barcode',
type: 'text',
}},
{label: t('Type', {ns: 'biobank'}), show: true, filter: {
{label: t('Type', {ns: 'loris'}), show: true, filter: {
name: 'type',
type: 'select',
options: containerTypesNonPrimary,
Expand Down
4 changes: 2 additions & 2 deletions modules/biobank/jsx/poolTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class PoolTab extends Component {
mapPoolColumns(column, value) {
const {options} = this.props;
switch (column) {
case this.props.t('Type', {ns: 'biobank'}):
case this.props.t('Type', {ns: 'loris'}):
return options.specimen.types[value].label;
case this.props.t('Site', {ns: 'loris', count: 1}):
return options.centers[value];
Expand Down Expand Up @@ -209,7 +209,7 @@ class PoolTab extends Component {
name: 'session',
type: 'text',
}},
{label: t('Type', {ns: 'biobank'}), show: true, filter: {
{label: t('Type', {ns: 'loris'}), show: true, filter: {
name: 'type',
type: 'select',
options: specimenTypes,
Expand Down
4 changes: 2 additions & 2 deletions modules/biobank/jsx/shipmentTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function ShipmentTab({
name: 'barcode',
type: 'text',
}},
{label: t('Type', {ns: 'biobank'}), show: true, filter: {
{label: t('Type', {ns: 'loris'}), show: true, filter: {
name: 'type',
type: 'select',
options: options.shipment.types,
Expand Down Expand Up @@ -327,7 +327,7 @@ function ShipmentInformation({
text={shipment.barcode}
/>
<StaticElement
label={t('Type', {ns: 'biobank'})}
label={t('Type', {ns: 'loris'})}
text={shipment.type}
/>
<StaticElement
Expand Down
4 changes: 2 additions & 2 deletions modules/biobank/jsx/specimenTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SpecimenTab extends Component {
mapSpecimenColumns(column, value) {
const {options} = this.props;
switch (column) {
case this.props.t('Type', {ns: 'biobank'}):
case this.props.t('Type', {ns: 'loris'}):
return options.specimen.types[value].label;
case this.props.t('Container Type', {ns: 'biobank'}):
return options.container.typesPrimary[value].label;
Expand Down Expand Up @@ -239,7 +239,7 @@ class SpecimenTab extends Component {
name: 'barcode',
type: 'text',
}},
{label: this.props.t('Type', {ns: 'biobank'}), show: true, filter: {
{label: this.props.t('Type', {ns: 'loris'}), show: true, filter: {
name: 'type',
type: 'select',
options: specimenTypes,
Expand Down
5 changes: 0 additions & 5 deletions modules/biobank/locale/biobank.pot
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ msgstr ""
msgid "Comments"
msgstr ""

#: jsx/specimenTab.js:60 jsx/containerTab.js:56 jsx/poolTab.js:68
#: jsx/shipmentTab.js:131
msgid "Type"
msgstr ""

#: jsx/specimenTab.js:62 jsx/containerForm.js:174 jsx/batchEditForm.js:283
#: jsx/globals.js:49 jsx/specimenForm.js:610
msgid "Container Type"
Expand Down
5 changes: 0 additions & 5 deletions modules/biobank/locale/es/LC_MESSAGES/biobank.po
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@ msgstr "Realizado por"
msgid "Comments"
msgstr "Comentarios"

#: jsx/specimenTab.js:60 jsx/containerTab.js:56 jsx/poolTab.js:68
#: jsx/shipmentTab.js:131
msgid "Type"
msgstr "Tipo"

#: jsx/specimenTab.js:62 jsx/containerForm.js:174 jsx/batchEditForm.js:283
#: jsx/globals.js:49 jsx/specimenForm.js:610
msgid "Container Type"
Expand Down
4 changes: 0 additions & 4 deletions modules/biobank/locale/fr/LC_MESSAGES/biobank.po
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ msgstr "Réalisé par"
msgid "Comments"
msgstr "Commentaires"

#: jsx/specimenTab.js:60 jsx/containerTab.js:56 jsx/poolTab.js:68
msgid "Type"
msgstr "Type"

#: jsx/specimenTab.js:62 jsx/containerForm.js:174 jsx/batchEditForm.js:283
#: jsx/globals.js:49 jsx/specimenForm.js:610
msgid "Container Type"
Expand Down
4 changes: 0 additions & 4 deletions modules/biobank/locale/zh/LC_MESSAGES/biobank.po
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ msgstr "执行人"
msgid "Comments"
msgstr "评注"

#: jsx/specimenTab.js:60 jsx/containerTab.js:56 jsx/poolTab.js:68
msgid "Type"
msgstr "类型"

#: jsx/specimenTab.js:62 jsx/containerForm.js:174 jsx/batchEditForm.js:283
#: jsx/globals.js:49 jsx/specimenForm.js:610
msgid "Container Type"
Expand Down
6 changes: 5 additions & 1 deletion modules/bvl_feedback/jsx/react.behavioural_feedback_panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ class FeedbackPanelContent extends Component {
*/
render() {
const t = (s) => this.props.t(s, {ns: 'bvl_feedback'});
let headers = [t('Type'), t('Author'), t('Status')];
let headers = [
t('Type', {ns: 'loris'}),
t('Author', {ns: 'bvl_feedback'}),
t('Status', {ns: 'bvl_feedback'}),
];

if (this.props.feedbackLevel === 'instrument') {
headers[0] = this.props.t('Field Name', {ns: 'bvl_feedback'});
Expand Down
3 changes: 0 additions & 3 deletions modules/bvl_feedback/locale/bvl_feedback.pot
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ msgstr ""
msgid "Feedback for PSCID: {{PSCID}}"
msgstr ""

msgid "Type"
msgstr ""

msgid "Author"
msgstr ""

Expand Down
3 changes: 0 additions & 3 deletions modules/bvl_feedback/locale/fr/LC_MESSAGES/bvl_feedback.po
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ msgstr "Description de la rétroaction"
msgid "Feedback for PSCID: {{PSCID}}"
msgstr "Commentaires pour PSCID : {{PSCID}}"

msgid "Type"
msgstr "Type"

msgid "Author"
msgstr "Auteur"

Expand Down
3 changes: 0 additions & 3 deletions modules/bvl_feedback/locale/ja/LC_MESSAGES/bvl_feedback.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ msgstr "フィードバックの説明"
msgid "Feedback for PSCID: {{PSCID}}"
msgstr "プロジェクト識別子へのフィードバック: {{PSCID}}"

msgid "Type"
msgstr "タイプ"

msgid "Author"
msgstr "著者"

Expand Down
3 changes: 0 additions & 3 deletions modules/bvl_feedback/locale/zh/LC_MESSAGES/bvl_feedback.po
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ msgstr "反馈说明"
msgid "Feedback for PSCID: {{PSCID}}"
msgstr "PSCID {{PSCID}} 的反馈"

msgid "Type"
msgstr "类型"

msgid "Author"
msgstr "提交人"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ msgstr ""
msgid "Insertion Time"
msgstr ""

msgid "Type"
msgstr ""

msgid "Signal Viewer"
msgstr ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ msgstr "Temps d'acquisition"
msgid "Insertion Time"
msgstr "Temps d'insertion"

msgid "Type"
msgstr "Type"

#, fuzzy
msgid "Signal Viewer"
msgstr "Visualiseur de signaux"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ msgstr "取得時間"
msgid "Insertion Time"
msgstr "挿入時間"

msgid "Type"
msgstr "タイプ"

msgid "Signal Viewer"
msgstr "シグナルビューアー"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ msgstr "采集时间"
msgid "Insertion Time"
msgstr "插入时间"

msgid "Type"
msgstr "类型"

msgid "Signal Viewer"
msgstr "信号查看器"

Expand Down
6 changes: 3 additions & 3 deletions modules/genomic_browser/jsx/tabs_content/cnv.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ class CNV extends Component {
},
},
{
label: t('Type', {ns: 'genomic_browser'}),
label: t('Type', {ns: 'loris'}),
show: true,
filter: {
name: 'Type',
type: 'select',
options: {
gain: t('gain', {ns: 'genomic_browser'}),
loss: t('loss', {ns: 'genomic_browser'}),
unknown: t('Unknown', {ns: 'genomic_browser'}),
unknown: t('unknown', {ns: 'loris'}),
},
},
},
Expand Down Expand Up @@ -277,7 +277,7 @@ class CNV extends Component {
'maternal': t('maternal', {ns: 'genomic_browser'}),
'paternal': t('paternal', {ns: 'genomic_browser'}),
'unclassified': t('unclassified', {ns: 'genomic_browser'}),
'unknown': t('unknown', {ns: 'genomic_browser'}),
'unknown': t('unknown', {ns: 'loris'}),
'NA': 'NA',
},
},
Expand Down
2 changes: 1 addition & 1 deletion modules/genomic_browser/jsx/tabs_content/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class Files extends Component {
},
},
{
label: t('Type', {ns: 'genomic_browser'}),
label: t('Type', {ns: 'loris'}),
show: true,
filter: {
name: 'Type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ msgstr "Gène"
msgid "Gene Name"
msgstr "Nom du gène"

msgid "Type"
msgstr "Type"

msgid "Copy Number Change"
msgstr "Variation du nombre de copies"

Expand Down Expand Up @@ -315,8 +312,5 @@ msgstr "paternel"
msgid "unclassified"
msgstr "non classé"

msgid "unknown"
msgstr "inconnu"

msgid "Upload error!"
msgstr "Erreur de téléversement !"
6 changes: 0 additions & 6 deletions modules/genomic_browser/locale/genomic_browser.pot
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ msgstr ""
msgid "Gene Name"
msgstr ""

msgid "Type"
msgstr ""

msgid "Copy Number Change"
msgstr ""

Expand Down Expand Up @@ -313,9 +310,6 @@ msgstr ""
msgid "unclassified"
msgstr ""

msgid "unknown"
msgstr ""

msgid "Upload Successful!"
msgstr ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import jaStrings
import hiStrings
from '../locale/hi/LC_MESSAGES/server_processes_manager.json';
import zhStrings from '../locale/zh/LC_MESSAGES/server_processes_manager.json';
import frStrings from '../locale/fr/LC_MESSAGES/server_processes_manager.json';

/**
* ServerProcessesManagerIndex is the main entry point of the
Expand Down Expand Up @@ -70,7 +71,13 @@ class ServerProcessesManagerIndex extends Component {
* @return {*} a formated table cell for a given column
*/
formatColumn(column, cell, row) {
return (<td>{cell}</td>);
const {t} = this.props;
switch (cell) {
case 'unknown':
return (<td>{t('unknown', {ns: 'loris'})}</td>);
default:
return (<td>{cell}</td>);
}
}

/**
Expand Down Expand Up @@ -100,7 +107,7 @@ class ServerProcessesManagerIndex extends Component {
name: 'pid',
type: 'text',
}},
{label: t('Type', {ns: 'server_processes_manager'}), show: true, filter: {
{label: t('Type', {ns: 'loris'}), show: true, filter: {
name: 'type',
type: 'text',
}},
Expand Down Expand Up @@ -153,6 +160,7 @@ window.addEventListener('load', () => {
i18n.addResourceBundle('ja', 'server_processes_manager', jaStrings);
i18n.addResourceBundle('hi', 'server_processes_manager', hiStrings);
i18n.addResourceBundle('zh', 'server_processes_manager', zhStrings);
i18n.addResourceBundle('fr', 'server_processes_manager', frStrings);
const SPMIndex = withTranslation(
['server_processes_manager', 'loris']
)(ServerProcessesManagerIndex);
Expand Down
Loading
Loading