vue-layout-gitcode 1.0.0 → 1.0.1

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.
@@ -1355,17 +1355,17 @@ function formatTimeDifference(targetDate) {
1355
1355
  const years = Math.floor(months / 12);
1356
1356
  let formatLabel = "";
1357
1357
  if (years > 0) {
1358
- formatLabel = years === 1 ? t2("common.time.oneYearAgo") : t2("common.time.yearsAgo", { num: years });
1358
+ formatLabel = years === 1 ? t2("gitCodeLayout.common.time.oneYearAgo") : t2("gitCodeLayout.common.time.yearsAgo", { num: years });
1359
1359
  } else if (months > 0) {
1360
- formatLabel = months === 1 ? t2("common.time.oneMonthAgo") : t2("common.time.monthsAgo", { num: months });
1360
+ formatLabel = months === 1 ? t2("gitCodeLayout.common.time.oneMonthAgo") : t2("gitCodeLayout.common.time.monthsAgo", { num: months });
1361
1361
  } else if (days > 0) {
1362
- formatLabel = days === 1 ? t2("common.time.oneDayAgo") : t2("common.time.daysAgo", { num: days });
1362
+ formatLabel = days === 1 ? t2("gitCodeLayout.common.time.oneDayAgo") : t2("gitCodeLayout.common.time.daysAgo", { num: days });
1363
1363
  } else if (hours > 0) {
1364
- formatLabel = hours === 1 ? t2("common.time.oneHourAgo") : t2("common.time.hoursAgo", { num: hours });
1364
+ formatLabel = hours === 1 ? t2("gitCodeLayout.common.time.oneHourAgo") : t2("gitCodeLayout.common.time.hoursAgo", { num: hours });
1365
1365
  } else if (minutes > 0) {
1366
- formatLabel = minutes === 1 ? t2("common.time.oneMinuteAgo") : t2("common.time.minutesAgo", { num: minutes });
1366
+ formatLabel = minutes === 1 ? t2("gitCodeLayout.common.time.oneMinuteAgo") : t2("gitCodeLayout.common.time.minutesAgo", { num: minutes });
1367
1367
  } else {
1368
- formatLabel = t2("common.time.justNow");
1368
+ formatLabel = t2("gitCodeLayout.common.time.justNow");
1369
1369
  }
1370
1370
  return formatLabel + " ";
1371
1371
  }
@@ -1581,11 +1581,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1581
1581
  const process2 = ref(true);
1582
1582
  const opinionText = ref("");
1583
1583
  const rateIcon = [
1584
- { name: "gt-nps-1", title: t2("home.veryGood"), index: 0 },
1585
- { name: "gt-nps-2", title: t2("home.good"), index: 1 },
1586
- { name: "gt-nps-3", title: t2("home.generally"), index: 2 },
1587
- { name: "gt-nps-4", title: t2("home.bad"), index: 3 },
1588
- { name: "gt-nps-5", title: t2("home.veryBad"), index: 4 }
1584
+ { name: "gt-nps-1", title: t2("gitCodeLayout.home.veryGood"), index: 0 },
1585
+ { name: "gt-nps-2", title: t2("gitCodeLayout.home.good"), index: 1 },
1586
+ { name: "gt-nps-3", title: t2("gitCodeLayout.home.generally"), index: 2 },
1587
+ { name: "gt-nps-4", title: t2("gitCodeLayout.home.bad"), index: 3 },
1588
+ { name: "gt-nps-5", title: t2("gitCodeLayout.home.veryBad"), index: 4 }
1589
1589
  ];
1590
1590
  const store = localStorage.getItem("spmStatus");
1591
1591
  const status = store ? JSON.parse(store) : null;
@@ -1692,7 +1692,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1692
1692
  }, {
1693
1693
  content: withCtx(() => [
1694
1694
  createElementVNode("div", _hoisted_2$j, [
1695
- createElementVNode("div", _hoisted_3$g, toDisplayString(_ctx.$t("userSetting.menu.growthCenter")), 1)
1695
+ createElementVNode("div", _hoisted_3$g, toDisplayString(_ctx.$t("gitCodeLayout.userSetting.menu.growthCenter")), 1)
1696
1696
  ])
1697
1697
  ]),
1698
1698
  default: withCtx(() => [
@@ -1719,8 +1719,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1719
1719
  content: withCtx(() => [
1720
1720
  createElementVNode("div", _hoisted_5$a, [
1721
1721
  createElementVNode("div", _hoisted_6$9, [
1722
- createElementVNode("p", null, toDisplayString(_ctx.$t("home.userFeedback01")), 1),
1723
- createElementVNode("p", _hoisted_7$8, toDisplayString(_ctx.$t("home.userFeedback02")), 1)
1722
+ createElementVNode("p", null, toDisplayString(_ctx.$t("gitCodeLayout.home.userFeedback01")), 1),
1723
+ createElementVNode("p", _hoisted_7$8, toDisplayString(_ctx.$t("gitCodeLayout.home.userFeedback02")), 1)
1724
1724
  ])
1725
1725
  ])
1726
1726
  ]),
@@ -1751,7 +1751,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1751
1751
  }, {
1752
1752
  content: withCtx(() => [
1753
1753
  createElementVNode("div", _hoisted_8$6, [
1754
- createElementVNode("div", _hoisted_9$5, toDisplayString(_ctx.$t("home.followUs")), 1),
1754
+ createElementVNode("div", _hoisted_9$5, toDisplayString(_ctx.$t("gitCodeLayout.home.followUs")), 1),
1755
1755
  _cache[5] || (_cache[5] = createElementVNode("img", {
1756
1756
  class: "qrcode",
1757
1757
  src: "https://cdn-static.gitcode.com/static/images/points/wx_gitcode.png"
@@ -1804,7 +1804,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1804
1804
  createElementVNode("span", null, toDisplayString(rateIcon[rateActive.value === null ? rateNow.value : rateActive.value].title), 1)
1805
1805
  ])) : createCommentVNode("", true),
1806
1806
  createElementVNode("div", _hoisted_17$3, [
1807
- createElementVNode("span", null, toDisplayString(_ctx.$t("home.rateExperience")), 1)
1807
+ createElementVNode("span", null, toDisplayString(_ctx.$t("gitCodeLayout.home.rateExperience")), 1)
1808
1808
  ]),
1809
1809
  createElementVNode("div", _hoisted_18$3, [
1810
1810
  (openBlock(), createElementBlock(Fragment, null, renderList(rateIcon, (ico) => {
@@ -1828,14 +1828,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1828
1828
  createElementVNode("span", null, toDisplayString(rateIcon[rateNow.value].title), 1)
1829
1829
  ])) : createCommentVNode("", true),
1830
1830
  createElementVNode("div", _hoisted_22$2, [
1831
- createElementVNode("span", null, toDisplayString(_ctx.$t("home.improveQuestion")) + "?", 1)
1831
+ createElementVNode("span", null, toDisplayString(_ctx.$t("gitCodeLayout.home.improveQuestion")) + "?", 1)
1832
1832
  ]),
1833
1833
  createElementVNode("div", _hoisted_23$2, [
1834
1834
  createVNode(unref(Textarea), {
1835
1835
  modelValue: opinionText.value,
1836
1836
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => opinionText.value = $event),
1837
1837
  rows: 4,
1838
- placeholder: _ctx.$t("home.facebackPlaceholder"),
1838
+ placeholder: _ctx.$t("gitCodeLayout.home.facebackPlaceholder"),
1839
1839
  "show-count": "",
1840
1840
  maxlength: "200"
1841
1841
  }, null, 8, ["modelValue", "placeholder"])
@@ -1847,7 +1847,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1847
1847
  onClick: handleNpsSubmit
1848
1848
  }, {
1849
1849
  default: withCtx(() => [
1850
- createTextVNode(toDisplayString(_ctx.$t("repo.pr.commit")), 1)
1850
+ createTextVNode(toDisplayString(_ctx.$t("gitCodeLayout.repo.pr.commit")), 1)
1851
1851
  ]),
1852
1852
  _: 1
1853
1853
  })
@@ -1863,7 +1863,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1863
1863
  })
1864
1864
  ]),
1865
1865
  createElementVNode("div", _hoisted_26, [
1866
- createElementVNode("span", null, toDisplayString(_ctx.$t("home.thankFaceback")) + "!", 1)
1866
+ createElementVNode("span", null, toDisplayString(_ctx.$t("gitCodeLayout.home.thankFaceback")) + "!", 1)
1867
1867
  ])
1868
1868
  ]))
1869
1869
  ])
@@ -1873,7 +1873,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1873
1873
  createVNode(unref(Popover), {
1874
1874
  class: "custom-popover-feedback",
1875
1875
  position: ["left"],
1876
- content: _ctx.$t("home.userFeedbackProductRecommendations"),
1876
+ content: _ctx.$t("gitCodeLayout.home.userFeedbackProductRecommendations"),
1877
1877
  trigger: "hover",
1878
1878
  offset: { mainAxis: 22, crossAxis: 0 }
1879
1879
  }, {
@@ -1935,9 +1935,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1935
1935
  };
1936
1936
  }
1937
1937
  });
1938
- const index_vue_vue_type_style_index_0_scoped_62be445e_lang = "";
1938
+ const index_vue_vue_type_style_index_0_scoped_6b10a9c4_lang = "";
1939
1939
  const index_vue_vue_type_style_index_1_lang$3 = "";
1940
- const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-62be445e"]]);
1940
+ const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-6b10a9c4"]]);
1941
1941
  const { width } = useWindowSize();
1942
1942
  const usePageResize = () => {
1943
1943
  const widthConfig = {
@@ -2018,18 +2018,18 @@ const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-0e
2018
2018
  const createSetting = () => {
2019
2019
  const { t: t2 } = useI18n();
2020
2020
  const settings = {
2021
- slogan: t2("home.slogon"),
2021
+ slogan: t2("gitCodeLayout.home.slogon"),
2022
2022
  copyright: {
2023
- digest: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("home.digest"),
2024
- digestAbbr: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("home.companyInformation"),
2025
- icp: t2("home.recordInformation"),
2023
+ digest: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.digest"),
2024
+ digestAbbr: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.companyInformation"),
2025
+ icp: t2("gitCodeLayout.home.recordInformation"),
2026
2026
  beian: "11010502030143",
2027
2027
  phone: "400-6868-951",
2028
2028
  serviceTime: "9:00-18:00",
2029
- publicSecurity: t2("common.publicSecurity"),
2030
- aboutUs: t2("common.aboutUs"),
2031
- recruitment: t2("common.recruitment"),
2032
- price: t2("common.prices")
2029
+ publicSecurity: t2("gitCodeLayout.common.publicSecurity"),
2030
+ aboutUs: t2("gitCodeLayout.common.aboutUs"),
2031
+ recruitment: t2("gitCodeLayout.common.recruitment"),
2032
+ price: t2("gitCodeLayout.common.prices")
2033
2033
  }
2034
2034
  };
2035
2035
  return settings;
@@ -2064,7 +2064,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
2064
2064
  };
2065
2065
  return (_ctx, _cache) => {
2066
2066
  return openBlock(), createElementBlock("div", _hoisted_1$p, [
2067
- createElementVNode("div", null, toDisplayString(_ctx.$t("common.footerSetting.lang")), 1),
2067
+ createElementVNode("div", null, toDisplayString(_ctx.$t("gitCodeLayout.common.footerSetting.lang")), 1),
2068
2068
  createElementVNode("div", _hoisted_2$i, [
2069
2069
  (openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
2070
2070
  return openBlock(), createElementBlock("div", mergeProps({
@@ -2595,7 +2595,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
2595
2595
  };
2596
2596
  return (_ctx, _cache) => {
2597
2597
  return openBlock(), createElementBlock("div", _hoisted_1$o, [
2598
- createElementVNode("div", null, toDisplayString(_ctx.$t("common.footerSetting.theme")), 1),
2598
+ createElementVNode("div", null, toDisplayString(_ctx.$t("gitCodeLayout.common.footerSetting.theme")), 1),
2599
2599
  createElementVNode("div", _hoisted_2$h, [
2600
2600
  (openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
2601
2601
  return openBlock(), createElementBlock("div", mergeProps({
@@ -2865,9 +2865,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
2865
2865
  if (props.defaultOrg.list) {
2866
2866
  loadMoreTotal = props.defaultOrg.totalNum;
2867
2867
  const propStoreData = ((_a = props.defaultOrg) == null ? void 0 : _a.storeData) || [];
2868
- return [{ id: 0, label: t2("common.all") }, ...props.defaultOrg.list, ...propStoreData, ...moreOrgData.value];
2868
+ return [{ id: 0, label: t2("gitCodeLayout.common.all") }, ...props.defaultOrg.list, ...propStoreData, ...moreOrgData.value];
2869
2869
  }
2870
- return [{ id: 0, label: t2("common.all") }, ...moreOrgData.value];
2870
+ return [{ id: 0, label: t2("gitCodeLayout.common.all") }, ...moreOrgData.value];
2871
2871
  });
2872
2872
  const fastToLink = (type) => {
2873
2873
  if (type === "project") {
@@ -2935,7 +2935,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
2935
2935
  createElementVNode("div", {
2936
2936
  class: "fast-click-button",
2937
2937
  onClick: _cache[0] || (_cache[0] = ($event) => fastToLink("project"))
2938
- }, toDisplayString(_ctx.$t("org.project")), 1)
2938
+ }, toDisplayString(_ctx.$t("gitCodeLayout.org.project")), 1)
2939
2939
  ])
2940
2940
  ]),
2941
2941
  createVNode(Icon, {
@@ -2974,7 +2974,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
2974
2974
  createVNode(unref(Input), {
2975
2975
  modelValue: searchKey.value,
2976
2976
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => searchKey.value = $event),
2977
- placeholder: _ctx.$t("common.search"),
2977
+ placeholder: _ctx.$t("gitCodeLayout.common.search"),
2978
2978
  onInput: valChange,
2979
2979
  onCompositionstart: _cache[4] || (_cache[4] = ($event) => inputIng.value = true),
2980
2980
  onCompositionend: _cache[5] || (_cache[5] = ($event) => inputIng.value = false)
@@ -2996,7 +2996,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
2996
2996
  createElementVNode("div", {
2997
2997
  class: "fast-click-button",
2998
2998
  onClick: _cache[7] || (_cache[7] = ($event) => fastToLink("team"))
2999
- }, toDisplayString(_ctx.$t("common.organize")), 1)
2999
+ }, toDisplayString(_ctx.$t("gitCodeLayout.common.organize")), 1)
3000
3000
  ])
3001
3001
  ]),
3002
3002
  createVNode(Icon, {
@@ -3013,7 +3013,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3013
3013
  createVNode(unref(Input), {
3014
3014
  modelValue: searchKey.value,
3015
3015
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => searchKey.value = $event),
3016
- placeholder: _ctx.$t("common.search"),
3016
+ placeholder: _ctx.$t("gitCodeLayout.common.search"),
3017
3017
  onInput: valChange,
3018
3018
  onCompositionstart: _cache[10] || (_cache[10] = ($event) => inputIng.value = true),
3019
3019
  onCompositionend: _cache[11] || (_cache[11] = ($event) => inputIng.value = false)
@@ -3087,7 +3087,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3087
3087
  disabled: loading.value
3088
3088
  }, {
3089
3089
  default: withCtx(() => [
3090
- createTextVNode(toDisplayString(_ctx.$t("org.expand_more")), 1)
3090
+ createTextVNode(toDisplayString(_ctx.$t("gitCodeLayout.org.expand_more")), 1)
3091
3091
  ]),
3092
3092
  _: 1
3093
3093
  }, 8, ["loading", "disabled"]), [
@@ -3097,9 +3097,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3097
3097
  };
3098
3098
  }
3099
3099
  });
3100
- const ProjectMenuList_vue_vue_type_style_index_0_scoped_615b6d22_lang = "";
3100
+ const ProjectMenuList_vue_vue_type_style_index_0_scoped_4304b963_lang = "";
3101
3101
  const ProjectMenuList_vue_vue_type_style_index_1_lang = "";
3102
- const ProjectMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-615b6d22"]]);
3102
+ const ProjectMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-4304b963"]]);
3103
3103
  const _hoisted_1$m = { class: "side-bar-label" };
3104
3104
  const _hoisted_2$f = {
3105
3105
  key: 0,
@@ -3200,7 +3200,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3200
3200
  key: "home",
3201
3201
  icon: "gt-line-home-2",
3202
3202
  activeIcon: "gt-plane-home-2",
3203
- label: t2("header.home"),
3203
+ label: t2("gitCodeLayout.header.home"),
3204
3204
  host: SITE_HOST,
3205
3205
  // 跳转的域名
3206
3206
  route: { name: "home", microApp: HOMEWEB_APP_NAME }
@@ -3226,7 +3226,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3226
3226
  key: "kanban",
3227
3227
  icon: "gt-line-table",
3228
3228
  activeIcon: "gt-plane-table-2",
3229
- label: t2("org.board"),
3229
+ label: t2("gitCodeLayout.org.board"),
3230
3230
  host: SITE_HOST,
3231
3231
  // 跳转的域名
3232
3232
  route: { name: "kanban", login: true },
@@ -3237,7 +3237,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3237
3237
  key: "discussionCreated",
3238
3238
  icon: "gt-line-discussions",
3239
3239
  activeIcon: "gt-plane-discussions-2",
3240
- label: t2("repo.pr.discussion"),
3240
+ label: t2("gitCodeLayout.repo.pr.discussion"),
3241
3241
  host: SITE_HOST,
3242
3242
  route: { name: "discussionCreated", login: true }
3243
3243
  }
@@ -3246,7 +3246,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3246
3246
  // openBlank: true,
3247
3247
  // icon: 'gt-a-watchshuxing1guan5',
3248
3248
  // activeIcon: 'gt-a-watchshuxing1kai8',
3249
- // label: t('home.focusOn'),
3249
+ // label: t('gitCodeLayout.home.focusOn'),
3250
3250
  // host: SITE_HOST,
3251
3251
  // route: { name: 'userFollowing', microApp: 'user-center', params: { namespace: username }, login: true }
3252
3252
  // },
@@ -3255,7 +3255,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3255
3255
  // openBlank: true,
3256
3256
  // icon: 'gt-a-Star_Navigation_Defaults_16px1',
3257
3257
  // activeIcon: 'gt-a-Star_Navigation_Select_16px1',
3258
- // label: t('home.star'),
3258
+ // label: t('gitCodeLayout.home.star'),
3259
3259
  // host: SITE_HOST,
3260
3260
  // route: { name: 'userStars', microApp: 'user-center', params: { namespace: username }, login: true }
3261
3261
  // }
@@ -3298,7 +3298,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3298
3298
  key: "news",
3299
3299
  icon: "gt-line-consulting",
3300
3300
  activeIcon: "gt-plane-consulting-2",
3301
- label: t2("home.informationCenter"),
3301
+ label: t2("gitCodeLayout.home.informationCenter"),
3302
3302
  openBlank: true,
3303
3303
  host: NEWS_HOST,
3304
3304
  href: `${NEWS_HOST}/news?lang=${locale2.value}`
@@ -3307,7 +3307,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3307
3307
  key: "competition",
3308
3308
  icon: "gt-a-line-AICompetition1",
3309
3309
  activeIcon: "gt-a-plane-AICompetition2",
3310
- label: t2("home.competition"),
3310
+ label: t2("gitCodeLayout.home.competition"),
3311
3311
  openBlank: true,
3312
3312
  host: AI_HOST,
3313
3313
  href: `${AI_HOST}/competition/?utm_source=toolbar`
@@ -3316,7 +3316,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3316
3316
  key: 'trusted',
3317
3317
  icon: 'gt-a-Property1Default5',
3318
3318
  activeIcon: 'gt-a-Property1red5',
3319
- label: asideSetShowLittle ? t('trusted.shortName') : t('trusted.menu'),
3319
+ label: asideSetShowLittle ? t('gitCodeLayout.trusted.shortName') : t('gitCodeLayout.trusted.menu'),
3320
3320
  host: SITE_HOST,
3321
3321
  route: { name: 'trusted', microApp: HOMEWEB_APP_NAME }
3322
3322
  } */
@@ -3521,8 +3521,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3521
3521
  subShow: subShow.value.project,
3522
3522
  key: "project",
3523
3523
  type: "project",
3524
- title: _ctx.$t("common.project"),
3525
- buttonText: _ctx.$t("dashboard.repo.createRepo"),
3524
+ title: _ctx.$t("gitCodeLayout.common.project"),
3525
+ buttonText: _ctx.$t("gitCodeLayout.dashboard.repo.createRepo"),
3526
3526
  isLogin: _ctx.isLogin,
3527
3527
  query: {
3528
3528
  user_name: username.value,
@@ -3539,8 +3539,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3539
3539
  isLogin: _ctx.isLogin,
3540
3540
  key: "team",
3541
3541
  type: "team",
3542
- title: _ctx.$t("common.organize"),
3543
- buttonText: _ctx.$t("orgSetting.creOrg"),
3542
+ title: _ctx.$t("gitCodeLayout.common.organize"),
3543
+ buttonText: _ctx.$t("gitCodeLayout.orgSetting.creOrg"),
3544
3544
  query: {},
3545
3545
  defaultData: defaultOrg.value,
3546
3546
  username: username.value
@@ -3563,7 +3563,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3563
3563
  name: "gt-line-file",
3564
3564
  color: "var(--theme-placeholder)"
3565
3565
  }),
3566
- createTextVNode(" " + toDisplayString(_ctx.$t("header.helpDocument")), 1)
3566
+ createTextVNode(" " + toDisplayString(_ctx.$t("gitCodeLayout.header.helpDocument")), 1)
3567
3567
  ]),
3568
3568
  _: 1
3569
3569
  }, 8, ["href"]),
@@ -3576,7 +3576,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3576
3576
  name: "gt-line-Checks",
3577
3577
  color: "var(--theme-placeholder)"
3578
3578
  }),
3579
- createTextVNode(" " + toDisplayString(_ctx.$t("home.feedbackCenter")), 1)
3579
+ createTextVNode(" " + toDisplayString(_ctx.$t("gitCodeLayout.home.feedbackCenter")), 1)
3580
3580
  ]),
3581
3581
  _: 1
3582
3582
  })
