Skip to content

Commit

Permalink
fix: english footer stat text
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Aug 22, 2023
1 parent 4cefbc2 commit 64d79e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
24 changes: 17 additions & 7 deletions src/components/Footer/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
Aurora v{{ themeConfig.version }}
</b>
</a>
.
</li>
<li
v-if="
Expand Down Expand Up @@ -58,8 +57,11 @@
</span>
</li>
</ul>
<ul class="flex flex-col min-w-[150px] gap-1.5">
<li class="flex" v-if="enabledPlugin === 'waline'">
<ul class="flex flex-col flex-1 gap-1.5">
<li
class="flex flex-row max-w-[11rem]"
v-if="enabledPlugin === 'waline'"
>
<span>
<SvgIcon
icon-class="hot"
Expand All @@ -72,14 +74,22 @@
<span class="waline-pageview-count" data-path="/" />
</span>
</li>

<li v-if="themeConfig.plugins.busuanzi.enable">
<span id="busuanzi_container_site_pv">
<span
id="busuanzi_container_site_pv"
class="flex flex-row max-w-[11rem]"
>
<SvgIcon icon-class="eye" class="mr-1 text-lg inline-block" />
<span id="busuanzi_value_site_pv" />
</span>
</li>

<li v-if="themeConfig.plugins.busuanzi.enable">
<span id="busuanzi_container_site_uv">
<span
id="busuanzi_container_site_uv"
class="flex flex-row max-w-[11rem]"
>
<SvgIcon
icon-class="people"
class="mr-1 text-lg inline-block"
Expand All @@ -88,8 +98,8 @@
</span>
</li>

<li v-if="runningDays" class="flex">
<span class="">
<li v-if="runningDays" class="flex flex-row max-w-[11rem]">
<span>
<SvgIcon
icon-class="date"
class="mr-1 text-lg inline-block"
Expand Down
4 changes: 2 additions & 2 deletions src/locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"empty-recent-comments": "No recent comments right now.",
"pinned": "Pin",
"featured": "Hot",
"page-views-value": "Site viewed: ",
"site-running-for": "Ran for: ",
"page-views-value": "Page Views: ",
"site-running-for": "Up time: ",
"site-running-for-unit": "days",
"links": "Friend Links",
"links-slogan": "Improving with bloggers",
Expand Down

0 comments on commit 64d79e2

Please sign in to comment.