Skip to content

Commit

Permalink
updated some translations and representation information templates #1170
Browse files Browse the repository at this point in the history
  • Loading branch information
nunovieira220 committed Mar 13, 2018
1 parent ee93a80 commit 7538884
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ public void onSelectionChange(SelectionChangeEvent event) {
});

jobList.autoUpdate(10000);

}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ ri.data.pronomPUID: Pronom PUID
ri.data.softwareDescription: Software description
ri.data.softwareCategory: Software category
ri.data.softwareDesignation: Software designation
ri.data.softwareHistory: Software history
ri.data.platforms: Platforms/Operative system
ri.data.softwareCharacteristics: Software characteristics

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ ri.data.pronomPUID: Pronom PUID
ri.data.softwareDescription: Descrição do software
ri.data.softwareCategory: Categoria do software
ri.data.softwareDesignation: Designação do software
ri.data.softwareHistory: História do software
ri.data.platforms: Plataformas/Sistemas operativos
ri.data.softwareCharacteristics: Características e aspetos técnicos

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{! Data description }}
{{~field name="dataDescription" order="150" hidden="false" type="separator" labeli18n="ri.data.dataDescription" label='{"en": "Data description", "pt": "Descrição dos dados"}'~}}
{{~field name="dataDescription" order="150" hidden="false" type="separator" labeli18n="ri.data.dataDescription" label='{"en": "Data description", "pt_PT": "Descrição dos dados"}'~}}
{{~field name="strutureInformation" order="151" hidden="false" type="text-area" labeli18n="ri.data.strutureInformation" label='{"en": "Structure Information"}' xpath="//*:field[@name='strutureInformation']/string()"~}}
{{~field name="semanticInformation" order="152" hidden="false" type="text-area" labeli18n="ri.data.semanticInformation" label='{"en": "Semantic Information"}' xpath="//*:field[@name='semanticInformation']/string()"~}}

{{! Notes }}
{{~field name="notes" order="160" hidden="false" type="separator" labeli18n="ri.data.notes" label='{"en": "Notes", "pt": "Notas"}'~}}
{{~field name="notes" order="160" hidden="false" type="separator" labeli18n="ri.data.notes" label='{"en": "Notes", "pt_PT": "Notas"}'~}}
{{~field name="general" order="161" hidden="false" type="text-area" labeli18n="ri.data.general" label='{"en": "General"}' xpath="//*:field[@name='general']/string()"~}}
{{~field name="history" order="162" hidden="false" type="text-area" labeli18n="ri.data.history" label='{"en": "History"}' xpath="//*:field[@name='history']/string()"~}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{! Format description }}
{{~field name="formatDescription" order="150" hidden="false" type="separator" labeli18n="ri.data.formatDescription" label='{"en": "Format description", "pt": "Descrição do formato"}'~}}
{{~field name="formatCategory" order="151" hidden="false" type="list" labeli18n="ri.data.formatCategory" label='{"en": "Format category"}' options='["still-image","sound","moving-image","textual","web-archive","dataset","geospatial","other"]' optionsLabels='{"still-image": {"en":"Still image", "pt":"Imagem fixa"},"sound": {"en":"Sound", "pt":"Som"},"moving-image": {"en":"Moving image", "pt":"Imagem em movimento"},"textual": {"en":"Textual", "pt":"Textual"},"web-archive": {"en":"Web archive", "pt":"Arquivo da web"},"dataset": {"en":"Dataset", "pt":"Conjunto de dados"},"geospatial": {"en":"Geospatial", "pt":"Geoespacial"},"other": {"en":"Other", "pt":"Outro"}}' optionsLabelI18nKeyPrefix="ri.data.formatCategory" xpath="//*:field[@name='formatCategory']/string()"~}}
{{~field name="formatDescription" order="150" hidden="false" type="separator" labeli18n="ri.data.formatDescription" label='{"en": "Format description", "pt_PT": "Descrição do formato"}'~}}
{{~field name="formatCategory" order="151" hidden="false" type="list" labeli18n="ri.data.formatCategory" label='{"en": "Format category"}' options='["still-image","sound","moving-image","textual","web-archive","dataset","geospatial","other"]' optionsLabels='{"still-image": {"en":"Still image", "pt_PT":"Imagem fixa"},"sound": {"en":"Sound", "pt_PT":"Som"},"moving-image": {"en":"Moving image", "pt_PT":"Imagem em movimento"},"textual": {"en":"Textual", "pt_PT":"Textual"},"web-archive": {"en":"Web archive", "pt_PT":"Arquivo da web"},"dataset": {"en":"Dataset", "pt_PT":"Conjunto de dados"},"geospatial": {"en":"Geospatial", "pt_PT":"Geoespacial"},"other": {"en":"Other", "pt_PT":"Outro"}}' optionsLabelI18nKeyPrefix="ri.data.formatCategory" xpath="//*:field[@name='formatCategory']/string()"~}}
{{~field name="formatDesignation" order="152" hidden="false" type="text" labeli18n="ri.data.formatDesignation" label='{"en": "Format designation"}' xpath="//*:field[@name='formatDesignation']/string()"~}}
{{~field name="version" order="153" hidden="false" type="text" labeli18n="ri.data.version" label='{"en": "Version"}' xpath="//*:field[@name='version']/string()"~}}

