Skip to content

Commit b32866d

Browse files
committed
feat: show Progress
1 parent a2de38f commit b32866d

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

pages/license-filter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const LicenseTool: FC<I18nProps> = observer(() => {
109109
className="mb-3"
110110
variant="info"
111111
now={(keyIndex + 1) * now}
112-
label={t('step_x', { step: keyIndex + 1 })}
112+
label={`${(keyIndex + 1) * now}%`}
113113
/>
114114
<Button className="mb-2" variant="warning" onClick={backToLast}>
115115
{t('last_step')}

translation/en-US.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export default {
5656
'Remember: You must read and understand the license agreement you choose',
5757
filter_option: 'filter option',
5858
option_undefined: 'Not required',
59-
step_x: ({ step }: { step: number }) => `step ${step}`,
6059
license_score: 'score',
6160
popularity: 'Popularity',
6261
reuseCondition: 'Reuse Condition',

translation/zh-CN.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export default {
5555
warn_info: '切记:必须阅读并理解您选择的许可协议',
5656
filter_option: '筛选条件',
5757
option_undefined: '不要求',
58-
step_x: ({ step }: { step: number }) => `第 ${step} 步`,
5958
license_score: '评分',
6059
popularity: '流行程度',
6160
reuseCondition: '复用条件',

translation/zh-TW.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export default {
5555
warn_info: '切記:必須閱讀並理解您選擇的許可協議',
5656
filter_option: '篩選條件',
5757
option_undefined: '不要求',
58-
step_x: ({ step }: { step: number }) => `第 ${step} 步`,
5958
license_score: '評分',
6059
popularity: '流行程度',
6160
reuseCondition: '復用條件',

0 commit comments

Comments
 (0)