From 00562ed5e87a88a7038b4670f20e155c4f5b070d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=AB=E9=A2=93?= Date: Mon, 23 Oct 2023 15:14:34 +0800 Subject: [PATCH] feat(i18n): home page (#687) (cherry picked from commit 9d39826078ceb929a5ca3b577f9f39449303c289) --- locales/en.yml | 27 ++++++++++++++++++++++++++- src/components/NavbarButtons.vue | 16 ++++++++-------- src/layouts/base.layout.vue | 10 +++++----- src/pages/Home.page.vue | 16 ++++++++-------- 4 files changed, 47 insertions(+), 22 deletions(-) diff --git a/locales/en.yml b/locales/en.yml index dfe668e7..1f31b68a 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -1,6 +1,30 @@ 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' about: h1: 'About IT-Tools' h1p1: 'This wonderful website, made with ❤ by' @@ -23,4 +47,5 @@ about: maybe: 'Maybe the cache is doing tricky things, try force-refreshing?' backHome: 'Back home' toolCard: - new: New \ No newline at end of file + new: New + \ No newline at end of file diff --git a/src/components/NavbarButtons.vue b/src/components/NavbarButtons.vue index 653afdd2..cfc58cdd 100644 --- a/src/components/NavbarButtons.vue +++ b/src/components/NavbarButtons.vue @@ -7,39 +7,39 @@ const { isDarkTheme } = toRefs(styleStore);