@object-ui/i18n 6.0.4 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -822,6 +822,7 @@ const pt = {
822
822
  welcomeDescription: 'Comece criando sua primeira aplicação ou configurando as preferências do sistema.',
823
823
  createFirstApp: 'Crie sua primeira app',
824
824
  systemSettings: 'Configurações do sistema',
825
+ browseMarketplace: 'Explorar marketplace de apps',
825
826
  quickActions: {
826
827
  title: 'Ações rápidas',
827
828
  createApp: 'Criar app',
@@ -1180,5 +1181,117 @@ const pt = {
1180
1181
  },
1181
1182
  },
1182
1183
  },
1184
+ marketplace: {
1185
+ title: 'App Marketplace',
1186
+ subtitle: 'Browse approved apps published to the ObjectStack catalog. Click an app to view details and install it into one of your environments.',
1187
+ searchPlaceholder: 'Search apps by name or manifest ID…',
1188
+ searchAria: 'Search marketplace apps',
1189
+ installed: 'Installed',
1190
+ installedCount: 'Installed ({{count}})',
1191
+ refresh: 'Refresh',
1192
+ all: 'All',
1193
+ noApprovedYet: 'No apps have been approved for the marketplace yet.',
1194
+ noMatchFilters: 'No apps match your filters.',
1195
+ noDescription: 'No description provided.',
1196
+ back: 'Back to marketplace',
1197
+ installedTitle: 'Installed Apps',
1198
+ installedSubtitle: 'Marketplace packages currently installed into this runtime\'s kernel. Cached manifests live in <code>.objectstack/installed-packages/</code> and survive restarts.',
1199
+ installedEmpty: 'No marketplace apps installed in this runtime yet.',
1200
+ browseLink: 'Browse the marketplace →',
1201
+ installedAdditiveNote: '<strong>Note:</strong> The kernel API is additive only — uninstall removes the on-disk manifest so the package won\'t load on next boot, but the running kernel keeps the app registered until you restart the runtime.',
1202
+ installedAt: 'Installed {{when}}',
1203
+ installedBy: 'by {{user}}',
1204
+ installedPackageId: 'package',
1205
+ cachedAs: 'Cached as <code>{{path}}</code>',
1206
+ versionBadge: 'v{{version}}',
1207
+ installedBadge: 'Installed v{{version}}',
1208
+ load: {
1209
+ failed: 'Failed to load marketplace',
1210
+ failedHint: 'By default this runtime points at the public ObjectStack cloud. Check the runtime is online, or override <code>OS_CLOUD_URL</code> to point at a self-hosted control plane.',
1211
+ packageFailed: 'Failed to load package',
1212
+ notFound: 'Not found.',
1213
+ },
1214
+ detail: {
1215
+ homepage: 'Homepage',
1216
+ installedV: 'Installed · v{{version}}',
1217
+ about: 'About',
1218
+ noReadme: 'No readme provided.',
1219
+ versions: 'Versions',
1220
+ noApprovedVersions: 'No approved versions.',
1221
+ prerelease: 'pre',
1222
+ moreOptions: 'More install options',
1223
+ uninstallFromRuntime: 'Uninstall from this runtime',
1224
+ },
1225
+ action: {
1226
+ install: 'Install',
1227
+ reinstall: 'Reinstall',
1228
+ working: 'Working…',
1229
+ installToCloud: 'Install to cloud…',
1230
+ installing: 'Installing…',
1231
+ uninstall: 'Uninstall',
1232
+ uninstalling: 'Uninstalling…',
1233
+ details: 'Details',
1234
+ close: 'Close',
1235
+ dismiss: 'Dismiss',
1236
+ openOnCloud: 'Open on cloud',
1237
+ backHome: 'Back to home',
1238
+ },
1239
+ install: {
1240
+ dialogTitle: 'Install {{name}}',
1241
+ dialogDescCurrent: 'Install into this environment ({{host}}).',
1242
+ dialogDescPicker: 'Choose an environment to install this app into. You need to be signed into ObjectStack Cloud.',
1243
+ environment: 'Environment',
1244
+ environmentPlaceholder: 'Pick an environment',
1245
+ includeSampleData: 'Include sample data',
1246
+ noEnvs: 'No environments found in your active organization.',
1247
+ noPermission: 'You do not have permission to install apps in any environment. Only organization owners and admins can install — ask your workspace admin.',
1248
+ signInFirst: 'You need to sign into ObjectStack Cloud first. Click "Open on cloud" below.',
1249
+ success: 'Installed successfully. Open the environment to see the new app.',
1250
+ localSuccess: 'Installed v{{version}} to this runtime. "{{name}}" should now appear in the app switcher.',
1251
+ localManifestConflict: '{{message}}\nTip: a local app already owns this manifest_id. Remove it from objectstack.config.ts first.',
1252
+ localUnauthorized: 'Sign in to this runtime first, then try again.',
1253
+ localMarketplaceUnavailable: 'This runtime has no OS_CLOUD_URL configured, so the marketplace catalog is unreachable.',
1254
+ },
1255
+ uninstall: {
1256
+ confirm: 'Uninstall {{manifestId}} v{{version}} from this runtime?\n\nThe cached manifest will be removed. The app will remain loaded in the running kernel until the next restart.',
1257
+ successInList: 'Removed {{manifestId}}. Restart the runtime to fully unload it from the running kernel.',
1258
+ successInDetail: 'Removed cached manifest for {{manifestId}}. Restart the runtime to fully unload the app from the running kernel.',
1259
+ },
1260
+ accessDenied: {
1261
+ title: 'App Marketplace is admin-only',
1262
+ description: 'You don\'t have permission to install apps in this environment. Ask an owner or admin of this organization for access.',
1263
+ },
1264
+ category: {
1265
+ crm: 'CRM',
1266
+ erp: 'ERP',
1267
+ hr: 'Human Resources',
1268
+ finance: 'Finance',
1269
+ project: 'Project Management',
1270
+ collaboration: 'Collaboration',
1271
+ analytics: 'Analytics',
1272
+ integration: 'Integration',
1273
+ automation: 'Automation',
1274
+ ai: 'AI',
1275
+ security: 'Security',
1276
+ 'developer-tools': 'Developer Tools',
1277
+ 'ui-theme': 'UI Theme',
1278
+ storage: 'Storage',
1279
+ other: 'Other',
1280
+ },
1281
+ pricing: {
1282
+ free: 'Free',
1283
+ freemium: 'Freemium',
1284
+ paid: 'Paid',
1285
+ subscription: 'Subscription',
1286
+ 'usage-based': 'Usage-based',
1287
+ 'contact-sales': 'Contact Sales',
1288
+ },
1289
+ relativeTime: {
1290
+ today: 'today',
1291
+ daysAgo: '{{count}}d ago',
1292
+ monthsAgo: '{{count}}mo ago',
1293
+ yearsAgo: '{{count}}y ago',
1294
+ },
1295
+ },
1183
1296
  };
