mirror of
https://github.com/mue/mue.git
synced 2026-07-27 10:41:08 +02:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user