Merge pull request #1781 from yfdyh000/zh_CN

This commit is contained in:
ArthurHoaro 2021-08-14 10:52:58 +02:00 committed by GitHub
commit 3b1818dfa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1809 additions and 1 deletions

View file

@ -187,6 +187,7 @@ public static function getAvailableLanguages()
'fr' => t('French'), 'fr' => t('French'),
'jp' => t('Japanese'), 'jp' => t('Japanese'),
'ru' => t('Russian'), 'ru' => t('Russian'),
'zh_CN' => t('Chinese (Simplified)'),
]; ];
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -62,7 +62,7 @@ public function testIndex(): void
static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']); static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']);
static::assertSame('api.enabled', $assignedVariables['api_enabled']); static::assertSame('api.enabled', $assignedVariables['api_enabled']);
static::assertSame('api.secret', $assignedVariables['api_secret']); static::assertSame('api.secret', $assignedVariables['api_secret']);
static::assertCount(6, $assignedVariables['languages']); static::assertCount(7, $assignedVariables['languages']);
static::assertArrayHasKey('gd_enabled', $assignedVariables); static::assertArrayHasKey('gd_enabled', $assignedVariables);
static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']); static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']);
} }