Devographics / locale-en-US

34 stars 13 forks source link

JS strings used in the CSS survey #11

Open myakura opened 3 years ago

myakura commented 3 years ago

While working on the Japanese version over answering the CSS survey, I found:

Screenshot: Other Features section in the CSS 2021 Survey, in Japanese

The string "ほかの技術やパターン" isn't defined in state_of_css.yml but rather in state_of_js.yml:

https://github.com/StateOfJS/locale-ja-JP/blob/948aa58c1e29314782251ac9d51775a6151c9d4f/state_of_js.yml#L42-L45

Is it because they share the same key name sections.other_features.title?

SachaG commented 3 years ago

In the english version the string is defined in both files. For the CSS survey, the key defined in state_of_css.yml will be used, so it's fine to have the same key in more than one file.