@@ -3597,14 +3597,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3597
3597
  createElementVNode("p", {
3598
3598
  class: normalizeClass(["whitespace-nowrap mt-[16px] support", { en: isEn.value }])
3599
3599
  }, [
3600
- createElementVNode("span", null, toDisplayString(_ctx.$t("home.technicalSupport")), 1),
3600
+ createElementVNode("span", null, toDisplayString(_ctx.$t("gitCodeLayout.home.technicalSupport")), 1),
3601
3601
  _cache[1] || (_cache[1] = createElementVNode("a", {
3602
3602
  href: "https://www.csdn.net/",
3603
3603
  target: "_blank",
3604
3604
  rel: "noopener noreferrer"
3605
3605
  }, "CSDN", -1)),
3606
3606
  _cache[2] || (_cache[2] = createTextVNode("  |  ")),
3607
- createElementVNode("a", _hoisted_12$3, toDisplayString(_ctx.$t("home.HWCloud")), 1)
3607
+ createElementVNode("a", _hoisted_12$3, toDisplayString(_ctx.$t("gitCodeLayout.home.HWCloud")), 1)
3608
3608
  ], 2),
3609
3609
  createElementVNode("p", _hoisted_13$2, [
3610
3610
  createVNode(GLink, {
@@ -3632,7 +3632,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3632
3632
  createElementVNode("span", { class: "" }, "400-6868-951")
3633
3633
  ], -1)),
3634
3634
  createElementVNode("li", _hoisted_15$2, [
3635
- createElementVNode("span", _hoisted_16$2, "9:00-18:00 (" + toDisplayString(_ctx.$t("home.onWeekdays")) + ")", 1)
3635
+ createElementVNode("span", _hoisted_16$2, "9:00-18:00 (" + toDisplayString(_ctx.$t("gitCodeLayout.home.onWeekdays")) + ")", 1)
3636
3636
  ])
3637
3637
  ])
3638
3638
  ])) : createCommentVNode("", true)
@@ -3665,7 +3665,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3665
3665
  size: "16",
3666
3666
  class: "active-icon min-w-[16px]"
3667
3667
  }),
3668
- createTextVNode(toDisplayString(_ctx.$t("common.footerSetting.preSetting")), 1)
3668
+ createTextVNode(toDisplayString(_ctx.$t("gitCodeLayout.common.footerSetting.preSetting")), 1)
3669
3669
  ])
3670
3670
  ]),
3671
3671
  _: 1
@@ -3675,9 +3675,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3675
3675
  };
3676
3676
  }
3677
3677
  });
3678
- const asideContent_vue_vue_type_style_index_0_scoped_88405bc6_lang = "";
3678
+ const asideContent_vue_vue_type_style_index_0_scoped_08226fff_lang = "";
3679
3679
  const asideContent_vue_vue_type_style_index_1_lang = "";
3680
- const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-88405bc6"]]);
3680
+ const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-08226fff"]]);
3681
3681
  const _hoisted_1$l = { class: "p-[16px] flex justify-between items-center h-[60px]" };
3682
3682
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
3683
3683
  __name: "index",
@@ -6188,14 +6188,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
6188
6188
  const repoInfo = inject("repoInfo");
6189
6189
  const menus = [
6190
6190
  {
6191
- label: t2("aihub.model"),
6191
+ label: t2("gitCodeLayout.aihub.model"),
6192
6192
  icon: "gt-model_default",
6193
6193
  activeIcon: "gt-model_red",
6194
6194
  url: `${AI_HOST}/models`,
6195
6195
  repoType: RepoType.model
6196
6196
  },
6197
6197
  {
6198
- label: t2("aihub.dataSet"),
6198
+ label: t2("gitCodeLayout.aihub.dataSet"),
6199
6199
  icon: "gt-dataset_default",
6200
6200
  activeIcon: "gt-dataset_red",
6201
6201
  url: `${AI_HOST}/datasets`,
@@ -6341,9 +6341,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
6341
6341
  };
6342
6342
  }
6343
6343
  });
6344
- const AiHubMenus_vue_vue_type_style_index_0_scoped_c0b694e7_lang = "";
6344
+ const AiHubMenus_vue_vue_type_style_index_0_scoped_95726b00_lang = "";
6345
6345
  const AiHubMenus_vue_vue_type_style_index_1_lang = "";
6346
- const AiHubMenus = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c0b694e7"]]);
6346
+ const AiHubMenus = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-95726b00"]]);
6347
6347
  const _hoisted_1$j = ["src"];
6348
6348
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
6349
6349
  ...{ name: "FlashTag" },
@@ -8354,7 +8354,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8354
8354
  }, {
8355
8355
  default: withCtx(() => [
8356
8356
  _cache[1] || (_cache[1] = createElementVNode("img", { src: _imports_0 }, null, -1)),
8357
- createElementVNode("span", null, toDisplayString(_ctx.$t("aihub.header.aihub")), 1)
8357
+ createElementVNode("span", null, toDisplayString(_ctx.$t("gitCodeLayout.aihub.header.aihub")), 1)
8358
8358
  ]),
8359
8359
  _: 1
8360
8360
  }, 8, ["href"]),
@@ -8390,7 +8390,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8390
8390
  default: withCtx(() => {
8391
8391
  var _a2;
8392
8392
  return [
8393
- createElementVNode("span", _hoisted_4$8, toDisplayString(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? _ctx.$t("home.alreadyFollowed") : _ctx.$t("home.focusOn")), 1)
8393
+ createElementVNode("span", _hoisted_4$8, toDisplayString(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? _ctx.$t("gitCodeLayout.home.alreadyFollowed") : _ctx.$t("gitCodeLayout.home.focusOn")), 1)
8394
8394
  ];
8395
8395
  }),
8396
8396
  _: 1
@@ -8492,7 +8492,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8492
8492
  origin: "repo",
8493
8493
  icon: "",
8494
8494
  type: "gstar",
8495
- message: `G-Star ${_ctx.$t("GStar.project.graduation")}`
8495
+ message: `G-Star ${_ctx.$t("gitCodeLayout.GStar.project.graduation")}`
8496
8496
  }, {
8497
8497
  default: withCtx(() => _cache[3] || (_cache[3] = [
8498
8498
  createTextVNode("G-Star ")
@@ -8504,7 +8504,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8504
8504
  origin: "repo",
8505
8505
  icon: "",
8506
8506
  type: "incubation",
8507
- message: `G-Star ${_ctx.$t("GStar.project.incubation")}`
8507
+ message: `G-Star ${_ctx.$t("gitCodeLayout.GStar.project.incubation")}`
8508
8508
  }, {
8509
8509
  default: withCtx(() => _cache[4] || (_cache[4] = [
8510
8510
  createTextVNode(" G-Star ")
@@ -8515,7 +8515,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8515
8515
  unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
8516
8516
  createVNode(_sfc_main$o, {
8517
8517
  trusted: "",
8518
- message: _ctx.$t("trusted.title"),
8518
+ message: _ctx.$t("gitCodeLayout.trusted.title"),
8519
8519
  icon: "",
8520
8520
  type: "trusted",
8521
8521
  href: "/trusted"
@@ -8546,7 +8546,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8546
8546
  color: "var(--devui-shape-icon-fill)",
8547
8547
  class: "inline-block min-w-[16px]"
8548
8548
  }),
8549
- createElementVNode("span", _hoisted_19$1, toDisplayString(formatTime.value) + toDisplayString(_ctx.$t("repo.code.syncText")), 1)
8549
+ createElementVNode("span", _hoisted_19$1, toDisplayString(formatTime.value) + toDisplayString(_ctx.$t("gitCodeLayout.repo.code.syncText")), 1)
8550
8550
  ])) : createCommentVNode("", true)
8551
8551
  ], 2)) : createCommentVNode("", true)
8552
8552
  ])
@@ -8580,7 +8580,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8580
8580
  default: withCtx(() => {
8581
8581
  var _a2;
8582
8582
  return [
8583
- createElementVNode("span", _hoisted_23$1, toDisplayString(((_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.isFollow) ? _ctx.$t("org.following") : _ctx.$t("common.topic.attention")), 1)
8583
+ createElementVNode("span", _hoisted_23$1, toDisplayString(((_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.isFollow) ? _ctx.$t("gitCodeLayout.org.following") : _ctx.$t("gitCodeLayout.common.topic.attention")), 1)
8584
8584
  ];
8585
8585
  }),
8586
8586
  _: 1
@@ -8589,9 +8589,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8589
8589
  };
8590
8590
  }
8591
8591
  });
8592
- const HeaderCustom_vue_vue_type_style_index_0_scoped_dca99be3_lang = "";
8592
+ const HeaderCustom_vue_vue_type_style_index_0_scoped_2928e44f_lang = "";
8593
8593
  const HeaderCustom_vue_vue_type_style_index_1_lang = "";
8594
- const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-dca99be3"]]);
8594
+ const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-2928e44f"]]);
8595
8595
  const logo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAAAkCAYAAADrcPSPAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA8USURBVHgB7V1NbCRHFX6vemx+DmQWIgJc0j5kQ4RQvGeUeHyE2LteEJwixY4EydomthGIG7YvKEIRa7P2ZgEpHitXBLP2rpAipJ1NDjnaOUE2SG6iiEuQcASbLJ7pKt6r7p6p7unf8exidvuT2jPTXf26+lW9V6++et0GKFGixF0DQh84sGvVFsAUgnxSAtq0a9QQ6CiAQzp2dQis5ojTdKBEiQcUhQzsll2bBlDP0VbLfxY2AeT2aeetOpQo8YAhl4G9a9dotFIXybBs6B80somlx51mA0qUeECQamAcCrZBbSlQUzA4rJ123lyCe4SpRVWFdjeEBQmHjcu4DyXuK5ydd1eUwuXODiFndi9V6vA/hkg6QMZlt0DtDdi4GIvv2mN/gHuENhmXq9SNYFMoF6BEiXuEWAPzjevGMUPCRFC4OfWeXatBiRL3OXoMzGMIB2Fc2CRDSgwFFbg2lChxn6PHwNogl+OMCwGJnEAHUkATukOPNVQzp52b4xWw6sllLQdKlLjPUTF/EA0/qkAuxhVsAy49QWtaHNrROpft794/7TQTCQNaAzu8ZY81Y2h95zGn2YQTCE2KHIHtBmt7Ag4tchyNDXYcfcibVaOuIH1JqPJvS4BDWt9vrOFh4jkvKpvOqQW/6fr7ATGj5Zl1k+D0Q9rQfdoukz9+vYL7zKpbgqzB6ywiq596nQRUwj+Zik9HUcNwAWdIQUbIiU3eBwPC1LyquQjnwCX56HcWgjWEM9QgTiE5Si27LTVqyqFYlu4BYHJO8o+6NSRWs+Ryh5NHsKBQLbpAnY9kBHyty99bWl4TlNzevdzLdGnjQrUV/JaoVql+VarflmtGF1w31LIcVFgXw7CeabhDsABSTdN9eveI4fvMqltIXldntRAf3dUZ1UU1cunMrBuoHv0H9bIULg2CBT47qxYQZYddlkIc7l7CTHZ7ck59DRF+Tl8v7Gzg37PKd0JEj3QosoCcDzzqUbg4MgRCbxw6PjGA7A72cqRwzQxSoyxSAzPbWTO23GBlazneedXkksgd84DKL6fVi8uQca2ky2IjElvUYJlOjelnv352QhGbr0fX3eORKa6A7sCW2tO6Sq9Xp25p9zlBxwydJaHq62zv7BwnKMSDj+WsGzlTkpVSrzzgupO+1iTVLdjIkG9mnXduXn2dWPXfKameoM/ffntRfTnrnI6BKUhWAME5rlFwytSg0qZ0J8bMxs2FyVk1zcoucg53Zvbe0f26E3v1yurAprTFyQvuIgwGNnXmG3EHqAP31MubM1PIitDUn9GaJdwn6ww9B5IXVepf9W9Ru0UPsM74GBTQGderX52xMUfrTr9XdzcwMwGCRtJvCISHgP4oBV9pt+BXZxfUI2nnmCRHLakQjdLbcIJAnZjX0ToNojsKdRJBDRVs4HWebGDYG5IsCj/UEoUiZyjMHOFPatEZjHRADtd66mXBcrRe1BlWQ7IQz/sduguBy3oekwlVV4jjJOvU7qbAhLrZk3PhzjfhGYlt7pN0jzubguWM7G6Icf60XBzx7r8LIr2meqoR0Zm+H6qHvkfauI5xOrOwd7Qmw98KiwKnR2csC8P1yq+zLnxjDjlTNq6dDWslz/nXNvCKVPgKjbR0eeRB6Uvgyl+cf1F9MekcPQcjan60BdJOKOM87ry5AicE7D0hPA9piGE93yo8AZ6cb0/R+bYpa+eyOB9TlBu3ziEpdB2Rzd49mMjr0Qu4bh64o4ghHN9ZE06MrMbEvLuC3cyDqmxrcmkFEhDXEfy5yD5duylphOqST3iO/nQ6EkqwQ3MkMojrG1bPqN24gg4Z4xJ1HdOAQnqN6p+MYf3ahhUdTRz+QwbQkC1dr2DkqnH00SFsPJ3VutXSOjtDOou2pdY/6WyNdBYkClTdlpw27zMNfogcHsVJD3mNK8C1TfwljZ4tqdTzyOOTgkdcIVe/+UP1sz9ewg+j5bWBuXpNKilrKj8TxMnAZNXcuKFQwA9FdDiCIN8hX7bfN4uI3VCWGyTBIPKJAmRGtANrOH2SSx71PIVg/wx++969yd/dijsKqhsQkIdLJVmoU66QwY6Bb7A0zxqDxHrSfaZ0BDYMGrXWqWQwQtTYuyc6HQWjkFgv3d7NpOPUp86B6tbLqoiVpKJ8fTKoGZ43BftclDXwR0mTKdWiySGlOcoKXYsM9jnlGwlp+0nIAdaFHzrbwT5tzBXsq+/svmpdmpx1j6gvPqvoDyI+XJHyp5M/UC/v/gb/YZbVPUIlT565E+YKD4mOJyXKLc7SoM02N7rCqEeg0HyHOgEtBdy4ZT99cMt+ahoKAg3jVUquwjFAnbrbQAquZjFdfuM3O3WRaHfrhWanzUVRk/c3J9aJnZ6cVhMyQExdPbTjqNum1jBE5xfViTm5NznbnuZRWG9EjuQJudAcvaheWZEDj1ZmeGcaBQppPua0n0v/qDr9kciJGuSAe6TDUNu4lpNlzFnYvWz9WqF8jfSBUu8RD6th+dJ3l9TnzXIVv6LVpPGrEonJ4+CHmKNQDDbd6hYZ5hgxi7lpe2UM8ZY43mI1NXxVBd5YqM596jAIe+dYPRA04e1WzO4K7urMD00OYs9XoV/VlHr+DTLAneUs0eId/YiuPD5G4dW6EV55joqYQjdQQMv70NS6Yicir8bR9OSUqkbF3wm+9CTbhs7pfqc5zKnOfhCPBrKoTOceec6IKp6sUTl11pHFjCOG82mFwvNFlnCScG2jwkzrEXEeU1JJGsjgC/85ki88c+HwyvVXqzrSERkymPnLtPI7eQmFWKhpGs0yqWoGd9bQjkov81XoyrqzHEdA8sh/0sDzJJ4v5Sha1UseeglBHiTR/hpCFW930ymZu7EbehdA9oiL8qPoPr3wPyhYeiQn4xLa9BXCnduPPPRJcFiPYDRZc3gc6xdM4dP8a4YfxuRwE4vnMS7S+dtpWSEanyZDbsHAQMTBYeARpdlYAkKhYBKEUk6sXBVpeMyWdVz484zUDsdGRk5qrV2RixTSPuk7CDvlFLvd0oztmdijsuuglKQ+JLJDWVJ6p41RyY+UP/c3R7aKhEMygiYMALub1ho5CuYFap2dxACTvvaPO4pNzLdnlITv0dfbZMjU7cUHHw7DlbdX8E5QRhuYAPdQJpIc+UDGUaePevCbM/Lb4bi3ygm+FBYsxOU6Ko8wSDWwaBjkes95OWnnUCOOJhE4SudWemszaMzH/DWRBhSA8ur+nP/dDkgGJiBo1zjcZbhttxYKSCrxuvTrsxh3zAvNmJlDk0gaNdlS0ymZbOXuZayD0f65gHDYiTYROiSPzzIOTGe0/DBDLOueMb1gZ7R1nGsQyfECDVfPkj5ua30oeF+1YP3tTfzELKcNzAKrKeNHMJuz6/OEiVH4i8pOdD/Jq7dBHaieRU98FHLA78g174fiOUWGIeBCsiz5Dl03iM/1RD/Nq/kkgFnvw2CirFDsY7fnVd0jl+XW+5HVF5TohNk+YVBYVsAgkhM7Z7YP9Y0adEZ0JmY6hM5oUZ2ZZWnU2+fh3kfVNOQ8siCnznyWddVgWRk1XqwmRnANCoLmdfPky56n/sfGRZG3cu58Vrz8xiZ+HC2rXZ5nQPE31k5ht/oBX4tGjh7vSgufp/KcH2Heamkr+hNeSo0NiRBN8xdTuampRi21x2lQwQZGY1doxEBzLoriYlzmgpbF4RwxW6Ys3yALgzulvz5nB/tovr1t1puOK3NjQiJNpkqZU0sQpkOrcghZRGdm2Si76XqhW7ws0hld60ZIZ+38mTwcKgLELvDbUAATc+6PSEMvKZrAg+af1MFDnxXLb7yCt+PKd5J9yRBvYkw2h/IWHZswIHgPc2qPGIKAfIQFrYWskXKNR8Px4uQsryfJqwGr6Hph4bms3Er22Dqx1Vg85oYjb1cHZsgULXiirDK17HpPdocWKU1vbDB1ncVji9Z/qG4NYKeg/MVTi2S1mKUMZXw4YtjKFZJGjIkTgCORAMn6VLfjsvcOsYugyZ0Fougdily6Wfr+qxU4eRciTkkYjoh1RvKcYGmHQ0h2TKSzpqkz8oRjLkafhlf1hrHwzjqj87aNkNTTf4LOMJwlQ2uDmEtnAY4bKj4z514gNuPHdPF/cwY2sYfvfe4z+JPXE4yL0TGwYRBrLf0sWBSq9hf7qcWvOm8VHkrj0E7M2I+s4yTAb5Sl0HCvE33FVIdyLjCf5Oxs0tWNcMiK096HlwYfDZ55pKJFyp6lBTZ+fyHUDteNwlDssilR8HpeY62SM6RDGxJIJF2vGAqanGQ0PKpqip6OeE8J6NEbEmQ60bCNCOmZCI1uR3UWbQJv7Un0rFvS+t0i6WysqM64DlAQOlScVzOkcPOVFblDRVER16GtneMpEPKW+li89PpmsnHpc4Iv/jxrPb4QXmQjg2OC1rwSXqCD9UwG0QAP95yvlqdsTw5bBOzBqVOOY84RVHcUpRcpe8qz8Qu3kKxDzgnMeiwkFzgXcwjPxD3KUURfMTJ7vLueqyGeL6SzocHpjK99rc9nzTSBpSLz9pyh4u46vj8k8DsUHv4JPxbf33kN/5V1TmgdbAjECibE32xkbCAc4kFB8KMwXqZHN1fPhAtYuPE51YiTU0nmdmzjUOfgpFNiRzOf8dFG5noJqnGUepBMzEnASZ24I4u85M6mGAlkJehTJ7SSrJHrm0Un2XKd8xKDzU+yPcUJu1mpWawvXgvLcDqO8JOK02RyRw10FievR2cpdYvqLK4MXyPQ2W7B0DAKa1gnIpvtEoSKmfj9Jfzg2qY1m8e4GD2x1F/t2hSxRqlvfSKSosFv7uWcwriRx3vdG5Mj7ijR8qlzIQoCVgeRTBxhmELsUsQ75WKezHOOu15S9PrRTJIiGd8F62XqbKD3ea9lFWUYY8ofu85xiJ2svGs/zSPZMuSEMt7VQd6vqnI+28Pv+XjMudl3su79intlYCXuPmJTpXhE4ZEFcsJM7M1rXHTWfmWArw4oUeIkIjEXsaiRFQPuDwGO97OAXaLE/xNSk329uZGgUWagsen6aefmmdK4SjwIyLVg9GdiDi3vdW7HeO00v4gUV0/q69pKlLgbyL8iC4GhcdZDvn9hpN9JAUA0umiUhlXiQUQhA4uC17eCLHl+aNMTKGgdRb8scr/853slSpQoUeKu4b/VMDt15riwZwAAAABJRU5ErkJggg==";
8596
8596
  const _hoisted_1$h = ["src"];
8597
8597
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
@@ -8651,716 +8651,700 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
8651
8651
  });
8652
8652
  const index_vue_vue_type_style_index_0_scoped_7967a280_lang = "";
8653
8653
  const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-7967a280"]]);
