From 8d047860d5c8a4199d338c1631c12cde683eb6ab Mon Sep 17 00:00:00 2001 From: motui Date: Sun, 22 Oct 2023 09:47:45 +0800 Subject: [PATCH] feat(i18n): home page (cherry picked from commit 9d39826078ceb929a5ca3b577f9f39449303c289) --- locales/en.yml | 25 ++++++++++++++++++++++++- src/components/NavbarButtons.vue | 16 ++++++++-------- src/layouts/base.layout.vue | 10 +++++----- src/pages/Home.page.vue | 16 ++++++++-------- 4 files changed, 45 insertions(+), 22 deletions(-) diff --git a/locales/en.yml b/locales/en.yml index 385e019be8..e119717659 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -1,4 +1,27 @@ home: categories: newestTools: Newest tools - + favoriteTools: 'Your favorite tools' + allTools: 'All the tools' + subtitle: 'Handy tools for developers' + toggleMenu: 'Toggle menu' + home: Home + uiLib: 'UI Lib' + buyMeACoffee: 'Buy me a coffee' + follow: + title: 'You like it-tools?' + p1: 'Give us a star on' + githubRepository: 'IT-Tools'''' GitHub repository' + p2: 'or follow us on' + twitterAccount: 'IT-Tools'''' Twitter account' + thankYou: '! Thank you' + nav: + github: 'GitHub repository' + githubRepository: 'IT-Tools'''' GitHub repository' + twitter: 'Twitter account' + twitterAccount: 'IT Tools'''' Twitter account' + about: 'About IT-Tools' + aboutLabel: 'About' + darkMode: 'Dark mode' + lightMode: 'Light mode' + mode: 'Toggle dark/light mode' \ No newline at end of file diff --git a/src/components/NavbarButtons.vue b/src/components/NavbarButtons.vue index 653afdd269..cfc58cdd36 100644 --- a/src/components/NavbarButtons.vue +++ b/src/components/NavbarButtons.vue @@ -7,39 +7,39 @@ const { isDarkTheme } = toRefs(styleStore);