mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Add comment about languages
This commit is contained in:
parent
147ea4aadd
commit
b841fc6013
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ export const translateStatus = async (
|
||||||
|
|
||||||
/* Clean up language codes so we can use them with Twitter API */
|
/* Clean up language codes so we can use them with Twitter API */
|
||||||
switch (language) {
|
switch (language) {
|
||||||
|
/* Twitter does not accept plain zh, requires either zh-cn or zh-tw. https://github.com/FixTweet/FxTwitter/issues/580 */
|
||||||
case 'zh':
|
case 'zh':
|
||||||
case 'cn':
|
case 'cn':
|
||||||
language = 'zh-cn';
|
language = 'zh-cn';
|
||||||
|
|
Loading…
Add table
Reference in a new issue