8654
- const home$1 = {
8655
- comprehensiveSorting: "综合排序",
8656
- starTotalSort: "Star总数排序",
8657
- starNum: "Star",
8658
- fork: "Fork数",
8659
- updateTime: "更新时间",
8660
- recommend: "推荐",
8661
- all: "全部",
8662
- Gproject: "G-Star 项目",
8663
- milions: "让千万开发者发现你的开源项目,卓越就此发生",
8664
- showMore: "查看更多",
8665
- recommendation: "全球开源推荐",
8666
- loading: "加载中",
8667
- loadAll: "数据已加载完毕,是时候添加你的代码了~",
8668
- applyJoin: "申请加入",
8669
- organizations: "开源组织推荐",
8670
- noMore: "没有更多了",
8671
- alreadyFollowed: "已关注",
8672
- focusList: "关注列表",
8673
- focusOn: "关注",
8674
- unsubscribe: "取消关注",
8675
- noDescroption: "暂无描述",
8676
- noIntroduction: "暂无简介",
8677
- searchHistory: "搜索历史",
8678
- homePage: "首页",
8679
- star: "星标",
8680
- aiCommunity: "AI-社区",
8681
- informationCenter: "资讯中心",
8682
- expandMore: "展开更多",
8683
- helpDoc: "帮助文档",
8684
- feedbackCenter: "反馈中心",
8685
- companyInformation: "重庆开源共创",
8686
- recordInformation: "渝ICP备2023009037号",
8687
- technicalSupport: "技术支持:",
8688
- HWCloud: "华为云",
8689
- userFeedback01: "在线客服",
8690
- userFeedbackProductRecommendations: "参与产品建议反馈",
8691
- userFeedbackBr: "在线<br/>客服",
8692
- userFeedback02: "用心答复您的每一次提问。",
8693
- contactUs: "联系我们",
8694
- serviceHours: "服务时间",
8695
- onWeekdays: "工作日",
8696
- settlementMsg: "如需组织入驻支持可邮件联系",
8697
- settlementMsgContact: "请在正文附带组织介绍及联系方式哦",
8698
- followUs: "关注我们,了解更多",
8699
- rateExperience: "评价您对我们产品的体验",
8700
- veryGood: "非常好",
8701
- good: "",
8702
- generally: "一般",
8703
- bad: "不好",
8704
- veryBad: "非常不好",
8705
- thankFaceback: "谢谢您的反馈",
8706
- improveQuestion: "有什么可以改进的吗",
8707
- facebackPlaceholder: "请输入反馈(可选)",
8708
- org: {
8709
- gstarTips: "G-Star 官方认证组织"
8710
- },
8711
- searchPlaceholder: "「开搜」:一搜即达",
8712
- searchPlaceholder2: "按下<kbd>/</kbd>快速开启搜索",
8713
- surveyTipsTitle: "填问卷必得200积分+抽取限量周边",
8714
- webDescription: "GitCode - 全球开发者的开源社区,开源代码托管平台",
8715
- slogon: "共创GitCode,开发者的代码家园",
8716
- digest: "重庆开源共创科技有限公司版权所有",
8717
- shotName: {
8718
- AI: "AI 社区"
8719
- },
8720
- hotSelection: "热门精选项目",
8721
- projectRecom: "开源项目推荐",
8722
- competition: "大赛平台",
8723
- channel: {
8724
- forkProject: "点此处fork此项目",
8725
- submitDynamic: "提交推荐",
8726
- latestDynamics: "行业最新动态",
8727
- dynamics: "行业动态"
8728
- },
8729
- changeBatch: "换一换"
8730
- };
8731
- const header$1 = {
8732
- create: "新建",
8733
- createRepo: "新建项目",
8734
- importRepo: "导入项目",
8735
- migrationProject: "迁移项目",
8736
- createOrg: "新建组织",
8737
- home: "首页",
8738
- applicationMarket: "应用市场",
8739
- recentlyActiveProject: "最近活跃项目",
8740
- joinOrganization: "加入组织",
8741
- noData: "暂无数据",
8742
- orgOrPerson: "组织/个人",
8743
- login: "登录",
8744
- register: "注册",
8745
- activeRegister: "主动注册",
8746
- file: "文件",
8747
- language: "语言",
8748
- underSearch: "下搜索:",
8749
- searchRecord: "搜索记录",
8750
- clear: "清空",
8751
- repo: "项目",
8752
- org: "组织",
8753
- user: "用户",
8754
- recentlyVisited: "最近访问",
8755
- platformSearch: "全平台搜索:",
8756
- searchPlaceholder: "「开搜」:一搜即达,开发者的AI搜索",
8757
- workbench: "工作台",
8758
- myOrg: "我的组织",
8759
- myRepo: "我的项目",
8760
- myStar: "我的 Star",
8761
- personSetting: "个人设置",
8762
- helpDocument: "帮助文档",
8763
- logout: "退出登录",
8764
- goUpgrade: "去升级",
8765
- openSourceExplorer: "开源探索者",
8766
- openSourcePioneer: "开源先锋",
8767
- contributingStar: "贡献之星",
8768
- createSpace: "新建 Space",
8769
- myNotebook: "我的 Notebook",
8770
- mySpace: "我的 Spaces",
8771
- aihub: {
8772
- documentCenter: "文档中心"
8773
- },
8774
- getPoints: "攒积分"
8775
- };
8776
- const userSetting$1 = {
8777
- tips: {
8778
- youCanCreOrManUp: "你最多可以创建或管理 {num} 个组织,无法创建新的组织。"
8779
- },
8780
- menu: {
8781
- growthCenter: "成长中心"
8782
- },
8783
- account: {
8784
- phone: "手机号",
8785
- passwordSetting: "密码设置",
8786
- bindPhoneVerification: "绑定手机号校验",
8787
- enterBoundPhone: "请输入当前绑定手机号",
8788
- enterVerificationCode: "请输入获取验证码",
8789
- getVerificationCode: "获取验证码",
8790
- changePassword: "修改密码",
8791
- oldPassword: "旧密码",
8792
- newPassword: "新密码",
8793
- confirmPassword: "确认新密码",
8794
- unbindSMSVerification: "解绑短信验证",
8795
- deactivateAccount: "注销账号",
8796
- untie: "解绑",
8797
- yourTypeAccountIs: "您绑定的 {type} 账号为",
8798
- "switch": "更换",
8799
- mfaManage: "管理多因素认证(MFA)",
8800
- mfa: "多因素认证(MFA)",
8801
- mfaEnable: "已启用",
8802
- mfatip1: "在你的移动设备或计算机上使用一次性密码验证器来启用多因素验证 (Multi-Factor Authentication),防止未经授权的访问,并帮助保护你的帐户免受潜在的安全威胁。",
8803
- mfaManageBtn: "管理",
8804
- mfatip2: "我们建议使用基于云的身份验证器应用程序,如果你不幸丢失了硬件设备,此类应用程序也可以恢复访问 (比如:谷歌验证器、腾讯令牌小程序等)。",
8805
- mfatip3: "无法扫描二维码?",
8806
- mfatip4: "如需手动添加条目,请在手机应用中提供以下信息。",
8807
- mfaAccount: "账户:",
8808
- mfaAccountPlaceholder: "输入当前账号的密码",
8809
- mfatip5: "需要当前登录账号的密码来注册多因素验证程序。",
8810
- mfatip6: '当前账户没有配置密码,请先 <a class="text-[var(--devui-link)] cursor-pointer">配置密码</a>',
8811
- mfatip7: "请输入正确的账户密码。",
8812
- mfatip8: "请输入身份验证器中生成的6位数字验证码",
8813
- mfaCodeInput: "输入验证码",
8814
- mfatip9: "如果你丢失手机或无法获取一次性密码,可以使用下面的恢复码进行多因素认证(每个恢复码只能使用一次),以重新获得帐户的访问权限。请务必将恢复码妥善保存在安全的地方,否则你将无法访问你的帐户。",
8815
- mfatip10: "在进行下一步操作之前,请务必妥善保管你的回复码",
8816
- mfaSave: "保存恢复码",
8817
- mfatip11: "你已经使用一次密码验证器启用了多因素验证。如果你要注册不同的设备,请先禁用多因素验证。",
8818
- mfatip12: "禁用多因素认证",
8819
- mfatip13: "请输入当前登录账号的密码来禁用多因素验证程序",
8820
- mfaRecover1: "重新生成恢复码",
8821
- mfatip14: "请输入当前登录账号的密码来重新生成恢复码",
8822
- mfaBan: "禁用",
8823
- mfaRecover2: "重新生成",
8824
- mfaView: "查看恢复码",
8825
- mfatip15: "点击下方按钮,查看已生成的恢复码",
8826
- mfaValid: "已失效",
8827
- mfatip17: "当前账户没有配置密码,请先 ",
8828
- mfatip18: "配置密码",
8829
- mfatip16: "已妥善保管恢复码"
8830
- }
8831
- };
8832
- const repo$1 = {
8833
- pr: {
8834
- commit: "提交",
8835
- discussion: "讨论"
8836
- },
8837
- code: {
8838
- syncText: "同步"
8839
- }
8840
- };
8841
- const common$1 = {
8842
- footerSetting: {
8843
- lang: "语言",
8844
- theme: "主题",
8845
- preSetting: "偏好设置"
8846
- },
8847
- search: "搜索",
8848
- organize: "组织",
8849
- all: "全部",
8850
- project: "项目",
8851
- publicSecurity: "京公网安备11010502055713号",
8852
- aboutUs: "关于我们",
8853
- recruitment: "招贤纳士",
8854
- prices: "价格",
8855
- save: "保存",
8856
- wechat: "微信",
8857
- email: "邮箱",
8858
- phone: "手机",
8859
- hasBeenSent: "已发送",
8860
- time: {
8861
- oneYearAgo: "一年前",
8862
- yearsAgo: "{num} 年前",
8863
- oneMonthAgo: "1 个月前",
8864
- monthsAgo: "{num} 个月前",
8865
- justNow: "刚刚",
8866
- oneDayAgo: "1 天前",
8867
- daysAgo: "{num} 天前",
8868
- hoursAgo: "{num} 小时前",
8869
- minutesAgo: "{num} 分钟前",
8870
- oneHourAgo: "1 小时前",
8871
- oneMinuteAgo: "1 分钟前"
8654
+ const gitCodeLayout$1 = {
8655
+ home: {
8656
+ comprehensiveSorting: "综合排序",
8657
+ starTotalSort: "Star总数排序",
8658
+ starNum: "Star数",
8659
+ fork: "Fork数",
8660
+ updateTime: "更新时间",
8661
+ recommend: "推荐",
8662
+ all: "全部",
8663
+ Gproject: "G-Star 项目",
8664
+ milions: "让千万开发者发现你的开源项目,卓越就此发生",
8665
+ showMore: "查看更多",
8666
+ recommendation: "全球开源推荐",
8667
+ loading: "加载中",
8668
+ loadAll: "数据已加载完毕,是时候添加你的代码了~",
8669
+ applyJoin: "申请加入",
8670
+ organizations: "开源组织推荐",
8671
+ noMore: "没有更多了",
8672
+ alreadyFollowed: "已关注",
8673
+ focusList: "关注列表",
8674
+ focusOn: "关注",
8675
+ unsubscribe: "取消关注",
8676
+ noDescroption: "暂无描述",
8677
+ noIntroduction: "暂无简介",
8678
+ searchHistory: "搜索历史",
8679
+ homePage: "首页",
8680
+ star: "星标",
8681
+ aiCommunity: "AI-社区",
8682
+ informationCenter: "资讯中心",
8683
+ expandMore: "展开更多",
8684
+ helpDoc: "帮助文档",
8685
+ feedbackCenter: "反馈中心",
8686
+ companyInformation: "重庆开源共创",
8687
+ recordInformation: "渝ICP备2023009037号",
8688
+ technicalSupport: "技术支持:",
8689
+ HWCloud: "华为云",
8690
+ userFeedback01: "在线客服",
8691
+ userFeedbackProductRecommendations: "参与产品建议反馈",
8692
+ userFeedbackBr: "在线<br/>客服",
8693
+ userFeedback02: "用心答复您的每一次提问。",
8694
+ contactUs: "联系我们",
8695
+ serviceHours: "服务时间",
8696
+ onWeekdays: "工作日",
8697
+ settlementMsg: "如需组织入驻支持可邮件联系",
8698
+ settlementMsgContact: "请在正文附带组织介绍及联系方式哦",
8699
+ followUs: "关注我们,了解更多",
8700
+ rateExperience: "评价您对我们产品的体验",
8701
+ veryGood: "非常好",
8702
+ good: "",
8703
+ generally: "一般",
8704
+ bad: "不好",
8705
+ veryBad: "非常不好",
8706
+ thankFaceback: "谢谢您的反馈",
8707
+ improveQuestion: "有什么可以改进的吗",
8708
+ facebackPlaceholder: "请输入反馈(可选)",
8709
+ org: {
8710
+ gstarTips: "G-Star 官方认证组织"
8711
+ },
8712
+ searchPlaceholder: "「开搜」:一搜即达",
8713
+ searchPlaceholder2: "按下<kbd>/</kbd>快速开启搜索",
8714
+ surveyTipsTitle: "填问卷必得200积分+抽取限量周边",
8715
+ webDescription: "GitCode - 全球开发者的开源社区,开源代码托管平台",
8716
+ slogon: "共创GitCode,开发者的代码家园",
8717
+ digest: "重庆开源共创科技有限公司版权所有",
8718
+ shotName: {
8719
+ AI: "AI 社区"
8720
+ },
8721
+ hotSelection: "热门精选项目",
8722
+ projectRecom: "开源项目推荐",
8723
+ competition: "大赛平台",
8724
+ channel: {
8725
+ forkProject: "点此处fork此项目",
8726
+ submitDynamic: "提交推荐",
8727
+ latestDynamics: "行业最新动态",
8728
+ dynamics: "行业动态"
8729
+ },
8730
+ changeBatch: "换一换"
8872
8731
  },
8873
- topic: {
8874
- attention: "关注"
8875
- }
8876
- };
8877
- const org$1 = {
8878
- project: "项目",
8879
- expand_more: "展开更多",
8880
- board: "看板",
8881
- following: "已关注"
8882
- };
8883
- const dashboard$1 = {
8884
- repo: {
8885
- createRepo: "创建项目"
8886
- }
8887
- };
8888
- const orgSetting$1 = {
8889
- creOrg: "创建组织"
8890
- };
8891
- const trusted$1 = {
8892
- shortName: "可信开源",
8893
- menu: "可信开源频道",
8894
- title: "可信开源频道"
8895
- };
8896
- const aihub$1 = {
8897
8732
  header: {
8898
- aihub: "AI 社区"
8899
- },
8900
- model: "模型",
8901
- dataSet: "数据集"
8902
- };
8903
- const GStar$1 = {
8904
- project: {
8905
- graduation: "毕业项目",
8906
- incubation: "孵化项目"
8907
- }
8908
- };
8909
- const LoginModal$2 = {
8910
- title: {
8911
- login: "欢迎登录你的GitCode账号",
8912
- register: "欢迎注册"
8733
+ create: "新建",
8734
+ createRepo: "新建项目",
8735
+ importRepo: "导入项目",
8736
+ migrationProject: "迁移项目",
8737
+ createOrg: "新建组织",
8738
+ home: "首页",
8739
+ applicationMarket: "应用市场",
8740
+ recentlyActiveProject: "最近活跃项目",
8741
+ joinOrganization: "加入组织",
8742
+ noData: "暂无数据",
8743
+ orgOrPerson: "组织/个人",
8744
+ login: "登录",
8745
+ register: "注册",
8746
+ activeRegister: "主动注册",
8747
+ file: "文件",
8748
+ language: "语言",
8749
+ underSearch: "下搜索:",
8750
+ searchRecord: "搜索记录",
8751
+ clear: "清空",
8752
+ repo: "项目",
8753
+ org: "组织",
8754
+ user: "用户",
8755
+ recentlyVisited: "最近访问",
8756
+ platformSearch: "全平台搜索:",
8757
+ searchPlaceholder: "「开搜」:一搜即达,开发者的AI搜索",
8758
+ workbench: "工作台",
8759
+ myOrg: "我的组织",
8760
+ myRepo: "我的项目",
8761
+ myStar: "我的 Star",
8762
+ personSetting: "个人设置",
8763
+ helpDocument: "帮助文档",
8764
+ logout: "退出登录",
8765
+ goUpgrade: "去升级",
8766
+ openSourceExplorer: "开源探索者",
8767
+ openSourcePioneer: "开源先锋",
8768
+ contributingStar: "贡献之星",
8769
+ createSpace: "新建 Space",
8770
+ myNotebook: "我的 Notebook",
8771
+ mySpace: "我的 Spaces",
8772
+ aihub: {
8773
+ documentCenter: "文档中心"
8774
+ },
8775
+ getPoints: "攒积分"
8913
8776
  },
8914
- subtitle: {
8915
- sms: "短信登录",
8916
- password: "密码登录",
8917
- name: "用户名",
8918
- phone: "手机号码",
8919
- cipher: "密码",
8920
- otherLogin: "其他登录方式",
8921
- useAgrAndPriPolTip: "用户协议与隐私政策提示"
8777
+ userSetting: {
8778
+ tips: {
8779
+ youCanCreOrManUp: "你最多可以创建或管理 {num} 个组织,无法创建新的组织。",
8780
+ getPoints: "攒积分"
8781
+ },
8782
+ menu: {
8783
+ growthCenter: "成长中心"
8784
+ },
8785
+ account: {
8786
+ phone: "手机号",
8787
+ passwordSetting: "密码设置",
8788
+ bindPhoneVerification: "绑定手机号校验",
8789
+ enterBoundPhone: "请输入当前绑定手机号",
8790
+ enterVerificationCode: "请输入获取验证码",
8791
+ getVerificationCode: "获取验证码",
8792
+ changePassword: "修改密码",
8793
+ oldPassword: "旧密码",
8794
+ newPassword: "新密码",
8795
+ confirmPassword: "确认新密码",
8796
+ unbindSMSVerification: "解绑短信验证",
8797
+ deactivateAccount: "注销账号",
8798
+ untie: "解绑",
8799
+ yourTypeAccountIs: "您绑定的 {type} 账号为",
8800
+ "switch": "更换",
8801
+ mfaManage: "管理多因素认证(MFA)",
8802
+ mfa: "多因素认证(MFA)",
8803
+ mfaEnable: "已启用",
8804
+ mfatip1: "在你的移动设备或计算机上使用一次性密码验证器来启用多因素验证 (Multi-Factor Authentication),防止未经授权的访问,并帮助保护你的帐户免受潜在的安全威胁。",
8805
+ mfaManageBtn: "管理",
8806
+ mfatip2: "我们建议使用基于云的身份验证器应用程序,如果你不幸丢失了硬件设备,此类应用程序也可以恢复访问 (比如:谷歌验证器、腾讯令牌小程序等)。",
8807
+ mfatip3: "无法扫描二维码?",
8808
+ mfatip4: "如需手动添加条目,请在手机应用中提供以下信息。",
8809
+ mfaAccount: "账户:",
8810
+ mfaAccountPlaceholder: "输入当前账号的密码",
8811
+ mfatip5: "需要当前登录账号的密码来注册多因素验证程序。",
8812
+ mfatip6: '当前账户没有配置密码,请先 <a class="text-[var(--devui-link)] cursor-pointer">配置密码</a>',
8813
+ mfatip7: "请输入正确的账户密码。",
8814
+ mfatip8: "请输入身份验证器中生成的6位数字验证码",
8815
+ mfaCodeInput: "输入验证码",
8816
+ mfatip9: "如果你丢失手机或无法获取一次性密码,可以使用下面的恢复码进行多因素认证(每个恢复码只能使用一次),以重新获得帐户的访问权限。请务必将恢复码妥善保存在安全的地方,否则你将无法访问你的帐户。",
8817
+ mfatip10: "在进行下一步操作之前,请务必妥善保管你的回复码",
8818
+ mfaSave: "保存恢复码",
8819
+ mfatip11: "你已经使用一次密码验证器启用了多因素验证。如果你要注册不同的设备,请先禁用多因素验证。",
8820
+ mfatip12: "禁用多因素认证",
8821
+ mfatip13: "请输入当前登录账号的密码来禁用多因素验证程序",
8822
+ mfaRecover1: "重新生成恢复码",
8823
+ mfatip14: "请输入当前登录账号的密码来重新生成恢复码",
8824
+ mfaBan: "禁用",
8825
+ mfaRecover2: "重新生成",
8826
+ mfaView: "查看恢复码",
8827
+ mfatip15: "点击下方按钮,查看已生成的恢复码",
8828
+ mfaValid: "已失效",
8829
+ mfatip17: "当前账户没有配置密码,请先 ",
8830
+ mfatip18: "配置密码",
8831
+ mfatip16: "已妥善保管恢复码"
8832
+ }
8922
8833
  },
8923
- action: {
8924
- getcode: "获取验证码",
8925
- oh: "鸿蒙开发者登录",
8926
- login: "登 录",
8927
- registerAgain: "注册新账号",
8928
- phone: "手机验证码",
8929
- readAgree: "我已阅读并同意",
8930
- verify: "确 认",
8931
- confirmPassword: "确认密码",
8932
- wechatScanCodeLogin: "微信扫码登录",
8933
- AccountLogin: "帐号登录",
8934
- resetPassword: "重置密码"
8834
+ repo: {
8835
+ pr: {
8836
+ commit: "提交",
8837
+ discussion: "讨论"
8838
+ },
8839
+ code: {
8840
+ syncText: "同步"
8841
+ }
8935
8842
  },
8936
- tips: {
8937
- forgotPassword: "忘记密码?",
8938
- registerAgain: "其它登录方式",
8939
- agree: "登录或注册完成代表你同意",
8940
- and: "",
8941
- updatePassword: "修改密码成功, 正在为你跳转登录",
8942
- pleaseReadHuaweiAgreement: "请阅读并同意华为云用户协议以及其隐私政策",
8943
- gotoTipsAtNophone: "该手机号尚未注册, 即将为你自动跳转到注册页面",
8944
- codeSentToYou: "验证码已发送到你的",
8945
- pleaseCheck: "请注意查收",
8946
- bindMobileWithAccount: "请通过账号绑定手机号",
8947
- resetYourPassword: "邮箱重置你的账号密码",
8948
- hwAuthorizationService: "华为云授权服务",
8949
- pleaseAccreditHWBeforeUse: "GitCode与华为云共同为用户提供代码托管服务, 在使用代码托管相关服务前, 请先授权并开通华为云服务.",
8950
- phoneNumberVerification: "手机号验证",
8951
- authorizationAndBinding: "授权并绑定",
8952
- cancelAuthorization: "取消授权",
8953
- IHaveRead: "我已阅读",
8954
- descOfHWCloud: "华为云隐私政策说明",
8955
- agreeShareToHWCloud: "同意将我的手机号和帐号名共享给华为云用于创建帐号和委托",
8956
- associatedAndShared: "并与重庆开源共创科技有限公司(Gitcode的运营主体)关联及共享。",
8957
- createContinue: "创建账号并继续",
8958
- create: "创建账号",
8959
- pleaseReadAgreementAndPrivacy: "请阅读并同意相关协议以及隐私政策声明",
8960
- confirmThirdBinding: "第三方账号绑定确认",
8961
- checkCode: "验证码已经发送, 请注意查收",
8962
- pleaseReauthorize: "请重新授权",
8963
- readAndAgreeAgreementAndPrivacy: "请阅读并同意相关协议以及隐私政策声明",
8964
- verificationCode: "验证码",
8965
- verifyMobilePhoneNumber: "验证手机号",
8966
- setUserName: "设置用户名",
8967
- nameAlreadyExists: "用户名已存在",
8968
- cannotBeEmpty: "用户名不能为空",
8969
- passwordIsInconsistent: "验证密码与密码不一致",
8970
- necessaryInfo: "请填写必要信息",
8971
- fillvalidPhoneNumEmail: "请填写有效的手机号或者邮箱",
8972
- passwordLength: "请确保密码的长度范围在8~30之间",
8973
- validEmail: "或者有效的邮箱地址",
8974
- SMSVerificationCode: "请输入{count}位有效的短信验证码",
8975
- fillNecessaryInfo: "请输入有效的手机号码",
8976
- youNeeToAgr: "您需要同意",
8977
- toUseGit: "才能使用GitCode。",
8978
- ifYouDoNotAgrWe: "如果您不同意,很遗憾我们无法为您提供服务。",
8979
- disAndQui: "不同意并退出",
8980
- agrAndSigIn: "同意并登录"
8843
+ common: {
8844
+ footerSetting: {
8845
+ lang: "语言",
8846
+ theme: "主题",
8847
+ preSetting: "偏好设置"
8848
+ },
8849
+ search: "搜索",
8850
+ organize: "组织",
8851
+ all: "全部",
8852
+ project: "项目",
8853
+ publicSecurity: "京公网安备11010502055713号",
8854
+ aboutUs: "关于我们",
8855
+ recruitment: "招贤纳士",
8856
+ prices: "价格",
8857
+ save: "保存",
8858
+ wechat: "微信",
8859
+ email: "邮箱",
8860
+ phone: "手机",
8861
+ hasBeenSent: "已发送",
8862
+ time: {
8863
+ oneYearAgo: "一年前",
8864
+ yearsAgo: "{num} 年前",
8865
+ oneMonthAgo: "1 个月前",
8866
+ monthsAgo: "{num} 个月前",
8867
+ justNow: "刚刚",
8868
+ oneDayAgo: "1 天前",
8869
+ daysAgo: "{num} 天前",
8870
+ hoursAgo: "{num} 小时前",
8871
+ minutesAgo: "{num} 分钟前",
8872
+ oneHourAgo: "1 小时前",
8873
+ oneMinuteAgo: "1 分钟前"
8874
+ },
8875
+ topic: {
8876
+ attention: "关注"
8877
+ }
8981
8878
  },
8982
- link: {
8983
- agreement: "用户协议",
8984
- privacyPolicy: "隐私政策",
8985
- huaweiCloudAgreement: "华为云用户协议",
8986
- agreementPrivacy: "华为云隐私政策声明",
8987
- gitCodeProtocol: "GitCode用户协议",
8988
- gitCodePrivacy: "GitCode隐私政策",
8989
- chiCloDevSerAgr: "华为云开发者服务协议",
8990
- chiCloDevPriPolSta: "华为云开发者隐私政策声明"
8879
+ org: {
8880
+ project: "项目",
8881
+ expand_more: "展开更多",
8882
+ board: "看板",
8883
+ following: "已关注"
8991
8884
  },
8992
- registerDesc: "GitCode 与华为云共同为用户提供代码托管服务,在使用代码托管相关服务时,将同步授权并开通华为云服务,并与重庆开源共创科技有限公司(GitCode的运营主体)关联及共享。",
8993
- rule: {
8994
- username: "只允许字母、数字或者下划线(_)、中划线(-),3到20个字符,必须以字母开头,不能以特殊字符结尾",
8995
- pleaseFill: "请填写{label}",
8996
- enterUsername: "请填写用户名",
8997
- passwordLetter: "密码最少包含一个大写字母、一个小写字母、一个数字",
8998
- passwordLength: "密码最少包含一个大写字母、一个小写字母、一个数字, 长度为8~30之间"
8885
+ dashboard: {
8886
+ repo: {
8887
+ createRepo: "创建项目"
8888
+ }
8999
8889
  },
9000
- miniProgram: {
9001
- title: "小程序登录",
9002
- tip01: "二维码失效",
9003
- tip02: "点击重试",
9004
- tip03: "扫码完成",
9005
- tip04: "请在手机上确认操作",
9006
- tip05: "打开微信扫一扫,快速登录/注册",
9007
- tip06: "重新扫码"
8890
+ orgSetting: {
8891
+ creOrg: "创建组织"
9008
8892
  },
9009
- mfatip5: "为了确保你的账户安全,请完成多因素身份验证",
9010
- mfatip1: "请打开你的身份验证器应用程序,查看并输入身份验证码",
9011
- mfatip2: "如果目前无法使用身份验证应用或移动设备,请输入尚未使用的恢复码进行身份验证。恢复码是一组备用代码,用于在无法使用身份验证器或移动设备时进行身份验证。",
9012
- mfatip7: "使用验证码 ",
9013
- mfatip6: "使用恢复码",
9014
- mfatip3: "多因素身份验证-验证码",
9015
- mfatip4: "多因素身份验证-恢复码"
9016
- };
9017
- const zhLocale = {
9018
- home: home$1,
9019
- header: header$1,
9020
- userSetting: userSetting$1,
9021
- repo: repo$1,
9022
- common: common$1,
9023
- org: org$1,
9024
- dashboard: dashboard$1,
9025
- orgSetting: orgSetting$1,
9026
- trusted: trusted$1,
9027
- aihub: aihub$1,
9028
- GStar: GStar$1,
9029
- LoginModal: LoginModal$2
9030
- };
9031
- const home = {
9032
- veryGood: "Excellent",
9033
- good: "Good",
9034
- generally: "Average",
9035
- bad: "Bad",
9036
- veryBad: "Terrible",
9037
- userFeedback01: "Consult Online",
9038
- userFeedback02: "Every question receives an answer.",
9039
- settlementMsg: "For organizational support, please contact via email",
9040
- settlementMsgContact: "Please include the organization introduction and contact information in the email",
9041
- followUs: "Follow Us to Learn More",
9042
- userFeedbackProductRecommendations: "Feedback",
9043
- improveQuestion: "Any Suggestions for Improvement?",
9044
- facebackPlaceholder: "Feedback (Optional)",
9045
- thankFaceback: "Thank You for Your Feedback",
9046
- surveyTipsTitle: "Guaranteed 200 points & enter to win limited merch!",
9047
- rateExperience: "Rate Your Experience with Our Product",
9048
- feedbackCenter: "Feedback Center",
9049
- technicalSupport: "Powered by",
9050
- HWCloud: "Huawei Cloud",
9051
- onWeekdays: "Weekdays",
9052
- focusOn: "Follow",
9053
- star: "Starred",
9054
- shotName: {
9055
- AI: "AI"
8893
+ trusted: {
8894
+ shortName: "可信开源",
8895
+ menu: "可信开源频道",
8896
+ title: "可信开源频道"
9056
8897
  },
9057
- aiCommunity: "AI Community",
9058
- informationCenter: "News",
9059
- competition: "Competition",
9060
- slogon: "Co-create GitCode, the Code Home for Developers",
9061
- digest: "ChongQingKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
9062
- companyInformation: "ChongQingKaiYuanGongChuang",
9063
- recordInformation: "Yu ICP No. 2023009037"
9064
- };
9065
- const header = {
9066
- create: "New",
9067
- createRepo: "New Repository",
9068
- importRepo: "Import Project",
9069
- migrationProject: "Migrate Repos",
9070
- createOrg: "New organization",
9071
- home: "Home",
9072
- applicationMarket: "Application Market",
9073
- recentlyActiveProject: "Recently Active Projects",
9074
- joinOrganization: "Join Organization",
9075
- noData: "No Data",
9076
- orgOrPerson: "Organization/Individual",
9077
- login: "Login",
9078
- register: "Register",
9079
- activeRegister: "Proactive Registration",
9080
- file: "Files",
9081
- language: "Language",
9082
- underSearch: "Search",
9083
- searchRecord: "Search Records",
9084
- clear: "Clear",
9085
- repo: "Repositories",
9086
- org: "Organizations",
9087
- user: "Users",
9088
- recentlyVisited: "Recent Visits",
9089
- platformSearch: "Full Platform Search",
9090
- searchPlaceholder: "Search",
9091
- workbench: "Dashboard",
9092
- myOrg: "Your organizations",
9093
- myRepo: "Your repositories",
9094
- myStar: "Your stars",
9095
- personSetting: "Settings",
9096
- helpDocument: "GitCode Docs",
9097
- logout: "Logout",
9098
- goUpgrade: "Upgrade",
9099
- openSourceExplorer: "Open Source Explorer",
9100
- openSourcePioneer: "Open Source Pioneer",
9101
- contributingStar: "Star Contributor",
9102
- createSpace: "New Space",
9103
- myNotebook: "Your Notebook",
9104
- mySpace: "Your Spaces",
9105
8898
  aihub: {
9106
- documentCenter: "Docs"
9107
- },
9108
- getPoints: "Points"
9109
- };
9110
- const userSetting = {
9111
- tips: {
9112
- youCanCreOrManUp: "You can create or manage up to {num} organizations, unable to create new ones."
8899
+ header: {
8900
+ aihub: "AI 社区"
8901
+ },
8902
+ model: "模型",
8903
+ dataSet: "数据集"
9113
8904
  },
9114
- menu: {
9115
- growthCenter: "Growth Center"
8905
+ GStar: {
8906
+ project: {
8907
+ graduation: "毕业项目",
8908
+ incubation: "孵化项目"
8909
+ }
9116
8910
  },
9117
- account: {
9118
- phone: "Phone Number",
9119
- passwordSetting: "Password",
9120
- bindPhoneVerification: "Phone Number Verification",
9121
- enterBoundPhone: "Please Enter the Current Bound Phone Number",
9122
- enterVerificationCode: "Please Enter the Verification Code",
9123
- getVerificationCode: "Get verification code",
9124
- changePassword: "Change Password",
9125
- oldPassword: "Old password",
9126
- newPassword: "New password",
9127
- confirmPassword: "Confirm New Password",
9128
- unbindSMSVerification: "Unbind SMS Verification",
9129
- deactivateAccount: "Delete account",
9130
- untie: "untie",
9131
- yourTypeAccountIs: "The {type} account you bind is",
9132
- "switch": "Replace",
9133
- mfaManage: "Manage Multi-Factor Authentication (MFA)",
9134
- mfa: "Multi-Factor Authentication (MFA)",
9135
- mfaEnable: "Enabled",
9136
- mfatip1: "Enable Multi-Factor Authentication (MFA) using a one-time password authenticator on your mobile device or computer to prevent unauthorized access and help protect your account from potential security threats.",
9137
- mfaManageBtn: "Manage",
9138
- mfatip2: "We recommend using cloud-based authenticator apps that can also help recover access in case of hardware device loss (e.g., Google Authenticator, Tencent Token Mini Program).",
9139
- mfatip3: "Unable to scan the QR code?",
9140
- mfatip4: "If you need to manually add an entry, provide the following information in your mobile app.",
9141
- mfaAccount: "Account:",
9142
- mfaAccountPlaceholder: "Enter the password for the current account.",
9143
- mfatip5: "You need the password of the current logged-in account to register the multi-factor authentication program.",
9144
- mfatip6: 'The password for the current account is not configured. <a class="text-[var(--devui-link)] cursor-pointer">Configure the password</a>.',
9145
- mfatip7: "Enter the correct account password.",
9146
- mfatip8: "Enter the 6-digit verification code generated by the authenticator.",
9147
- mfaCodeInput: "Enter verification code",
9148
- mfatip9: "If you lose your phone or cannot obtain a one-time password, you can use the recovery code below for multi-factor authentication (each recovery code can only be used once) to regain access to your account. Be sure to keep the recovery code in a secure place, as you will be unable to access your account without it.",
9149
- mfatip10: "Please securely store your recovery code before proceeding to the next step.",
9150
- mfaSave: "Save Recovery Code",
9151
- mfatip11: "You have already enabled multi-factor authentication using a one-time password authenticator. If you wish to register a different device, please disable multi-factor authentication first.",
9152
- mfatip12: "Disable Multi-Factor Authentication",
9153
- mfatip13: "Enter the password for the current account to disable the multi-factor authentication program.",
9154
- mfaRecover1: "Regenerate Recovery Code",
9155
- mfatip14: "Enter the password for the current account to regenerate the recovery code.",
9156
- mfaBan: "Disable",
9157
- mfaRecover2: "Regenerate",
9158
- mfaView: "Recovery Code",
9159
- mfatip15: "Click the button below to view the generated recovery code.",
9160
- mfaValid: "Expired",
9161
- mfatip17: "The password for the current account is not configured. ",
9162
- mfatip18: "Configure the password",
9163
- mfatip16: "Recovery codes have been stored securely."
8911
+ LoginModal: {
8912
+ title: {
8913
+ login: "欢迎登录你的GitCode账号",
8914
+ register: "欢迎注册"
8915
+ },
8916
+ subtitle: {
8917
+ sms: "短信登录",
8918
+ password: "密码登录",
8919
+ name: "用户名",
8920
+ phone: "手机号码",
8921
+ cipher: "密码",
8922
+ otherLogin: "其他登录方式",
8923
+ useAgrAndPriPolTip: "用户协议与隐私政策提示"
8924
+ },
8925
+ action: {
8926
+ getcode: "获取验证码",
8927
+ oh: "鸿蒙开发者登录",
8928
+ login: " ",
8929
+ registerAgain: "注册新账号",
8930
+ phone: "手机验证码",
8931
+ readAgree: "我已阅读并同意",
8932
+ verify: " ",
8933
+ confirmPassword: "确认密码",
8934
+ wechatScanCodeLogin: "微信扫码登录",
8935
+ AccountLogin: "帐号登录",
8936
+ resetPassword: "重置密码"
8937
+ },
8938
+ tips: {
8939
+ forgotPassword: "忘记密码?",
8940
+ registerAgain: "其它登录方式",
8941
+ agree: "登录或注册完成代表你同意",
8942
+ and: "",
8943
+ updatePassword: "修改密码成功, 正在为你跳转登录",
8944
+ pleaseReadHuaweiAgreement: "请阅读并同意华为云用户协议以及其隐私政策",
8945
+ gotoTipsAtNophone: "该手机号尚未注册, 即将为你自动跳转到注册页面",
8946
+ codeSentToYou: "验证码已发送到你的",
8947
+ pleaseCheck: "请注意查收",
8948
+ bindMobileWithAccount: "请通过账号绑定手机号",
8949
+ resetYourPassword: "邮箱重置你的账号密码",
8950
+ hwAuthorizationService: "华为云授权服务",
8951
+ pleaseAccreditHWBeforeUse: "GitCode与华为云共同为用户提供代码托管服务, 在使用代码托管相关服务前, 请先授权并开通华为云服务.",
8952
+ phoneNumberVerification: "手机号验证",
8953
+ authorizationAndBinding: "授权并绑定",
8954
+ cancelAuthorization: "取消授权",
8955
+ IHaveRead: "我已阅读",
8956
+ descOfHWCloud: "华为云隐私政策说明",
8957
+ agreeShareToHWCloud: "同意将我的手机号和帐号名共享给华为云用于创建帐号和委托",
8958
+ associatedAndShared: "并与重庆开源共创科技有限公司(Gitcode的运营主体)关联及共享。",
8959
+ createContinue: "创建账号并继续",
8960
+ create: "创建账号",
8961
+ pleaseReadAgreementAndPrivacy: "请阅读并同意相关协议以及隐私政策声明",
8962
+ confirmThirdBinding: "第三方账号绑定确认",
8963
+ checkCode: "验证码已经发送, 请注意查收",
8964
+ pleaseReauthorize: "请重新授权",
8965
+ readAndAgreeAgreementAndPrivacy: "请阅读并同意相关协议以及隐私政策声明",
8966
+ verificationCode: "验证码",
8967
+ verifyMobilePhoneNumber: "验证手机号",
8968
+ setUserName: "设置用户名",
8969
+ nameAlreadyExists: "用户名已存在",
8970
+ cannotBeEmpty: "用户名不能为空",
8971
+ passwordIsInconsistent: "验证密码与密码不一致",
8972
+ necessaryInfo: "请填写必要信息",
8973
+ fillvalidPhoneNumEmail: "请填写有效的手机号或者邮箱",
8974
+ passwordLength: "请确保密码的长度范围在8~30之间",
8975
+ validEmail: "或者有效的邮箱地址",
8976
+ SMSVerificationCode: "请输入{count}位有效的短信验证码",
8977
+ fillNecessaryInfo: "请输入有效的手机号码",
8978
+ youNeeToAgr: "您需要同意",
8979
+ toUseGit: "才能使用GitCode。",
8980
+ ifYouDoNotAgrWe: "如果您不同意,很遗憾我们无法为您提供服务。",
8981
+ disAndQui: "不同意并退出",
8982
+ agrAndSigIn: "同意并登录"
8983
+ },
8984
+ link: {
8985
+ agreement: "用户协议",
8986
+ privacyPolicy: "隐私政策",
8987
+ huaweiCloudAgreement: "华为云用户协议",
8988
+ agreementPrivacy: "华为云隐私政策声明",
8989
+ gitCodeProtocol: "GitCode用户协议",
8990
+ gitCodePrivacy: "GitCode隐私政策",
8991
+ chiCloDevSerAgr: "华为云开发者服务协议",
8992
+ chiCloDevPriPolSta: "华为云开发者隐私政策声明"
8993
+ },
8994
+ registerDesc: "GitCode 与华为云共同为用户提供代码托管服务,在使用代码托管相关服务时,将同步授权并开通华为云服务,并与重庆开源共创科技有限公司(GitCode的运营主体)关联及共享。",
8995
+ rule: {
8996
+ username: "只允许字母、数字或者下划线(_)、中划线(-),3到20个字符,必须以字母开头,不能以特殊字符结尾",
8997
+ pleaseFill: "请填写{label}",
8998
+ enterUsername: "请填写用户名",
8999
+ passwordLetter: "密码最少包含一个大写字母、一个小写字母、一个数字",
9000
+ passwordLength: "密码最少包含一个大写字母、一个小写字母、一个数字, 长度为8~30之间"
9001
+ },
9002
+ miniProgram: {
9003
+ title: "小程序登录",
9004
+ tip01: "二维码失效",
9005
+ tip02: "点击重试",
9006
+ tip03: "扫码完成",
9007
+ tip04: "请在手机上确认操作",
9008
+ tip05: "打开微信扫一扫,快速登录/注册",
9009
+ tip06: "重新扫码"
9010
+ },
9011
+ mfatip5: "为了确保你的账户安全,请完成多因素身份验证",
9012
+ mfatip1: "请打开你的身份验证器应用程序,查看并输入身份验证码",
9013
+ mfatip2: "如果目前无法使用身份验证应用或移动设备,请输入尚未使用的恢复码进行身份验证。恢复码是一组备用代码,用于在无法使用身份验证器或移动设备时进行身份验证。",
9014
+ mfatip7: "使用验证码 ",
9015
+ mfatip6: "使用恢复码",
9016
+ mfatip3: "多因素身份验证-验证码",
9017
+ mfatip4: "多因素身份验证-恢复码"
9164
9018
  }
9165
9019
  };
9166
- const repo = {
9167
- pr: {
9168
- commit: "Commit",
9169
- discussion: "Discussion"
9170
- },
9171
- code: {
9172
- syncText: "Update branch"
9173
- }
9020
+ const zhLocale = {
9021
+ gitCodeLayout: gitCodeLayout$1
9174
9022
  };
9175
- const common = {
9176
- footerSetting: {
9177
- lang: "Language",
9178
- theme: "Theme",
9179
- preSetting: "Preferences"
9023
+ const gitCodeLayout = {
9024
+ home: {
9025
+ veryGood: "Excellent",
9026
+ good: "Good",
9027
+ generally: "Average",
9028
+ bad: "Bad",
9029
+ veryBad: "Terrible",
9030
+ userFeedback01: "Consult Online",
9031
+ userFeedback02: "Every question receives an answer.",
9032
+ settlementMsg: "For organizational support, please contact via email",
9033
+ settlementMsgContact: "Please include the organization introduction and contact information in the email",
9034
+ followUs: "Follow Us to Learn More",
9035
+ userFeedbackProductRecommendations: "Feedback",
9036
+ improveQuestion: "Any Suggestions for Improvement?",
9037
+ facebackPlaceholder: "Feedback (Optional)",
9038
+ thankFaceback: "Thank You for Your Feedback",
9039
+ surveyTipsTitle: "Guaranteed 200 points & enter to win limited merch!",
9040
+ rateExperience: "Rate Your Experience with Our Product",
9041
+ feedbackCenter: "Feedback Center",
9042
+ technicalSupport: "Powered by",
9043
+ HWCloud: "Huawei Cloud",
9044
+ onWeekdays: "Weekdays",
9045
+ focusOn: "Follow",
9046
+ star: "Starred",
9047
+ shotName: {
9048
+ AI: "AI"
9049
+ },
9050
+ aiCommunity: "AI Community",
9051
+ informationCenter: "News",
9052
+ competition: "Competition",
9053
+ slogon: "Co-create GitCode, the Code Home for Developers",
9054
+ digest: "ChongQingKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
9055
+ companyInformation: "ChongQingKaiYuanGongChuang",
9056
+ recordInformation: "Yu ICP No. 2023009037"
9180
9057
  },
9181
- search: "Search",
9182
- organize: "Organizations",
9183
- all: "All",
9184
- project: "Repositories",
9185
- publicSecurity: "京公网安备11010502055713号",
9186
- aboutUs: "About us",
9187
- recruitment: "Recruitment",
9188
- prices: "Price",
9189
- save: "Save",
9190
- wechat: "Wechat",
9191
- email: "Email",
9192
- phone: "Phone",
9193
- hasBeenSent: "Sent",
9194
- time: {
9195
- oneYearAgo: "1 year ago",
9196
- yearsAgo: "{num} years ago",
9197
- oneMonthAgo: "1 month ago",
9198
- monthsAgo: "{num} months ago",
9199
- justNow: "Just Now",
9200
- oneDayAgo: "1 day ago",
9201
- daysAgo: "{num} days ago",
9202
- hoursAgo: "{num} hours ago",
9203
- minutesAgo: "{num} minutes ago",
9204
- oneHourAgo: "1 hour ago",
9205
- oneMinuteAgo: "1 minute ago"
9058
+ header: {
9059
+ create: "New",
9060
+ createRepo: "New Repository",
9061
+ importRepo: "Import Project",
9062
+ migrationProject: "Migrate Repos",
9063
+ createOrg: "New organization",
9064
+ home: "Home",
9065
+ applicationMarket: "Application Market",
9066
+ recentlyActiveProject: "Recently Active Projects",
9067
+ joinOrganization: "Join Organization",
9068
+ noData: "No Data",
9069
+ orgOrPerson: "Organization/Individual",
9070
+ login: "Login",
9071
+ register: "Register",
9072
+ activeRegister: "Proactive Registration",
9073
+ file: "Files",
9074
+ language: "Language",
9075
+ underSearch: "Search",
9076
+ searchRecord: "Search Records",
9077
+ clear: "Clear",
9078
+ repo: "Repositories",
9079
+ org: "Organizations",
9080
+ user: "Users",
9081
+ recentlyVisited: "Recent Visits",
9082
+ platformSearch: "Full Platform Search",
9083
+ searchPlaceholder: "Search",
9084
+ workbench: "Dashboard",
9085
+ myOrg: "Your organizations",
9086
+ myRepo: "Your repositories",
9087
+ myStar: "Your stars",
9088
+ personSetting: "Settings",
9089
+ helpDocument: "GitCode Docs",
9090
+ logout: "Logout",
9091
+ goUpgrade: "Upgrade",
9092
+ openSourceExplorer: "Open Source Explorer",
9093
+ openSourcePioneer: "Open Source Pioneer",
9094
+ contributingStar: "Star Contributor",
9095
+ createSpace: "New Space",
9096
+ myNotebook: "Your Notebook",
9097
+ mySpace: "Your Spaces",
9098
+ aihub: {
9099
+ documentCenter: "Docs"
9100
+ },
9101
+ getPoints: "Points"
9102
+ },
9103
+ userSetting: {
9104
+ tips: {
9105
+ youCanCreOrManUp: "You can create or manage up to {num} organizations, unable to create new ones.",
9106
+ getPoints: "Points"
9107
+ },
9108
+ menu: {
9109
+ growthCenter: "Growth Center"
9110
+ },
9111
+ account: {
9112
+ phone: "Phone Number",
9113
+ passwordSetting: "Password",
9114
+ bindPhoneVerification: "Phone Number Verification",
9115
+ enterBoundPhone: "Please Enter the Current Bound Phone Number",
9116
+ enterVerificationCode: "Please Enter the Verification Code",
9117
+ getVerificationCode: "Get verification code",
9118
+ changePassword: "Change Password",
9119
+ oldPassword: "Old password",
9120
+ newPassword: "New password",
9121
+ confirmPassword: "Confirm New Password",
9122
+ unbindSMSVerification: "Unbind SMS Verification",
9123
+ deactivateAccount: "Delete account",
9124
+ untie: "untie",
9125
+ yourTypeAccountIs: "The {type} account you bind is",
9126
+ "switch": "Replace",
9127
+ mfaManage: "Manage Multi-Factor Authentication (MFA)",
9128
+ mfa: "Multi-Factor Authentication (MFA)",
9129
+ mfaEnable: "Enabled",
9130
+ mfatip1: "Enable Multi-Factor Authentication (MFA) using a one-time password authenticator on your mobile device or computer to prevent unauthorized access and help protect your account from potential security threats.",
9131
+ mfaManageBtn: "Manage",
9132
+ mfatip2: "We recommend using cloud-based authenticator apps that can also help recover access in case of hardware device loss (e.g., Google Authenticator, Tencent Token Mini Program).",
9133
+ mfatip3: "Unable to scan the QR code?",
9134
+ mfatip4: "If you need to manually add an entry, provide the following information in your mobile app.",
9135
+ mfaAccount: "Account:",
9136
+ mfaAccountPlaceholder: "Enter the password for the current account.",
9137
+ mfatip5: "You need the password of the current logged-in account to register the multi-factor authentication program.",
9138
+ mfatip6: 'The password for the current account is not configured. <a class="text-[var(--devui-link)] cursor-pointer">Configure the password</a>.',
9139
+ mfatip7: "Enter the correct account password.",
9140
+ mfatip8: "Enter the 6-digit verification code generated by the authenticator.",
9141
+ mfaCodeInput: "Enter verification code",
9142
+ mfatip9: "If you lose your phone or cannot obtain a one-time password, you can use the recovery code below for multi-factor authentication (each recovery code can only be used once) to regain access to your account. Be sure to keep the recovery code in a secure place, as you will be unable to access your account without it.",
9143
+ mfatip10: "Please securely store your recovery code before proceeding to the next step.",
9144
+ mfaSave: "Save Recovery Code",
9145
+ mfatip11: "You have already enabled multi-factor authentication using a one-time password authenticator. If you wish to register a different device, please disable multi-factor authentication first.",
9146
+ mfatip12: "Disable Multi-Factor Authentication",
9147
+ mfatip13: "Enter the password for the current account to disable the multi-factor authentication program.",
9148
+ mfaRecover1: "Regenerate Recovery Code",
9149
+ mfatip14: "Enter the password for the current account to regenerate the recovery code.",
9150
+ mfaBan: "Disable",
9151
+ mfaRecover2: "Regenerate",
9152
+ mfaView: "Recovery Code",
9153
+ mfatip15: "Click the button below to view the generated recovery code.",
9154
+ mfaValid: "Expired",
9155
+ mfatip17: "The password for the current account is not configured. ",
9156
+ mfatip18: "Configure the password",
9157
+ mfatip16: "Recovery codes have been stored securely."
9158
+ }
9206
9159
  },
9207
- topic: {
9208
- attention: "Follow"
9209
- }
9210
- };
9211
- const org = {
9212
- project: "Repositories",
9213
- expand_more: "More",
9214
- board: "Kanban ",
9215
- following: "Followed"
9216
- };
9217
- const dashboard = {
9218
9160
  repo: {
9219
- createRepo: "Create repo"
9220
- }
9221
- };
9222
- const orgSetting = {
9223
- creOrg: "New Organization"
9224
- };
9225
- const trusted = {
9226
- shortName: "TOSC",
9227
- menu: "Trusted Open Source",
9228
- title: "Trusted Open Source Channel"
9229
- };
9230
- const aihub = {
9231
- header: {
9232
- aihub: "AI Hub"
9161
+ pr: {
9162
+ commit: "Commit",
9163
+ discussion: "Discussion"
9164
+ },
9165
+ code: {
9166
+ syncText: "Update branch"
9167
+ }
9233
9168
  },
9234
- model: "Models",
9235
- dataSet: "Datasets"
9236
- };
9237
- const GStar = {
9238
- project: {
9239
- graduation: "Graduated",
9240
- incubation: "Incubation"
9241
- }
9242
- };
9243
- const LoginModal$1 = {
9244
- title: {
9245
- login: "Welcome to GitCode ",
9246
- register: "Welcome to register"
9169
+ common: {
9170
+ footerSetting: {
9171
+ lang: "Language",
9172
+ theme: "Theme",
9173
+ preSetting: "Preferences"
9174
+ },
9175
+ search: "Search",
9176
+ organize: "Organizations",
9177
+ all: "All",
9178
+ project: "Repositories",
9179
+ publicSecurity: "京公网安备11010502055713号",
9180
+ aboutUs: "About us",
9181
+ recruitment: "Recruitment",
9182
+ prices: "Price",
9183
+ save: "Save",
9184
+ wechat: "Wechat",
9185
+ email: "Email",
9186
+ phone: "Phone",
9187
+ hasBeenSent: "Sent",
9188
+ time: {
9189
+ oneYearAgo: "1 year ago",
9190
+ yearsAgo: "{num} years ago",
9191
+ oneMonthAgo: "1 month ago",
9192
+ monthsAgo: "{num} months ago",
9193
+ justNow: "Just Now",
9194
+ oneDayAgo: "1 day ago",
9195
+ daysAgo: "{num} days ago",
9196
+ hoursAgo: "{num} hours ago",
9197
+ minutesAgo: "{num} minutes ago",
9198
+ oneHourAgo: "1 hour ago",
9199
+ oneMinuteAgo: "1 minute ago"
9200
+ },
9201
+ topic: {
9202
+ attention: "Follow"
9203
+ }
9247
9204
  },
9248
- subtitle: {
9249
- sms: "SMS Login ",
9250
- password: "Password login",
9251
- name: "Username",
9252
- phone: "Phone number",
9253
- cipher: "Password",
9254
- otherLogin: "Other login methods",
9255
- useAgrAndPriPolTip: "User Agreement and Privacy Policy Notice"
9205
+ org: {
9206
+ project: "Repositories",
9207
+ expand_more: "More",
9208
+ board: "Kanban ",
9209
+ following: "Followed"
9256
9210
  },
9257
- action: {
9258
- getcode: "Get verification code",
9259
- oh: "OpenHarmony Developers",
9260
- login: "Log In",
9261
- registerAgain: "Sign up",
9262
- phone: "SMS code",
9263
- readAgree: "I have read and agree to",
9264
- verify: "Confirm",
9265
- confirmPassword: "Confirm password",
9266
- wechatScanCodeLogin: "WeChat QR code login",
9267
- AccountLogin: "Account login",
9268
- resetPassword: "Reset password"
9211
+ dashboard: {
9212
+ repo: {
9213
+ createRepo: "Create repo"
9214
+ }
9269
9215
  },
9270
- tips: {
9271
- forgotPassword: "Forgot password?",
9272
- registerAgain: "Other login methods",
9273
- agree: "By logging in or registering, you agree to",
9274
- and: "and",
9275
- updatePassword: "Password successfully changed, redirecting to login",
9276
- pleaseReadHuaweiAgreement: "Please read and agree to the Huawei Cloud User Agreement and Privacy Policy",
9277
- gotoTipsAtNophone: "The phone number is not registered, redirecting to the registration page",
9278
- codeSentToYou: "Verification code sent to your ",
9279
- pleaseCheck: " Please check",
9280
- bindMobileWithAccount: "Please bind your phone number through your account",
9281
- resetYourPassword: "Reset your account password via email",
9282
- hwAuthorizationService: "Huawei Cloud authorization service",
9283
- pleaseAccreditHWBeforeUse: "GitCode and Huawei Cloud jointly provide code hosting services for users. Please authorize and activate Huawei Cloud services before using related services.",
9284
- phoneNumberVerification: "Phone number verification",
9285
- authorizationAndBinding: "Authorize and bind",
9286
- cancelAuthorization: "Cancel authorization",
9287
- IHaveRead: "I have read",
9288
- descOfHWCloud: "Huawei Cloud Privacy Policy Explanation",
9289
- agreeShareToHWCloud: "Agree to share my phone number and account name with Huawei Cloud for account creation and authorization",
9290
- associatedAndShared: "and share with Chongqing Open Source Co-Creation Technology Co., Ltd. (the operator of GitCode).",
9291
- createContinue: "Create account and continue",
9292
- create: "Create account",
9293
- pleaseReadAgreementAndPrivacy: "Please read and agree to the relevant agreements and privacy policy statements",
9294
- confirmThirdBinding: "Third-party account binding confirmation",
9295
- checkCode: "Verification code sent, please check",
9296
- pleaseReauthorize: "Please re-authorize",
9297
- readAndAgreeAgreementAndPrivacy: "Please read and agree to the relevant agreements and privacy policy statements",
9298
- verificationCode: "Verification code",
9299
- verifyMobilePhoneNumber: "Verify phone number",
9300
- setUserName: "Set username",
9301
- nameAlreadyExists: "Username already exists",
9302
- cannotBeEmpty: "Username cannot be empty",
9303
- passwordIsInconsistent: "Verification password does not match password",
9304
- necessaryInfo: "Please fill in the necessary information",
9305
- fillvalidPhoneNumEmail: "Please fill in a valid mobile phone number or email address",
9306
- passwordLength: "Ensure that the password contains 8 to 30 characters",
9307
- validEmail: "Or a valid email address",
9308
- SMSVerificationCode: "Please enter a valid SMS verification code with {count} digits",
9309
- fillNecessaryInfo: "Please enter a valid mobile number",
9310
- youNeeToAgr: "You need to agree",
9311
- toUseGit: "to use GitCode.",
9312
- ifYouDoNotAgrWe: "If you do not agree, unfortunately, we cannot provide you with services.",
9313
- disAndQui: "Disagree and Exit",
9314
- agrAndSigIn: "Agree and Login"
9216
+ orgSetting: {
9217
+ creOrg: "New Organization"
9315
9218
  },
9316
- link: {
9317
- agreement: "User Agreement",
9318
- privacyPolicy: "Privacy Policy",
9319
- huaweiCloudAgreement: "Huawei Cloud User Agreement",
9320
- agreementPrivacy: "Huawei Cloud Privacy Policy Statement",
9321
- gitCodeProtocol: "GitCode User Agreement",
9322
- gitCodePrivacy: "GitCode Privacy Policy",
9323
- chiCloDevSerAgr: "Huawei Cloud Developer Service Agreement",
9324
- chiCloDevPriPolSta: "Huawei Cloud Developer Privacy Policy Statement"
9219
+ trusted: {
9220
+ shortName: "TOSC",
9221
+ menu: "Trusted Open Source",
9222
+ title: "Trusted Open Source Channel"
9325
9223
  },
9326
- registerDesc: "GitCode and Huawei Cloud jointly provide code hosting services for users. When using code hosting services, you will synchronize authorization and activate Huawei Cloud services, and share information with Chongqing Open Source Co-Creation Technology Co., Ltd. (the operator of GitCode).",
9327
- rule: {
9328
- username: "Only letters, numbers, underscores (_), hyphens (-) are allowed, 3 to 20 characters, must start with a letter, cannot end with a special character",
9329
- pleaseFill: "Please fill in {label}",
9330
- enterUsername: "Please enter a username",
9331
- passwordLetter: "Password must contain at least one uppercase letter, one lowercase letter, and one number",
9332
- passwordLength: "Password must contain at least one uppercase letter, one lowercase letter, and one number, length 8-30 characters"
9224
+ aihub: {
9225
+ header: {
9226
+ aihub: "AI Hub"
9227
+ },
9228
+ model: "Models",
9229
+ dataSet: "Datasets"
9333
9230
  },
9334
- miniProgram: {
9335
- title: "Miniprogram",
9336
- tip01: "The QR code is invalid",
9337
- tip02: "Retry",
9338
- tip03: "Scan completed",
9339
- tip04: "Please confirm the action on your phone",
9340
- tip05: "Scan QR Code via WeChat to quickly log in or sign up",
9341
- tip06: "Refresh QR Code"
9231
+ GStar: {
9232
+ project: {
9233
+ graduation: "Graduated",
9234
+ incubation: "Incubation"
9235
+ }
9342
9236
  },
9343
- mfatip5: "To ensure the security of your account, please complete the multi-factor authentication.",
9344
- mfatip1: "Open your authentication app and enter the verification code.",
9345
- mfatip2: "If you are currently unable to use the authentication app or mobile device, please enter an unused recovery code for authentication. Recovery codes are a set of backup codes used for authentication when the authentication app or mobile device is unavailable.",
9346
- mfatip7: "Verification Code",
9347
- mfatip6: "Recovery Code",
9348
- mfatip3: "MFA - Verification Code",
9349
- mfatip4: "MFA - Recovery Code"
9237
+ LoginModal: {
9238
+ title: {
9239
+ login: "Welcome to GitCode ",
9240
+ register: "Welcome to register"
9241
+ },
9242
+ subtitle: {
9243
+ sms: "SMS Login ",
9244
+ password: "Password login",
9245
+ name: "Username",
9246
+ phone: "Phone number",
9247
+ cipher: "Password",
9248
+ otherLogin: "Other login methods",
9249
+ useAgrAndPriPolTip: "User Agreement and Privacy Policy Notice"
9250
+ },
9251
+ action: {
9252
+ getcode: "Get verification code",
9253
+ oh: "OpenHarmony Developers",
9254
+ login: "Log In",
9255
+ registerAgain: "Sign up",
9256
+ phone: "SMS code",
9257
+ readAgree: "I have read and agree to",
9258
+ verify: "Confirm",
9259
+ confirmPassword: "Confirm password",
9260
+ wechatScanCodeLogin: "WeChat QR code login",
9261
+ AccountLogin: "Account login",
9262
+ resetPassword: "Reset password"
9263
+ },
9264
+ tips: {
9265
+ forgotPassword: "Forgot password?",
9266
+ registerAgain: "Other login methods",
9267
+ agree: "By logging in or registering, you agree to",
9268
+ and: "and",
9269
+ updatePassword: "Password successfully changed, redirecting to login",
9270
+ pleaseReadHuaweiAgreement: "Please read and agree to the Huawei Cloud User Agreement and Privacy Policy",
9271
+ gotoTipsAtNophone: "The phone number is not registered, redirecting to the registration page",
9272
+ codeSentToYou: "Verification code sent to your ",
9273
+ pleaseCheck: " Please check",
9274
+ bindMobileWithAccount: "Please bind your phone number through your account",
9275
+ resetYourPassword: "Reset your account password via email",
9276
+ hwAuthorizationService: "Huawei Cloud authorization service",
9277
+ pleaseAccreditHWBeforeUse: "GitCode and Huawei Cloud jointly provide code hosting services for users. Please authorize and activate Huawei Cloud services before using related services.",
9278
+ phoneNumberVerification: "Phone number verification",
9279
+ authorizationAndBinding: "Authorize and bind",
9280
+ cancelAuthorization: "Cancel authorization",
9281
+ IHaveRead: "I have read",
9282
+ descOfHWCloud: "Huawei Cloud Privacy Policy Explanation",
9283
+ agreeShareToHWCloud: "Agree to share my phone number and account name with Huawei Cloud for account creation and authorization",
9284
+ associatedAndShared: "and share with Chongqing Open Source Co-Creation Technology Co., Ltd. (the operator of GitCode).",
9285
+ createContinue: "Create account and continue",
9286
+ create: "Create account",
9287
+ pleaseReadAgreementAndPrivacy: "Please read and agree to the relevant agreements and privacy policy statements",
9288
+ confirmThirdBinding: "Third-party account binding confirmation",
9289
+ checkCode: "Verification code sent, please check",
9290
+ pleaseReauthorize: "Please re-authorize",
9291
+ readAndAgreeAgreementAndPrivacy: "Please read and agree to the relevant agreements and privacy policy statements",
9292
+ verificationCode: "Verification code",
9293
+ verifyMobilePhoneNumber: "Verify phone number",
9294
+ setUserName: "Set username",
9295
+ nameAlreadyExists: "Username already exists",
9296
+ cannotBeEmpty: "Username cannot be empty",
9297
+ passwordIsInconsistent: "Verification password does not match password",
9298
+ necessaryInfo: "Please fill in the necessary information",
9299
+ fillvalidPhoneNumEmail: "Please fill in a valid mobile phone number or email address",
9300
+ passwordLength: "Ensure that the password contains 8 to 30 characters",
9301
+ validEmail: "Or a valid email address",
9302
+ SMSVerificationCode: "Please enter a valid SMS verification code with {count} digits",
9303
+ fillNecessaryInfo: "Please enter a valid mobile number",
9304
+ youNeeToAgr: "You need to agree",
9305
+ toUseGit: "to use GitCode.",
9306
+ ifYouDoNotAgrWe: "If you do not agree, unfortunately, we cannot provide you with services.",
9307
+ disAndQui: "Disagree and Exit",
9308
+ agrAndSigIn: "Agree and Login"
9309
+ },
9310
+ link: {
9311
+ agreement: "User Agreement",
9312
+ privacyPolicy: "Privacy Policy",
9313
+ huaweiCloudAgreement: "Huawei Cloud User Agreement",
9314
+ agreementPrivacy: "Huawei Cloud Privacy Policy Statement",
9315
+ gitCodeProtocol: "GitCode User Agreement",
9316
+ gitCodePrivacy: "GitCode Privacy Policy",
9317
+ chiCloDevSerAgr: "Huawei Cloud Developer Service Agreement",
9318
+ chiCloDevPriPolSta: "Huawei Cloud Developer Privacy Policy Statement"
9319
+ },
9320
+ registerDesc: "GitCode and Huawei Cloud jointly provide code hosting services for users. When using code hosting services, you will synchronize authorization and activate Huawei Cloud services, and share information with Chongqing Open Source Co-Creation Technology Co., Ltd. (the operator of GitCode).",
9321
+ rule: {
9322
+ username: "Only letters, numbers, underscores (_), hyphens (-) are allowed, 3 to 20 characters, must start with a letter, cannot end with a special character",
9323
+ pleaseFill: "Please fill in {label}",
9324
+ enterUsername: "Please enter a username",
9325
+ passwordLetter: "Password must contain at least one uppercase letter, one lowercase letter, and one number",
9326
+ passwordLength: "Password must contain at least one uppercase letter, one lowercase letter, and one number, length 8-30 characters"
9327
+ },
9328
+ miniProgram: {
9329
+ title: "Miniprogram",
9330
+ tip01: "The QR code is invalid",
9331
+ tip02: "Retry",
9332
+ tip03: "Scan completed",
9333
+ tip04: "Please confirm the action on your phone",
9334
+ tip05: "Scan QR Code via WeChat to quickly log in or sign up",
9335
+ tip06: "Refresh QR Code"
9336
+ },
9337
+ mfatip5: "To ensure the security of your account, please complete the multi-factor authentication.",
9338
+ mfatip1: "Open your authentication app and enter the verification code.",
9339
+ mfatip2: "If you are currently unable to use the authentication app or mobile device, please enter an unused recovery code for authentication. Recovery codes are a set of backup codes used for authentication when the authentication app or mobile device is unavailable.",
9340
+ mfatip7: "Verification Code",
9341
+ mfatip6: "Recovery Code",
9342
+ mfatip3: "MFA - Verification Code",
9343
+ mfatip4: "MFA - Recovery Code"
9344
+ }
9350
9345
  };
9351
9346
  const enLocale = {
9352
- home,
9353
- header,
9354
- userSetting,
9355
- repo,
9356
- common,
9357
- org,
9358
- dashboard,
9359
- orgSetting,
9360
- trusted,
9361
- aihub,
9362
- GStar,
9363
- LoginModal: LoginModal$1
9347
+ gitCodeLayout
9364
9348
  };
9365
9349
  function isComposer(instance, mode) {
9366
9350
  return mode === "composition" && isRef(instance.locale);
@@ -9401,7 +9385,7 @@ const $i18n = setupI18n({
9401
9385
  }
9402
9386
  });
9403
9387
  const i18n = $i18n;
9404
- const index_vue_vue_type_style_index_0_scoped_bf664cc6_lang = "";
9388
+ const index_vue_vue_type_style_index_0_scoped_69d0ddb6_lang = "";
9405
9389
  const _sfc_main$k = /* @__PURE__ */ Object.assign({
9406
9390
  name: "Create"
9407
9391
  }, {
@@ -9428,9 +9412,9 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
9428
9412
  };
9429
9413
  const { t: $t } = i18n.global;
9430
9414
  const linkList = ref([
9431
- { label: $t("header.createRepo"), href: `${SITE_HOST}/create?position=nav_top` },
9432
- { label: $t("header.importRepo"), href: `${SITE_HOST}/migrate?type=3` },
9433
- { label: $t("header.createOrg"), linkName: "newOrg" }
9415
+ { label: $t("gitCodeLayout.header.createRepo"), href: `${SITE_HOST}/create?position=nav_top` },
9416
+ { label: $t("gitCodeLayout.header.importRepo"), href: `${SITE_HOST}/migrate?type=3` },
9417
+ { label: $t("gitCodeLayout.header.createOrg"), linkName: "newOrg" }
9434
9418
  ]);
9435
9419
  useRoute();
9436
9420
  useRouter();
@@ -9439,7 +9423,7 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
9439
9423
  const userInfo = JSON.parse(localStorage.getItem("userInfo") || "{}");
9440
9424
  const flag = await getUserCreateOrg(userInfo == null ? void 0 : userInfo.username);
9441
9425
  if (!flag) {
9442
- Message.warning($t("userSetting.tips.youCanCreOrManUp", { num: 5 }));
9426
+ Message.warning($t("gitCodeLayout.userSetting.tips.youCanCreOrManUp", { num: 5 }));
9443
9427
  return;
9444
9428
  } else {
9445
9429
  window.location.href = `${SITE_HOST}/org/create`;
@@ -9482,7 +9466,7 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
9482
9466
  variant: "solid"
9483
9467
  }, {
9484
9468
  default: withCtx(() => [
9485
- createTextVNode(toDisplayString(unref($t)("header.create")), 1)
9469
+ createTextVNode(toDisplayString(unref($t)("gitCodeLayout.header.create")), 1)
9486
9470
  ]),
9487
9471
  _: 1
9488
9472
  })
@@ -9492,7 +9476,7 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
9492
9476
  };
9493
9477
  }
9494
9478
  });
9495
- const Create = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-bf664cc6"]]);
9479
+ const Create = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-69d0ddb6"]]);
9496
9480
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
9497
9481
  ...{
9498
9482
  name: "DocumentCenter"
@@ -9511,15 +9495,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
9511
9495
  target: "_blank"
9512
9496
  }, {
9513
9497
  default: withCtx(() => [
9514
- createTextVNode(toDisplayString(_ctx.$t("header.aihub.documentCenter")), 1)
9498
+ createTextVNode(toDisplayString(_ctx.$t("gitCodeLayout.header.aihub.documentCenter")), 1)
9515
9499
  ]),
9516
9500
  _: 1
9517
9501
  }, 8, ["class"]);
9518
9502
  };
9519
9503
  }
9520
9504
  });
9521
- const DocumentCenter_vue_vue_type_style_index_0_scoped_8b213dbf_lang = "";
9522
- const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-8b213dbf"]]);
9505
+ const DocumentCenter_vue_vue_type_style_index_0_scoped_4457af86_lang = "";
9506
+ const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4457af86"]]);
9523
9507
  var root = _root;
9524
9508
  var now$1 = function() {
9525
9509
  return root.Date.now();
@@ -9717,7 +9701,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
9717
9701
  });
9718
9702
  const Notice_vue_vue_type_style_index_0_scoped_bff7016f_lang = "";
9719
9703
  const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bff7016f"]]);
9720
- const UserLevel_vue_vue_type_style_index_0_scoped_09a9832c_lang = "";
9704
+ const UserLevel_vue_vue_type_style_index_0_scoped_decf23ff_lang = "";
9721
9705
  const _hoisted_1$f = {
9722
9706
  key: 0,
9723
9707
  class: "user-level-avatar-badge"
@@ -9738,17 +9722,17 @@ const _sfc_main$h = /* @__PURE__ */ Object.assign({ name: "UserLevel" }, {
9738
9722
  const props = __props;
9739
9723
  const levelMap = {
9740
9724
  v1: {
9741
- name: t2("header.openSourceExplorer"),
9725
+ name: t2("gitCodeLayout.header.openSourceExplorer"),
9742
9726
  avatar: "https://cdn-static.gitcode.com/static/images/points/ava-v1.png",
9743
9727
  level: "https://cdn-static.gitcode.com/static/images/points/l-v1.png"
9744
9728
  },
9745
9729
  v2: {
9746
- name: t2("header.openSourcePioneer"),
9730
+ name: t2("gitCodeLayout.header.openSourcePioneer"),
9747
9731
  avatar: "https://cdn-static.gitcode.com/static/images/points/ava-v2.png",
9748
9732
  level: "https://cdn-static.gitcode.com/static/images/points/l-v2.png"
9749
9733
  },
9750
9734
  v3: {
9751
- name: t2("header.contributingStar"),
9735
+ name: t2("gitCodeLayout.header.contributingStar"),
9752
9736
  avatar: "https://cdn-static.gitcode.com/static/images/points/ava-v3.png",
9753
9737
  level: "https://cdn-static.gitcode.com/static/images/points/l-v3.png"
9754
9738
  }
@@ -9793,13 +9777,13 @@ const _sfc_main$h = /* @__PURE__ */ Object.assign({ name: "UserLevel" }, {
9793
9777
  ])
9794
9778
  ]),
9795
9779
  createElementVNode("div", _hoisted_7$3, [
9796
- createElementVNode("div", _hoisted_8$2, toDisplayString(_ctx.$t("header.getPoints")), 1)
9780
+ createElementVNode("div", _hoisted_8$2, toDisplayString(_ctx.$t("gitCodeLayout.userSetting.tips.getPoints")), 1)
9797
9781
  ])
9798
9782
  ], 2);
9799
9783
  };
9800
9784
  }
9801
9785
  });
9802
- const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-09a9832c"]]);
9786
+ const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-decf23ff"]]);
9803
9787
  const _hoisted_1$e = { class: "g-user-drawer-info-list pl-[16px]" };
9804
9788
  const _hoisted_2$b = { class: "max-w-[200px]" };
9805
9789
  const _hoisted_3$8 = ["title"];
@@ -9877,19 +9861,19 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
9877
9861
  };
9878
9862
  const blockList = computed(() => [
9879
9863
  [
9880
- { id: "dashboard", label: t2("header.workbench"), icon: "gt-plane-user", to: getRouterLink("dashboard") },
9881
- { id: "myOrg", label: t2("header.myOrg"), icon: "gt-plane-organization", to: getRouterLink({ name: "settingOrganization" }) },
9882
- { id: "myRepo", label: t2("header.myRepo"), icon: "gt-plane-projectHome1", to: getRouterLink("settingRepo") },
9883
- { id: "myNotebook", label: t2("header.myNotebook"), icon: "gt-plane-Notebook", to: getRouterLink("myNotebook"), show: props.inAIHub },
9884
- { id: "mySpaces", label: t2("header.mySpace"), icon: "gt-plane-Space", to: getRouterLink("userSpaces"), show: props.inAIHub },
9885
- { id: "myStar", label: t2("header.myStar"), icon: "gt-plane-star", to: getRouterLink("userStars") }
9864
+ { id: "dashboard", label: t2("gitCodeLayout.header.workbench"), icon: "gt-plane-user", to: getRouterLink("dashboard") },
9865
+ { id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", to: getRouterLink({ name: "settingOrganization" }) },
9866
+ { id: "myRepo", label: t2("gitCodeLayout.header.myRepo"), icon: "gt-plane-projectHome1", to: getRouterLink("settingRepo") },
9867
+ { id: "myNotebook", label: t2("gitCodeLayout.header.myNotebook"), icon: "gt-plane-Notebook", to: getRouterLink("myNotebook"), show: props.inAIHub },
9868
+ { id: "mySpaces", label: t2("gitCodeLayout.header.mySpace"), icon: "gt-plane-Space", to: getRouterLink("userSpaces"), show: props.inAIHub },
9869
+ { id: "myStar", label: t2("gitCodeLayout.header.myStar"), icon: "gt-plane-star", to: getRouterLink("userStars") }
9886
9870
  ],
9887
9871
  [
9888
- { id: "personalSetting", label: t2("header.personSetting"), icon: "gt-plane-setting", to: getRouterLink("setting") },
9889
- { id: "help", label: t2("header.helpDocument"), icon: "gt-plane-project-opened", href: HELP_DOCS_URL }
9872
+ { id: "personalSetting", label: t2("gitCodeLayout.header.personSetting"), icon: "gt-plane-setting", to: getRouterLink("setting") },
9873
+ { id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", href: HELP_DOCS_URL }
9890
9874
  ],
9891
9875
  [
9892
- { id: "logout", label: t2("header.logout"), icon: "gt-default", action: logout }
9876
+ { id: "logout", label: t2("gitCodeLayout.header.logout"), icon: "gt-default", action: logout }
9893
9877
  ]
9894
9878
  ]);
9895
9879
  const getVisit = async (value) => {
@@ -10003,8 +9987,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
10003
9987
  };
10004
9988
  }
10005
9989
  });
10006
- const UserAvatarMenu_vue_vue_type_style_index_0_scoped_b9e9b9d6_lang = "";
10007
- const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-b9e9b9d6"]]);
9990
+ const UserAvatarMenu_vue_vue_type_style_index_0_scoped_0d40650b_lang = "";
9991
+ const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-0d40650b"]]);
10008
9992
  const _hoisted_1$d = { class: "g-user-avatar flex-center ml-1" };
10009
9993
  const _hoisted_2$a = {
10010
9994
  key: 0,
@@ -10274,13 +10258,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10274
10258
  setup(__props) {
10275
10259
  var _a;
10276
10260
  const { t: $t } = i18n.global;
10277
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-cbd30a7b.js"));
10278
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-f7f1ff0d.js"));
10279
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-37405ec8.js"));
10280
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-6fa78d5b.js"));
10281
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-6eba07a3.js"));
10282
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-d6298d77.js"));
10283
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-bbea8abe.js"));
10261
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-e63ed1ba.js"));
10262
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-d57efc36.js"));
10263
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-52647c97.js"));
10264
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-87488e31.js"));
10265
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-dab774d3.js"));
10266
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-cfcbeba4.js"));
10267
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-8ba4e3a3.js"));
10284
10268
  const props = __props;
10285
10269
  const repoInfo = inject("repoInfo");
10286
10270
  const orgInfo = inject("orgInfo");
@@ -10334,7 +10318,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10334
10318
  });
10335
10319
  let quickTips = "";
10336
10320
  try {
10337
- quickTips = $t("home.searchPlaceholder2") || "";
10321
+ quickTips = $t("gitCodeLayout.home.searchPlaceholder2") || "";
10338
10322
  } catch (error) {
10339
10323
  quickTips = "";
10340
10324
  }
@@ -10360,7 +10344,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10360
10344
  const projectTagVisible = computed(() => {
10361
10345
  return (isSearchPage.value || isFocus.value) && localSearchInfo.value.searchScopeName;
10362
10346
  });
10363
- const cnScopeMap = { repo: $t("header.repo"), group: $t("header.org"), user: $t("header.user") };
10347
+ const cnScopeMap = { repo: $t("gitCodeLayout.header.repo"), group: $t("gitCodeLayout.header.org"), user: $t("gitCodeLayout.header.user") };
10364
10348
  const languageTagVisible = computed(() => {
10365
10349
  return (isSearchPage.value || isFocus.value) && searchStr && language.value;
10366
10350
  });
@@ -10377,25 +10361,25 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10377
10361
  value: localSearchInfo.value.searchScopeName
10378
10362
  },
10379
10363
  {
10380
- label: localSearchInfo.value.projectType === "user" ? $t("header.user") : $t("header.org"),
10364
+ label: localSearchInfo.value.projectType === "user" ? $t("gitCodeLayout.header.user") : $t("gitCodeLayout.header.org"),
10381
10365
  enLabel: localSearchInfo.value.projectType === "user" ? "user" : "group",
10382
10366
  value: localSearchInfo.value.nameOrOrg
10383
10367
  },
10384
- { title: $t("header.platformSearch") }
10368
+ { title: $t("gitCodeLayout.header.platformSearch") }
10385
10369
  ];
10386
10370
  case "group":
10387
10371
  return [
10388
10372
  { label: cnScopeMap.group, enLabel: "group", value: localSearchInfo.value.searchScopeName },
10389
- { title: $t("header.platformSearch") }
10373
+ { title: $t("gitCodeLayout.header.platformSearch") }
10390
10374
  ];
10391
10375
  case "user":
10392
10376
  return [
10393
10377
  { label: cnScopeMap.user, enLabel: "user", value: localSearchInfo.value.searchScopeName },
10394
- { title: $t("header.platformSearch") }
10378
+ { title: $t("gitCodeLayout.header.platformSearch") }
10395
10379
  ];
10396
10380
  }
10397
10381
  }
10398
- return [{ title: $t("header.platformSearch") }];
10382
+ return [{ title: $t("gitCodeLayout.header.platformSearch") }];
10399
10383
  });
