Refactor welcome modal and sections to use translation context

- Replaced variable-based message retrieval with translation context in Welcome.jsx, Final.jsx, ImportSettings.jsx, Intro.jsx, PrivacyOptions.jsx, StyleSelection.jsx, and ThemeSelection.jsx components.
- Updated button texts and section titles to utilize the new translation method for better localization support.
- Cleaned up unused imports and improved code readability by removing unnecessary else statements in deepLinking.js and load.js.
- Ensured all localization files end with a newline for consistency.
This commit is contained in:
alexsparkes
2026-02-04 19:33:39 +00:00
parent 6044b02749
commit 1c7fe206af
118 changed files with 955 additions and 1142 deletions

View File

@@ -119,7 +119,11 @@ function Search() {
<form onSubmit={searchButton} className="searchBar">
<div className={classList}>
<Tooltip title={t('widgets.search')}>
<button className="navbarButton" onClick={searchButton} aria-label={t('common.search_label')}>
<button
className="navbarButton"
onClick={searchButton}
aria-label={t('common.search_label')}
>
<MdSearch />
</button>
</Tooltip>