From cd9d6513d48771f7bd85669ffb420ee27fe247a2 Mon Sep 17 00:00:00 2001 From: luojiyin Date: Thu, 11 Jul 2024 23:31:13 +0800 Subject: [PATCH 1/5] polyfill page i18n --- pages/polyfill.tsx | 8 +++++--- translation/en-US.ts | 5 +++++ translation/zh-CN.ts | 5 +++++ translation/zh-TW.ts | 5 +++++ 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/pages/polyfill.tsx b/pages/polyfill.tsx index ba36d6b..62fa9f3 100644 --- a/pages/polyfill.tsx +++ b/pages/polyfill.tsx @@ -58,7 +58,9 @@ export default class PolyfillPage extends Component {

{t('Web_polyfill_CDN')}

- + {Object.entries(UserAgent).map(([name, value]) => ( - features + {t('features')} Date: Thu, 11 Jul 2024 23:34:11 +0800 Subject: [PATCH 2/5] fix typo --- translation/zh-TW.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation/zh-TW.ts b/translation/zh-TW.ts index c404026..0f2ae3d 100644 --- a/translation/zh-TW.ts +++ b/translation/zh-TW.ts @@ -107,7 +107,7 @@ export default { last_step: '上一步', //polyfill page - selectCompatibleBrowsers: '選擇相容瀏覽器', + selectCompatibleBrowser: '選擇相容瀏覽器', features: '選擇功能模組', searchFeature: '搜尋功能模組', } as const; From 5c922146f1ad6343492625f39f932db2565e22dd Mon Sep 17 00:00:00 2001 From: luojiyin Date: Fri, 12 Jul 2024 08:24:29 +0800 Subject: [PATCH 3/5] fix from review --- translation/en-US.ts | 8 ++++---- translation/zh-CN.ts | 8 ++++---- translation/zh-TW.ts | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/translation/en-US.ts b/translation/en-US.ts index a742a05..e901fb4 100644 --- a/translation/en-US.ts +++ b/translation/en-US.ts @@ -109,8 +109,8 @@ export default { range_module: 'module', last_step: 'back', - //polyfill page - selectCompatibleBrowser: 'select Compatible Browser', - features: 'select features', - searchFeature: 'search Feature', + //Polyfill page + select_compatible_browser: 'select Compatible Browser', + select_features: 'select features', + search_feature: 'search Feature', } as const; diff --git a/translation/zh-CN.ts b/translation/zh-CN.ts index a9d9c53..cf7c6bd 100644 --- a/translation/zh-CN.ts +++ b/translation/zh-CN.ts @@ -106,8 +106,8 @@ export default { range_module: '模块', last_step: '上一步', - //polyfill page - selectCompatibleBrowser: '选择兼容浏览器', - features: '选择功能组件', - searchFeature: '搜索功能组件', + //Polyfill page + select_compatible_browser: '选择兼容浏览器', + features: '选择特性', + search_feature: '搜索特性', } as const; diff --git a/translation/zh-TW.ts b/translation/zh-TW.ts index 0f2ae3d..bd87cc1 100644 --- a/translation/zh-TW.ts +++ b/translation/zh-TW.ts @@ -106,8 +106,8 @@ export default { range_module: '模組', last_step: '上一步', - //polyfill page - selectCompatibleBrowser: '選擇相容瀏覽器', - features: '選擇功能模組', - searchFeature: '搜尋功能模組', + //Polyfill page + select_compatible_browser: '選擇相容瀏覽器', + select_features: '選擇特性', + search_feature: '搜尋特性', } as const; From 43babc7b3927e92cbf1ee779784052fba0699ce3 Mon Sep 17 00:00:00 2001 From: luojiyin Date: Fri, 12 Jul 2024 08:25:44 +0800 Subject: [PATCH 4/5] fix typo --- translation/zh-CN.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation/zh-CN.ts b/translation/zh-CN.ts index cf7c6bd..b2f51c3 100644 --- a/translation/zh-CN.ts +++ b/translation/zh-CN.ts @@ -108,6 +108,6 @@ export default { //Polyfill page select_compatible_browser: '选择兼容浏览器', - features: '选择特性', + select_features: '选择特性', search_feature: '搜索特性', } as const; From 1bdc1232ba42ebc93ce1a6bd3369a9b4bf8f194a Mon Sep 17 00:00:00 2001 From: luojiyin Date: Fri, 12 Jul 2024 08:27:34 +0800 Subject: [PATCH 5/5] fix from review --- pages/polyfill.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/polyfill.tsx b/pages/polyfill.tsx index 62fa9f3..ac2d4ca 100644 --- a/pages/polyfill.tsx +++ b/pages/polyfill.tsx @@ -59,7 +59,7 @@ export default class PolyfillPage extends Component {

{t('Web_polyfill_CDN')}

{Object.entries(UserAgent).map(([name, value]) => ( - {t('features')} + {t('select_features')}