10400
10384
  let localSearchText = localStorage.getItem("localSearchText");
10401
10385
  if (localSearchText) {
@@ -10724,7 +10708,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10724
10708
  [vShow, projectTagVisible.value]
10725
10709
  ]),
10726
10710
  withDirectives(createVNode(unref(SearchPrefixTag), {
10727
- tag: unref($t)("header.language") + ":" + language.value,
10711
+ tag: unref($t)("gitCodeLayout.header.language") + ":" + language.value,
10728
10712
  closeVisible: isFocus.value,
10729
10713
  onInputClick,
10730
10714
  onCloseTag: onCloseLanguageTag
@@ -10765,7 +10749,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10765
10749
  ], 2)) : createCommentVNode("", true),
10766
10750
  _ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
10767
10751
  createVNode(unref(Input), {
10768
- placeholder: unref($t)("home.searchPlaceholder"),
10752
+ placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
10769
10753
  onKeydown: withKeys(searchResult, ["enter"]),
10770
10754
  modelValue: searchStr.value,
10771
10755
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => searchStr.value = $event)
@@ -10783,9 +10767,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
10783
10767
  };
10784
10768
  }
10785
10769
  });
10786
- const index_vue_vue_type_style_index_0_scoped_658a1614_lang = "";
10770
+ const index_vue_vue_type_style_index_0_scoped_3257b0c5_lang = "";
10787
10771
  const index_vue_vue_type_style_index_1_lang$1 = "";