1184
1297
  export default pt;
@@ -838,6 +838,7 @@ declare const ru: {
838
838
  readonly welcomeDescription: "Начните с создания вашего первого приложения или настройки системы.";
839
839
  readonly createFirstApp: "Создайте первое приложение";
840
840
  readonly systemSettings: "Системные настройки";
841
+ readonly browseMarketplace: "Обзор маркетплейса приложений";
841
842
  readonly quickActions: {
842
843
  readonly title: "Быстрые действия";
843
844
  readonly createApp: "Создать приложение";
@@ -1196,5 +1197,117 @@ declare const ru: {
1196
1197
  };
1197
1198
  };
1198
1199
  };
1200
+ readonly marketplace: {
1201
+ readonly title: "App Marketplace";
1202
+ readonly subtitle: "Browse approved apps published to the ObjectStack catalog. Click an app to view details and install it into one of your environments.";
1203
+ readonly searchPlaceholder: "Search apps by name or manifest ID…";
1204
+ readonly searchAria: "Search marketplace apps";
1205
+ readonly installed: "Installed";
1206
+ readonly installedCount: "Installed ({{count}})";
1207
+ readonly refresh: "Refresh";
1208
+ readonly all: "All";
1209
+ readonly noApprovedYet: "No apps have been approved for the marketplace yet.";
1210
+ readonly noMatchFilters: "No apps match your filters.";
1211
+ readonly noDescription: "No description provided.";
1212
+ readonly back: "Back to marketplace";
1213
+ readonly installedTitle: "Installed Apps";
1214
+ readonly installedSubtitle: "Marketplace packages currently installed into this runtime's kernel. Cached manifests live in <code>.objectstack/installed-packages/</code> and survive restarts.";
1215
+ readonly installedEmpty: "No marketplace apps installed in this runtime yet.";
1216
+ readonly browseLink: "Browse the marketplace →";
1217
+ readonly installedAdditiveNote: "<strong>Note:</strong> The kernel API is additive only — uninstall removes the on-disk manifest so the package won't load on next boot, but the running kernel keeps the app registered until you restart the runtime.";
1218
+ readonly installedAt: "Installed {{when}}";
1219
+ readonly installedBy: "by {{user}}";
1220
+ readonly installedPackageId: "package";
1221
+ readonly cachedAs: "Cached as <code>{{path}}</code>";
1222
+ readonly versionBadge: "v{{version}}";
1223
+ readonly installedBadge: "Installed v{{version}}";
1224
+ readonly load: {
1225
+ readonly failed: "Failed to load marketplace";
1226
+ readonly failedHint: "By default this runtime points at the public ObjectStack cloud. Check the runtime is online, or override <code>OS_CLOUD_URL</code> to point at a self-hosted control plane.";
1227
+ readonly packageFailed: "Failed to load package";
1228
+ readonly notFound: "Not found.";
1229
+ };
1230
+ readonly detail: {
1231
+ readonly homepage: "Homepage";
1232
+ readonly installedV: "Installed · v{{version}}";
1233
+ readonly about: "About";
1234
+ readonly noReadme: "No readme provided.";
1235
+ readonly versions: "Versions";
1236
+ readonly noApprovedVersions: "No approved versions.";
1237
+ readonly prerelease: "pre";
1238
+ readonly moreOptions: "More install options";
1239
+ readonly uninstallFromRuntime: "Uninstall from this runtime";
1240
+ };
1241
+ readonly action: {
1242
+ readonly install: "Install";
1243
+ readonly reinstall: "Reinstall";
1244
+ readonly working: "Working…";
1245
+ readonly installToCloud: "Install to cloud…";
1246
+ readonly installing: "Installing…";
1247
+ readonly uninstall: "Uninstall";
1248
+ readonly uninstalling: "Uninstalling…";
1249
+ readonly details: "Details";
1250
+ readonly close: "Close";
1251
+ readonly dismiss: "Dismiss";
1252
+ readonly openOnCloud: "Open on cloud";
1253
+ readonly backHome: "Back to home";
1254
+ };
1255
+ readonly install: {
1256
+ readonly dialogTitle: "Install {{name}}";
1257
+ readonly dialogDescCurrent: "Install into this environment ({{host}}).";
1258
+ readonly dialogDescPicker: "Choose an environment to install this app into. You need to be signed into ObjectStack Cloud.";
1259
+ readonly environment: "Environment";
1260
+ readonly environmentPlaceholder: "Pick an environment";
1261
+ readonly includeSampleData: "Include sample data";
1262
+ readonly noEnvs: "No environments found in your active organization.";
1263
+ readonly noPermission: "You do not have permission to install apps in any environment. Only organization owners and admins can install — ask your workspace admin.";
1264
+ readonly signInFirst: "You need to sign into ObjectStack Cloud first. Click \"Open on cloud\" below.";
1265
+ readonly success: "Installed successfully. Open the environment to see the new app.";
1266
+ readonly localSuccess: "Installed v{{version}} to this runtime. \"{{name}}\" should now appear in the app switcher.";
1267
+ readonly localManifestConflict: "{{message}}\nTip: a local app already owns this manifest_id. Remove it from objectstack.config.ts first.";
1268
+ readonly localUnauthorized: "Sign in to this runtime first, then try again.";
1269
+ readonly localMarketplaceUnavailable: "This runtime has no OS_CLOUD_URL configured, so the marketplace catalog is unreachable.";
1270
+ };
1271
+ readonly uninstall: {
1272
+ readonly confirm: "Uninstall {{manifestId}} v{{version}} from this runtime?\n\nThe cached manifest will be removed. The app will remain loaded in the running kernel until the next restart.";
1273
+ readonly successInList: "Removed {{manifestId}}. Restart the runtime to fully unload it from the running kernel.";
1274
+ readonly successInDetail: "Removed cached manifest for {{manifestId}}. Restart the runtime to fully unload the app from the running kernel.";
1275
+ };
1276
+ readonly accessDenied: {
1277
+ readonly title: "App Marketplace is admin-only";
1278
+ readonly description: "You don't have permission to install apps in this environment. Ask an owner or admin of this organization for access.";
1279
+ };
1280
+ readonly category: {
1281
+ readonly crm: "CRM";
1282
+ readonly erp: "ERP";
1283
+ readonly hr: "Human Resources";
1284
+ readonly finance: "Finance";
1285
+ readonly project: "Project Management";
1286
+ readonly collaboration: "Collaboration";
1287
+ readonly analytics: "Analytics";
1288
+ readonly integration: "Integration";
1289
+ readonly automation: "Automation";
1290
+ readonly ai: "AI";
1291
+ readonly security: "Security";
1292
+ readonly 'developer-tools': "Developer Tools";
1293
+ readonly 'ui-theme': "UI Theme";
1294
+ readonly storage: "Storage";
1295
+ readonly other: "Other";
1296
+ };
1297
+ readonly pricing: {
1298
+ readonly free: "Free";
1299
+ readonly freemium: "Freemium";
1300
+ readonly paid: "Paid";
1301
+ readonly subscription: "Subscription";
1302
+ readonly 'usage-based': "Usage-based";
1303
+ readonly 'contact-sales': "Contact Sales";
1304
+ };
1305
+ readonly relativeTime: {
1306
+ readonly today: "today";
1307
+ readonly daysAgo: "{{count}}d ago";
1308
+ readonly monthsAgo: "{{count}}mo ago";
1309
+ readonly yearsAgo: "{{count}}y ago";
1310
+ };
1311
+ };
1199
1312
  };
