File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ export default function UploadPanel({ onBack }: { onBack: () => void }) {
4343 ) ;
4444
4545 const sourceOptions = [
46- { value : "gitlab" , text : "GitLab" } ,
47- { value : "other" , text : "Other" } ,
46+ { value : "gitlab" , text : t ( "editor.gitlab" ) } ,
47+ { value : "other" , text : t ( "editor.other" ) } ,
4848 ] ;
4949
5050 const handleSubmit = ( event : FormEvent < HTMLFormElement > ) => {
@@ -182,13 +182,14 @@ export default function UploadPanel({ onBack }: { onBack: () => void }) {
182182 < p className = "text-dark" > { t ( "editor.pastefile" ) } </ p >
183183 </ Row >
184184 < Row className = "my-4" >
185+ < p className = "text-dark mb-2" > { t ( "editor.source" ) } </ p >
185186 < Combobox
186187 data = { sourceOptions }
187188 value = { sourceOptions . find ( opt => opt . value === source ) }
188189 onChange = { handleSourceChange }
189190 textField = "text"
190191 className = "w-100"
191- placeholder = "Select Source"
192+ placeholder = { t ( "editor.selectSource" ) }
192193 />
193194 </ Row >
194195 < Row >
Original file line number Diff line number Diff line change 1717 "browse" : " Auswählen" ,
1818 "pastefile" : " Remote URL publiccode.yaml einfügen" ,
1919 "importSource" : " Importquelle auswählen" ,
20+ "selectSource" : " Quelle auswählen" ,
21+ "source" : " Quelle" ,
22+ "gitlab" : " GitLab" ,
23+ "other" : " Andere" ,
2024 "load" : " Laden" ,
2125 "notvalidurl" : " Ungültige URL" ,
2226 "filenotsupported" : " Dateityp nicht unterstützt" ,
Original file line number Diff line number Diff line change 3030 "browse" : " Browse" ,
3131 "pastefile" : " Paste remote publiccode.yaml url" ,
3232 "importSource" : " Select import source" ,
33+ "selectSource" : " Select source" ,
34+ "source" : " Source" ,
35+ "gitlab" : " GitLab" ,
36+ "other" : " Other" ,
3337 "load" : " Load" ,
3438 "notvalidurl" : " Not a valid url" ,
3539 "filenotsupported" : " File type not supported" ,
Original file line number Diff line number Diff line change 3030 "browse" : " Browse" ,
3131 "pastefile" : " Paste remote publiccode.yaml url" ,
3232 "importSource" : " Select import source" ,
33+ "selectSource" : " Sélectionner la source" ,
34+ "source" : " Source" ,
35+ "gitlab" : " GitLab" ,
36+ "other" : " Autre" ,
3337 "load" : " Load" ,
3438 "notvalidurl" : " Not a valid url" ,
3539 "filenotsupported" : " File type not supported" ,
Original file line number Diff line number Diff line change 3131 "browse" : " Sfoglia" ,
3232 "pastefile" : " Incolla l'URL del tuo publiccode.yml" ,
3333 "importSource" : " Seleziona tipologia" ,
34+ "selectSource" : " Seleziona Sorgente" ,
35+ "source" : " Sorgente" ,
36+ "gitlab" : " GitLab" ,
37+ "other" : " Altro" ,
3438 "load" : " Carica" ,
3539 "notvalidurl" : " URL non valido" ,
3640 "filenotsupported" : " File non supportato" ,
Original file line number Diff line number Diff line change 3030 "browse" : " Bladeren" ,
3131 "pastefile" : " Plak externe publiccode.yaml url" ,
3232 "importSource" : " Selecteer importbron" ,
33+ "selectSource" : " Selecteer Bron" ,
34+ "source" : " Bron" ,
35+ "gitlab" : " GitLab" ,
36+ "other" : " Andere" ,
3337 "load" : " Laden" ,
3438 "notvalidurl" : " Geen geldige url" ,
3539 "filenotsupported" : " Bestandstype niet ondersteund" ,
You can’t perform that action at this time.
0 commit comments