10788
- const Search = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-658a1614"]]);
10772
+ const Search = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-3257b0c5"]]);
10789
10773
  function usePopup(className, rootElement) {
10790
10774
  const root2 = rootElement || document.getElementById("app");
10791
10775
  let cacheClass = "popup-container";
@@ -11777,8 +11761,8 @@ const parseHeaders = (rawHeaders) => {
11777
11761
  return parsed;
11778
11762
  };
11779
11763
  const $internals = Symbol("internals");
11780
- function normalizeHeader(header2) {
11781
- return header2 && String(header2).trim().toLowerCase();
11764
+ function normalizeHeader(header) {
11765
+ return header && String(header).trim().toLowerCase();
11782
11766
  }
11783
11767
  function normalizeValue(value) {
11784
11768
  if (value === false || value == null) {
@@ -11796,12 +11780,12 @@ function parseTokens(str) {
11796
11780
  return tokens;
11797
11781
  }
11798
11782
  const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
11799
- function matchHeaderValue(context, value, header2, filter2, isHeaderNameFilter) {
11783
+ function matchHeaderValue(context, value, header, filter2, isHeaderNameFilter) {
11800
11784
  if (utils$1.isFunction(filter2)) {
11801
- return filter2.call(this, value, header2);
11785
+ return filter2.call(this, value, header);
11802
11786
  }
11803
11787
  if (isHeaderNameFilter) {
11804
- value = header2;
11788
+ value = header;
11805
11789
  }
11806
11790
  if (!utils$1.isString(value))
11807
11791
  return;
@@ -11812,17 +11796,17 @@ function matchHeaderValue(context, value, header2, filter2, isHeaderNameFilter)
11812
11796
  return filter2.test(value);
11813
11797
  }
11814
11798
  }
11815
- function formatHeader(header2) {
11816
- return header2.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
11799
+ function formatHeader(header) {
11800
+ return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
11817
11801
  return char.toUpperCase() + str;
11818
11802
  });
11819
11803
  }
11820
- function buildAccessors(obj, header2) {
11821
- const accessorName = utils$1.toCamelCase(" " + header2);
11804
+ function buildAccessors(obj, header) {
11805
+ const accessorName = utils$1.toCamelCase(" " + header);
11822
11806
  ["get", "set", "has"].forEach((methodName) => {
11823
11807
  Object.defineProperty(obj, methodName + accessorName, {
11824
11808
  value: function(arg1, arg2, arg3) {
11825
- return this[methodName].call(this, header2, arg1, arg2, arg3);
11809
+ return this[methodName].call(this, header, arg1, arg2, arg3);
11826
11810
  },
11827
11811
  configurable: true
11828
11812
  });
@@ -11832,7 +11816,7 @@ class AxiosHeaders {
11832
11816
  constructor(headers) {
11833
11817
  headers && this.set(headers);
11834
11818
  }
11835
- set(header2, valueOrRewrite, rewrite) {
11819
+ set(header, valueOrRewrite, rewrite) {
11836
11820
  const self2 = this;
11837
11821
  function setHeader(_value, _header, _rewrite) {
11838
11822
  const lHeader = normalizeHeader(_header);
@@ -11845,23 +11829,23 @@ class AxiosHeaders {
11845
11829
  }
11846
11830
  }
11847
11831
  const setHeaders = (headers, _rewrite) => utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
11848
- if (utils$1.isPlainObject(header2) || header2 instanceof this.constructor) {
11849
- setHeaders(header2, valueOrRewrite);
11850
- } else if (utils$1.isString(header2) && (header2 = header2.trim()) && !isValidHeaderName(header2)) {
11851
- setHeaders(parseHeaders(header2), valueOrRewrite);
11852
- } else if (utils$1.isHeaders(header2)) {
11853
- for (const [key, value] of header2.entries()) {
11832
+ if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
11833
+ setHeaders(header, valueOrRewrite);
11834
+ } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
11835
+ setHeaders(parseHeaders(header), valueOrRewrite);
11836
+ } else if (utils$1.isHeaders(header)) {
11837
+ for (const [key, value] of header.entries()) {
11854
11838
  setHeader(value, key, rewrite);
11855
11839
  }
11856
11840
  } else {
11857
- header2 != null && setHeader(valueOrRewrite, header2, rewrite);
11841
+ header != null && setHeader(valueOrRewrite, header, rewrite);
11858
11842
  }
11859
11843
  return this;
11860
11844
  }
11861
- get(header2, parser) {
11862
- header2 = normalizeHeader(header2);
11863
- if (header2) {
11864
- const key = utils$1.findKey(this, header2);
11845
+ get(header, parser) {
11846
+ header = normalizeHeader(header);
11847
+ if (header) {
11848
+ const key = utils$1.findKey(this, header);
11865
11849
  if (key) {
11866
11850
  const value = this[key];
11867
11851
  if (!parser) {
@@ -11880,15 +11864,15 @@ class AxiosHeaders {
11880
11864
  }
11881
11865
  }
11882
11866
  }
11883
- has(header2, matcher) {
11884
- header2 = normalizeHeader(header2);
11885
- if (header2) {
11886
- const key = utils$1.findKey(this, header2);
11867
+ has(header, matcher) {
11868
+ header = normalizeHeader(header);
11869
+ if (header) {
11870
+ const key = utils$1.findKey(this, header);
11887
11871
  return !!(key && this[key] !== void 0 && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
11888
11872
  }
11889
11873
  return false;
11890
11874
  }
11891
- delete(header2, matcher) {
11875
+ delete(header, matcher) {
11892
11876
  const self2 = this;
11893
11877
  let deleted = false;
11894
11878
  function deleteHeader(_header) {
@@ -11901,10 +11885,10 @@ class AxiosHeaders {
11901
11885
  }
11902
11886
  }
11903
11887
  }
11904
- if (utils$1.isArray(header2)) {
11905
- header2.forEach(deleteHeader);
11888
+ if (utils$1.isArray(header)) {
11889
+ header.forEach(deleteHeader);
11906
11890
  } else {
11907
- deleteHeader(header2);
11891
+ deleteHeader(header);
11908
11892
  }
11909
11893
  return deleted;
11910
11894
  }
@@ -11924,16 +11908,16 @@ class AxiosHeaders {
11924
11908
  normalize(format) {
11925
11909
  const self2 = this;
11926
11910
  const headers = {};
11927
- utils$1.forEach(this, (value, header2) => {
11928
- const key = utils$1.findKey(headers, header2);
11911
+ utils$1.forEach(this, (value, header) => {
11912
+ const key = utils$1.findKey(headers, header);
11929
11913
  if (key) {
11930
11914
  self2[key] = normalizeValue(value);
11931
- delete self2[header2];
11915
+ delete self2[header];
11932
11916
  return;
11933
11917
  }
11934
- const normalized = format ? formatHeader(header2) : String(header2).trim();
11935
- if (normalized !== header2) {
11936
- delete self2[header2];
11918
+ const normalized = format ? formatHeader(header) : String(header).trim();
11919
+ if (normalized !== header) {
11920
+ delete self2[header];
11937
11921
  }
11938
11922
  self2[normalized] = normalizeValue(value);
11939
11923
  headers[normalized] = true;
@@ -11945,8 +11929,8 @@ class AxiosHeaders {
11945
11929
  }
11946
11930
  toJSON(asStrings) {
11947
11931
  const obj = /* @__PURE__ */ Object.create(null);
11948
- utils$1.forEach(this, (value, header2) => {
11949
- value != null && value !== false && (obj[header2] = asStrings && utils$1.isArray(value) ? value.join(", ") : value);
11932
+ utils$1.forEach(this, (value, header) => {
11933
+ value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(", ") : value);
11950
11934
  });
11951
11935
  return obj;
11952
11936
  }
@@ -11954,7 +11938,7 @@ class AxiosHeaders {
11954
11938
  return Object.entries(this.toJSON())[Symbol.iterator]();
11955
11939
  }
11956
11940
  toString() {
11957
- return Object.entries(this.toJSON()).map(([header2, value]) => header2 + ": " + value).join("\n");
11941
+ return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
11958
11942
  }
11959
11943
  get [Symbol.toStringTag]() {
11960
11944
  return "AxiosHeaders";
@@ -11967,7 +11951,7 @@ class AxiosHeaders {
11967
11951
  targets.forEach((target) => computed2.set(target));
11968
11952
  return computed2;
11969
11953
  }
11970
- static accessor(header2) {
11954
+ static accessor(header) {
11971
11955
  const internals = this[$internals] = this[$internals] = {
11972
11956
  accessors: {}
11973
11957
  };
@@ -11980,7 +11964,7 @@ class AxiosHeaders {
11980
11964
  accessors[lHeader] = true;
11981
11965
  }
11982
11966
  }
11983
- utils$1.isArray(header2) ? header2.forEach(defineAccessor) : defineAccessor(header2);
11967
+ utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
11984
11968
  return this;
11985
11969
  }
11986
11970
  }
@@ -14366,7 +14350,7 @@ async function successResolve(params, API) {
14366
14350
  return;
14367
14351
  }
14368
14352
  Message.success({
14369
- message: t$2("common.tips.welcome"),
14353
+ message: t$2("gitCodeLayout.common.tips.welcome"),
14370
14354
  onClose: () => {
14371
14355
  emitEvent("notice");
14372
14356
  }
@@ -14401,7 +14385,7 @@ function cancelAuth(params) {
14401
14385
  var _a;
14402
14386
  const { noTip = false } = params;
14403
14387
  if (isAuthWindow()) {
14404
- !noTip && ((_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: t$2("oauth.revokedAuthorization") }, "*"));
14388
+ !noTip && ((_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: t$2("gitCodeLayout.oauth.revokedAuthorization") }, "*"));
14405
14389
  window == null ? void 0 : window.close();
14406
14390
  return;
14407
14391
  }
@@ -14412,7 +14396,7 @@ function cancelAuth(params) {
14412
14396
  function failResolve(params) {
14413
14397
  var _a;
14414
14398
  const { errorInfo } = params;
14415
- const msg = errorInfo || t$2("userSetting.tips.autFai");
14399
+ const msg = errorInfo || t$2("gitCodeLayout.userSetting.tips.autFai");
14416
14400
  if (isAuthWindow()) {
14417
14401
  (_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: msg }, "*");
14418
14402
  window == null ? void 0 : window.close();
@@ -14565,7 +14549,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
14565
14549
  }
14566
14550
  const BtnText = computed(() => {
14567
14551
  if (DisabledBtn.value) {
14568
- return `${$t("common.hasBeenSent")} ${CountDown.value}`;
14552
+ return `${$t("gitCodeLayout.common.hasBeenSent")} ${CountDown.value}`;
14569
14553
  } else {
14570
14554
  return props.text;
14571
14555
  }
@@ -14611,7 +14595,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
14611
14595
  createVNode(unref(Input), mergeProps({
14612
14596
  modelValue: unref(vModels),
14613
14597
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null),
14614
- placeholder: unref($t)("LoginModal.rule.pleaseFill", { label: _ctx.placeholder })
14598
+ placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: _ctx.placeholder })
14615
14599
  }, _ctx.prop, {
14616
14600
  onChange: handleChange,
14617
14601
  onFocus: handleInputFocus,
@@ -14750,7 +14734,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
14750
14734
  return {
14751
14735
  required: true,
14752
14736
  trigger: "change",
14753
- message: target.label ? $t("LoginModal.rule.pleaseFill", { label: target.label }) : $t("LoginModal.tips.fillNecessaryInfo")
14737
+ message: target.label ? $t("gitCodeLayout.LoginModal.rule.pleaseFill", { label: target.label }) : $t("gitCodeLayout.LoginModal.tips.fillNecessaryInfo")
14754
14738
  };
14755
14739
  };
14756
14740
  const initData = () => {
@@ -14948,7 +14932,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
14948
14932
  key: 0,
14949
14933
  modelValue: Data[formItem.key],
14950
14934
  "onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
14951
- placeholder: unref($t)("LoginModal.rule.pleaseFill", { label: formItem.label }),
14935
+ placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label }),
14952
14936
  onChange: () => handleChange(formItem.key),
14953
14937
  ref_for: true
14954
14938
  }, formItem.props, {
@@ -14964,7 +14948,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
14964
14948
  ref_for: true
14965
14949
  }, formItem.props, {
14966
14950
  hasMobile: !!Data[(_a = formItem.props) == null ? void 0 : _a.aliasKey],
14967
- text: unref($t)("userSetting.account.getVerificationCode"),
14951
+ text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
14968
14952
  error: _ctx.errors.msgError
14969
14953
  }), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "placeholder", "hasMobile", "text", "error"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
14970
14954
  key: 2,
@@ -14973,7 +14957,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
14973
14957
  "onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
14974
14958
  onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
14975
14959
  onChange: ($event) => handleChange(formItem.key),
14976
- placeholder: unref($t)("LoginModal.rule.pleaseFill", { label: formItem.label }),
14960
+ placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label }),
14977
14961
  ref_for: true
14978
14962
  }, formItem.props), null, 16, ["country", "modelValue", "onUpdate:modelValue", "onChange", "placeholder"])) : (openBlock(), createBlock(resolveDynamicComponent(formItem.render), mergeProps({
14979
14963
  key: formItem.key,
@@ -15015,7 +14999,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
15015
14999
  };
15016
15000
  return (_ctx, _cache) => {
15017
15001
  return openBlock(), createElementBlock(Fragment, null, [
15018
- createElementVNode("div", _hoisted_1$8, " —— " + toDisplayString(unref($t)("LoginModal.subtitle.otherLogin")) + " —— ", 1),
15002
+ createElementVNode("div", _hoisted_1$8, " —— " + toDisplayString(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")) + " —— ", 1),
15019
15003
  createElementVNode("div", _hoisted_2$6, [
15020
15004
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.logos, (icon) => {
15021
15005
  return openBlock(), createElementBlock("div", {
@@ -15044,8 +15028,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
15044
15028
  };
15045
15029
  }
15046
15030
  });
15047
- const auth_vue_vue_type_style_index_0_scoped_f74a9e76_lang = "";
15048
- const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f74a9e76"]]);
15031
+ const auth_vue_vue_type_style_index_0_scoped_f0a207bc_lang = "";
15032
+ const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f0a207bc"]]);
15049
15033
  const _hoisted_1$7 = { class: "text-[var(--theme-placeholder)]" };
15050
15034
  const _hoisted_2$5 = { class: "text-[var(--theme-placeholder)]" };
15051
15035
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
@@ -15070,16 +15054,16 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
15070
15054
  size: "sm"
15071
15055
  }, {
15072
15056
  default: withCtx(() => [
15073
- createElementVNode("span", _hoisted_1$7, toDisplayString(unref($t)("LoginModal.tips.agree")), 1),
15057
+ createElementVNode("span", _hoisted_1$7, toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.agree")), 1),
15074
15058
  createElementVNode("span", {
15075
15059
  class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
15076
15060
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
15077
- }, toDisplayString(unref($t)("LoginModal.link.agreement")), 1),
15078
- createElementVNode("span", _hoisted_2$5, toDisplayString(unref($t)("LoginModal.tips.and")), 1),
15061
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 1),
15062
+ createElementVNode("span", _hoisted_2$5, toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
15079
15063
  createElementVNode("span", {
15080
15064
  class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
15081
15065
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
15082
- }, toDisplayString(unref($t)("LoginModal.link.privacyPolicy")), 1)
15066
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 1)
15083
15067
  ]),
15084
15068
  _: 1
15085
15069
  }, 8, ["modelValue"]);
@@ -15112,15 +15096,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
15112
15096
  class: "mt-[6px] mb-[12px] agree-module flex items-center"
15113
15097
  }, {
15114
15098
  default: withCtx(() => [
15115
- createElementVNode("span", _hoisted_1$6, toDisplayString(unref($t)("LoginModal.action.readAgree")), 1),
15099
+ createElementVNode("span", _hoisted_1$6, toDisplayString(unref($t)("gitCodeLayout.LoginModal.action.readAgree")), 1),
15116
15100
  createElementVNode("a", {
15117
15101
  class: "text-[var(--devui-link)] cursor-pointer mx-[1px] text-[12px]",
15118
15102
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
15119
- }, toDisplayString(_ctx.agreementText || unref($t)("LoginModal.link.agreement")), 1),
15103
+ }, toDisplayString(_ctx.agreementText || unref($t)("gitCodeLayout.LoginModal.link.agreement")), 1),
15120
15104
  createElementVNode("a", {
15121
15105
  class: "text-[var(--devui-link)] cursor-pointer mx-[1px] text-[12px]",
15122
15106
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
15123
- }, toDisplayString(_ctx.privacyText || unref($t)("LoginModal.link.privacyPolicy")), 1),
15107
+ }, toDisplayString(_ctx.privacyText || unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 1),
15124
15108
  renderSlot(_ctx.$slots, "default")
15125
15109
  ]),
15126
15110
  _: 3
@@ -17564,7 +17548,7 @@ const mobilePhoneValidator = (rule, value, cb, country) => {
17564
17548
  const getFormRules = () => ({
17565
17549
  mobile: [
17566
17550
  {
17567
- message: t$1("LoginModal.tips.fillNecessaryInfo"),
17551
+ message: t$1("gitCodeLayout.LoginModal.tips.fillNecessaryInfo"),
17568
17552
  trigger: "change",
17569
17553
  validator: (rule, value, cb) => {
17570
17554
  getRegexRule(rule, value, cb, mobileRegExp);
@@ -17573,7 +17557,7 @@ const getFormRules = () => ({
17573
17557
  ],
17574
17558
  code: [
17575
17559
  {
17576
- message: t$1("LoginModal.tips.SMSVerificationCode", { count: 4 }),
17560
+ message: t$1("gitCodeLayout.LoginModal.tips.SMSVerificationCode", { count: 4 }),
17577
17561
  trigger: "change",
17578
17562
  validator: (rule, value, cb) => {
17579
17563
  getRegexRule(rule, value, cb, verifyCodeRegExp4);
@@ -17582,7 +17566,7 @@ const getFormRules = () => ({
17582
17566
  ],
17583
17567
  codes: [
17584
17568
  {
17585
- message: t$1("LoginModal.tips.SMSVerificationCode", { count: 6 }),
17569
+ message: t$1("gitCodeLayout.LoginModal.tips.SMSVerificationCode", { count: 6 }),
17586
17570
  trigger: "change",
17587
17571
  validator: (rule, value, cb) => {
17588
17572
  getRegexRule(rule, value, cb, verifyCodeRegExp6);
@@ -17610,7 +17594,7 @@ const getFormRules = () => ({
17610
17594
  ],
17611
17595
  name: [
17612
17596
  {
17613
- message: t$1("LoginModal.rule.username"),
17597
+ message: t$1("gitCodeLayout.LoginModal.rule.username"),
17614
17598
  trigger: "change",
17615
17599
  validator: (rule, value, cb) => {
17616
17600
  getRegexRule(rule, value, cb, usernameRegExp);
@@ -17619,7 +17603,7 @@ const getFormRules = () => ({
17619
17603
  ],
17620
17604
  password: [
17621
17605
  {
17622
- message: t$1("LoginModal.tips.passwordLength"),
17606
+ message: t$1("gitCodeLayout.LoginModal.tips.passwordLength"),
17623
17607
  trigger: "change",
17624
17608
  validator: (_rule, value, cb) => {
17625
17609
  if (value.length < 8 || value.length > 30) {
@@ -17630,7 +17614,7 @@ const getFormRules = () => ({
17630
17614
  }
17631
17615
  },
17632
17616
  {
17633
- message: t$1("LoginModal.rule.passwordLetter"),
17617
+ message: t$1("gitCodeLayout.LoginModal.rule.passwordLetter"),
17634
17618
  trigger: "change",
17635
17619
  validator: (rule, value, cb) => {
17636
17620
  getRegexRule(rule, value, cb, passwordRegExp);
@@ -17652,12 +17636,12 @@ const getFormRules = () => ({
17652
17636
  });
17653
17637
  const isMobileEmail = (val) => {
17654
17638
  if (mobileRegExp.test(val)) {
17655
- return t$1("common.phone");
17639
+ return t$1("gitCodeLayout.common.phone");
17656
17640
  }
17657
17641
  if (emailRegExp.test(val)) {
17658
- return t$1("common.email");
17642
+ return t$1("gitCodeLayout.common.email");
17659
17643
  }
17660
- return t$1("common.phone") + "/" + t$1("common.email");
17644
+ return t$1("gitCodeLayout.common.phone") + "/" + t$1("gitCodeLayout.common.email");
17661
17645
  };
17662
17646
  const _hoisted_1$4 = { class: "modal-body" };
17663
17647
  const _hoisted_2$3 = { class: "flex items-center justify-end px-[24px] pb-[24px]" };
@@ -17688,7 +17672,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17688
17672
  "close-on-click-overlay": false,
17689
17673
  "show-overlay": true,
17690
17674
  class: "second-sure-proto",
17691
- title: unref($t)("LoginModal.subtitle.useAgrAndPriPolTip")
17675
+ title: unref($t)("gitCodeLayout.LoginModal.subtitle.useAgrAndPriPolTip")
17692
17676
  }, {
17693
17677
  footer: withCtx(() => [
17694
17678
  createElementVNode("div", _hoisted_2$3, [
@@ -17697,7 +17681,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17697
17681
  onClick: close
17698
17682
  }, {
17699
17683
  default: withCtx(() => [
17700
- createTextVNode(toDisplayString(unref($t)("LoginModal.tips.disAndQui")), 1)
17684
+ createTextVNode(toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.disAndQui")), 1)
17701
17685
  ]),
17702
17686
  _: 1
17703
17687
  }),
@@ -17707,7 +17691,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17707
17691
  onClick: handleConfirm
17708
17692
  }, {
17709
17693
  default: withCtx(() => [
17710
- createTextVNode(toDisplayString(unref($t)("LoginModal.tips.agrAndSigIn")), 1)
17694
+ createTextVNode(toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.agrAndSigIn")), 1)
17711
17695
  ]),
17712
17696
  _: 1
17713
17697
  })
@@ -17716,19 +17700,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17716
17700
  default: withCtx(() => [
17717
17701
  createElementVNode("div", _hoisted_1$4, [
17718
17702
  createElementVNode("div", null, [
17719
- createTextVNode(toDisplayString(unref($t)("LoginModal.tips.youNeeToAgr")) + " ", 1),
17703
+ createTextVNode(toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.youNeeToAgr")) + " ", 1),
17720
17704
  createElementVNode("span", {
17721
17705
  class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
17722
17706
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
17723
- }, toDisplayString(unref($t)("LoginModal.link.agreement")), 1),
17724
- createTextVNode(" " + toDisplayString(unref($t)("LoginModal.tips.and")) + " ", 1),
17707
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 1),
17708
+ createTextVNode(" " + toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.and")) + " ", 1),
17725
17709
  createElementVNode("span", {
17726
17710
  class: "text-[var(--theme-link)] cursor-pointer mx-[1px]",
17727
17711
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
17728
- }, toDisplayString(unref($t)("LoginModal.link.privacyPolicy")), 1),
17729
- createTextVNode(" " + toDisplayString(unref($t)("LoginModal.tips.toUseGit")), 1)
17712
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 1),
17713
+ createTextVNode(" " + toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.toUseGit")), 1)
17730
17714
  ]),
17731
- createElementVNode("div", null, toDisplayString(unref($t)("LoginModal.tips.ifYouDoNotAgrWe")), 1)
17715
+ createElementVNode("div", null, toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.ifYouDoNotAgrWe")), 1)
17732
17716
  ])
17733
17717
  ]),
17734
17718
  _: 1
@@ -17788,7 +17772,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17788
17772
  const coverCode = ref("");
17789
17773
  const loading = ref(false);
17790
17774
  const modeTitle = computed(() => {
17791
- return mode.value === "code" ? t2("LoginModal.mfatip3") : t2("LoginModal.mfatip4");
17775
+ return mode.value === "code" ? t2("gitCodeLayout.LoginModal.mfatip3") : t2("gitCodeLayout.LoginModal.mfatip4");
17792
17776
  });
17793
17777
  const inputList = ref([
17794
17778
  {
@@ -17896,10 +17880,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17896
17880
  code
17897
17881
  };
17898
17882
  const loginFunc = mode.value === "code" ? props.API.postMfaLogin : props.API.postMfaRecover;
17899
- const header2 = {
17883
+ const header = {
17900
17884
  "content-type": "application/x-www-form-urlencoded"
17901
17885
  };
17902
- const { error, data } = await loginFunc(params, header2);
17886
+ const { error, data } = await loginFunc(params, header);
17903
17887
  loading.value = false;
17904
17888
  if (error) {
17905
17889
  errorMsg.value = error.error_message;
@@ -17929,7 +17913,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17929
17913
  alt: ""
17930
17914
  }, null, 8, _hoisted_2$2),
17931
17915
  createElementVNode("p", _hoisted_3$2, toDisplayString(modeTitle.value), 1),
17932
- createElementVNode("p", _hoisted_4$2, toDisplayString(unref(t2)("LoginModal.mfatip5")), 1),
17916
+ createElementVNode("p", _hoisted_4$2, toDisplayString(unref(t2)("gitCodeLayout.LoginModal.mfatip5")), 1),
17933
17917
  mode.value === "code" ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
17934
17918
  (openBlock(true), createElementBlock(Fragment, null, renderList(inputList.value, (item, index2) => {
17935
17919
  return openBlock(), createElementBlock("div", {
@@ -17956,8 +17940,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17956
17940
  }, null, 8, ["modelValue"])
17957
17941
  ])) : createCommentVNode("", true),
17958
17942
  errorMsg.value ? (openBlock(), createElementBlock("p", _hoisted_7$1, toDisplayString(errorMsg.value), 1)) : createCommentVNode("", true),
17959
- mode.value === "code" ? (openBlock(), createElementBlock("p", _hoisted_8$1, toDisplayString(unref(t2)("LoginModal.mfatip1")), 1)) : createCommentVNode("", true),
17960
- mode.value === "recover" ? (openBlock(), createElementBlock("p", _hoisted_9$1, toDisplayString(unref(t2)("LoginModal.mfatip2")), 1)) : createCommentVNode("", true),
17943
+ mode.value === "code" ? (openBlock(), createElementBlock("p", _hoisted_8$1, toDisplayString(unref(t2)("gitCodeLayout.LoginModal.mfatip1")), 1)) : createCommentVNode("", true),
17944
+ mode.value === "recover" ? (openBlock(), createElementBlock("p", _hoisted_9$1, toDisplayString(unref(t2)("gitCodeLayout.LoginModal.mfatip2")), 1)) : createCommentVNode("", true),
17961
17945
  createElementVNode("div", _hoisted_10$1, [
17962
17946
  createVNode(unref(Button), {
17963
17947
  class: "w-[100%]",
@@ -17968,7 +17952,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17968
17952
  disabled: confirmDisabled.value || loading.value
17969
17953
  }, {
17970
17954
  default: withCtx(() => [
17971
- createTextVNode(toDisplayString(unref(t2)("repoSetting.submit.verify")), 1)
17955
+ createTextVNode(toDisplayString(unref(t2)("gitCodeLayout.repoSetting.submit.verify")), 1)
17972
17956
  ]),
17973
17957
  _: 1
17974
17958
  }, 8, ["loading", "disabled"])
@@ -17984,28 +17968,28 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17984
17968
  name: "gt-line-left",
17985
17969
  class: "mr-[8px]"
17986
17970
  }),
17987
- createTextVNode(toDisplayString(unref(t2)("pipeline.goBack")), 1)
17971
+ createTextVNode(toDisplayString(unref(t2)("gitCodeLayout.pipeline.goBack")), 1)
17988
17972
  ])) : createCommentVNode("", true)
17989
17973
  ]),
17990
17974
  mode.value === "recover" ? (openBlock(), createElementBlock("p", {
17991
17975
  key: 0,
17992
17976
  class: "cursor-pointer text-[var(--devui-link)] hover:underline",
17993
17977
  onClick: _cache[2] || (_cache[2] = ($event) => modChange("code"))
17994
- }, toDisplayString(unref(t2)("LoginModal.mfatip7")), 1)) : createCommentVNode("", true),
17978
+ }, toDisplayString(unref(t2)("gitCodeLayout.LoginModal.mfatip7")), 1)) : createCommentVNode("", true),
17995
17979
  mode.value === "code" ? (openBlock(), createElementBlock("p", {
17996
17980
  key: 1,
17997
17981
  class: "cursor-pointer text-[var(--devui-link)] hover:underline",
17998
17982
  onClick: _cache[3] || (_cache[3] = ($event) => modChange("recover"))
17999
- }, toDisplayString(unref(t2)("LoginModal.mfatip6")), 1)) : createCommentVNode("", true)
17983
+ }, toDisplayString(unref(t2)("gitCodeLayout.LoginModal.mfatip6")), 1)) : createCommentVNode("", true)
18000
17984
  ])
18001
17985
  ]);
18002
17986
  };
18003
17987
  }
18004
17988
  });
18005
17989
  const MFA_vue_vue_type_style_index_0_lang = "";
18006
- const MFA_vue_vue_type_style_index_1_scoped_680ead8e_lang = "";
18007
- const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-680ead8e"]]);
18008
- const SlidCaptcha = defineAsyncComponent(() => import("./index-a06332e6.js"));
17990
+ const MFA_vue_vue_type_style_index_1_scoped_3e0f827f_lang = "";
17991
+ const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3e0f827f"]]);
17992
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-e987b0b4.js"));
18009
17993
  const useSlidCaptcha = () => {
18010
17994
  const { mount, unMount } = usePopup("slid-captcha-popup");
18011
17995
  const open = (config) => {
@@ -18249,27 +18233,27 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18249
18233
  {
18250
18234
  src: IconC,
18251
18235
  alt: "csdn",
18252
- describe: "csdn" + $t("LoginModal.action.AccountLogin")
18236
+ describe: "csdn" + $t("gitCodeLayout.LoginModal.action.AccountLogin")
18253
18237
  },
18254
18238
  {
18255
18239
  src: IconHb,
18256
18240
  alt: "hbuilder",
18257
- describe: "Hbuilder" + $t("LoginModal.action.AccountLogin")
18241
+ describe: "Hbuilder" + $t("gitCodeLayout.LoginModal.action.AccountLogin")
18258
18242
  },
18259
18243
  {
18260
18244
  src: currentTheme.value === ThemeType.WHITE ? IconG : IconGW,
18261
18245
  alt: "github",
18262
- describe: "github" + $t("LoginModal.action.AccountLogin")
18246
+ describe: "github" + $t("gitCodeLayout.LoginModal.action.AccountLogin")
18263
18247
  },
18264
18248
  {
18265
18249
  src: IconH,
18266
18250
  alt: "gitee",
18267
- describe: "gitee" + $t("LoginModal.action.AccountLogin")
18251
+ describe: "gitee" + $t("gitCodeLayout.LoginModal.action.AccountLogin")
18268
18252
  },
18269
18253
  {
18270
18254
  src: IconW,
18271
18255
  alt: "wechat_open",
18272
- describe: $t("LoginModal.action.wechatScanCodeLogin")
18256
+ describe: $t("gitCodeLayout.LoginModal.action.wechatScanCodeLogin")
18273
18257
  }
18274
18258
  ]);
18275
18259
  const emits = __emit;
@@ -18278,10 +18262,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18278
18262
  {
18279
18263
  type: "inputSelect",
18280
18264
  key: "mobile",
18281
- label: $t("userSetting.account.phone"),
18265
+ label: $t("gitCodeLayout.userSetting.account.phone"),
18282
18266
  required: true,
18283
18267
  rules: [{
18284
- message: $t("LoginModal.tips.fillNecessaryInfo"),
18268
+ message: $t("gitCodeLayout.LoginModal.tips.fillNecessaryInfo"),
18285
18269
  trigger: "change",
18286
18270
  validator: (rule, value, cb) => {
18287
18271
  var _a;
@@ -18293,7 +18277,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18293
18277
  {
18294
18278
  type: "inputButton",
18295
18279
  key: "code",
18296
- label: $t("LoginModal.action.phone"),
18280
+ label: $t("gitCodeLayout.LoginModal.action.phone"),
18297
18281
  required: true,
18298
18282
  rules: FormRules.codes,
18299
18283
  props: {
@@ -18308,13 +18292,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18308
18292
  {
18309
18293
  type: "input",
18310
18294
  key: "username",
18311
- label: $t("LoginModal.subtitle.name") + "/" + $t("common.email"),
18295
+ label: $t("gitCodeLayout.LoginModal.subtitle.name") + "/" + $t("gitCodeLayout.common.email"),
18312
18296
  required: true
18313
18297
  },
18314
18298
  {
18315
18299
  type: "input",
18316
18300
  key: "password",
18317
- label: $t("LoginModal.subtitle.cipher"),
18301
+ label: $t("gitCodeLayout.LoginModal.subtitle.cipher"),
18318
18302
  required: true,
18319
18303
  props: {
18320
18304
  "show-password": true,
@@ -18327,10 +18311,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18327
18311
  {
18328
18312
  type: "input",
18329
18313
  key: "password",
18330
- label: $t("LoginModal.subtitle.cipher"),
18314
+ label: $t("gitCodeLayout.LoginModal.subtitle.cipher"),
18331
18315
  required: true,
18332
18316
  rules: FormRules.password,
18333
- help: $t("LoginModal.rule.passwordLength"),
18317
+ help: $t("gitCodeLayout.LoginModal.rule.passwordLength"),
18334
18318
  props: {
18335
18319
  "show-password": true,
18336
18320
  autocomplete: true,
@@ -18340,12 +18324,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18340
18324
  {
18341
18325
  type: "input",
18342
18326
  key: "pwd",
18343
- label: $t("LoginModal.action.confirmPassword"),
18327
+ label: $t("gitCodeLayout.LoginModal.action.confirmPassword"),
18344
18328
  required: true,
18345
18329
  rules: [
18346
18330
  {
18347
18331
  trigger: "change",
18348
- message: $t("LoginModal.tips.passwordIsInconsistent"),
18332
+ message: $t("gitCodeLayout.LoginModal.tips.passwordIsInconsistent"),
18349
18333
  validator: (_rule, value, cb) => {
18350
18334
  FormRef.value.ValidateFormKeys(["password"]).then((fromData) => {
18351
18335
  var _a, _b;
@@ -18356,15 +18340,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18356
18340
  return cb();
18357
18341
  } else {
18358
18342
  setFormErrorKey({
18359
- pwd: $t("LoginModal.tips.passwordIsInconsistent")
18343
+ pwd: $t("gitCodeLayout.LoginModal.tips.passwordIsInconsistent")
18360
18344
  });
18361
- return cb(new Error($t("LoginModal.tips.passwordIsInconsistent")));
18345
+ return cb(new Error($t("gitCodeLayout.LoginModal.tips.passwordIsInconsistent")));
18362
18346
  }
18363
18347
  } else {
18364
18348
  setFormErrorKey({
18365
- password: $t("LoginModal.rule.passwordLetter")
18349
+ password: $t("gitCodeLayout.LoginModal.rule.passwordLetter")
18366
18350
  });
18367
- return cb(new Error($t("LoginModal.rule.passwordLetter")));
18351
+ return cb(new Error($t("gitCodeLayout.LoginModal.rule.passwordLetter")));
18368
18352
  }
18369
18353
  });
18370
18354
  }
@@ -18388,7 +18372,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18388
18372
  return;
18389
18373
  }
18390
18374
  if (!usernameRegExp2.test(val)) {
18391
- cb(new Error($t("LoginModal.rule.username")));
18375
+ cb(new Error($t("gitCodeLayout.LoginModal.rule.username")));
18392
18376
  return;
18393
18377
  }
18394
18378
  if (usernameCheckLoading.value)
@@ -18398,8 +18382,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18398
18382
  const res = await API.checkUsername(val);
18399
18383
  if (!res.error) {
18400
18384
  if ((_b = (_a = res.data) == null ? void 0 : _a.data) == null ? void 0 : _b.result) {
18401
- setFormErrorKey({ name: $t("LoginModal.tips.nameAlreadyExists") });
18402
- cb(new Error($t("LoginModal.tips.nameAlreadyExists")));
18385
+ setFormErrorKey({ name: $t("gitCodeLayout.LoginModal.tips.nameAlreadyExists") });
18386
+ cb(new Error($t("gitCodeLayout.LoginModal.tips.nameAlreadyExists")));
18403
18387
  return;
18404
18388
  }
18405
18389
  } else {
@@ -18424,10 +18408,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18424
18408
  {
18425
18409
  type: "input",
18426
18410
  key: "username",
18427
- label: $t("LoginModal.subtitle.name"),
18411
+ label: $t("gitCodeLayout.LoginModal.subtitle.name"),
18428
18412
  required: true,
18429
18413
  rules: [usernameValidator],
18430
- help: $t("LoginModal.rule.username"),
18414
+ help: $t("gitCodeLayout.LoginModal.rule.username"),
18431
18415
  props: {
18432
18416
  maxLength: 20
18433
18417
  }
@@ -18440,10 +18424,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18440
18424
  {
18441
18425
  type: "inputSelect",
18442
18426
  key: "mobile",
18443
- label: $t("LoginModal.subtitle.phone"),
18427
+ label: $t("gitCodeLayout.LoginModal.subtitle.phone"),
18444
18428
  required: true,
18445
18429
  rules: [{
18446
- message: $t("LoginModal.tips.fillNecessaryInfo"),
18430
+ message: $t("gitCodeLayout.LoginModal.tips.fillNecessaryInfo"),
18447
18431
  trigger: "change",
18448
18432
  validator: (rule, value, cb) => {
18449
18433
  var _a;
@@ -18455,7 +18439,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18455
18439
  {
18456
18440
  type: "inputButton",
18457
18441
  key: "verificationcode",
18458
- label: $t("LoginModal.action.phone"),
18442
+ label: $t("gitCodeLayout.LoginModal.action.phone"),
18459
18443
  required: true,
18460
18444
  rules: FormRules.codes,
18461
18445
  props: {
@@ -18471,14 +18455,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18471
18455
  {
18472
18456
  type: "input",
18473
18457
  key: "mobile_email",
18474
- label: `${$t("common.phone")}/${$t("common.email")}`,
18458
+ label: `${$t("gitCodeLayout.common.phone")}/${$t("gitCodeLayout.common.email")}`,
18475
18459
  required: true,
18476
18460
  rules: FormRules.mobile_email
18477
18461
  },
18478
18462
  {
18479
18463
  type: "inputButton",
18480
18464
  key: "code",
18481
- label: $t("LoginModal.tips.verificationCode"),
18465
+ label: $t("gitCodeLayout.LoginModal.tips.verificationCode"),
18482
18466
  required: true,
18483
18467
  rules: FormRules.codes,
18484
18468
  props: {
@@ -18517,7 +18501,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18517
18501
  }),
18518
18502
  showLabel: true,
18519
18503
  layout: "horizontal",
18520
- title: `🎉${$t("LoginModal.title.register")}`,
18504
+ title: `🎉${$t("gitCodeLayout.LoginModal.title.register")}`,
18521
18505
  showBack: true
18522
18506
  };
18523
18507
  }
@@ -18526,7 +18510,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18526
18510
  dict: ForgetPasswordForm,
18527
18511
  showLabel: true,
18528
18512
  layout: "horizontal",
18529
- title: $t("LoginModal.action.resetPassword"),
18513
+ title: $t("gitCodeLayout.LoginModal.action.resetPassword"),
18530
18514
  showBack: true
18531
18515
  };
18532
18516
  }
@@ -18540,7 +18524,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18540
18524
  }),
18541
18525
  showLabel: false,
18542
18526
  layout: "vertical",
18543
- title: `🎉${$t("LoginModal.title.login")}`,
18527
+ title: `🎉${$t("gitCodeLayout.LoginModal.title.login")}`,
18544
18528
  showBack: false
18545
18529
  };
18546
18530
  } else if (tabPanel.value === "password") {
@@ -18548,7 +18532,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18548
18532
  dict: PasswordForm,
18549
18533
  showLabel: false,
18550
18534
  layout: "vertical",
18551
- title: `🎉${$t("LoginModal.title.login")}`,
18535
+ title: `🎉${$t("gitCodeLayout.LoginModal.title.login")}`,
18552
18536
  showBack: false
18553
18537
  };
18554
18538
  } else {
@@ -18556,7 +18540,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18556
18540
  dict: MiniProgramForm,
18557
18541
  showLabel: false,
18558
18542
  layout: "vertical",
18559
- title: `🎉${$t("LoginModal.title.login")}`,
18543
+ title: `🎉${$t("gitCodeLayout.LoginModal.title.login")}`,
18560
18544
  showBack: false
18561
18545
  };
18562
18546
  }
@@ -18583,7 +18567,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18583
18567
  };
18584
18568
  const result2 = await API.resetUserPassword(data);
18585
18569
  if (!result2.error) {
18586
- dealLog($t("LoginModal.tips.updatePassword"), "success", "login");
18570
+ dealLog($t("gitCodeLayout.LoginModal.tips.updatePassword"), "success", "login");
18587
18571
  }
18588
18572
  setTimeout(() => {
18589
18573
  loading.value = false;
@@ -18602,7 +18586,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18602
18586
  const formData = await FormRef.value.ValidateForm();
18603
18587
  let agreementFlag = false;
18604
18588
  if (formType.value === "register" && !hwStatus.value) {
18605
- extraErrors.agreement = $t("LoginModal.tips.pleaseReadHuaweiAgreement");
18589
+ extraErrors.agreement = $t("gitCodeLayout.LoginModal.tips.pleaseReadHuaweiAgreement");
18606
18590
  agreementFlag = true;
18607
18591
  }
18608
18592
  if (!status.value && !agreementFlag) {
@@ -18781,12 +18765,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18781
18765
  if (Number((res == null ? void 0 : res.data.data.type) === 1)) {
18782
18766
  formType.value = "register";
18783
18767
  isRegister.value = true;
18784
- dealLog($t("LoginModal.tips.gotoTipsAtNophone"), "success", "register");
18768
+ dealLog($t("gitCodeLayout.LoginModal.tips.gotoTipsAtNophone"), "success", "register");
18785
18769
  } else {
18786
18770
  isRegister.value = false;
18787
18771
  const message = isMobileEmail(conf.value);
18788
18772
  dealLog(
18789
- `${$t("LoginModal.tips.codeSentToYou")}${message}, ${$t("LoginModal.tips.pleaseCheck")}`,
18773
+ `${$t("gitCodeLayout.LoginModal.tips.codeSentToYou")}${message}, ${$t("gitCodeLayout.LoginModal.tips.pleaseCheck")}`,
18790
18774
  "success"
18791
18775
  );
18792
18776
  }
@@ -18931,7 +18915,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18931
18915
  );
18932
18916
  function checkAgree() {
18933
18917
  if (!status.value) {
18934
- extraErrors.agreement = $t("common.tips.readPrivacyPolicy");
18918
+ extraErrors.agreement = $t("gitCodeLayout.common.tips.readPrivacyPolicy");
18935
18919
  AgreementWarn.value = true;
18936
18920
  showProtoCheck.value = true;
18937
18921
  setTimeout(() => {
@@ -19127,23 +19111,23 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19127
19111
  tabPanel.value === "miniProgram" ? "login-modal-tab-active" : "login-modal-tab-inactive"
19128
19112
  ]),
19129
19113
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleTabPanelChange("miniProgram"), ["stop"]))
19130
- }, toDisplayString(unref($t)("LoginModal.miniProgram.title")), 3),
19114
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.title")), 3),
19131
19115
  createElementVNode("div", {
19132
19116
  class: normalizeClass([
19133
19117
  "login-modal-tab mr-[18px] ml-[18px]",
19134
19118
  tabPanel.value === "verifyCode" ? "login-modal-tab-active" : "login-modal-tab-inactive"
19135
19119
  ]),
19136
19120
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => handleTabPanelChange("verifyCode"), ["stop"]))
19137
- }, toDisplayString(unref($t)("LoginModal.subtitle.sms")), 3),
19121
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.subtitle.sms")), 3),
19138
19122
  createElementVNode("div", {
19139
19123
  class: normalizeClass([
19140
19124
  "login-modal-tab ml-[18px]",
19141
19125
  tabPanel.value === "password" ? "login-modal-tab-active" : "login-modal-tab-inactive"
19142
19126
  ]),
19143
19127
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => handleTabPanelChange("password"), ["stop"]))
19144
- }, toDisplayString(unref($t)("LoginModal.subtitle.password")), 3)
19128
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.subtitle.password")), 3)
19145
19129
  ])) : createCommentVNode("", true),
19146
- formType.value === "forget" ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(unref($t)("LoginModal.tips.bindMobileWithAccount")) + "/" + toDisplayString(unref($t)("LoginModal.tips.resetYourPassword")), 1)) : createCommentVNode("", true),
19130
+ formType.value === "forget" ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.bindMobileWithAccount")) + "/" + toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.resetYourPassword")), 1)) : createCommentVNode("", true),
19147
19131
  formType.value === "login" && tabPanel.value === "miniProgram" ? (openBlock(), createBlock(DataPanel, {
19148
19132
  key: 2,
19149
19133
  loading: miniProgramLoading.value,
@@ -19166,19 +19150,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19166
19150
  name: "gt-line-Refresh",
19167
19151
  size: "18"
19168
19152
  }),
19169
- createElementVNode("div", null, toDisplayString(unref($t)("LoginModal.miniProgram.tip01")), 1),
19170
- createElementVNode("button", { onClick: getMiniProgramQrCode }, toDisplayString(unref($t)("LoginModal.miniProgram.tip02")), 1)
19153
+ createElementVNode("div", null, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip01")), 1),
19154
+ createElementVNode("button", { onClick: getMiniProgramQrCode }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip02")), 1)
19171
19155
  ])) : createCommentVNode("", true),
19172
19156
  ["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("div", _hoisted_10, [
19173
- createElementVNode("div", _hoisted_11, toDisplayString(unref($t)("LoginModal.miniProgram.tip03")), 1),
19174
- createElementVNode("div", _hoisted_12, toDisplayString(unref($t)("LoginModal.miniProgram.tip04")), 1)
19157
+ createElementVNode("div", _hoisted_11, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip03")), 1),
19158
+ createElementVNode("div", _hoisted_12, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip04")), 1)
19175
19159
  ])) : createCommentVNode("", true)
19176
19160
  ])) : createCommentVNode("", true),
19177
- !["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("p", _hoisted_13, toDisplayString(unref($t)("LoginModal.miniProgram.tip05")), 1)) : (openBlock(), createElementBlock("button", {
19161
+ !["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("p", _hoisted_13, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip05")), 1)) : (openBlock(), createElementBlock("button", {
19178
19162
  key: 2,
19179
19163
  onClick: getMiniProgramQrCode,
19180
19164
  class: "mt-2"
19181
- }, toDisplayString(unref($t)("LoginModal.miniProgram.tip06")), 1))
19165
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip06")), 1))
19182
19166
  ])
19183
19167
  ]),
19184
19168
  _: 1
@@ -19206,7 +19190,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19206
19190
  withDirectives(createElementVNode("div", {
19207
19191
  class: "login-modal-info-right",
19208
19192
  onClick: _cache[4] || (_cache[4] = withModifiers(($event) => formType.value = "forget", ["stop"]))
19209
- }, toDisplayString(unref($t)("LoginModal.tips.forgotPassword")), 513), [
19193
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.tips.forgotPassword")), 513), [
19210
19194
  [vShow, tabPanel.value === "password" && formType.value === "login"]
19211
19195
  ])
19212
19196
  ])) : createCommentVNode("", true),
@@ -19221,7 +19205,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19221
19205
  class: "login-modal-button"
19222
19206
  }, {
19223
19207
  default: withCtx(() => [
19224
- createTextVNode(toDisplayString(unref($t)("LoginModal.action.login")), 1)
19208
+ createTextVNode(toDisplayString(unref($t)("gitCodeLayout.LoginModal.action.login")), 1)
19225
19209
  ]),
19226
19210
  _: 1
19227
19211
  }, 8, ["loading", "disabled"]),
@@ -19236,12 +19220,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19236
19220
  alt: "",
19237
19221
  class: "mr-[16px] inline-block"
19238
19222
  }, null, -1)),
19239
- createElementVNode("span", _hoisted_18, toDisplayString(unref($t)("LoginModal.action.oh")), 1)
19223
+ createElementVNode("span", _hoisted_18, toDisplayString(unref($t)("gitCodeLayout.LoginModal.action.oh")), 1)
19240
19224
  ])) : createCommentVNode("", true),
19241
19225
  createElementVNode("div", {
19242
19226
  class: "text-[var(--theme-link)] text-center mt-[12px] cursor-pointer leading-[32px] hover:underline",
19243
19227
  onClick: withModifiers(clickRegister, ["stop"])
19244
- }, toDisplayString(unref($t)("LoginModal.action.registerAgain")), 1)
19228
+ }, toDisplayString(unref($t)("gitCodeLayout.LoginModal.action.registerAgain")), 1)
19245
19229
  ])
19246
19230
  ])) : createCommentVNode("", true)
19247
19231
  ]),
@@ -19271,7 +19255,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19271
19255
  })) : createCommentVNode("", true)