1200
1313
  export default ru;
@@ -842,6 +842,7 @@ const ru = {
842
842
  welcomeDescription: 'Начните с создания вашего первого приложения или настройки системы.',
843
843
  createFirstApp: 'Создайте первое приложение',
844
844
  systemSettings: 'Системные настройки',
845
+ browseMarketplace: 'Обзор маркетплейса приложений',
845
846
  quickActions: {
846
847
  title: 'Быстрые действия',
847
848
  createApp: 'Создать приложение',
@@ -1200,5 +1201,117 @@ const ru = {
1200
1201
  },
1201
1202
  },
1202
1203
  },
1204
+ marketplace: {
1205
+ title: 'App Marketplace',
1206
+ subtitle: 'Browse approved apps published to the ObjectStack catalog. Click an app to view details and install it into one of your environments.',
1207
+ searchPlaceholder: 'Search apps by name or manifest ID…',
1208
+ searchAria: 'Search marketplace apps',
1209
+ installed: 'Installed',
1210
+ installedCount: 'Installed ({{count}})',
1211
+ refresh: 'Refresh',
1212
+ all: 'All',
1213
+ noApprovedYet: 'No apps have been approved for the marketplace yet.',
1214
+ noMatchFilters: 'No apps match your filters.',
1215
+ noDescription: 'No description provided.',
1216
+ back: 'Back to marketplace',
1217
+ installedTitle: 'Installed Apps',
1218
+ installedSubtitle: 'Marketplace packages currently installed into this runtime\'s kernel. Cached manifests live in <code>.objectstack/installed-packages/</code> and survive restarts.',
1219
+ installedEmpty: 'No marketplace apps installed in this runtime yet.',
1220
+ browseLink: 'Browse the marketplace →',
1221
+ installedAdditiveNote: '<strong>Note:</strong> The kernel API is additive only — uninstall removes the on-disk manifest so the package won\'t load on next boot, but the running kernel keeps the app registered until you restart the runtime.',
1222
+ installedAt: 'Installed {{when}}',
1223
+ installedBy: 'by {{user}}',
1224
+ installedPackageId: 'package',
1225
+ cachedAs: 'Cached as <code>{{path}}</code>',
1226
+ versionBadge: 'v{{version}}',
1227
+ installedBadge: 'Installed v{{version}}',
1228
+ load: {
1229
+ failed: 'Failed to load marketplace',
1230
+ failedHint: 'By default this runtime points at the public ObjectStack cloud. Check the runtime is online, or override <code>OS_CLOUD_URL</code> to point at a self-hosted control plane.',
1231
+ packageFailed: 'Failed to load package',
1232
+ notFound: 'Not found.',
1233
+ },
1234
+ detail: {
1235
+ homepage: 'Homepage',
1236
+ installedV: 'Installed · v{{version}}',
1237
+ about: 'About',
1238
+ noReadme: 'No readme provided.',
1239
+ versions: 'Versions',
1240
+ noApprovedVersions: 'No approved versions.',
1241
+ prerelease: 'pre',
1242
+ moreOptions: 'More install options',
1243
+ uninstallFromRuntime: 'Uninstall from this runtime',
1244
+ },
1245
+ action: {
1246
+ install: 'Install',
1247
+ reinstall: 'Reinstall',
1248
+ working: 'Working…',
1249
+ installToCloud: 'Install to cloud…',
1250
+ installing: 'Installing…',
1251
+ uninstall: 'Uninstall',
1252
+ uninstalling: 'Uninstalling…',
1253
+ details: 'Details',
1254
+ close: 'Close',
1255
+ dismiss: 'Dismiss',
1256
+ openOnCloud: 'Open on cloud',
1257
+ backHome: 'Back to home',
1258
+ },
1259
+ install: {
1260
+ dialogTitle: 'Install {{name}}',
1261
+ dialogDescCurrent: 'Install into this environment ({{host}}).',
1262
+ dialogDescPicker: 'Choose an environment to install this app into. You need to be signed into ObjectStack Cloud.',
1263
+ environment: 'Environment',
1264
+ environmentPlaceholder: 'Pick an environment',
1265
+ includeSampleData: 'Include sample data',
1266
+ noEnvs: 'No environments found in your active organization.',
1267
+ noPermission: 'You do not have permission to install apps in any environment. Only organization owners and admins can install — ask your workspace admin.',
1268
+ signInFirst: 'You need to sign into ObjectStack Cloud first. Click "Open on cloud" below.',
1269
+ success: 'Installed successfully. Open the environment to see the new app.',
1270
+ localSuccess: 'Installed v{{version}} to this runtime. "{{name}}" should now appear in the app switcher.',
1271
+ localManifestConflict: '{{message}}\nTip: a local app already owns this manifest_id. Remove it from objectstack.config.ts first.',
1272
+ localUnauthorized: 'Sign in to this runtime first, then try again.',
1273
+ localMarketplaceUnavailable: 'This runtime has no OS_CLOUD_URL configured, so the marketplace catalog is unreachable.',
1274
+ },
1275
+ uninstall: {
1276
+ confirm: 'Uninstall {{manifestId}} v{{version}} from this runtime?\n\nThe cached manifest will be removed. The app will remain loaded in the running kernel until the next restart.',
1277
+ successInList: 'Removed {{manifestId}}. Restart the runtime to fully unload it from the running kernel.',
1278
+ successInDetail: 'Removed cached manifest for {{manifestId}}. Restart the runtime to fully unload the app from the running kernel.',
1279
+ },
1280
+ accessDenied: {
1281
+ title: 'App Marketplace is admin-only',
1282
+ description: 'You don\'t have permission to install apps in this environment. Ask an owner or admin of this organization for access.',
1283
+ },
1284
+ category: {
1285
+ crm: 'CRM',
1286
+ erp: 'ERP',
1287
+ hr: 'Human Resources',
1288
+ finance: 'Finance',
1289
+ project: 'Project Management',
1290
+ collaboration: 'Collaboration',
1291
+ analytics: 'Analytics',
1292
+ integration: 'Integration',
1293
+ automation: 'Automation',
1294
+ ai: 'AI',
1295
+ security: 'Security',
1296
+ 'developer-tools': 'Developer Tools',
1297
+ 'ui-theme': 'UI Theme',
1298
+ storage: 'Storage',
1299
+ other: 'Other',
1300
+ },
1301
+ pricing: {
1302
+ free: 'Free',
1303
+ freemium: 'Freemium',
1304
+ paid: 'Paid',
1305
+ subscription: 'Subscription',
1306
+ 'usage-based': 'Usage-based',
1307
+ 'contact-sales': 'Contact Sales',
1308
+ },
1309
+ relativeTime: {
1310
+ today: 'today',
1311
+ daysAgo: '{{count}}d ago',
1312
+ monthsAgo: '{{count}}mo ago',
1313
+ yearsAgo: '{{count}}y ago',
1314
+ },
1315
+ },
1203
1316
  };