{{! Sustainability factors }}
{{~field name="sustainabilityFactors" order="160" hidden="false" type="separator" labeli18n="ri.data.sustainabilityFactors" label='{"en": "Sustainability factors", "pt": "Fatores de sustentabilidade"}'~}}
{{~field name="sustainabilityFactors" order="160" hidden="false" type="separator" labeli18n="ri.data.sustainabilityFactors" label='{"en": "Sustainability factors", "pt_PT": "Fatores de sustentabilidade"}'~}}
{{~field name="disclosure" order="161" hidden="false" type="text-area" labeli18n="ri.data.disclosure" label='{"en": "Disclosure"}' xpath="//*:field[@name='disclosure']/string()"~}}
{{~field name="documentation" order="162" hidden="false" type="text-area" labeli18n="ri.data.documentation" label='{"en": "Documentation"}' xpath="//*:field[@name='documentation']/string()"~}}
{{~field name="adoption" order="163" hidden="false" type="text-area" labeli18n="ri.data.adoption" label='{"en": "Adoption"}' xpath="//*:field[@name='adoption']/string()"~}}
Expand All @@ -16,18 +16,18 @@
{{~field name="technicalProtectionConsiderations" order="168" hidden="false" type="text-area" labeli18n="ri.data.technicalProtectionConsiderations" label='{"en": "Technical protection considerations"}' xpath="//*:field[@name='technicalProtectionConsiderations']/string()"~}}

{{! Format characteristics }}
{{~field name="formatCharacteristics" order="170" hidden="false" type="separator" labeli18n="ri.data.formatCharacteristics" label='{"en": "Format characteristics", "pt": "Características do formato"}'~}}
{{~field name="formatCharacteristics" order="170" hidden="false" type="separator" labeli18n="ri.data.formatCharacteristics" label='{"en": "Format characteristics", "pt_PT": "Características do formato"}'~}}
{{~field name="relevantCharacteristics" order="171" hidden="false" type="text-area" labeli18n="ri.data.relevantCharacteristics" label='{"en": "Relevant characteristics"}' xpath="//*:field[@name='relevantCharacteristics']/string()"~}}
{{~field name="functionalityBeyondNormalRendering" order="172" hidden="false" type="text-area" labeli18n="ri.data.functionalityBeyondNormalRendering" label='{"en": "Functionality beyond normal rendering"}' xpath="//*:field[@name='functionalityBeyondNormalRendering']/string()"~}}

{{! Format identifiers }}
{{~field name="formatIdentifiers" order="180" hidden="false" type="separator" labeli18n="ri.data.formatIdentifiers" label='{"en": "Format identifiers", "pt": "Identificadores de formato"}'~}}
{{~field name="formatIdentifiers" order="180" hidden="false" type="separator" labeli18n="ri.data.formatIdentifiers" label='{"en": "Format identifiers", "pt_PT": "Identificadores de formato"}'~}}
{{~field name="filenameExtension" order="181" hidden="false" type="text-area" labeli18n="ri.data.filenameExtension" label='{"en": "Filename extension"}' xpath="//*:field[@name='filenameExtension']/string()"~}}
{{~field name="internetMediaType" order="182" hidden="false" type="text-area" labeli18n="ri.data.internetMediaType" label='{"en": "Internet media type"}' xpath="//*:field[@name='internetMediaType']/string()"~}}
{{~field name="pronomPUID" order="183" hidden="false" type="text-area" labeli18n="ri.data.pronomPUID" label='{"en": "Pronom PUID"}' xpath="//*:field[@name='pronomPUID']/string()"~}}

