Copilot commented on code in PR #35639:
URL: https://github.com/apache/superset/pull/35639#discussion_r2535794426
##########
superset/config.py:
##########
@@ -406,6 +406,7 @@ def _try_json_readsha(filepath: str, length: int) -> str |
None:
"pt_BR": {"flag": "br", "name": "Brazilian Portuguese"},
"ru": {"flag": "ru", "name": "Russian"},
"ko": {"flag": "kr", "name": "Korean"},
+ "cs": {"flag": "cs", "name": "Czech"},
Review Comment:
The flag code for Czech should be 'cz' (ISO 3166-1 alpha-2 for Czech
Republic), not 'cs'. The code 'cs' was historically used for Czechoslovakia.
Other languages in this dictionary use their ISO 3166-1 alpha-2 country codes
(e.g., 'de' for Germany, 'fr' for France, 'es' for Spain).
```suggestion
"cs": {"flag": "cz", "name": "Czech"},
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]