-
Notifications
You must be signed in to change notification settings - Fork 86
Converted hard-coded search results sort option "by relevance" to configuration individual. #431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
home/src/main/resources/rdf/i18n/de_DE/display/firsttime/search_individuals_vitro.n3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@prefix : <https://vivoweb.org/ontology/vitro-search-individual/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
:filter_group_search_filters rdfs:label "Suchfilter"@de-DE . | ||
:filter_type rdfs:label "Typ"@de-DE . | ||
:filter_category rdfs:label "Kategorie"@de-DE . | ||
:sort_title_desc rdfs:label "Titel Z-A"@de-DE . | ||
:sort_title_asc rdfs:label "Titel A-Z"@de-DE . | ||
:sort_by_relevance rdfs:label "Relevanz"@de-DE . | ||
:field_label_sort rdfs:label "Etikettensortierfeld"@de-DE . | ||
:field_category rdfs:label "KlasseGruppe"@de-DE . | ||
:field_type rdfs:label "Typ"@de-DE . | ||
:filter_querytext rdfs:label "Text"@de-DE . | ||
:field_querytext rdfs:label "Standardfeld"@de-DE . |
40 changes: 40 additions & 0 deletions
40
home/src/main/resources/rdf/i18n/de_DE/interface-i18n/firsttime/vitro_extended_search.ttl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix uil-data: <http://vivoweb.org/ontology/vitro/ui-label/individual#> . | ||
@prefix uil: <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
uil-data:search_results_sort_by.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Sortieren nach {0}"@de-DE ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_sort_by" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_results_per_page.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} Ergebnisse pro Seite"@de-DE ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_per_page" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_field_placeholder.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Suchbegriff eingeben"@de-DE ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_field_placeholder" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:results_found.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} Ergebnisse gefunden"@de-DE ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "results_found" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
14 changes: 14 additions & 0 deletions
14
home/src/main/resources/rdf/i18n/en_CA/display/firsttime/search_individuals_vitro.n3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@prefix : <https://vivoweb.org/ontology/vitro-search-individual/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
:filter_group_search_filters rdfs:label "Filters"@en-CA . | ||
:filter_type rdfs:label "Type"@en-CA . | ||
:filter_category rdfs:label "Category"@en-CA . | ||
:sort_title_desc rdfs:label "Title Z-A"@en-CA . | ||
:sort_title_asc rdfs:label "Title A-Z"@en-CA . | ||
:sort_by_relevance rdfs:label "Relevance"@en-CA . | ||
:field_label_sort rdfs:label "Label sort field"@en-CA . | ||
:field_category rdfs:label "ClassGroup"@en-CA . | ||
:field_type rdfs:label "Type"@en-CA . | ||
:filter_querytext rdfs:label "Text"@en-CA . | ||
:field_querytext rdfs:label "Default field"@en-CA . |
40 changes: 40 additions & 0 deletions
40
home/src/main/resources/rdf/i18n/en_CA/interface-i18n/firsttime/vitro_extended_search.ttl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix uil-data: <http://vivoweb.org/ontology/vitro/ui-label/individual#> . | ||
@prefix uil: <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
uil-data:search_results_sort_by.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Sort by {0}"@en-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_sort_by" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_results_per_page.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} results per page"@en-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_per_page" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_field_placeholder.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Enter search term"@en-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_field_placeholder" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:results_found.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} results found"@en-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "results_found" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
3 changes: 2 additions & 1 deletion
3
home/src/main/resources/rdf/i18n/en_US/display/firsttime/search_individuals_vitro.n3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
home/src/main/resources/rdf/i18n/es/display/firsttime/search_individuals_vitro.n3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@prefix : <https://vivoweb.org/ontology/vitro-search-individual/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
:filter_group_search_filters rdfs:label "Filtros de búsqueda"@es . | ||
:filter_type rdfs:label "Tipo"@es . | ||
:filter_category rdfs:label "Categoría"@es . | ||
:sort_title_desc rdfs:label "Título Z-A"@es . | ||
:sort_title_asc rdfs:label "Título A-Z"@es . | ||
:sort_by_relevance rdfs:label "Relevancia"@es . | ||
:field_label_sort rdfs:label "Campo de clasificación de etiquetas"@es . | ||
:field_category rdfs:label "Grupo de clase"@es . | ||
:field_type rdfs:label "Tipo"@es . | ||
:filter_querytext rdfs:label "Texto"@es . | ||
:field_querytext rdfs:label "Campo predeterminado"@es . |
40 changes: 40 additions & 0 deletions
40
home/src/main/resources/rdf/i18n/es/interface-i18n/firsttime/vitro_extended_search.ttl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix uil-data: <http://vivoweb.org/ontology/vitro/ui-label/individual#> . | ||
@prefix uil: <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
uil-data:search_results_sort_by.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Ordenar por {0}"@es ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_sort_by" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_results_per_page.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} resultados por página"@es ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_per_page" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_field_placeholder.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Introduzca el término de búsqueda"@es ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_field_placeholder" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:results_found.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} resultados encontrados"@es ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "results_found" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
14 changes: 14 additions & 0 deletions
14
home/src/main/resources/rdf/i18n/fr_CA/display/firsttime/search_individuals_vitro.n3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@prefix : <https://vivoweb.org/ontology/vitro-search-individual/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
:filter_group_search_filters rdfs:label "Filtres"@fr-CA . | ||
:filter_type rdfs:label "Taper"@fr-CA . | ||
:filter_category rdfs:label "Catégorie"@fr-CA . | ||
:sort_title_desc rdfs:label "Titre Z-A"@fr-CA . | ||
:sort_title_asc rdfs:label "Titre A-Z"@fr-CA . | ||
:sort_by_relevance rdfs:label "Pertinence"@fr-CA . | ||
:field_label_sort rdfs:label "Champ de tri des étiquettes"@fr-CA . | ||
:field_category rdfs:label "Groupe de classe"@fr-CA . | ||
:field_type rdfs:label "Taper"@fr-CA . | ||
:filter_querytext rdfs:label "Texte"@fr-CA . | ||
:field_querytext rdfs:label "Champ par défaut"@fr-CA . |
40 changes: 40 additions & 0 deletions
40
home/src/main/resources/rdf/i18n/fr_CA/interface-i18n/firsttime/vitro_extended_search.ttl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix uil-data: <http://vivoweb.org/ontology/vitro/ui-label/individual#> . | ||
@prefix uil: <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
uil-data:search_results_sort_by.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Trier par {0}"@fr-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_sort_by" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_results_per_page.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} résultats par page"@fr-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_results_per_page" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:search_field_placeholder.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "Entrez le terme de recherche"@fr-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "search_field_placeholder" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
||
uil-data:results_found.Vitro | ||
rdf:type owl:NamedIndividual ; | ||
rdf:type uil:PropertyKey ; | ||
rdfs:label "{0} résultats trouvés"@fr-CA ; | ||
uil:hasApp "Vitro" ; | ||
uil:hasKey "results_found" ; | ||
uil:hasPackage "Vitro-languages" . | ||
|
14 changes: 14 additions & 0 deletions
14
home/src/main/resources/rdf/i18n/pt_BR/display/firsttime/search_individuals_vitro.n3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@prefix : <https://vivoweb.org/ontology/vitro-search-individual/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
:filter_group_search_filters rdfs:label "Filtros"@pt-BR . | ||
:filter_type rdfs:label "Tipo"@pt-BR . | ||
:filter_category rdfs:label "Categoria"@pt-BR . | ||
:sort_title_desc rdfs:label "Título Z-A"@pt-BR . | ||
:sort_title_asc rdfs:label "Título A-Z"@pt-BR . | ||
:sort_by_relevance rdfs:label "Relevância"@pt-BR . | ||
:field_label_sort rdfs:label "Campo de classificação de rótulo"@pt-BR . | ||
litvinovg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
:field_category rdfs:label "Grupo de Classe"@pt-BR . | ||
:field_type rdfs:label "Tipo"@pt-BR . | ||
:filter_querytext rdfs:label "Texto"@pt-BR . | ||
:field_querytext rdfs:label "Campo padrão"@pt-BR . |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.