Skip to content

Commit

Permalink
mark another string from translation
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Apr 10, 2024
1 parent feaf6da commit 3d9d244
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions client/public/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@
"Desktop": "Desktop",
"<0>If you are considering writing your own game, you should use the <1>GameSkeleton Github Repo</1> as a template and read <3>How to Create a Game</3>.</0><1>You can directly load your games into the server and play it using the correct URL. The <1>instructions above</1> also explain the details for how to load your game to the server. We'd like to encourage you to contact us if you have any questions.</1><p>Featured games on this page are added manually. Please get in contact and we'll happily add yours.</p>": "",
"Level": "",
"Introduction": "",
"Retry proof from here": "",
"Introduction": "Einführung",
"Retry proof from here": "Ab hier erneut versuchen",
"Retry": "",
"Failed command": ""
"Failed command": "Befehl fehlgeschlagen",
"view the Lean game server on Github": "Lean game Server auf Github ansehen"
}
3 changes: 2 additions & 1 deletion client/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@
"Introduction": "Introduction",
"Retry proof from here": "Retry proof from here",
"Retry": "Retry",
"Failed command": "Failed command"
"Failed command": "Failed command",
"view the Lean game server on Github": "view the Lean game server on Github"
}
3 changes: 2 additions & 1 deletion client/src/components/landing_page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ import lean4gameConfig from '../config.json'
import i18next from 'i18next';

function GithubIcon({url='https://github.com'}) {
let { t } = useTranslation()

return <div className="github-link">
<a title="view the Lean game server on Github" href={url}>
<a title={t("view the Lean game server on Github")} href={url}>
<svg height="24" aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="24" className="">
<path fill="#fff" d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path>
</svg>
Expand Down

0 comments on commit 3d9d244

Please sign in to comment.