1
0
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:
Michael An
2025-09-24 14:36:24 +08:00
committed by GitHub
parent 7250498cc5
commit e855f21461

View File

@@ -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>