Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 41de34f

Browse files
committed
Add new strings for State of CSS 2020 results
1 parent 2314b40 commit 41de34f

File tree

4 files changed

+150
-75
lines changed

4 files changed

+150
-75
lines changed

src/i18n/en-US/common.yml

+17
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ translations:
131131
- key: sections.user_info.description
132132
t: Let's get to know the real you.
133133

134+
- key: sections.features.title
135+
t: Features
136+
- key: sections.features.description
137+
t: Syntax, keywords, and other language features.
138+
134139
- key: sections.resources.title
135140
t: Resources
136141
- key: sections.resources.description
@@ -234,6 +239,18 @@ translations:
234239
- key: options.happiness.4
235240
t: Very Happy
236241

242+
# happiness (short version)
243+
- key: options.happiness.0.short
244+
t: Very Unhappy
245+
- key: options.happiness.1.short
246+
t: Unhappy
247+
- key: options.happiness.2.short
248+
t: Neutral
249+
- key: options.happiness.3.short
250+
t: Happy
251+
- key: options.happiness.4.short
252+
t: Very Happy
253+
237254
# opinions
238255
- key: options.opinions.0
239256
t: Disagree Strongly

src/i18n/en-US/results.yml

+83-12
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ translations:
1212
- key: page.next
1313
t: 'Next:'
1414

15+
- key: general.state_of_css_link
16+
t: State of CSS
17+
18+
- key: general.netlify_link
19+
t: Hosted by <a href={link}>Netlify</a>
20+
21+
- key: general.completion_percentage
22+
t: 'Completion percentage:'
23+
24+
###########################################################################
25+
# Options
26+
###########################################################################
27+
1528
- key: options.experience_ranking.satisfaction
1629
t: Satisfaction
1730
- key: options.experience_ranking.interest
@@ -50,32 +63,77 @@ translations:
5063
###########################################################################
5164
# Sections
5265
###########################################################################
53-
66+
5467
- key: sections.introduction.title
5568
t: Introduction
5669

5770
- key: sections.demographics.title
5871
t: Demographics
59-
- key: sections.demographics.description
60-
t: |
61-
This year's State of JavaScript was the survey's fourth edition,
62-
and it reached XX,XXX respondents.
63-
It was interesting to see that despite few people identifying as
64-
pure back-end developers, our respondents still feel quite comfortable
65-
dealing with development on the server.
6672

6773
- key: sections.tshirt.title
6874
t: T-shirt
6975

70-
- key: sections.features.title
71-
t: Features
72-
7376
- key: sections.technologies.title
7477
t: Technologies
7578

7679
- key: sections.conclusion.title
7780
t: Conclusion
7881

