Skip to content

Commit

Permalink
THE-1364 traductions filtres resultats
Browse files Browse the repository at this point in the history
  • Loading branch information
clementdelafontaine committed Oct 11, 2024
1 parent 54ac267 commit d6faf2a
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 33 deletions.
4 changes: 2 additions & 2 deletions components/common/results/FacetDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</v-icon>
</template>
<h2 :id="'facet-title-' + index" class="facet-title">
{{ facet.name }}
{{ $t('results.facet.' + facet.name) }}
</h2>
<v-btn @click.stop="" @click="reinitializeCheckboxes(); reinitializeFilterSearchText();" class="reinitialize-button" size="small" depressed
elevation="0" color="surface" :title="$t('reinitializeFacet') + facet.name">
Expand All @@ -20,7 +20,7 @@
append-inner-icon="mdi-magnify" density="compact" single-line hide-details
class="facet-search-bar"></v-text-field>
</div>
<div role="list" :aria-label="'Liste des ' + facet.name" class="panel-text" ref="`facet-${facet.name}`">
<div role="list" :aria-label="$t('results.facet.list') + $t('results.facet.' + facet.name)" class="panel-text" ref="`facet-${facet.name}`">
<!-- Facette date-->
<div v-if="date" class="date-container">
<span class="date-item">
Expand Down
2 changes: 1 addition & 1 deletion components/common/results/FacetsHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<v-btn v-if="!mobile" @click.stop="" @click="searchAndReinitializeAllFacets" size="small" depressed elevation="0"
color="surface" class="desktop-reinitialize-button" :aria-label="$t('reinitializeAll')">
<v-icon>mdi-reload</v-icon> Réinitialiser
<v-icon>mdi-reload</v-icon> {{ $t('results.facet.reset') }}
</v-btn>
<button v-else @click="closeOverlay" class="close-overlay-button" elevation="0" color="transparent">
<div class="close-overlay-icon-wrapper">
Expand Down
70 changes: 42 additions & 28 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"explorer": "Explore",
"exploreByType": "Explore data by type",
"rechercher": "Search",
"rechercherTheses" : "Search thesis",
"rechercherTheses": "Search thesis",
"rechercherPersonnes": "Search for people, by name or area of expertise",
"simple": "Simple search",
"vider": "Reset fields",
Expand All @@ -37,7 +37,7 @@
"scroll": "Top of the page",
"clear": "Delete",
"searchButton": "Search",
"avancee":"Advanced search",
"avancee": "Advanced search",
"disableSuggestion": "Deactivate input help",
"top": "Top of the page",
"menu": "Menu",
Expand Down Expand Up @@ -67,7 +67,7 @@
"since": "Since",
"et": "and "
},
"advancedSearch" : {
"advancedSearch": {
"operator": "Operator between fields",
"or": "OR",
"and": "AND",
Expand Down Expand Up @@ -116,8 +116,8 @@
"type": "Type",
"disciplines": "Discipline(s)",
"dateSoutenance": "Date",
"ecoles" : "Doctoral school(s)",
"etablissements" : "Institution(s)",
"ecoles": "Doctoral school(s)",
"etablissements": "Institution(s)",
"partenariat": "Research partner(s)",
"jury": "PhD examining panel",
"president": "Chair :",
Expand Down Expand Up @@ -146,9 +146,9 @@
"modalOk": "Validate",
"modalCancel": "Cancel",
"others": "Other versions",
"Laboratoire" : "Laboratory"
"Laboratoire": "Laboratory"
},
"référent" : "Referent",
"référent": "Referent",
"Examinateurs / Examinatrices": "Examiners",
"Rapporteurs / Rapporteuses": "Reviewers",
"Président / Présidente": "Chair",
Expand All @@ -164,7 +164,7 @@
"voirPlus": "See all theses"
},
"results": {
"facetsHeader": "See all theses",
"facetsHeader": "Filters",
"searching": "Search...",
"chips": {
"from": "from",
Expand All @@ -183,8 +183,22 @@
"ariaSortBy": "Choice of search sorting.",
"searched": "Search for",
"returned": "returned",
"results": "result(s)"
"results": "result(s)",
"facet": {
"reset": "Reset",
"Date": "Date",
"Statut": "Status",
"Établissements": "Institutions",
"Écoles doctorales": "Doctoral schools",
"Domaines thématiques": "Thematic areas",
"Disciplines": "Disciplines",
"Langues": "Languages"
}
},
"En préparation": "In preparation",
"Soutenues": "Defended",
"Accessibles en ligne": "Available online",
"list": "List of ",
"loading": "Search in progress...",
"personnes": {
"searchBar": {
Expand Down Expand Up @@ -235,22 +249,22 @@
"annuler": "Cancel",
"requis": "This field is mandatory",
"mailInvalide": "Invalid e-mail address ([email protected])",
"info" : "The data you see on theses.fr is the responsibility of the institutions authorised to award doctorates. This form enables you to contact the institution that manages the thesis directly: ",
"info": "The data you see on theses.fr is the responsibility of the institutions authorised to award doctorates. This form enables you to contact the institution that manages the thesis directly: ",
"msg": "Your message has been successfully sent.",
"mandatory": "Fields marked with an asterisk (*) are mandatory.",
"informationLegale1" : "Submitting the form requires acceptance of the reCAPTCHA cookie. If you do not wish to accept the reCAPTCHA cookie, we invite you to use the",
"informationLegale2" : "ABESstp support desk",
"informationLegale3" : "to report an error. To modify your cookie preferences, click on the icon",
"informationLegale4" : "at the bottom right of the screen.",
"informationLegale5" : "This form is protected by reCAPTCHA and the",
"informationLegale6" : "Privacy Policies",
"informationLegale7" : "Terms of Service",
"informationLegale8" : "of Google apply.",
"description" : "Report errors in the thesis description",
"access" : "Report an access issue with the document",
"cancelling" : "Report the completion or abandonment of the thesis project",
"personnalData" : "Report errors on personal data (right to rectification)",
"others" : "Other"
"informationLegale1": "Submitting the form requires acceptance of the reCAPTCHA cookie. If you do not wish to accept the reCAPTCHA cookie, we invite you to use the",
"informationLegale2": "ABESstp support desk",
"informationLegale3": "to report an error. To modify your cookie preferences, click on the icon",
"informationLegale4": "at the bottom right of the screen.",
"informationLegale5": "This form is protected by reCAPTCHA and the",
"informationLegale6": "Privacy Policies",
"informationLegale7": "Terms of Service",
"informationLegale8": "of Google apply.",
"description": "Report errors in the thesis description",
"access": "Report an access issue with the document",
"cancelling": "Report the completion or abandonment of the thesis project",
"personnalData": "Report errors on personal data (right to rectification)",
"others": "Other"
},
"footer": {
"texte": "The theses.fr search engine lists all the doctoral theses defended in France since 1985, the thesis subjects prepared in French higher education establishments, and the people involved in French doctoral research. The database is constantly evolving.",
Expand All @@ -271,7 +285,7 @@
"doc": "Go to theses.fr documentation ",
"assistance": "Go to the Abes helpdesk",
"accessibility": "Accessibility tools",
"localeSelection" : "Site language selection"
"localeSelection": "Site language selection"
},
"meta": {
"desc": "Theses.fr is a search engine for French PhD theses, and provides access to doctoral theses that have been defended or are in progress.",
Expand All @@ -281,16 +295,16 @@
"descThese": "Thesis details page ",
"descPersonne": "Detailed page for "
},
"access" : {
"access": {
"params": "Accessibility settings",
"btn": "Customise the interface display",
"police": "Font suitable for dyslexic users",
"interligne": "Increase line spacing",
"justification": "Deactivate text justification",
"fermer": "Close",
"contrast": "Enhanced contrast",
"contrast-aria" : "Switch theme: high contrast",
"inverted" : "Inverted contrast",
"inverted-aria" : "Switch theme: inverted contrast"
"contrast-aria": "Switch theme: high contrast",
"inverted": "Inverted contrast",
"inverted-aria": "Switch theme: inverted contrast"
}
}
16 changes: 15 additions & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,22 @@
"ariaSortBy": "Elección del orden en la búsqueda.",
"searched": "La búsqueda sobre",
"returned": "ha devuelto",
"results": "resultado(s)"
"results": "resultado(s)",
"facet": {
"reset": "Restablecer",
"Date": "Fecha",
"Statut": "Estado",
"Établissements": "Instituciones",
"Écoles doctorales": "Escuelas doctorales",
"Domaines thématiques": "Áreas temáticas",
"Disciplines": "Disciplinas",
"Langues": "Idiomas"
}
},
"En préparation": "En preparación",
"Soutenues": "Defendidas",
"Accessibles en ligne": "Disponibles en línea",
"list": "Lista de ",
"loading": "Buscando...",
"personnes": {
"searchBar": {
Expand Down
16 changes: 15 additions & 1 deletion locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,22 @@
"ariaSortBy": "Choix du tri sur la recherche.",
"searched": "La recherche sur",
"returned": "a retourné",
"results": "résultat(s)"
"results": "résultat(s)",
"facet": {
"reset": "Réinitialiser",
"Date": "Date",
"Statut": "Statut",
"Établissements": "Établissements",
"Écoles doctorales": "Écoles doctorales",
"Domaines thématiques": "Domaines thématiques",
"Disciplines": "Disciplines",
"Langues": "Langues",
"En préparation": "En préparation"
}
},
"Soutenues": "Soutenues",
"Accessibles en ligne": "Accessibles en ligne",
"list": "Liste des ",
"loading": "Recherche en cours...",
"personnes": {
"searchBar": {
Expand Down

0 comments on commit d6faf2a

Please sign in to comment.