1204
1317
  export default ru;
@@ -1259,6 +1259,7 @@ declare const zh: {
1259
1259
  readonly welcomeDescription: "从创建您的第一个应用开始,或者先完成系统设置。";
1260
1260
  readonly createFirstApp: "创建您的第一个应用";
1261
1261
  readonly systemSettings: "系统设置";
1262
+ readonly browseMarketplace: "浏览应用市场";
1262
1263
  readonly quickActions: {
1263
1264
  readonly title: "快捷操作";
1264
1265
  readonly createApp: "创建应用";
@@ -1529,5 +1530,117 @@ declare const zh: {
1529
1530
  };
1530
1531
  };
1531
1532
  };
1533
+ readonly marketplace: {
1534
+ readonly title: "应用市场";
1535
+ readonly subtitle: "浏览已通过审核、发布到 ObjectStack 目录中的应用。点击应用查看详情并安装到你的某个环境中。";
1536
+ readonly searchPlaceholder: "按名称或 manifest ID 搜索应用…";
1537
+ readonly searchAria: "搜索市场应用";
1538
+ readonly installed: "已安装";
1539
+ readonly installedCount: "已安装({{count}})";
1540
+ readonly refresh: "刷新";
1541
+ readonly all: "全部";
1542
+ readonly noApprovedYet: "应用市场暂无已通过审核的应用。";
1543
+ readonly noMatchFilters: "没有应用匹配当前筛选条件。";
1544
+ readonly noDescription: "未提供描述。";
1545
+ readonly back: "返回应用市场";
1546
+ readonly installedTitle: "已安装的应用";
1547
+ readonly installedSubtitle: "当前已安装到本运行时内核的应用市场软件包。缓存的清单文件位于 <code>.objectstack/installed-packages/</code>,重启后仍然保留。";
1548
+ readonly installedEmpty: "本运行时尚未安装任何应用市场应用。";
1549
+ readonly browseLink: "去应用市场看看 →";
1550
+ readonly installedAdditiveNote: "<strong>说明:</strong>内核 API 仅支持新增 — 卸载会移除磁盘上的清单,下次启动时不再加载;但运行中的内核仍会保留该应用,直到下次重启运行时才会真正卸载。";
1551
+ readonly installedAt: "安装于 {{when}}";
1552
+ readonly installedBy: "由 {{user}}";
1553
+ readonly installedPackageId: "包";
1554
+ readonly cachedAs: "缓存为 <code>{{path}}</code>";
1555
+ readonly versionBadge: "v{{version}}";
1556
+ readonly installedBadge: "已安装 v{{version}}";
1557
+ readonly load: {
1558
+ readonly failed: "应用市场加载失败";
1559
+ readonly failedHint: "本运行时默认指向公共 ObjectStack 云端。请检查运行时是否在线,或通过 <code>OS_CLOUD_URL</code> 指向自托管控制面。";
1560
+ readonly packageFailed: "应用加载失败";
1561
+ readonly notFound: "未找到。";
1562
+ };
1563
+ readonly detail: {
1564
+ readonly homepage: "主页";
1565
+ readonly installedV: "已安装 · v{{version}}";
1566
+ readonly about: "简介";
1567
+ readonly noReadme: "未提供 README。";
1568
+ readonly versions: "版本";
1569
+ readonly noApprovedVersions: "暂无已审核版本。";
1570
+ readonly prerelease: "预发布";
1571
+ readonly moreOptions: "更多安装选项";
1572
+ readonly uninstallFromRuntime: "从本运行时卸载";
1573
+ };
1574
+ readonly action: {
1575
+ readonly install: "安装";
1576
+ readonly reinstall: "重新安装";
1577
+ readonly working: "处理中…";
1578
+ readonly installToCloud: "安装到云端…";
1579
+ readonly installing: "安装中…";
1580
+ readonly uninstall: "卸载";
1581
+ readonly uninstalling: "卸载中…";
1582
+ readonly details: "详情";
1583
+ readonly close: "关闭";
1584
+ readonly dismiss: "关闭";
1585
+ readonly openOnCloud: "在云端打开";
1586
+ readonly backHome: "返回首页";
1587
+ };
1588
+ readonly install: {
1589
+ readonly dialogTitle: "安装 {{name}}";
1590
+ readonly dialogDescCurrent: "安装到当前环境({{host}})。";
1591
+ readonly dialogDescPicker: "选择要将此应用安装到的环境。需要先登录 ObjectStack Cloud。";
1592
+ readonly environment: "环境";
1593
+ readonly environmentPlaceholder: "选择一个环境";
1594
+ readonly includeSampleData: "包含示例数据";
1595
+ readonly noEnvs: "当前组织没有可用的环境。";
1596
+ readonly noPermission: "你没有权限在任何环境中安装应用。仅组织所有者和管理员可以安装 — 请联系你的工作区管理员。";
1597
+ readonly signInFirst: "请先登录 ObjectStack Cloud,然后点击下方\"在云端打开\"。";
1598
+ readonly success: "安装成功。打开环境即可看到新应用。";
1599
+ readonly localSuccess: "已将 v{{version}} 安装到本运行时。\"{{name}}\" 应该已经出现在应用切换器中。";
1600
+ readonly localManifestConflict: "{{message}}\n提示:本地已有应用占用此 manifest_id,请先从 objectstack.config.ts 中移除。";
1601
+ readonly localUnauthorized: "请先登录本运行时再试。";
1602
+ readonly localMarketplaceUnavailable: "本运行时未配置 OS_CLOUD_URL,无法访问应用市场目录。";
1603
+ };
1604
+ readonly uninstall: {
1605
+ readonly confirm: "从本运行时卸载 {{manifestId}} v{{version}}?\n\n磁盘上的清单缓存将被移除。运行中的内核仍会保留该应用,直到下次重启运行时才会真正卸载。";
1606
+ readonly successInList: "已移除 {{manifestId}}。重启运行时即可从内核中彻底卸载。";
1607
+ readonly successInDetail: "已移除 {{manifestId}} 的清单缓存。重启运行时即可从内核中彻底卸载该应用。";
1608
+ };
1609
+ readonly accessDenied: {
1610
+ readonly title: "应用市场仅限管理员使用";
1611
+ readonly description: "你没有权限在本环境中安装应用。请联系组织的所有者或管理员申请权限。";
1612
+ };
1613
+ readonly category: {
1614
+ readonly crm: "客户关系";
1615
+ readonly erp: "企业资源";
1616
+ readonly hr: "人力资源";
1617
+ readonly finance: "财务";
1618
+ readonly project: "项目管理";
1619
+ readonly collaboration: "协作";
1620
+ readonly analytics: "分析";
1621
+ readonly integration: "集成";
1622
+ readonly automation: "自动化";
1623
+ readonly ai: "人工智能";
1624
+ readonly security: "安全";
1625
+ readonly 'developer-tools': "开发者工具";
1626
+ readonly 'ui-theme': "界面主题";
1627
+ readonly storage: "存储";
1628
+ readonly other: "其他";
1629
+ };
1630
+ readonly pricing: {
1631
+ readonly free: "免费";
1632
+ readonly freemium: "免费增值";
1633
+ readonly paid: "付费";
1634
+ readonly subscription: "订阅";
1635
+ readonly 'usage-based': "按用量计费";
1636
+ readonly 'contact-sales': "联系销售";
1637
+ };
1638
+ readonly relativeTime: {
1639
+ readonly today: "今天";
1640
+ readonly daysAgo: "{{count}} 天前";
1641
+ readonly monthsAgo: "{{count}} 个月前";
1642
+ readonly yearsAgo: "{{count}} 年前";
1643
+ };
1644
+ };
1532
1645
  };
