Skip to content

Commit

Permalink
🔀 Merge production updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Dec 2, 2022
2 parents e61e130 + 7175e67 commit a9b5fc4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
17 changes: 9 additions & 8 deletions src/components/NFTPage/PreviewCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,31 +60,32 @@
/>

<Separator v-if="isPrimitive || url" class="my-[16px]" />

<ButtonV2
v-if="isPrimitive"
v-if="url"
preset="outline"
:text="$t('nft_details_page_section_metadata_iscn')"
:href="iscnUrl"
:text="$t('campaign_nft_item_view_details_label')"
:href="url"
target="_blank"
@click="handleClickViewContent"
>
<template #prepend>
<IconISCN class="w-[20px] text-dark-gray" />
<IconArticle />
</template>
<template #append>
<IconLinkExternal />
</template>
</ButtonV2>
<ButtonV2
v-else-if="url"
v-else
preset="outline"
:text="$t('campaign_nft_item_view_details_label')"
:href="url"
:text="$t('nft_details_page_section_metadata_iscn')"
:href="iscnUrl"
target="_blank"
@click="handleClickViewContent"
>
<template #prepend>
<IconArticle />
<IconISCN class="w-[20px] text-dark-gray" />
</template>
<template #append>
<IconLinkExternal />
Expand Down
2 changes: 1 addition & 1 deletion src/locales/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import en from './en.json';
import zhHant from './zh-Hant.json';

export const defaultLocale = 'zh-Hant';
export const defaultLocale = 'en';
export const availableLocales = [
// List of available locales
'en',
Expand Down
4 changes: 2 additions & 2 deletions src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@
"nft_message_type_transfer": "附加留言",
"nft_message_empty": "沒有留言",
"nft_message_replacer_collector": "收藏者",
"nft_primitive_disclaimer": "以下 NFT 並非以 Writing NFT 方式發行",
"nft_primitive_disclaimer_portfolio": "以下 NFT 並非以 Writing NFT 方式發行",
"nft_primitive_disclaimer": " NFT 由第三方發行,不適用於 Liker Land 的 Writing NFT 交易機制",
"nft_primitive_disclaimer_portfolio": " NFT 由第三方發行,不適用於 Liker Land 的 Writing NFT 交易機制",
"nft_share_page_button_portfolio": "瀏覽藏品",
"nft_share_page_collector_title": "來看看我的收藏品,令人動容的文字,值得以 Writing NFT 永誌留存。",
"nft_share_page_creator_title": "收集我作品的 Writing NFT 到你的 Web3 書架,支持創作,也令內容永續。",
Expand Down

0 comments on commit a9b5fc4

Please sign in to comment.