0 ? {runningApps.length} : null}
>
{runningApps.length > 0 ? (
@@ -255,13 +257,13 @@ const MiniAppGalleryView: React.FC = () => {
) : (
- 暂无运行中的应用
+ {t('miniApps.noRunningApps')}
)}
{categories.length > 1 ? (
@@ -278,12 +280,12 @@ const MiniAppGalleryView: React.FC = () => {
.join(' ')}
onClick={() => setCategoryFilter(category)}
>
- {category === 'all' ? '全部' : category}
+ {category === 'all' ? t('miniApps.categories.all') : category}
))}
) : null}
-