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: add user_metadata translate #22

Merged
merged 1 commit into from
Dec 17, 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
16 changes: 8 additions & 8 deletions js2024.yml
Original file line number Diff line number Diff line change
Expand Up @@ -731,27 +731,27 @@ translations:

- key: user_metadata.source.takeaway.js2024
t: >
The majority of respondents knew about the survey from previous years. It's also worth highlighting that the [Angular](https://angular.dev/) and [Nuxt](https://nuxt.com/) homepages featured banners pointing their users to the survey; and that Bluesky came in at number 5 despite this being the first time appearing as a traffic source for the survey.
大多数受访者在前几年就知道这项调查。还值得一提的是,[Angular](https://angular.dev/) [Nuxt](https://nuxt.com/) 主页上都展示了横幅,引导用户参与调查;尽管这是 Bluesky 首次作为调查的流量来源出现,但它排在第 5 位。


We also made special outreach efforts ([full report here](https://dev.to/sachagreif/state-of-js-2024-outreach-and-diversity-report-n0e)) focused on attracting more women developers.
我们还进行了特别的外联工作([完整报告在此处](https://dev.to/sachagreif/state-of-js-2024-outreach-and-diversity-report-n0e)),重点是吸引更多女性开发者。

- key: user_metadata.past_surveys.takeaway.js2024
t: >
This chart shows which other Devographics surveys this year's respondents had previously taken part in.
此图表显示了今年的受访者之前参加过哪些其他 Devographics 调查。


The fact that a sizeable segment of this year's respondents had also taken other surveys points to web development not being quite as fragmented as one might think – even if you primarily write JavaScript, keeping up with CSS and the web platform is still key!
今年的受访者中有相当一部分还参加过其他调查,这一事实表明,Web 开发并不像人们想象的那么分散——即使你主要编写 JavaScript,跟上 CSS 和 Web 平台仍然是关键!


Note that we can only generate this datapoint for respondents taking the survey while logged-in. Guest respondents appear as “No Answer”.
请注意,我们只能为登录后参加调查的受访者生成此数据点。访客受访者显示为“无答案”。

- key: user_metadata.past_same_survey_count.takeaway.js2024
t: >
This chart shows how many times this year's respondents had taken part in a State of JS survey before.
此图表显示了今年的受访者之前参加过多少次 JS 状态调查。


The fact that the largest bucket consists of new respondents means we are successfully reaching a new population, which mitigates bias that might carry over from our existing audience. But it also points to the challenges of getting people to consistently fill out a survey year after year.
最大的群体由新受访者组成,这意味着我们成功地接触到了新的人群,这减轻了可能从我们现有受众中延续下来的偏见。但它也指出了让人们年复一年地持续填写调查问卷的挑战。


Note that we can only generate this datapoint for respondents taking the survey while logged-in. Guest respondents appear as “No Answer”.
请注意,我们只能为登录后参加调查的受访者生成此数据。访客受访者显示为“无答案”。
65 changes: 65 additions & 0 deletions results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,21 +271,37 @@ translations:
- key: sections.awards.description
t: 今年的亮点

- key: sections.user_metadata.title
t: 元数据
- key: sections.user_metadata.description
t: 收集有关受访者的额外元数据。

###########################################################################
# User Info
###########################################################################

- key: user_info.locale
t: 语言
aliases:
- user_metadata.locale
- key: user_info.locale.description
t: 受访者选择了什么语言来填写调查问卷?
aliases:
- user_metadata.locale.description

- key: user_info.source
t: 来源
aliases:
- user_metadata.source
- key: user_info.source.description
t: 受访者如何了解到这项调查的?
aliases:
- user_metadata.source.description
- key: user_info.source.note
t: 这些数据是自报答案、推荐人数据和URL跟踪数据的混合。
aliases:
- user_metadata.source.note

- key: options.source.other_answers
t: 其他来源

Expand Down Expand Up @@ -343,6 +359,55 @@ translations:
- key: user_info.higher_education_degree_by_gender.description
t: 按性别划分的高等教育学位分布。

- key: user_metadata.past_surveys
t: 之前的调查
- key: user_metadata.past_surveys.description
t: 受访者之前参加过的 Devographics 调查。
# - key: user_metadata.past_surveys.note
# t: Please note that this data does not include respondents taking the survey as guests.

- key: user_metadata.past_same_survey_count
t: 参与人数
- key: user_metadata.past_same_survey_count.description
t: 受访者参与当前调查的次数。
# - key: user_metadata.past_same_survey_count.note
# aliasFor: user_metadata.past_surveys.note

- key: user_metadata.created_at_date
t: 随时间变化的反应
- key: user_metadata.created_at_date.description
t: 按时间顺序细分的答案提交时间。

- key: user_metadata.authmode
t: 验证
- key: user_metadata.authmode.description
t: 受访者是否已登录或以访客身份填写调查问卷。

- key: options.authmode.anonymous
t: 访客帐户
- key: options.authmode.passwordless
t: 登录账户

- key: user_metadata.device
t: 设备
- key: user_metadata.device.description
t: 使用什么设备进行调查。

- key: user_metadata.browser
t: 浏览器
- key: user_metadata.browser.description
t: 使用什么浏览器进行调查

- key: user_metadata.version
t: 浏览器版本
- key: user_metadata.version.description
t: 使用哪个版本的浏览器进行调查。

- key: user_metadata.os
t: 操作系统
- key: user_metadata.os.description
t: 使用哪个操作系统版本来进行调查。

###########################################################################
# Locales
###########################################################################
Expand Down
Loading