🌐 Add locate for other things
This commit is contained in:
parent
283688452f
commit
3fc80dc9fe
@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"brandName": "Solsynth",
|
"brandName": "Solsynth",
|
||||||
"brandNameFormal": "Solsynth LLC",
|
"brandNameFormal": "Solsynth LLC",
|
||||||
|
"navProducts": "Products",
|
||||||
|
"navActivity": "Activity",
|
||||||
|
"navActivityCaption": "Explore our official recent activities.",
|
||||||
|
"navGallery": "Gallery",
|
||||||
|
"navGalleryCaption": "Explore files that uploaded by Solar Network users.",
|
||||||
"indexIntroduce": "An energetic software company that create wonderful software which everyone love.",
|
"indexIntroduce": "An energetic software company that create wonderful software which everyone love.",
|
||||||
"indexProductListHint": "See some of our products just there",
|
"indexProductListHint": "See some of our products just there",
|
||||||
"indexActivities": "Activities",
|
"indexActivities": "Activities",
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"brandName": "索尔辛茨",
|
"brandName": "索尔辛茨",
|
||||||
"brandNameFormal": "索尔辛茨实业有限公司",
|
"brandNameFormal": "索尔辛茨实业有限公司",
|
||||||
|
"navProducts": "制品",
|
||||||
|
"navActivity": "动态",
|
||||||
|
"navActivityCaption": "了解我们官方近期的活动。",
|
||||||
|
"navGallery": "相簿",
|
||||||
|
"navGalleryCaption": "探索整个 Solar Network 上的文件。",
|
||||||
"indexIntroduce": "一家充满活力的软件公司,创造了人人喜爱的精彩软件。",
|
"indexIntroduce": "一家充满活力的软件公司,创造了人人喜爱的精彩软件。",
|
||||||
"indexProductListHint": "在这里看看我们的一些产品",
|
"indexProductListHint": "在这里看看我们的一些产品",
|
||||||
"indexActivities": "动态",
|
"indexActivities": "动态",
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
|
|
||||||
<div class="nav-links overflow-y-auto flex">
|
<div class="nav-links overflow-y-auto flex">
|
||||||
<v-btn variant="text" text="Products" to="/products" exact />
|
<v-btn variant="text" :text="t('navProducts')" to="/products" exact />
|
||||||
<v-btn variant="text" text="Activity" to="/activity" exact />
|
<v-btn variant="text" :text="t('navActivity')" to="/activity" exact />
|
||||||
<v-btn variant="text" text="Gallery" to="/gallery" exact />
|
<v-btn variant="text" :text="t('navGallery')" to="/gallery" exact />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
@ -48,7 +48,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Logo from "../assets/logo-w-shadow.png"
|
import Logo from "../assets/logo-w-shadow.png"
|
||||||
|
|
||||||
const { locale, locales, setLocale } = useI18n()
|
const { locale, locales, setLocale, t } = useI18n()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-container class="content-container mx-auto">
|
<v-container class="content-container mx-auto">
|
||||||
<div class="my-3 mx-[3.5ch]">
|
<div class="my-3 mx-[3.5ch]">
|
||||||
<h1 class="text-2xl">Activity</h1>
|
<h1 class="text-2xl">{{ t("navActivity") }}</h1>
|
||||||
<span>Explore our official recent activities.</span>
|
<span>{{ t("navActivityCaption") }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-infinite-scroll :items="items" :onLoad="load">
|
<v-infinite-scroll :items="items" :onLoad="load">
|
||||||
@ -14,8 +14,18 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
const { t } = useI18n()
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
title: 'Activity',
|
title: t("navActivity"),
|
||||||
|
})
|
||||||
|
|
||||||
|
useSeoMeta({
|
||||||
|
title: t("navActivity"),
|
||||||
|
ogTitle: t("navActivity"),
|
||||||
|
description: t("navActivityCaption"),
|
||||||
|
ogDescription: t("navActivityCaption"),
|
||||||
|
ogType: "website",
|
||||||
})
|
})
|
||||||
|
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-container fluid>
|
<v-container fluid>
|
||||||
<div class="mt-3 mb-6.5 mx-[3.5ch] text-center">
|
<div class="mt-3 mb-6.5 mx-[3.5ch] text-center">
|
||||||
<h1 class="text-2xl">Gallery</h1>
|
<h1 class="text-2xl">{{ t("navGallery") }}</h1>
|
||||||
<span>Explore files that uploaded by Solar Network users.</span>
|
<span>{{ t("navGalleryCaption") }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="album">
|
<div class="album">
|
||||||
@ -18,14 +18,23 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
const { t } = useI18n()
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
title: 'Gallery',
|
title: t("navGallery"),
|
||||||
|
})
|
||||||
|
|
||||||
|
useSeoMeta({
|
||||||
|
title: t("navGallery"),
|
||||||
|
ogTitle: t("navGallery"),
|
||||||
|
description: t("navGalleryCaption"),
|
||||||
|
ogDescription: t("navGalleryCaption"),
|
||||||
|
ogType: "website",
|
||||||
})
|
})
|
||||||
|
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
|
||||||
const items = ref<any[]>([])
|
const items = ref<any[]>([])
|
||||||
|
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
|
|
||||||
async function load() {
|
async function load() {
|
||||||
@ -39,10 +48,6 @@ async function load() {
|
|||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAttachmentUrl(id: number) {
|
|
||||||
return `${config.public.solarNetworkApi}/cgi/files/attachments/${id}`
|
|
||||||
}
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
load()
|
load()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user