{{! Notes }}
{{~field name="notes" order="190" hidden="false" type="separator" labeli18n="ri.data.notes" label='{"en": "Notes", "pt": "Notas"}'~}}
{{~field name="notes" order="190" hidden="false" type="separator" labeli18n="ri.data.notes" label='{"en": "Notes", "pt_PT": "Notas"}'~}}
{{~field name="general" order="191" hidden="false" type="text-area" labeli18n="ri.data.general" label='{"en": "General"}' xpath="//*:field[@name='general']/string()"~}}
{{~field name="history" order="192" hidden="false" type="text-area" labeli18n="ri.data.history" label='{"en": "History"}' xpath="//*:field[@name='history']/string()"~}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{! Organisation description }}
{{~field name="organisationDescription" order="150" hidden="false" type="separator" labeli18n="ri.data.organisationDescription" label='{"en": "Organisation description", "pt": "Descrição da organização"}'~}}
{{~field name="organisationCategory" order="151" hidden="false" type="list" labeli18n="ri.data.organisationCategory" label='{"en": "Organisation category"}' options='["private-corporation","public-body","not-for-profit","other"]' optionsLabels='{"private-corporation": {"en":"Private corporation", "pt":"Corporação privada"},"public-body": {"en":"Public body", "pt":"Organismo público"},"not-for-profit": {"en":"Not-for-profit", "pt":"Sem fins lucrativos"},"other": {"en":"Other", "pt":"Outro"}}' optionsLabelI18nKeyPrefix="ri.data.organisationCategory" xpath="//*:field[@name='organisationCategory']/string()"~}}
{{~field name="organisationDescription" order="150" hidden="false" type="separator" labeli18n="ri.data.organisationDescription" label='{"en": "Organisation description", "pt_PT": "Descrição da organização"}'~}}
{{~field name="organisationCategory" order="151" hidden="false" type="list" labeli18n="ri.data.organisationCategory" label='{"en": "Organisation category"}' options='["private-corporation","public-body","not-for-profit","other"]' optionsLabels='{"private-corporation": {"en":"Private corporation", "pt_PT":"Corporação privada"},"public-body": {"en":"Public body", "pt_PT":"Organismo público"},"not-for-profit": {"en":"Not-for-profit", "pt_PT":"Sem fins lucrativos"},"other": {"en":"Other", "pt_PT":"Outro"}}' optionsLabelI18nKeyPrefix="ri.data.organisationCategory" xpath="//*:field[@name='organisationCategory']/string()"~}}
{{~field name="organisationDesignation" order="152" hidden="false" type="text" labeli18n="ri.data.organisationDesignation" label='{"en": "Organisation designation"}' xpath="//*:field[@name='organisationDesignation']/string()"~}}
{{~field name="country" order="153" hidden="false" type="text" labeli18n="ri.data.country" label='{"en": "Country"}' xpath="//*:field[@name='country']/string()"~}}
{{~field name="headquarters" order="154" hidden="false" type="text-area" labeli18n="ri.data.headquarters" label='{"en": "Headquarters"}' xpath="//*:field[@name='headquarters']/string()"~}}
Expand All @@ -9,15 +9,15 @@
{{~field name="services" order="157" hidden="false" type="text-area" labeli18n="ri.data.services" label='{"en": "Services"}' xpath="//*:field[@name='services']/string()"~}}

{{! Sustainability factors }}
{{~field name="sustainabilityFactors" order="160" hidden="false" type="separator" labeli18n="ri.data.sustainabilityFactors" label='{"en": "Sustainability factors", "pt": "Fatores de sustentabilidade"}'~}}
{{~field name="sustainabilityFactors" order="160" hidden="false" type="separator" labeli18n="ri.data.sustainabilityFactors" label='{"en": "Sustainability factors", "pt_PT": "Fatores de sustentabilidade"}'~}}
{{~field name="dateOfEstablishment" order="161" hidden="false" type="date" labeli18n="ri.data.dateOfEstablishment" label='{"en": "Date of establishment"}' xpath="//*:field[@name='dateOfEstablishment']/string()"~}}
{{~field name="numberOfEmployees" order="162" hidden="false" type="text" labeli18n="ri.data.numberOfEmployees" label='{"en": "Number of employees"}' xpath="//*:field[@name='numberOfEmployees']/string()"~}}
{{~field name="revenue" order="163" hidden="false" type="text" labeli18n="ri.data.revenue" label='{"en": "Revenue"}' xpath="//*:field[@name='revenue']/string()"~}}
{{~field name="operatingCosts" order="164" hidden="false" type="text" labeli18n="ri.data.operatingCosts" label='{"en": "Operating costs"}' xpath="//*:field[@name='operatingCosts']/string()"~}}
{{~field name="netWorth" order="165" hidden="false" type="text" labeli18n="ri.data.netWorth" label='{"en": "Net worth"}' xpath="//*:field[@name='netWorth']/string()"~}}

{{! Notes }}
{{~field name="notes" order="170" hidden="false" type="separator" labeli18n="ri.data.notes" label='{"en": "Notes", "pt": "Notas"}'~}}
{{~field name="notes" order="170" hidden="false" type="separator" labeli18n="ri.data.notes" label='{"en": "Notes", "pt_PT": "Notas"}'~}}
{{~field name="general" order="171" hidden="false" type="text-area" labeli18n="ri.data.general" label='{"en": "General"}' xpath="//*:field[@name='general']/string()"~}}
{{~field name="history" order="172" hidden="false" type="text-area" labeli18n="ri.data.history" label='{"en": "History"}' xpath="//*:field[@name='history']/string()"~}}

Expand Down
Loading

0 comments on commit 7538884

Please sign in to comment.