Skip to content

Commit

Permalink
feat(typography): add locale for typography
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Mar 20, 2024
1 parent 61f726f commit b3f4f45
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 11 deletions.
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;
}
}

0 comments on commit b3f4f45

Please sign in to comment.