Translating Arduino-IDE using Theia's nls API (#545)

This commit is contained in:
Mark Sujew
2021-10-18 09:59:33 +02:00
committed by GitHub
parent 61262c23ac
commit 11b75bd610
76 changed files with 1445 additions and 499 deletions

View File

@@ -1,3 +1,4 @@
import { nls } from '@theia/core/lib/browser/nls';
import * as React from 'react';
export const CertificateAddComponent = ({
@@ -22,10 +23,18 @@ export const CertificateAddComponent = ({
}}
>
<label>
<div>Add URL to fetch SSL certificate</div>
<div>
{nls.localize(
'arduino/certificate/addURL',
'Add URL to fetch SSL certificate'
)}
</div>
<input
className="theia-input"
placeholder="Enter URL"
placeholder={nls.localize(
'arduino/certificate/enterURL',
'Enter URL'
)}
type="text"
name="add"
onChange={handleChange}