-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️(frontend) remove usage of react-intl-po
Using react-intl-po with new version of react-intl was not working anymore. In order to remove the usage of react-intl-po we entirely our i18 workflow. Everythin is managed using react-intl cli tool. In a first step it extract messages, this messages are uploaded on crowdin and then compiled once translated.
- Loading branch information
Showing
23 changed files
with
802 additions
and
981 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
js/translations/* | ||
i18n/**/* | ||
public-path.js |
This file contains 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 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,166 @@ | ||
{ | ||
"components.CourseGlimpse.cover": { | ||
"description": "Placeholder text when the course we are glimpsing at is missing a cover image", | ||
"message": "Portada" | ||
}, | ||
"components.CourseGlimpseList.courseCount": { | ||
"description": "Result count & pagination information for course search. Appears right above search results", | ||
"message": "Mostrando {start, number} a {end, number} de {courseCount, number} ¡ {courseCount, plural, one {curso} other {cursos}} que coinciden con su búsqueda" | ||
}, | ||
"components.CourseRunEnrollment.enroll": { | ||
"description": "CTA for users who can enroll in the course run or could enroll if they logged in.", | ||
"message": "" | ||
}, | ||
"components.CourseRunEnrollment.enrolled": { | ||
"description": "Help text for users who see the \"Go to course\" CTA on course run enrollment", | ||
"message": "" | ||
}, | ||
"components.CourseRunEnrollment.enrollmentClosed": { | ||
"description": "Help text replacing the CTA on a course run when enrollment is closed.", | ||
"message": "" | ||
}, | ||
"components.CourseRunEnrollment.enrollmentFailed": { | ||
"description": "Help text below the \"Enroll now\" CTA when an enrollment attempt has already failed.", | ||
"message": "" | ||
}, | ||
"components.CourseRunEnrollment.goToCourse": { | ||
"description": "CTA for users who are already enrolled in a course run.", | ||
"message": "" | ||
}, | ||
"components.CourseRunEnrollment.loadingInitial": { | ||
"description": "Accessible text for the initial loading spinner on the course run enrollment button.", | ||
"message": "" | ||
}, | ||
"components.CourseRunEnrollment.loginToEnroll": { | ||
"description": "Helper text in the enroll button for non logged in users", | ||
"message": "" | ||
}, | ||
"components.DesktopUserMenu.menuPurpose": { | ||
"description": "Accessible label for user menu button", | ||
"message": "" | ||
}, | ||
"components.LanguageSelector.currentlySelected": { | ||
"description": "Accessible hint to mark the currently selected language in the language selector", | ||
"message": "" | ||
}, | ||
"components.LanguageSelector.languages": { | ||
"description": "Default text for the language selector button when the current language cannot be identified", | ||
"message": "" | ||
}, | ||
"components.LanguageSelector.selectLanguage": { | ||
"description": "Accessible label for the language selector button", | ||
"message": "" | ||
}, | ||
"components.LanguageSelector.switchToLanguage": { | ||
"description": "Accessible link title for the language switching links in language selector", | ||
"message": "" | ||
}, | ||
"components.PaginateCourseSearch.currentlyReadingLastPageN": { | ||
"description": "Accessibility helper in pagination, shown next to the current page number when it is the last page.", | ||
"message": "Leyendo la última página {page}" | ||
}, | ||
"components.PaginateCourseSearch.currentlyReadingPageN": { | ||
"description": "Accessibility helper in pagination, shown next to the current page number when it is not the last page.", | ||
"message": "Actualmente leyendo la página {page}" | ||
}, | ||
"components.PaginateCourseSearch.lastPageN": { | ||
"description": "Accessibility helper for pagination, added on the last page link.", | ||
"message": "Última página {page}" | ||
}, | ||
"components.PaginateCourseSearch.nextPageN": { | ||
"description": "Accessibility helper for pagination, added on the next page link.", | ||
"message": "Página {page}" | ||
}, | ||
"components.PaginateCourseSearch.pageN": { | ||
"description": "Accessibility helper for pagination, added on all page links for screen readers,\n only shown next to \"page 1\" visually.", | ||
"message": "Página {page}" | ||
}, | ||
"components.PaginateCourseSearch.pagination": { | ||
"description": "Label for the pagination navigation in course search results.", | ||
"message": "Paginación" | ||
}, | ||
"components.PaginateCourseSearch.previousPageN": { | ||
"description": "Accessibility helper for pagination, added on the previous page link.", | ||
"message": "Página anterior {page}" | ||
}, | ||
"components.RootSearchSuggestField.searchFieldPlaceholder": { | ||
"description": "Placeholder text displayed in the search field when it is empty.", | ||
"message": "Buscar cursos" | ||
}, | ||
"components.Search.errorMessage": { | ||
"description": "Error message for Search view when the request to load courses fails", | ||
"message": "" | ||
}, | ||
"components.Search.hideFiltersPane": { | ||
"description": "Accessibility text for the button/icon that toggles *off* the filters pane on mobile", | ||
"message": "Ocultar panel de filtros" | ||
}, | ||
"components.Search.showFiltersPane": { | ||
"description": "Accessibility text for the button/icon that toggles *on* the filters pane on mobile", | ||
"message": "Mostrar panel de filtros" | ||
}, | ||
"components.Search.spinnerText": { | ||
"description": "Accessibility text for the spinner while search results are being loaded", | ||
"message": "Cargando resultados de búsqueda..." | ||
}, | ||
"components.SearchFilterGroupModal.closeModal": { | ||
"description": "Text for the button to close the search filters modal", | ||
"message": "Cerrar" | ||
}, | ||
"components.SearchFilterGroupModal.error": { | ||
"description": "Error message when the search for more filter value fails in the search filters modal.", | ||
"message": "Se ha producido un error al buscar {filterName}." | ||
}, | ||
"components.SearchFilterGroupModal.modalTitle": { | ||
"description": "Title for the modal to add more filter values in the search filters modal.", | ||
"message": "Añadir filtros para {filterName}" | ||
}, | ||
"components.SearchFilterGroupModal.moreOptionsButton": { | ||
"description": "Test for the button to see more filter values than the top N that appear by default.", | ||
"message": "Más opciones" | ||
}, | ||
"components.SearchFilterGroupModal.queryTooShort": { | ||
"description": "Users need to enter at least 3 characters to search for more filter values; this message informs them when they start typing.", | ||
"message": "Escriba por lo menos 3 caracteres para iniciar la búsqueda." | ||
}, | ||
"components.SearchFilterValueParent.ariaHideChildren": { | ||
"description": "Accessibility message for the button to hide children of the current filter", | ||
"message": "Ocultar filtros adicionales para {filterValueName}" | ||
}, | ||
"components.SearchFilterValueParent.ariaShowChildren": { | ||
"description": "Accessibility message for the button to show children of the current filter", | ||
"message": "Mostrar más filtros para {filterValueName}" | ||
}, | ||
"components.SearchFiltersPane.clearFilters": { | ||
"description": "Helper button in search filters pane in search page to remove all active filters", | ||
"message": "Retirar {activeFilterCount, number} activo {activeFilterCount, plural, one {filtro} other {filtros}}" | ||
}, | ||
"components.SearchFiltersPane.title": { | ||
"description": "Title for the search filters pane in course search.", | ||
"message": "Filtrar cursos" | ||
}, | ||
"components.SearchInput.button": { | ||
"description": "Accessibility text for the search button inside the Search input.", | ||
"message": "Buscar" | ||
}, | ||
"components.SearchSuggestField.searchFieldPlaceholder": { | ||
"description": "Placeholder text displayed in the search field when it is empty.", | ||
"message": "Buscar cursos, organizaciones, categorías" | ||
}, | ||
"components.UserLogin.logIn": { | ||
"description": "Text for the login button.", | ||
"message": "Iniciar sesión" | ||
}, | ||
"components.UserLogin.logOut": { | ||
"description": "Text for the logout button.", | ||
"message": "Cerrar sesión" | ||
}, | ||
"components.UserLogin.signup": { | ||
"description": "Text for the signup button.", | ||
"message": "Regístrarse" | ||
}, | ||
"components.UserLogin.spinnerText": { | ||
"description": "Accessibility text for the spinner in the login area.", | ||
"message": "Cargando estado de inicio de sesión..." | ||
} | ||
} |
Oops, something went wrong.