1533
1646
  export default zh;
@@ -1271,6 +1271,7 @@ const zh = {
1271
1271
  welcomeDescription: '从创建您的第一个应用开始,或者先完成系统设置。',
1272
1272
  createFirstApp: '创建您的第一个应用',
1273
1273
  systemSettings: '系统设置',
1274
+ browseMarketplace: '浏览应用市场',
1274
1275
  quickActions: {
1275
1276
  title: '快捷操作',
1276
1277
  createApp: '创建应用',
@@ -1541,5 +1542,117 @@ const zh = {
1541
1542
  },
1542
1543
  },
1543
1544
  },
1545
+ marketplace: {
1546
+ title: '应用市场',
1547
+ subtitle: '浏览已通过审核、发布到 ObjectStack 目录中的应用。点击应用查看详情并安装到你的某个环境中。',
1548
+ searchPlaceholder: '按名称或 manifest ID 搜索应用…',
1549
+ searchAria: '搜索市场应用',
1550
+ installed: '已安装',
1551
+ installedCount: '已安装({{count}})',
1552
+ refresh: '刷新',
1553
+ all: '全部',
1554
+ noApprovedYet: '应用市场暂无已通过审核的应用。',
1555
+ noMatchFilters: '没有应用匹配当前筛选条件。',
1556
+ noDescription: '未提供描述。',
1557
+ back: '返回应用市场',
1558
+ installedTitle: '已安装的应用',
1559
+ installedSubtitle: '当前已安装到本运行时内核的应用市场软件包。缓存的清单文件位于 <code>.objectstack/installed-packages/</code>,重启后仍然保留。',
1560
+ installedEmpty: '本运行时尚未安装任何应用市场应用。',
1561
+ browseLink: '去应用市场看看 →',
1562
+ installedAdditiveNote: '<strong>说明:</strong>内核 API 仅支持新增 — 卸载会移除磁盘上的清单,下次启动时不再加载;但运行中的内核仍会保留该应用,直到下次重启运行时才会真正卸载。',
1563
+ installedAt: '安装于 {{when}}',
1564
+ installedBy: '由 {{user}}',
1565
+ installedPackageId: '包',
1566
+ cachedAs: '缓存为 <code>{{path}}</code>',
1567
+ versionBadge: 'v{{version}}',
1568
+ installedBadge: '已安装 v{{version}}',
1569
+ load: {
1570
+ failed: '应用市场加载失败',
1571
+ failedHint: '本运行时默认指向公共 ObjectStack 云端。请检查运行时是否在线,或通过 <code>OS_CLOUD_URL</code> 指向自托管控制面。',
1572
+ packageFailed: '应用加载失败',
1573
+ notFound: '未找到。',
1574
+ },
1575
+ detail: {
1576
+ homepage: '主页',
1577
+ installedV: '已安装 · v{{version}}',
1578
+ about: '简介',
1579
+ noReadme: '未提供 README。',
1580
+ versions: '版本',
1581
+ noApprovedVersions: '暂无已审核版本。',
1582
+ prerelease: '预发布',
1583
+ moreOptions: '更多安装选项',
1584
+ uninstallFromRuntime: '从本运行时卸载',
1585
+ },
1586
+ action: {
1587
+ install: '安装',
1588
+ reinstall: '重新安装',
1589
+ working: '处理中…',
1590
+ installToCloud: '安装到云端…',
1591
+ installing: '安装中…',
1592
+ uninstall: '卸载',
1593
+ uninstalling: '卸载中…',
1594
+ details: '详情',
1595
+ close: '关闭',
1596
+ dismiss: '关闭',
1597
+ openOnCloud: '在云端打开',
1598
+ backHome: '返回首页',
1599
+ },
1600
+ install: {
1601
+ dialogTitle: '安装 {{name}}',
1602
+ dialogDescCurrent: '安装到当前环境({{host}})。',
1603
+ dialogDescPicker: '选择要将此应用安装到的环境。需要先登录 ObjectStack Cloud。',
1604
+ environment: '环境',
1605
+ environmentPlaceholder: '选择一个环境',
1606
+ includeSampleData: '包含示例数据',
1607
+ noEnvs: '当前组织没有可用的环境。',
1608
+ noPermission: '你没有权限在任何环境中安装应用。仅组织所有者和管理员可以安装 — 请联系你的工作区管理员。',
1609
+ signInFirst: '请先登录 ObjectStack Cloud,然后点击下方"在云端打开"。',
1610
+ success: '安装成功。打开环境即可看到新应用。',
1611
+ localSuccess: '已将 v{{version}} 安装到本运行时。"{{name}}" 应该已经出现在应用切换器中。',
1612
+ localManifestConflict: '{{message}}\n提示:本地已有应用占用此 manifest_id,请先从 objectstack.config.ts 中移除。',
1613
+ localUnauthorized: '请先登录本运行时再试。',
1614
+ localMarketplaceUnavailable: '本运行时未配置 OS_CLOUD_URL,无法访问应用市场目录。',
1615
+ },
1616
+ uninstall: {
1617
+ confirm: '从本运行时卸载 {{manifestId}} v{{version}}?\n\n磁盘上的清单缓存将被移除。运行中的内核仍会保留该应用,直到下次重启运行时才会真正卸载。',
1618
+ successInList: '已移除 {{manifestId}}。重启运行时即可从内核中彻底卸载。',
1619
+ successInDetail: '已移除 {{manifestId}} 的清单缓存。重启运行时即可从内核中彻底卸载该应用。',
1620
+ },
1621
+ accessDenied: {
1622
+ title: '应用市场仅限管理员使用',
1623
+ description: '你没有权限在本环境中安装应用。请联系组织的所有者或管理员申请权限。',
1624
+ },
1625
+ category: {
1626
+ crm: '客户关系',
1627
+ erp: '企业资源',
1628
+ hr: '人力资源',
1629
+ finance: '财务',
1630
+ project: '项目管理',
1631
+ collaboration: '协作',
1632
+ analytics: '分析',
1633
+ integration: '集成',
1634
+ automation: '自动化',
1635
+ ai: '人工智能',
1636
+ security: '安全',
1637
+ 'developer-tools': '开发者工具',
1638
+ 'ui-theme': '界面主题',
1639
+ storage: '存储',
1640
+ other: '其他',
1641
+ },
1642
+ pricing: {
1643
+ free: '免费',
1644
+ freemium: '免费增值',
1645
+ paid: '付费',
1646
+ subscription: '订阅',
1647
+ 'usage-based': '按用量计费',
1648
+ 'contact-sales': '联系销售',
1649
+ },
1650
+ relativeTime: {
1651
+ today: '今天',
1652
+ daysAgo: '{{count}} 天前',
1653
+ monthsAgo: '{{count}} 个月前',
1654
+ yearsAgo: '{{count}} 年前',
1655
+ },
1656
+ },
1544
1657
  };
1545
1658
  export default zh;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/i18n",
3
- "version": "6.0.4",
3
+ "version": "6.2.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -37,10 +37,10 @@
37
37
  "react": "^18.0.0 || ^19.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@types/react": "19.2.14",
40
+ "@types/react": "19.2.15",
41
41
  "react": "19.2.6",
42
42
  "typescript": "^6.0.3",
43
- "vitest": "^4.1.6"
43
+ "vitest": "^4.1.7"
44
44
  },
45
45
  "keywords": [
46
46
  "objectui",