19272
19256
  ])
19273
19257
  ]),
19274
- formType.value === "register" ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(unref($t)("LoginModal.registerDesc")), 1)) : createCommentVNode("", true)
19258
+ formType.value === "register" ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(unref($t)("gitCodeLayout.LoginModal.registerDesc")), 1)) : createCommentVNode("", true)
19275
19259
  ]),
19276
19260
  key: "0"
19277
19261
  } : void 0,
@@ -19310,16 +19294,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19310
19294
  modelValue: hwStatus.value,
19311
19295
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => hwStatus.value = $event),
19312
19296
  onDeclares: _cache[8] || (_cache[8] = (typ) => handleDisplay(typ, "huawei")),
19313
- "agreement-text": `《${unref($t)("LoginModal.link.huaweiCloudAgreement")}》`,
19314
- "privacy-text": `《${unref($t)("LoginModal.link.agreementPrivacy")}》`,
19297
+ "agreement-text": `《${unref($t)("gitCodeLayout.LoginModal.link.huaweiCloudAgreement")}》`,
19298
+ "privacy-text": `《${unref($t)("gitCodeLayout.LoginModal.link.agreementPrivacy")}》`,
19315
19299
  onClick: _cache[9] || (_cache[9] = ($event) => agreementReport("signup_select", `hw${hwStatus.value ? 1 : 0}`))
