Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(typography): add locale for typography #1749

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions js/global-config/locale/ar_KW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,8 @@ export default {
rotateTipText: 'استدارة',
originalSizeTipText: 'أصلي',
},
typography: {
expand: 'توسيع',
copied: 'النسخ اكتمل'
}
} as const;
24 changes: 14 additions & 10 deletions js/global-config/locale/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,19 @@ export default {
content: 'Last Step',
theme: 'default',
},
image: {
errorText: 'unable to load',
loadingText: 'loading',
},
imageViewer: {
errorText: 'unable to load',
mirrorTipText: 'mirror',
rotateTipText: 'rotate',
originalSizeTipText: 'original',
},
},
image: {
errorText: 'unable to load',
loadingText: 'loading',
},
imageViewer: {
errorText: 'unable to load',
mirrorTipText: 'mirror',
rotateTipText: 'rotate',
originalSizeTipText: 'original',
},
typography: {
expand: 'more',
copied: 'copied'
}
} as const;
4 changes: 4 additions & 0 deletions js/global-config/locale/it_IT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,8 @@ export default {
rotateTipText: 'Ruota',
originalSizeTipText: 'Dimensione originale',
},
typography: {
expand: 'Espandere',
copied: 'Copia completata'
}
} as const;
4 changes: 4 additions & 0 deletions js/global-config/locale/ja_JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,8 @@ export default {
rotateTipText: '回転する',
originalSizeTipText: 'オリジナルサイズ',
},
typography: {
expand: 'もっと拡大する',
copied: 'コピー成功'
}
} as const;
4 changes: 4 additions & 0 deletions js/global-config/locale/ko_KR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,8 @@ export default {
rotateTipText: '회전하다',
originalSizeTipText: '원본 크기',
},
typography: {
expand: '펼치다',
copied: '복사 성공'
}
} as const;
4 changes: 4 additions & 0 deletions js/global-config/locale/ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,8 @@ export default {
rotateTipText: 'Поворот',
originalSizeTipText: 'Оригинальный размер',
},
typography: {
expand: 'раскрывать',
copied: 'Скопировано успешно'
}
} as const;
4 changes: 4 additions & 0 deletions js/global-config/locale/zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,8 @@ export default {
rotateTipText: '旋转',
originalSizeTipText: '原始大小',
},
typography: {
expand: '展开',
copied: '复制成功'
}
} as const;
4 changes: 4 additions & 0 deletions js/global-config/locale/zh_TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,8 @@ export default {
rotateTipText: '旋轉',
originalSizeTipText: '原始大小',
},
typography: {
expand: '展開',
copied: '復製成功'
}
} as const;
6 changes: 5 additions & 1 deletion style/web/components/typography/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
color: @typography-text-secondary-color;
}

.t-icon-chevron-down,
&-ellipsis-symbol,
.t-icon-copy {
color: @typography-icon-color;
cursor: pointer;
Expand All @@ -111,4 +111,8 @@
color: @typography-icon-color-hover;
}
}

.t-icon-checked {
color: @success-color;
}
}
Loading