Skip to content

Commit

Permalink
Texts update for i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
xoRmalka committed Nov 15, 2023
1 parent 917c126 commit 276367c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@
"mr_meir": "Mr. Asher Meir",
"innovation_authority": "Innovation Authority",
"migdal_company": "\"A tower in the community\"",
"and_smaller_donors": "And other small contributions from my friends and fans of the workshop."
"and_smaller_donors": "And other small contributions from my friends and fans of the workshop.",
"github_link": "Go to GitHub"
}
4 changes: 3 additions & 1 deletion src/locale/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@
"innovation_authority": "רשות החדשנות",
"migdal_company": "“מגדל בקהילה“",
"and_smaller_donors": "ותרומות קטנות נוספות של ידידי ואוהדי הסדנא.",
"gaps_patterns_page_title": "דפוסי נסיעות שלא יצאו"
"gaps_patterns_page_title": "דפוסי נסיעות שלא יצאו",
"github_link": "למעבר אל GitHub"

}
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import React from 'react'
import { GithubOutlined } from '@ant-design/icons'
import { TEXT_KEYS } from 'src/resources/texts'
import { useTranslation } from 'react-i18next'
import './GitHubLink.scss'

export default function GitHubLink() {
const { t } = useTranslation()

const data = {
label: TEXT_KEYS.github_link,
label: t(TEXT_KEYS.github_link),
path: 'https://github.com/hasadna/open-bus-map-search',
icon: <GithubOutlined />,
element: null,
Expand Down

0 comments on commit 276367c

Please sign in to comment.