19316
19300
  }, null, 8, ["modelValue", "agreement-text", "privacy-text"]),
19317
19301
  createVNode(_sfc_main$7, {
19318
19302
  modelValue: status.value,
19319
19303
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => status.value = $event),
19320
19304
  onDeclares: _cache[11] || (_cache[11] = (typ) => handleDisplay(typ)),
19321
- "agreement-text": `《GitCode ${unref($t)("LoginModal.link.agreement")}》`,
19322
- "privacy-text": `《GitCode ${unref($t)("LoginModal.link.privacyPolicy")}》`,
19305
+ "agreement-text": `《GitCode ${unref($t)("gitCodeLayout.LoginModal.link.agreement")}》`,
19306
+ "privacy-text": `《GitCode ${unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")}》`,
19323
19307
  onClick: _cache[12] || (_cache[12] = ($event) => agreementReport("signup_select", `gitcode${status.value ? 1 : 0}`))
19324
19308
  }, null, 8, ["modelValue", "agreement-text", "privacy-text"])
19325
19309
  ], 2)) : createCommentVNode("", true),
@@ -19334,7 +19318,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19334
19318
  class: "w-[100%]"
19335
19319
  }, {
19336
19320
  default: withCtx(() => [
19337
- createTextVNode(toDisplayString(formType.value === "forget" ? unref($t)("userSetting.account.changePassword") : unref($t)("LoginModal.action.verify")), 1)
19321
+ createTextVNode(toDisplayString(formType.value === "forget" ? unref($t)("gitCodeLayout.userSetting.account.changePassword") : unref($t)("gitCodeLayout.LoginModal.action.verify")), 1)
19338
19322
  ]),
19339
19323
  _: 1
19340
19324
  }, 8, ["disabled", "loading"])
