Merge pull request #2551 from steve02081504/patch-4

Update zh-cn.json
This commit is contained in:
Cohee
2024-07-24 21:15:08 +03:00
committed by GitHub
5 changed files with 61 additions and 23 deletions

View File

@@ -0,0 +1,2 @@
<!-- I18n data for tools used to auto generate translations -->
<div data-i18n="Show Gallery">Show Gallery</div>

View File

@@ -13,6 +13,7 @@ import { SlashCommand } from '../../slash-commands/SlashCommand.js';
import { ARGUMENT_TYPE, SlashCommandNamedArgument } from '../../slash-commands/SlashCommandArgument.js';
import { DragAndDropHandler } from '../../dragdrop.js';
import { commonEnumProviders } from '../../slash-commands/SlashCommandCommonEnumsProvider.js';
import { translate } from '../../i18n.js';
const extensionName = 'gallery';
const extensionFolderPath = `scripts/extensions/${extensionName}/`;
@@ -228,7 +229,7 @@ $(document).ready(function () {
$('#char-management-dropdown').append(
$('<option>', {
id: 'show_char_gallery',
text: 'Show Gallery',
text: translate('Show Gallery'),
}),
);
});

View File

@@ -0,0 +1,5 @@
<!-- I18n data for tools used to auto generate translations -->
<div data-i18n="Import None">Import None</div>
<div data-i18n="Import All">Import All</div>
<div data-i18n="Import Existing">Import Existing</div>
<div data-i18n="Import">Import</div>