first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 additions and 0 deletions
+202
View File
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+12
View File
@@ -0,0 +1,12 @@
describe('env', () => {
it('CLI', () => {
process.env.LANG = 'es'
const { getLocale } = require('../lib/locale')
expect(getLocale()).toBe('es')
})
it('HBuilderX', () => {
process.env.UNI_HBUILDERX_LANGID = 'fr'
const { getLocale } = require('../lib/locale')
expect(getLocale()).toBe('fr')
})
})
+7
View File
@@ -0,0 +1,7 @@
const { format } = require('../lib/lang')
describe('format', () => {
it('env.lang', () => {
expect(format('zh_CN.UTF_8')).toBe('zh_CN')
})
})
+13
View File
@@ -0,0 +1,13 @@
describe('locales', () => {
it('default', () => {
const i18n = require('../lib/index')
expect(i18n.setLocale('fr')).toBe('en')
})
it('fallbacks', () => {
const i18n = require('../lib/index')
expect(i18n.setLocale('zh')).toBe('zh_CN')
expect(i18n.setLocale('zh_SG')).toBe('zh_CN')
})
})
+14
View File
@@ -0,0 +1,14 @@
describe('translate', () => {
it('mustacheConfig', () => {
const i18n = require('../lib/index')
i18n.configure({
staticCatalog: {
en: {
test: 'test {0}'
}
}
})
i18n.setLocale('en')
expect(i18n.__('test', { '0': 'test' })).toBe('test test')
})
})
+43
View File
@@ -0,0 +1,43 @@
const { I18n } = require('i18n')
const { getLocale } = require('./locale')
const defaultLocale = 'en'
const locale = getLocale()
const i18n = new I18n()
const staticCatalog = {}
// 暂时仅支持 en、zh_CN
const locales = [
'en',
// 'es',
// 'fr',
// 'zh_HK',
'zh_CN'
]
locales.forEach(item => {
// TODO 合并 HBuilderX 内置内容
staticCatalog[item] = require(`../locales/${item}.json`)
})
i18n.configure({
staticCatalog,
defaultLocale,
retryInDefaultLocale: true,
mustacheConfig: {
tags: ['{', '}'],
disable: false
},
fallbacks: {
'en_*': 'en',
zh: 'zh_CN',
'zh_*': 'zh_CN'
}
})
i18n.setLocale(locale)
module.exports = i18n
+13
View File
@@ -0,0 +1,13 @@
function format (lang) {
const array = lang.split(/[.,]/)[0].split(/[_-]/)
array[0] = array[0].toLowerCase()
if (array[0] === 'zh') {
array[1] = (array[1] || 'CN').toUpperCase()
}
array.length = Math.min(array.length, 2)
return array.join('_')
}
module.exports = {
format
}
+10
View File
@@ -0,0 +1,10 @@
const { format } = require('./lang')
const { osLocale } = require('os-locale-s-fix/cjs')
function getLocale () {
return format(process.env.UNI_HBUILDERX_LANGID || osLocale.sync({ spawn: true, cache: false }) || 'en')
}
module.exports = {
getLocale
}
+1
View File
@@ -0,0 +1 @@
[https://dcloud.io/license/uni-app.html](https://dcloud.io/license/uni-app.html)
+85
View File
@@ -0,0 +1,85 @@
{
"warning": "Warning⚠",
"syntaxError": "Syntax Error❌",
"compilerVersion": "Compiler version",
"compiling": "Compiling...",
"see": "see",
"platform": "platform",
"plugin": "plugin",
"performingHotReload": "Performing hot reload...",
"cliShared.parseJsonFailed": "Parsing failed",
"cliShared.doesNotExist": "does not exist",
"cliShared.pagesJsonError": "pages.json page configuration error, has been ignored, see {{0}}",
"cliShared.requireReturnJsonObject": "require return a json object",
"cliShared.requireExportFunction": "Function must be exported",
"cliShared.easycomConflict": "easycom component conflict",
"cliShared.noFoundPlatformPlugin": "Missing platform {{0}} plugin",
"cliShared.extendOnlySupportH5": "Currently only supports expansion based on the h5 platform",
"cliShared.supportPlatform": "{{0}} support the following platforms {{1}}",
"cliShared.requireConfigUniPlatform": "{{0}} does not exist, you must configure the env->UNI_PLATFORM base platform",
"cliShared.missingNameAttribute": "{{0}} missing name property",
"cliShared.missingUniConfig": "{{0}} missing uni.config.js",
"migration.errorOnlySupportConvert": "Error: {{0}} conversion is currently supported",
"migration.errorInputNotExists": "Error: '{{0}}' not exist",
"migration.errorCannotConvert": "Error: '{{0}}' does not support conversion",
"migration.errorConvertRequireFileUrl": "Error: Single file conversion requires {{0}} file url",
"mpWeChat.onlySupportDestructuringSlot": "Currently only supports destructuring slot {{0}}, such as {{1}}",
"mpWeChat.slotPropNoSupportReanme": "Deconstructing the slot Prop, does not support renaming {{0}} to {{1}}, the performance will be affected after renaming",
"uniStat.missingParameter": "Missing [eventName] parameter",
"uniStat.parameterLengthLess": "Parameter length cannot be greater than",
"uniStat.parameterTypeErrrorString": "Parameter type error, it can only be of type String",
"uniStat.parameterTypeErrrorStringOrObject": "Parameter type error, Only supports String or Object type",
"uniStat.hasTitleOptionString": "When the parameter is title, the [options] parameter can only be of type String",
"templateCompiler.noH5KeyNoSupportExpression": "Non-h5 platforms: key does not support expression {{0}}, for details, please refer to: {{1}}",
"templateCompiler.notCurrentlySupportScopedSlot": "Not currently supported scoped slot {{0}}",
"templateCompiler.idAttribNotAllowInCustomComponentProps": "id is reserved as a property name and is not allowed to be defined as props in custom component {{0}}",
"templateCompiler.notSupportDynamicSlotName": "{{0}} Does not support dynamic slot names, please use scopedSlotsCompiler: augmented",
"templateCompiler.forNestedIndexNameNoArrowRepeat": "{{0}} When v-for is nested, the index name {{1}} is not allowed to be repeated",
"templateCompiler.noSupportSyntax": "Does not support {{0}} syntax",
"pluginHbuilderx.plaseHXCompileAppPlatform": "Please use HBuilderX to compile and run to the app-plus platform",
"pluginHbuilderx.hxBuildFailed": "Build failed: HBuilderX installation directory cannot include special characters such as {{0}}",
"pluginHbuilderx.nvueCssWarning": "The following css is not supported in nvue. If the global or public style is affected, it is recommended to write the warning style in the conditional compilation of ifndef APP-PLUS-NVUE. The details are as follows:",
"pluginUni.runDebugMode": "Please note that in running mode, due to log output, sourcemap, and uncompressed source code, the performance and package size are not as good as release mode.",
"pluginUni.runDebugModeNvue": "Especially the sourcemap of app-nvue has a greater impact",
"pluginUni.runDebugModeMP": "To officially release, please click the release menu or use the cli release command to release",
"pluginUni.compileToMpPluginOnlySupportPlatform": "Compile to mini-program plug-in only supports WeChat mini-program and AliPay mini-program",
"pluginUni.startCompileProjectToPlatform": "Start to compile the current project to the {{0}} {{1}}...",
"pluginUni.fileNoExistsCheckAfterRetry": "{{0}} file does not exist, please check and try again",
"pluginUni.entryDileNoExistsCheckAfterRetry": "{{0}} The entry file does not exist, please check and try again",
"pluginUni.nvueCompileModeForDetail": "Current NVUE compile mode {{0}}. see: {{1}}",
"pluginUni.currentProjectDefaultSpaceId": "The default service space spaceId used by uniCloud of the current project is: {{0}}",
"pluginUni.unicloudReleaseH5": "To release H5, you need to operate on the uniCloud web console and bind a secure domain name, otherwise it will be inaccessible due to cross-domain issues. Tutorial reference{{0}}",
"pluginUni.unicloudShowedRunByHBuilderX": "The current project uses uniCloud. In order to avoid the cross-domain problem of cloud function calls, it is recommended to debug in the HBuilderX built-in browser. If you use an external browser, you need to handle cross-domain. See details: {{0}}",
"pluginUni.pleaseSpecifyPluginName": "Please specify the plugin name",
"pluginUni.pluginNameNotExist": "Plug-in name does not exist",
"pluginUni.pluginIllegal": "The plugin is illegal",
"pluginUni.uniStatisticsNoAppid": "The current application is not configured with Appid, and uni statistics cannot be used. For details, see {{0}}",
"pluginUni.uniStatisticsNoVersion": "The uni statistics version is not configured. The default version is 1.0.uni statistics version 2.0 is recommended, private deployment data is more secure and code is open source and customizable. details:{{0}} ",
"pluginUni.pleaseConfigScriptName": "Please specify the script name under package.json->uni-app->scripts",
"pluginUni.mpBrowserKernelDifference": "There are differences in the implementation mechanism of the browser kernels and custom components of each mini-program, and there may be compatibility issues with styles and layouts, please refer to: {{0}}",
"mpLoader.firstParameterNeedStaticString": "The first parameter of {{0}} must be a static string",
"mpLoader.requireTwoParameter": "{{0}} requires two parameters",
"mpLoader.findFail": "{{0}} find fail",
"mpLoader.componentReferenceError": "Component {{0}} reference error",
"mpLoader.componentReferenceErrorOnlySupportImport": "Component {{0}} reference error, only supports import components",
"pagesLoader.pagesNodeCannotNull": "Pages node in pages.json cannot be empty",
"pagesLoader.nvueFirstPageStartModeIsFast": "App startup mode: fast. For details, see: {{0}}",
"pagesLoader.pagesTabbarMinItem2": "{{0}} must contain at least 2 items",
"pagesLoader.needInPagesNode": "{{0}} needs to be in the pages array",
"i18n.fallbackLocale.default": "fallbackLocale is missing in manifest.json, use{{locale}}",
"i18n.fallbackLocale.missing": "./local/{locale}.json is missing",
"prompt.run.message": "Run method: open {{devtools}}, import {{outputDir}} run.",
"prompt.run.devtools.app-plus": "HBuilderX",
"prompt.run.devtools.mp-alipay": "Alipay Mini Program Devtools",
"prompt.run.devtools.mp-baidu": "Baidu Mini Program Devtools",
"prompt.run.devtools.mp--kuaishou": "Kuaishou Mini Program Devtools",
"prompt.run.devtools.mp-lark": "Lark Mini Program Devtools",
"prompt.run.devtools.mp-qq": "QQ Mini Program Devtools",
"prompt.run.devtools.mp-toutiao": "Douyin Mini Program Devtools",
"prompt.run.devtools.mp-weixin": "Weixin Mini Program Devtools",
"prompt.run.devtools.mp-jd": "Jingdong Mini Program Devtools",
"prompt.run.devtools.mp-xhs": "Xiaohongshu Mini Program Devtools",
"prompt.run.devtools.quickapp-webview": "Quick App Alliance Devtools | Huawei Quick App Devtools",
"prompt.run.devtools.quickapp-webview-huawei": "Huawei Quick App Devtools",
"prompt.run.devtools.quickapp-webview-union": "Quick App Alliance Devtools"
}
+1
View File
@@ -0,0 +1 @@
{}
+1
View File
@@ -0,0 +1 @@
{}
+85
View File
@@ -0,0 +1,85 @@
{
"warning": "警告⚠",
"syntaxError": "语法错误❌",
"compilerVersion": "编译器版本",
"compiling": "正在编译中...",
"see": "看",
"platform": "平台",
"plugin": "插件",
"performingHotReload": "正在差量编译...",
"cliShared.parseJsonFailed": "解析失败,不符合 json 规范",
"cliShared.doesNotExist": "不存在",
"cliShared.pagesJsonError": "pages.json 页面配置错误,已被忽略,查看文档: {{0}}",
"cliShared.requireReturnJsonObject": "必须返回一个 json 对象",
"cliShared.requireExportFunction": "必须导出 function",
"cliShared.easycomConflict": "easycom组件冲突:{{0}}",
"cliShared.noFoundPlatformPlugin": "缺少平台 {{0}} 插件",
"cliShared.extendOnlySupportH5": "目前仅支持基于 h5 平台做扩展",
"cliShared.supportPlatform": "{{0}} 支持以下平台 {{1}}",
"cliShared.requireConfigUniPlatform": "{{0}} 不存在,必须配置 env->UNI_PLATFORM 基础平台",
"cliShared.missingNameAttribute": "{{0}} 缺少 name 属性",
"cliShared.missingUniConfig": "{{0}} 缺少 uni.config.js",
"migration.errorOnlySupportConvert": "错误: 目前支持 {{0}} 转换",
"migration.errorInputNotExists": "错误: '{{0}}' 不存在",
"migration.errorCannotConvert": "错误: '{{0}}' 不支持转换",
"migration.errorConvertRequireFileUrl": "错误: 单文件转换需要传入 {{0}} 文件地址",
"mpWeChat.onlySupportDestructuringSlot": "目前仅支持解构插槽 {{0}},如 {{1}}",
"mpWeChat.slotPropNoSupportReanme": "解构插槽 Prop,不支持将 {{0}} 重命名为 {{1}},重命名后会影响性能",
"uniStat.missingParameter": "缺少 [eventName] 参数",
"uniStat.parameterLengthLess": "参数长度不能大于",
"uniStat.parameterTypeErrrorString": "参数类型错误,只能为 String 类型",
"uniStat.parameterTypeErrrorStringOrObject": "参数类型错误,只能为 String 或 Object 类型",
"uniStat.hasTitleOptionString": "参数为 title 时,[options] 参数只能为 String 类型",
"templateCompiler.noH5KeyNoSupportExpression": "非 h5 平台 :key 不支持表达式 {{0}},详情参考: {{1}}",
"templateCompiler.notCurrentlySupportScopedSlot": "暂不支持 scoped slot {{0}}",
"templateCompiler.idAttribNotAllowInCustomComponentProps": "id 作为属性保留名,不允许在自定义组件 {{0}} 中定义为 props",
"templateCompiler.notSupportDynamicSlotName": "{{0}} 不支持动态插槽名,请设置 scopedSlotsCompiler 为 augmented",
"templateCompiler.forNestedIndexNameNoArrowRepeat": "{{0}} v-for 嵌套时,索引名称 {{1}} 不允许重复",
"templateCompiler.noSupportSyntax": "不支持 {{0}} 语法",
"pluginHbuilderx.plaseHXCompileAppPlatform": "请使用 HBuilderX 编译运行至 app-plus 平台",
"pluginHbuilderx.hxBuildFailed": "编译失败:HBuilderX 安装目录不能包括 {{0}} 等特殊字符",
"pluginHbuilderx.nvueCssWarning": "nvue中不支持如下css。如全局或公共样式受影响,建议将告警样式写在ifndef APP-PLUS-NVUE的条件编译中,详情如下:",
"pluginUni.runDebugMode": "请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。",
"pluginUni.runDebugModeNvue": "尤其是app-nvue的sourcemap影响较大",
"pluginUni.runDebugModeMP": "若要正式发布,请点击发行菜单或使用cli发布命令进行发布",
"pluginUni.compileToMpPluginOnlySupportPlatform": "编译到小程序插件只支持微信小程序和阿里小程序",
"pluginUni.startCompileProjectToPlatform": "开始编译当前项目至 {{0}} {{1}}...",
"pluginUni.fileNoExistsCheckAfterRetry": "{{0}} 文件不存在,请检查后重试",
"pluginUni.entryDileNoExistsCheckAfterRetry": "{{0}} 入口文件不存在,请检查后重试",
"pluginUni.nvueCompileModeForDetail": "当前nvue编译模式:{{0}}。编译模式差异见 {{1}}",
"pluginUni.currentProjectDefaultSpaceId": "当前项目的uniCloud使用的默认服务空间spaceId为:{{0}}",
"pluginUni.unicloudReleaseH5": "发布web站点需要在uniCloud web控制台操作,绑定安全域名,否则会因为跨域问题而无法访问。教程参考:{{0}}",
"pluginUni.unicloudShowedRunByHBuilderX": "当前项目使用了uniCloud,为避免云函数调用跨域问题,建议在HBuilderX内置浏览器里调试,如使用外部浏览器需处理跨域,详见:{{0}}",
"pluginUni.pleaseSpecifyPluginName": "请指定插件名",
"pluginUni.pluginNameNotExist": "插件名称不存在",
"pluginUni.pluginIllegal": "插件不合法",
"pluginUni.uniStatisticsNoAppid": "当前应用未配置Appid,无法使用uni统计,详情参考 {{0}}",
"pluginUni.uniStatisticsNoVersion": "当前应用未配置uni统计版本,默认使用1.0版本;建议使用uni统计2.0版本,私有部署数据更安全,代码开源可定制。详情:{{0}}",
"pluginUni.pleaseConfigScriptName": "请指定 package.json->uni-app->scripts 下的 script 名称",
"pluginUni.mpBrowserKernelDifference": "小程序各家浏览器内核及自定义组件实现机制存在差异,可能存在样式布局兼容问题,参考:{{0}}",
"mpLoader.firstParameterNeedStaticString": "{{0}}的第一个参数必须为静态字符串",
"mpLoader.requireTwoParameter": "{{0}}需要两个参数",
"mpLoader.findFail": "{{0}}查找失败",
"mpLoader.componentReferenceError": "组件 {{0}} 引用错误",
"mpLoader.componentReferenceErrorOnlySupportImport": "组件 {{0}} 引用错误,仅支持 import 方式引入组件",
"pagesLoader.pagesNodeCannotNull": "pages.json 中的 pages 节点不能为空",
"pagesLoader.nvueFirstPageStartModeIsFast": "App 启动模式: fast, 详见: {{0}}",
"pagesLoader.pagesTabbarMinItem2": "{{0}} 需至少包含2项",
"pagesLoader.needInPagesNode": "{{0}} 需在 pages 数组中",
"i18n.fallbackLocale.default": "当前应用未在 manifest.json 配置 fallbackLocale,默认使用:{{locale}}",
"i18n.fallbackLocale.missing": "当前应用配置的 fallbackLocale 或 locale 为:{locale},但 locale 目录缺少该语言文件",
"prompt.run.message": "运行方式:打开 {{devtools}}, 导入 {{outputDir}} 运行。",
"prompt.run.devtools.app-plus": "HBuilderX",
"prompt.run.devtools.mp-alipay": "支付宝小程序开发者工具",
"prompt.run.devtools.mp-baidu": "百度开发者工具",
"prompt.run.devtools.mp--kuaishou": "快手开发者工具",
"prompt.run.devtools.mp-lark": "飞书开发者工具",
"prompt.run.devtools.mp-qq": "QQ小程序开发者工具",
"prompt.run.devtools.mp-toutiao": "抖音开发者工具",
"prompt.run.devtools.mp-weixin": "微信开发者工具",
"prompt.run.devtools.mp-jd": "京东开发者工具",
"prompt.run.devtools.mp-xhs": "小红书开发者工具",
"prompt.run.devtools.quickapp-webview": "快应用联盟开发者工具 | 华为快应用开发者工具",
"prompt.run.devtools.quickapp-webview-huawei": "华为快应用开发者工具",
"prompt.run.devtools.quickapp-webview-union": "快应用联盟开发者工具"
}
+1
View File
@@ -0,0 +1 @@
{}
+21
View File
@@ -0,0 +1,21 @@
{
"name": "@dcloudio/uni-cli-i18n",
"version": "2.0.2-4070620250821001",
"description": "uni-cli-i18n",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/dcloudio/uni-app.git",
"directory": "packages/uni-cli-i18n"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "fxy060608",
"license": "Apache-2.0",
"dependencies": {
"i18n": "^0.13.3",
"os-locale-s-fix": "^1.0.8-fix-1"
},
"gitHead": "83322ec9f7cc592b2052ff78370e12f4689f5966"
}