Skip to content

Commit

Permalink
feat: 更改文案
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Sep 28, 2022
1 parent e56753d commit 820107a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
9 changes: 7 additions & 2 deletions src/components/Resume/Template1/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ export const Template1: React.FC<Props> = props => {
<div className="basic-info">
{/* 头像 */}
{!value?.avatar?.hidden && (
<Avatar avatarSrc={value?.avatar?.src} className="avatar" shape={value?.avatar?.shape} size={value?.avatar?.size} />
<Avatar
avatarSrc={value?.avatar?.src}
className="avatar"
shape={value?.avatar?.shape}
size={value?.avatar?.size}
/>
)}
{/* 个人信息 */}
<div className="profile">
Expand Down Expand Up @@ -140,7 +145,7 @@ export const Template1: React.FC<Props> = props => {
style={{ color: theme.color, opacity: 0.85 }}
/>
<span>
{i18n.get('工作地')}: {profile.workPlace}
{i18n.get('期望工作地')}: {profile.workPlace}
</span>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Resume/Template2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const Template2: React.FC<Props> = props => {
style={{ color: theme.color, opacity: 0.85 }}
/>
<span>
{i18n.get('工作地')}: {profile.workPlace}
{i18n.get('期望工作地')}: {profile.workPlace}
</span>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Resume/Template3/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const Template3: React.FC<Props> = props => {
style={{ color: theme.color, opacity: 0.85 }}
/>
<span>
{i18n.get('工作地')}: {profile.workPlace}
{i18n.get('期望工作地')}: {profile.workPlace}
</span>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type ResumeConfig = {
zhihu?: string;
/** 工作经验 xx 年 */
workExpYear?: string;
/** 工作地 */
/** 期望工作地 */
workPlace?: string;
/** 职位 */
positionTitle?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/contant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const CONTENT_OF_MODULE = ({ i18n }) => {
{
type: 'input',
attributeId: 'workPlace',
displayName: i18n.get('工作地'),
displayName: i18n.get('期望工作地'),
},
{
type: 'input',
Expand Down
2 changes: 1 addition & 1 deletion src/locale/locales/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const EN_US_LOCALE: Locale = {
邮箱: 'Email',
知乎: 'Zhihu',
职位: 'Position title',
工作地: 'work space',
期望工作地: 'work space',
起始时间: 'Start time',
学校: 'School',
专业: 'Major in',
Expand Down

0 comments on commit 820107a

Please sign in to comment.