Skip to content

Commit

Permalink
✏️ CTF info multiple languages
Browse files Browse the repository at this point in the history
  • Loading branch information
cairoeth committed Feb 19, 2024
1 parent 1b68510 commit 8127dc7
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/containers/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import PropTypes from "prop-types";
import { ProgressBar } from "react-loader-spinner";
import { svgFilter } from "../utils/svg";
import LeaderIcon from "../components/leaderboard/LeaderIcon";
import parse from "html-react-parser";

class Header extends React.Component {
constructor(props) {
Expand Down Expand Up @@ -252,11 +253,10 @@ class Header extends React.Component {
<div style={{overflowWrap: 'anywhere'}}>

<span style={{fontSize: 'larger'}}>
<strong>
Announcing Ethernaut CTF:</strong> A 48-hour capture the flag event with prizes and blockchain challenges, starting 16/03.
{parse(strings.ctfInfo)}

<a
className="buttons hiring-button"
className="buttons"
href="https://ctf.openzeppelin.com"
style={{marginLeft: '0.5rem'}}
>
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/ar/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "الايثرناوت",
"hiring": "نقوم بالتوظيف!",
"ctfRegister": "سجل الان!",
"ctfInfo": "<strong>نحن نستضيف Ethernaut CTF:</strong> حدث التقاط العلم لمدة 48 ساعة مع جوائز وتحديات blockchain، بدءًا من 16/03.",
"info": "<h2> لعبة ايثرناوت هي لعبة حرب تستند إلى ويب3 / سوليديتى مستوحاة من <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'> overthewire.org </a> ، يتم لعبها في آلة إيثريوم اﻻفتراضية. كل مستوى هو عقد ذكي يحتاج إلى اختراق. اللعبة مفتوحة المصدر بنسبة 100٪ وجميع المستويات مساهمات من لاعبين آخرين. هل لديك فكرة شيقة؟ العلاقات العامة <a href='https://github.com/OpenZeppelin/ethernaut'> <button> مرحبًا </ زر> </a> </h2>",
"home": "الرئيسية",
"help": "مساعدة",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/en/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "We're hiring!",
"ctfRegister": "Register now!",
"ctfInfo": "<strong>We are hosting Ethernaut CTF:</strong> A 48-hour capture the flag event with prizes and blockchain challenges, starting 16/03.",
"info": "<h2>The Ethernaut is a Web3/Solidity based wargame inspired by <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>, played in the Ethereum Virtual Machine. Each level is a smart contract that needs to be 'hacked'. The game is 100% open source and all levels are contributions made by other players. Do you have an interesting idea? PRs are <a href='https://github.com/OpenZeppelin/ethernaut'><button>Welcome</button></a></h2>",
"home": "Home",
"help": "Help",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/es/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "Contratamos",
"ctfRegister": "Regístrate!",
"ctfInfo": "<strong>Estamos organizando Ethernaut CTF:</strong> un evento de captura de la bandera de 48 horas con premios y desafíos blockchain, a partir del 16/03.",
"info": "<h2>The Ethernaut es un juego basado en Web3/Solidity inspirado por <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>, funcionando en la Ethereum Virtual Machine. Cada nivel es un smart contract que el jugador necesita hackear. El juego es 100% de código abierto y todos los niveles son contribuciones hechas por otros jugadores. ¿Tienes una idea interesante? Cualquier sugerencia es <a href='https://github.com/OpenZeppelin/ethernaut'><button>Bienvenida</button></a></h2>",
"home": "Inicio",
"help": "Ayuda",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/fr/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "Nous embauchons!",
"ctfRegister": "S'inscrire maintenant!",
"ctfInfo": "<strong>Nous organisons Ethernaut CTF:</strong> Un événement de capture du drapeau de 48 heures avec des prix et des défis blockchain, à partir du 16/03.",
"info": "<h2> L'Ethernaut est un Wargame basé sur web3 / Solidity inspiré par <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org </a>, joué dans leMachine virtuelle Ethereum.Chaque niveau est un contrat intelligent qui doit être «piraté».Le jeu est 100% open source et tous les niveaux sont des contributions apportées par d'autres joueurs.Avez-vous une idée intéressante?Les PRS sont <a href='https://github.com/openzeppelin/ethernaut'><button>Bienvenue</button></a></h2>",
"home": "Accueil",
"help": "Aide",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/ja/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "We're hiring!",
"ctfRegister": "今すぐ登録!",
"ctfInfo": "<strong>私たちは Ethernaut CTF を主催しています:</strong> 賞品とブロックチェーン チャレンジを備えた 48 時間のキャプチャ ザ フラッグ イベントが 2003 年 16 月から始まります。",
"info": "<h2>Ethernautは<a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>にインスパイアされたEthereum仮想マシン(EVM)を使用するWeb3/Solidityハッキングゲームです。各レベルのスマートコントラクトは脆弱性のあるスマートコントラクトです。</p><p>このゲームは100%オープンソースでプレーヤーによって全てのレベルが作成されています。もし新たにゲームのアイデアがあれば<a href='https://github.com/OpenZeppelin/ethernaut'><button>こちらにPRをください!</button></a></h2>",
"home": "ホーム",
"help": "ヘルプ",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/pt_br/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "Ethernaut",
"hiring": "Estamos contratando!",
"ctfRegister": "Registrar agora!",
"ctfInfo": "<strong>Estamos hospedando o Ethernaut CTF:</strong> Um evento de captura da bandeira de 48 horas com prêmios e desafios de blockchain, começando em 16/03.",
"info": "<h2>O Ethernaut é um jogo baseado em Web3/Solidity inspirado no <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>, jogado na Ethereum Virtual Machine. Cada nível é um contrato inteligente que precisa ser 'hackeado'. O jogo é 100% de código aberto e todos os níveis são contribuições feitas por outros jogadores. Você tem uma ideia interessante? PRs são <a href='https://github.com/OpenZeppelin/ethernaut'><button>Bem Vindos</button></a></h2>",
"home": "Home",
"help": "Ajuda",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/ru/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "Ethernaut",
"hiring": "Мы нанимаем",
"ctfRegister": "Зарегистрироваться!",
"ctfInfo": "<strong>Мы проводим Ethernaut CTF:</strong> 48-часовое мероприятие «Захват флага» с призами и испытаниями на блокчейне, которое начнется 16 марта.",
"info": "<h2>Ethernaut это Web3/Solidity варгейм на базе Ethereum Virtual Machine, вдохновленный <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>. Каждый уровень является смарт-контрактом, который необходимо 'взломать'. Исходный код игры полностью открытый, а все уровни созданы другими игроками. У тебя есть интересная идея для нового уровня? <a href='https://github.com/OpenZeppelin/ethernaut'><button>Будем рады пулл реквестам</button></a>!</h2>",
"home": "Назад",
"help": "Помощь",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/tr/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "İşe alıyoruz!",
"ctfRegister": "Şimdi üye Ol!",
"ctfInfo": "<strong>Ethernaut CTF'ye ev sahipliği yapıyoruz:</strong> 16/03'ten itibaren, ödüller ve blockchain mücadelelerinin yer aldığı 48 saatlik bir bayrak yakalama etkinliği.",
"info": "<h2>Ethernaut, esinlenerek Web3/Solidity tabanlı bir savaş oyunudur. <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>, Ethereum sanal makinesinde oynandı.Her seviye, 'saldırıya uğraması' gereken akıllı bir sözleşmedir.Oyun% 100 açık kaynak ve tüm seviyeler diğer oyuncular tarafından yapılan katkılardır.İlginç bir fikrin var mı?PR'ler <a href='https://github.com/OpenZeppelin/ethernaut'><button>Hoş geldin</button></a></h2>",
"home": "Anasayfa",
"help": "Yardım",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/zh_cn/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "我们在招聘!",
"ctfRegister": "现在注册!",
"ctfInfo": "<strong>我们将举办 Ethernaut CTF:</strong> 为期 48 小时的夺旗活动,包含奖品和区块链挑战,将于 16 月 3 日开始。",
"info": "<h2>Ethernaut 是一个基于 Web3/Solidity 的对抗游戏,受 <a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a> 启发, 运行于以太坊虚拟机. 每个关卡是一个需要被 'hacked' 的智能合约.</p><p> 整个游戏百分百开源,并且由不同玩家贡献. 如果你也有有意思的想法?<a href='https://github.com/OpenZeppelin/ethernaut'><button>欢迎提交PR</button></a></h2>",
"home": "主页",
"help": "帮助",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/zh_tw/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "The Ethernaut",
"hiring": "我們正在招聘!",
"ctfRegister": "现在注册!",
"ctfInfo": "<strong>我们将举办 Ethernaut CTF:</strong> 为期 48 小时的夺旗活动,包含奖品和区块链挑战,将于 16 月 3 日开始。",
"info": "<h2>以太網是一個基於Web3/固體的戰爭遊戲,靈感來自<a href='https://overthewire.org' target='_blank' rel='noopener noreferrer'>overthewire.org</a>, 在以太坊虛擬機中播放。每個級別都是需要“黑客”的智能合同。該遊戲是100%開源的,所有級別都是其他玩家做出的貢獻。你有一個有趣的主意嗎?PR是<a href='https://github.com/OpenZeppelin/ethernaut'><button>歡迎</button></a></h2>",
"home": "主頁",
"help": "幫助",
Expand Down

0 comments on commit 8127dc7

Please sign in to comment.