82+
###########################################################################
83+
# User Info
84+
###########################################################################
85+
86+
- key: user_info.locale
87+
t: Language
88+
- key: user_info.locale.description
89+
t: What language did respondents select to fill out the survey?
90+
91+
- key: user_info.source
92+
t: Source
93+
- key: user_info.source.description
94+
t: How did respondents find out about the survey?
95+
- key: user_info.source.note
96+
t: >
97+
98+
This chart aggregates a mix of referrers, URL parameters, and freeform answers.
99+
100+
- State of JS: the [State of JS](https://stateofjs.com) mailing list.
101+
102+
- State of CSS: the State of CSS mailing list; also matches `email`, `by email`, etc.
103+
104+
- Work: matches `work`, `colleagues`, `coworkers`, etc.
105+
106+
###########################################################################
107+
# Locales
108+
###########################################################################
109+
110+
- key: options.locale.en-US
111+
t: English
112+
- key: options.locale.es-ES
113+
t: Spanish
114+
- key: options.locale.ru-RU
115+
t: Russian
116+
- key: options.locale.fr-FR
117+
t: French
118+
- key: options.locale.zh-Hant
119+
t: Chinese (Traditional)
120+
- key: options.locale.de-DE
121+
t: German
122+
- key: options.locale.cs-CZ
123+
t: Czech
124+
- key: options.locale.pt-PT
125+
t: Portuguese
126+
- key: options.locale.it-IT
127+
t: Italian
128+
- key: options.locale.sv-SE
129+
t: Swedish
130+
- key: options.locale.tr-TR
131+
t: Turkish
132+
- key: options.locale.id-ID
133+
t: Indonesian
134+
- key: options.locale.hi-IN
135+
t: Hindi
136+
79137
###########################################################################
80138
# Features
81139
###########################################################################
@@ -159,7 +217,7 @@ translations:
159217
160218
(Note that low user numbers can be due to either an unknown technology; or a technology with a lot of respondents already using it.)
161219
162-
# category other tools
220+
# category other tools
163221
- key: blocks.category_other_tools.title
164222
t: Other Tools
165223
- key: blocks.category_other_tools.description
@@ -171,6 +229,13 @@ translations:
171229
- key: blocks.tool_experience.description
172230
t: Respondent's experience with ${name}.
173231

232+
# tools section streams
233+
- key: blocks.tools_section_streams.title
234+
t: Experience Over Time
235+
- key: blocks.tools_section_streams.description
236+
t: |
237+
Overview of opinions on the technologies surveyed over time.
238+
174239
# tools section overview
175240
- key: blocks.tools_section_overview.title
176241
t: Category Overview
@@ -259,6 +324,12 @@ translations:
259324
t: Interest Percentage
260325
- key: charts.axis_legends.satisfaction_percentage
261326
t: Satisfaction Percentage
327+
- key: charts.axis_legends.happiness
328+
t: Happiness
329+
- key: charts.axis_legends.knowledge_score
330+
t: Percentage
331+
- key: charts.axis_legends.frequency
332+
t: Frequency
262333

263334
###########################################################################
264335
# Sharing

src/i18n/en-US/state_of_css.yml

+22-5
Original file line numberDiff line numberDiff line change
@@ -83,24 +83,31 @@ translations:
8383
t: Codified ways to write cleaner CSS.
8484

8585
- key: sections.css_methodologies_others.title
86-
t: Other CSS Methodologies
86+
t: Other CSS Methodologies.
8787

8888
- key: sections.css_in_js.title
8989
t: CSS-in-JS
9090
- key: sections.css_in_js.description
9191
t: Libraries that help integrate CSS into JavaScript code.
9292

9393
- key: sections.css_in_js_others.title
94-
t: Other CSS-in-JS Libraries
94+
t: Other CSS-in-JS Libraries.
9595

96-
- key: sections.css_in_js_others.title
97-
t: Other CSS-in-JS Libraries
96+
- key: sections.tools_others.title
97+
t: Other Tools
98+
- key: sections.tools_others.description
99+
t: Other CSS tools.
98100

99101
- key: sections.environments.title
100102
t: Environments
101103
- key: sections.environments.description
102104
t: Which environments do you write CSS for?
103105

106+
- key: sections.awards.title
107+
t: Awards
108+
- key: sections.awards.description
109+
t: Things that stood out this year.
110+
104111
###########################################################################
105112
# Options
106113
###########################################################################
@@ -270,6 +277,12 @@ translations:
270277
- key: features.comparison_functions.description
271278
t: <code>min()</code>, <code>max()</code>, and <code>clamp()</code>
272279

280+
# knowledge score
281+
- key: features.knowledge_score
282+
t: Knowledge Score
283+
- key: features.knowledge_score.description
284+
t: Out of all the CSS features mentioned in the survey, how many did the respondent know about?
285+
273286
###########################################################################
274287
# Units & Selectors
275288
###########################################################################
@@ -516,7 +529,11 @@ translations:
516529
t: What do you feel is currently missing from CSS?
517530
- key: opinions_other.currently_missing_from_css.others.description
518531
t: Features you'd like to see in CSS one day.
519-
532+
- key: opinions_other.currently_missing_from_css.others.note
533+
t: >
534+
These results were normalized based on the contents of a freeform field.
535+
To view the raw, unprocessed responses check out [whatsmissingfromcss.com](http://whatsmissingfromcss.com/).
536+
520537
- key: opinions.sum_up_one_word_css
521538
t: CSS in one word
522539
- key: opinions.sum_up_one_word_css.description

src/i18n/en-US/state_of_css_2020.yml

+28-58
Original file line numberDiff line numberDiff line change
@@ -4,82 +4,52 @@ translations:
44
# Sections
55
###########################################################################
66

7-
- key: sections.introduction.introduction
7+
- key: sections.introduction.description
88
t: |
99
TODO
1010
11-
- key: sections.tshirt.introduction
11+
- key: sections.tshirt.description
1212
t: |
1313
TODO
1414
15-
- key: sections.demographics.introduction
15+
- key: sections.demographics.description
1616
t: |
17-
TODO
18-
19-
- key: sections.features.introduction
20-
t: |
21-
TODO
22-
23-
- key: sections.layout.introduction
24-
t: |
25-
TODO
26-
27-
- key: sections.shapes_graphics.introduction
28-
t: |
29-
TODO
30-
31-
- key: sections.interactions.introduction
32-
t: |
33-
TODO
34-
35-
- key: sections.typography.introduction
36-
t: |
37-
TODO
38-
39-
- key: sections.animations_transforms.introduction
40-
t: |
41-
TODO
42-
43-
- key: sections.other_features.introduction
44-
t: |
45-
TODO
46-
47-
- key: sections.units_selectors.introduction
48-
t: |
49-
TODO
50-
51-
- key: sections.technologies.introduction
52-
t: |
53-
TODO
17+
This year's survey reached 11,492 people in 102 countries. For the first time this year,
18+
we were able to translate the survey questions in multiple languages thanks to an awesome team of volunteers.
5419
55-
- key: sections.pre_post_processors.introduction
20+
- key: sections.features.description
5621
t: |
57-
TODO
22+
CSS is has seen a surge of new features in recent years, so as you'd expect adoption is
23+
lagging a bit behind as the community takes its time to absorb new properties.
5824
59-
- key: sections.css_frameworks.introduction
25+
- key: sections.units_selectors.description
6026
t: |
61-
TODO
27+
We're willing to bet you'll find a few things you didn't know about in this section!
6228
63-
- key: sections.css_methodologies.introduction
29+
- key: sections.technologies.description
6430
t: |
65-
TODO
31+
The CSS ecosystem is going through a renewal of sorts, as older mainstays like Bootstrap
32+
now have to accomodate newer entrants like Tailwind CSS. To say nothing of the whole CSS-in-JS
33+
movement which, while it has yet to cross over to the CSS mainstream, is nonetheless quite dynamic.
6634
67-
- key: sections.css_in_js.introduction
35+
- key: sections.other_tools.description
6836
t: |
69-
TODO
37+
No surprises here, but it's worth highlighting the appearance of development-focused browsers
38+
like Polypane and Sizzy, which go a step further than traditional devtools.
7039
71-
- key: sections.other_tools.introduction
40+
- key: sections.environments.description
7241
t: |
73-
TODO
42+
One of CSS's core strengths is its ability to adapt to different environment, yet for a variety
43+
of reasons media like print and email remain unexplored by a majority of CSS developers. Might they
44+
turn out to be the next frontier of CSS…?
7445
75-
- key: sections.resources.introduction
46+
- key: sections.resources.description
7647
t: |
77-
TODO
48+
The “other answers” results in this section highlight the richness and diversity of the CSS community,
49+
and feature many outstanding blogs and pocasts which we are looking forward to officially adding
50+
to the survey next year!
7851
79-
- key: sections.environments.introduction
80-
t: |
81-
TODO
82-
83-
- key: sections.opinions.introduction
52+
- key: sections.opinions.description
8453
t: |
85-
TODO
54+
These opinions paint a picture of a language getting more mature, but also more complex. And perhaps
55+
–at least while we struggle to keep up with the pace of change– a little less enjoyable?

0 commit comments

Comments
 (0)