Skip to content

Commit

Permalink
use version from package json
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Jul 31, 2024
1 parent eaf1908 commit 97e8fab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions src/views/options/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import AmpersandLogo from "../../assets/ampersand_logo.svg"
import DiscordLogo from "../../assets/discord_logo.svg";
import GithubLogo from "../../assets/github_logo.svg";
import { version } from "../../../package.json";
</script>

<template>
Expand All @@ -20,17 +22,17 @@
<IonContent>
<div class="container">
<h1>Ampersand</h1>
<p> {{ $t("options:about.version") }} 0.0.0 </p>
<p> {{ $t("options:about.version", { version }) }}</p>
<p> {{ $t("options:about.madein") }}</p>

<IonIcon class="logo" :icon="AmpersandLogo" />

<div class="buttons">
<IonButton shape="round" href="https://discord.com/invite/xCptGJKeKc">
<IonButton shape="round" href="https://discord.com/invite/xCptGJKeKc" target="_blank">
<IonIcon slot="icon-only" :icon="DiscordLogo"></IonIcon>
</IonButton>

<IonButton shape="round" href="https://github.com/NyaomiDEV/Ampersand">
<IonButton shape="round" href="https://github.com/NyaomiDEV/Ampersand" target="_blank">
<IonIcon slot="icon-only" :icon="GithubLogo" ></IonIcon>
</IonButton>
</div>
Expand Down
4 changes: 2 additions & 2 deletions translations/en/onboarding.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"welcomeScreen": {
"header": "Welcome to {{appName}}!",
"header": "Welcome to Ampersand!",
"start": "Start your journey!"
},
"importScreen": {
Expand All @@ -19,7 +19,7 @@
"invitation": "Keep editing your profile card after you’re done with the onboarding!"
},
"endScreen": {
"header": "Thanks for choosing {{appName}}!",
"header": "Thanks for choosing Ampersand!",
"startButton": "Let's start!"
}
}
2 changes: 1 addition & 1 deletion translations/en/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
},
"about": {
"header": "About",
"version": "version",
"version": "Version {{version}}",
"madein": "Made with love in Italy"
}
}

0 comments on commit 97e8fab

Please sign in to comment.