@@ -19355,12 +19339,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19355
19339
  };
19356
19340
  }
19357
19341
  });
19358
- const index_vue_vue_type_style_index_0_scoped_c4c87611_lang = "";
19342
+ const index_vue_vue_type_style_index_0_scoped_1d8d6b85_lang = "";
19359
19343
  const index_vue_vue_type_style_index_1_lang = "";
19360
- const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c4c87611"]]);
19344
+ const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-1d8d6b85"]]);
19361
19345
  const { t } = i18n.global;
19362
19346
  function useLogin(request) {
19363
- const successMsg = t("common.tips.welcome");
19347
+ const successMsg = t("gitCodeLayout.common.tips.welcome");
19364
19348
  const { mount, unMount, isMounted, closeModal, refreshModal } = usePopup();
19365
19349
  const router2 = useRouter();
19366
19350
  const route = useRoute();
@@ -19436,7 +19420,7 @@ function useLogin(request) {
19436
19420
  isMounted
19437
19421
  };
19438
19422
  }
19439
- const NoticeModal = defineAsyncComponent(() => import("./notice-425401c1.js"));
19423
+ const NoticeModal = defineAsyncComponent(() => import("./notice-dd3a9d4a.js"));
19440
19424
  function clearNotice() {
19441
19425
  if (localStorage.getItem("validator_email")) {
19442
19426
  localStorage.removeItem("validator_email");
@@ -19604,8 +19588,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19604
19588
  } else {
19605
19589
  NotificationService.open({
19606
19590
  type: "success",
19607
- title: t2("common.tips.notcieTitle"),
19608
- content: token ? t2("common.tips.notcie1") : t2("common.tips.notcie2"),
19591
+ title: t2("gitCodeLayout.common.tips.notcieTitle"),
19592
+ content: token ? t2("gitCodeLayout.common.tips.notcie1") : t2("gitCodeLayout.common.tips.notcie2"),
19609
19593
  onClose: () => {
19610
19594
  status.value = false;
19611
19595
  }
@@ -19724,7 +19708,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19724
19708
  onClick: _cache[4] || (_cache[4] = ($event) => handleLogin("login"))
19725
19709
  }, {
19726
19710
  default: withCtx(() => [
19727
- createTextVNode(toDisplayString(_ctx.$t("header.login")), 1)
19711
+ createTextVNode(toDisplayString(_ctx.$t("gitCodeLayout.header.login")), 1)
19728
19712
  ]),
19729
19713
  _: 1
19730
19714
  }),
@@ -19733,7 +19717,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19733
19717
  class: "min-w-[64px]"
19734
19718
  }, {
19735
19719
  default: withCtx(() => [
19736
- createTextVNode(toDisplayString(_ctx.$t("header.register")), 1)
19720
+ createTextVNode(toDisplayString(_ctx.$t("gitCodeLayout.header.register")), 1)
19737
19721
  ]),
19738
19722
  _: 1
19739
19723
  })
@@ -19769,8 +19753,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19769
19753
  };
19770
19754
  }
19771
19755
  });
19772
- const index_vue_vue_type_style_index_0_scoped_831a966a_lang = "";
19773
- const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-831a966a"]]);
19756
+ const index_vue_vue_type_style_index_0_scoped_519cb12c_lang = "";
19757
+ const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-519cb12c"]]);
19774
19758
  const GitCodeLayoutLibLocales = {
19775
19759
  zh: zhLocale,
19776
19760
  en: enLocale