mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 19:00:12 +00:00
fix translation when edit repo tag (#8259)
This commit is contained in:
@@ -67,6 +67,8 @@ class UpdateRepoCommitLabels extends React.Component {
|
||||
isMulti={true}
|
||||
onChange={this.handleInputChange}
|
||||
placeholder=''
|
||||
noOptionsMessage={() => {return gettext('No options available');}}
|
||||
formatCreateLabel={(inputValue) => {return gettext('Add option: %s').replace('%s', inputValue);}}
|
||||
/>
|
||||
{formErrorMsg && <p className="error m-0 mt-2">{formErrorMsg}</p>}
|
||||
</React.Fragment>
|
||||
|
Reference in New Issue
Block a user