fileList component translated

This commit is contained in:
Intnick 2017-05-26 15:55:59 +02:00
parent 0119ed8edc
commit 73e7419bf2
2 changed files with 9 additions and 6 deletions

View file

@ -218,5 +218,8 @@
"Loading...": "Loading...", "Loading...": "Loading...",
"Empty claim or metadata info.": "Empty claim or metadata info.", "Empty claim or metadata info.": "Empty claim or metadata info.",
"This content is Not Safe For Work. To view adult content, please change your": "This content is Not Safe For Work. To view adult content, please change your", "This content is Not Safe For Work. To view adult content, please change your": "This content is Not Safe For Work. To view adult content, please change your",
"This address contains no content.": "This address contains no content." "This address contains no content.": "This address contains no content.",
"Sort by": "Sort by",
"Date": "Date",
"File name": "File name"
} }

View file

@ -77,11 +77,11 @@ class FileList extends React.Component {
<section className="file-list__header"> <section className="file-list__header">
{ fetching && <span className="busy-indicator"/> } { fetching && <span className="busy-indicator"/> }
<span className='sort-section'> <span className='sort-section'>
Sort by { ' ' } {__("Sort by")} { ' ' }
<FormField type="select" onChange={this.handleSortChanged.bind(this)}> <FormField type="select" onChange={this.handleSortChanged.bind(this)}>
<option value="date">Date</option> <option value="date">{__("Date")}</option>
<option value="title">Title</option> <option value="title">{__("Title")}</option>
<option value="filename">File name</option> <option value="filename">{__("File name")}</option>
</FormField> </FormField>
</span> </span>
{content} {content}