-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.nls.json
98 lines (98 loc) · 12.6 KB
/
package.nls.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"markdown-image.title": "Markdown Image",
"markdown-image.local": "Local",
"markdown-image.qiniu": "Qiniu",
"markdown-image.upyun": "Upyun",
"markdown-image.DIY": "DIY",
"markdown-image.Cloudinary": "Cloudinary",
"markdown-image.Cloudflare": "Cloudflare",
"markdown-image.command.paste": "Paste Image",
"markdown-image.command.config": "Markdown Image Config Setting",
"markdown-image.command.paste-rich-text": "Paste Rich Text (Beta)",
"markdown-image.base.uploadMethod": "Method to upload pictures. To the local or another picture CDN service.\n\n- Local [Options](#markdown-image.local.path)\n\n- GitHub [Options](#markdown-image.github.branch)\n\n- Imgur [Options](#markdown-image.imgur.clientId)\n\n- SM.MS [Options](#markdown-image.sm_ms.token)\n\n- Qiniu [Options](#markdown-image.qiniu.accessKey)\n\n- Upyun [Options](#markdown-image.upyun.bucket)\n\n- DIY [Options](#markdown-image.DIY.path)\n\n- Cloudflare [Options](#markdown-image.cloudflare.accountId)\n\n- Cloudinary [Options](#markdown-image.cloudinary.apiKey)\n\n- S3 [Options](#markdown-image.s3.endpoint)",
"markdown-image.base.uploadMethod.Local": "Upload the image to the project directory. You can use markdown-image.local.path sets the relative path for upload.",
"markdown-image.base.uploadMethod.Coding": "Upload the image to git repository in Coding.net . You can configure the repository through markdown-image.coding.repository. You need to configure the Token to access the repository through markdown-image.coding.token.",
"markdown-image.base.uploadMethod.GitHub": "Upload the image to git repository in GitHub.com . You can configure the repository through markdown-image.github.repository. You need to configure the Token to access the repository through markdown-image.github.token.",
"markdown-image.base.uploadMethod.Imgur": "Upload the image to Imgur. You can configure `Client Id` through markdown-image.imgur.clientId.",
"markdown-image.base.uploadMethod.SM.MS": "Upload the image to sm.ms. You can configure `Token` through markdown-image.sm_ms.token if you have an account.",
"markdown-image.base.uploadMethod.DataURL": "Turn the picture into the DATA URL insert.",
"markdown-image.base.uploadMethod.Qiniu": "Upload the image to qiniu.com.",
"markdown-image.base.uploadMethod.Upyun": "Upload the image to upyun.com.",
"markdown-image.base.uploadMethod.DIY": "You can define your code used to upload. You need to configure the code path through markdown-image.DIY.path",
"markdown-image.base.uploadMethod.Cloudinary": "Upload the image to Cloudinary. You can configure `Cloud Name` through markdown-image.cloudinary.cloudName.",
"markdown-image.base.uploadMethod.S3": "Upload the image to any S3 API compatible server, for example, AWS S3, MinIO, Backblaze B2, etc.",
"markdown-image.base.uploadMethod.Cloudflare": "Upload the image to Cloudflare Image. You can configure `accountId` through markdown-image.cloudflare.accountId.",
"markdown-image.base.uploadMethod.SFTP": "Upload the image to SFTP server. You can configure the server through markdown-image.sftp.host.",
"markdown-image.base.uploadMethod.Azure": "Upload the image to Azure Blob Storage. You can configure the connection string through markdown-image.azure.connect-string.",
"markdown-image.base.uploadMethods": "Multiple upload services are used for concurrent uploading. The default is empty. The list should contain the selectable values of the `markdown-image.base.uploadMethod` option mentioned above. The upload results from the configured upload methods will not be inserted into the Markdown file.",
"markdown-image.base.fileNameFormat": "The filenname and path format string for upload. Not Support in `Imgur` and `SM.MS`. You can use some variables: \n\n- `${filename}`: The original filename. \n- `${mdname}`: The name of the Markdown file being edited. \n- `${path}`: The path of the Markdown file being edited relative to the root directory. \n- `${hash}`: The sha256 hash of image. \n- `${timestamp}`: The timestamp of upload time. \n- `${YY}`: The Year \n- `${MM}`:The Month \n- `${DD}`: The Day \n- `${hh}`: The 12-hour clock \n- `${HH}`: The 24-hour clock \n- `${mm}`: The minutes \n- `${ss}`: The seconds \n- `${mss}`: The milliseconds \n- `${rand,number}`: A random number, for example: `${rand,100}`. It will generate random numbers from 0 to 99 \n- `${prompt}`: Makes it possible to enter a custom name through an input prompt when pasting the image.",
"markdown-image.base.urlEncode": "Whether URL encode for the url of image.",
"markdown-image.base.fileFormat": "The Clipboard Image File Format. You can use `png` or `jpg`.",
"markdown-image.base.codeType": "The type of image code",
"markdown-image.base.codeType.Markdown": "Markdown Code as: ![image](./image/file/path.jpg)",
"markdown-image.base.codeType.HTML": "HTML Code as: <img alt=\"image\" src=\"./image/file/path.jpg\" />",
"markdown-image.base.imageWidth": "The maximum width of the image, if the image is greater than this width, the width is set to this value. Set to `0` means not change.",
"markdown-image.base.altFormat": "Placeholder for Markdown code. You have some variables available: \n\n- ${filename}: The original filename of the image. \n- ${mdname}: The name of the Markdown file being edited (without the extension). \n- ${hash}: The sha256 hash of the image. \n- ${timestamp}: The timestamp of the upload time. \n- ${YY}: The year \n- ${MM}: The month \n- ${DD}: The date \n- ${hh}: The hour in 12-hour format \n- ${HH}: The hour in 24-hour format \n- ${mm}: The minute \n- ${ss}: The second \n- ${mss}: The millisecond \n- ${rand,number}: Random number, for example: ${rand,100}. It will generate a random number from 0 to 99. \n- ${index}: The index of the image pasted into the file by the plugin.",
"markdown-image.base.altFormat.default": "picture ${index}",
"markdown-image.local.path": "Picture storage directory that in the local (automatically created if it does not exist). Notice: You can't use variable in here. You can use variable in `#markdown-image.base.fileNameFormat#`.",
"markdown-image.local.referencePath": "The reference path format in markdown(not include file name). Empty means use relative path. You can use variable of `#markdown-image.base.fileNameFormat#` in here. For example: `/images/${YY}-${MM}/`",
"markdown-image.coding.path": "Picture upload directory that in the repository (automatically created if it does not exist). The repository must initialization first.",
"markdown-image.coding.token": "Coding person [access token](https://help.coding.net/docs/member/tokens.html).",
"markdown-image.coding.repository": "Coding repository, for example: `https://coding-demo.coding.net/p/coding-demo/d/coding-demo/git`",
"markdown-image.github.path": "Picture upload directory that in the repository (automatically created if it does not exist). The repository must initialization first.",
"markdown-image.github.token": "GitHub person [access token](https://github.com/settings/tokens).",
"markdown-image.github.repository": "GitHub repository, for example: `https://github.com/username/repository`",
"markdown-image.github.branch": "GitHub repository branch to save.",
"markdown-image.github.cdn": "The github cdn address format to be used, `${username}` is the username of `#markdown-image.github.repository#`, and `${repository}` is the repository name. `${branch}` is the value of `#markdown-image.github.branch#`. `${filepath}` is the upload path in repository.",
"markdown-image.github.httpProxy": "Connect to Github via http proxy.",
"markdown-image.imgur.clientId": "The client id registered with imgur. You can registed it at [here](https://api.imgur.com/oauth2/addclient).",
"markdown-image.imgur.httpProxy": "Connect to Imgur via http proxy.",
"markdown-image.sm_ms.token": "SM.MS API token (Options). You can register an account and then visit [API Token](https://smms.app/home/apitoken) Page to generate secret token.",
"markdown-image.qiniu.accessKey": "AccessKey of upload.",
"markdown-image.qiniu.secretKey": "SecretKey of upload",
"markdown-image.qiniu.bucket": "Storge name of upload",
"markdown-image.qiniu.domain": "Domain bind with storge name",
"markdown-image.qiniu.zone": "Zone of storge",
"markdown-image.qiniu.east": "East China",
"markdown-image.qiniu.north": "North China",
"markdown-image.qiniu.south": "South China",
"markdown-image.qiniu.na": "North America",
"markdown-image.qiniu.sa": "Southeast Asia",
"markdown-image.upyun.bucket": "Storge name of upload",
"markdown-image.upyun.domain": "Domain bind with storge name",
"markdown-image.upyun.operator": "Operator of upyun",
"markdown-image.upyun.password": "Password of upyun operator",
"markdown-image.upyun.path": "The path that img store",
"markdown-image.upyun.link": "The link that connect to upyun",
"markdown-image.upyun.smart": "Smart choose: v0.api.upyun.com",
"markdown-image.upyun.telecom": "China Telecom: v1.api.upyun.com",
"markdown-image.upyun.unicom": "China Unicom: v2.api.upyun.com",
"markdown-image.upyun.mobile": "China Mobile: v3.api.upyun.com",
"markdown-image.DIY.path": "The Code File Path. You can write a Node.js code file to upload, and fill in the file path to here. Your code must exports a function as `async function (filePath:string, savePath:string, markdownPath:string):string`.\n\nFor example: \n\n ```javascript\nconst path = require('path');\nmodule.exports = async function(filePath, savePath, markdownPath) {\n\t// Return a picture access link\n\treturn path.relative(path.dirname(markdownPath), filePath); \n}\n```\nThe arguments are :\n- `filePath`: The absolute path of the file. \n- `savePath`: The path of the saved file generate according to `#markdown-image.base.fileNameFormat#`. \n- `markdownPath`: The path of markdown file being edited.",
"markdown-image.cloudinary.cloudName": "Your user account name.",
"markdown-image.cloudinary.apiKey": "API key for your account.",
"markdown-image.cloudinary.apiSecret": "API secret for your account.",
"markdown-image.cloudinary.folder": "Folder to upload the image to.",
"markdown-image.cloudflare.accountId": "Your Cloudflare account ID.",
"markdown-image.cloudflare.apiToken": "You Clouflare Image API token.",
"markdown-image.s3.endpoint": "Your S3 API endpoint obtained from bucket setting or dashboard. It should include protocol as well, e.g. `http/https`.",
"markdown-image.s3.region": "Your S3 bucket region obtained from the bucket setting.",
"markdown-image.s3.bucketName": "Your S3 bucket name.",
"markdown-image.s3.accessKeyId": "Your S3 access key ID.",
"markdown-image.s3.secretAccessKey": "Your S3 secret access key.",
"markdown-image.s3.cdn": "Your S3 CDN Url. You can use variable `${bucket}` `${region}` `${pathname}` and `${filepath}`. For example: `https://${bucket}.${region}.s3.amazonaws.com/${pathname}/${filepath}`.",
"markdown-image.s3.config": "The other configuration of the S3Client. You can get all options in [here](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/).",
"markdown-image.sftp.host": "The host of the remote server.",
"markdown-image.sftp.port": "The ssh port of the remote server.",
"markdown-image.sftp.username": "The username of the remote server.",
"markdown-image.sftp.password": "The password of the remote server.",
"markdown-image.sftp.privateKeyPath": "The private key path of the remote server.",
"markdown-image.sftp.path": "Picture storage directory that in the remote (automatically created if it does not exist). Notice: You can't use variable in here. You can use variable in `#markdown-image.base.fileNameFormat#`.",
"markdown-image.sftp.referencePath": "The reference path format in markdown(not include file name). Empty means use relative path. You can use variable of `#markdown-image.base.fileNameFormat#` in here. For example: `/images/${YY}-${MM}/`",
"markdown-image.azure.authenticationMethod": "The authentication method to use for the Azure Blob Storage account. The default is `Passwordless`. You can obtain more information from [here](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-nodejs?tabs=managed-identity%2Croles-azure-portal%2Csign-in-azure-cli#authenticate-to-azure-and-authorize-access-to-blob-data) .",
"markdown-image.azure.authenticationMethod.Passwordless": "Use the account name to authenticate. You must first execute `az login` to log in to Azure CLI.",
"markdown-image.azure.authenticationMethod.ConnectionString": "Use the connection string to authenticate.",
"markdown-image.azure.accountName": "Your Azure Blob Storage account.",
"markdown-image.azure.connect-string": "The connection string of your Azure Blob Storage account.",
"markdown-image.azure.container": "The container name of your Azure Blob Storage account."
}