fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
@@ -43,7 +43,7 @@ const HeaderLogo = ({
|
||||
<SkeletonWrapper loading={isLoading || !logoLoaded} type='image' />
|
||||
<img
|
||||
src={logo}
|
||||
alt='logo'
|
||||
alt={t('网站标志')}
|
||||
className={`absolute inset-0 w-full h-full object-contain ${!isLoading && logoLoaded ? 'opacity-100' : 'opacity-0'}`}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { I18N_TECHNICAL_TEXT } from '../../../i18n/technicalText.js';
|
||||
import React from 'react';
|
||||
import { Button as AntButton } from 'antd';
|
||||
import { Dropdown } from '@/components/ui';
|
||||
@@ -51,7 +52,11 @@ const NewYearButton = ({ isNewYear, t }) => {
|
||||
>
|
||||
<AntButton
|
||||
type='text'
|
||||
icon={<span className='text-xl'>🎉</span>}
|
||||
icon={
|
||||
<span className='text-xl'>
|
||||
{I18N_TECHNICAL_TEXT.CELEBRATION_ICON}
|
||||
</span>
|
||||
}
|
||||
aria-label={t('新年快乐')}
|
||||
className='ui-header-icon-action'
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user