'wcf.media.manager': '{lang}wcf.media.manager{/lang}',
'wcf.media.edit': '{lang}wcf.media.edit{/lang}',
'wcf.media.button.insert': '{lang}wcf.media.button.insert{/lang}',
+ 'wcf.media.search.info.searchStringThreshold': '{lang __literal=true}wcf.media.search.info.searchStringThreshold{/lang}',
'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}',
'wcf.media.upload.error.noImage': '{lang}wcf.media.upload.error.noImage{/lang}',
'wcf.media.upload.success': '{lang}wcf.media.upload.success{/lang}'
'wcf.media.manager': '{lang}wcf.media.manager{/lang}',
'wcf.media.edit': '{lang}wcf.media.edit{/lang}',
'wcf.media.button.insert': '{lang}wcf.media.button.insert{/lang}',
+ 'wcf.media.search.info.searchStringThreshold': '{lang __literal=true}wcf.media.search.info.searchStringThreshold{/lang}',
'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}',
'wcf.media.upload.error.noImage': '{lang}wcf.media.upload.error.noImage{/lang}',
'wcf.media.upload.success': '{lang}wcf.media.upload.success{/lang}'
else {
innerInfo = elCreate('p');
innerInfo.className = 'innerInfo';
- innerInfo.textContent = Language.get('wcf.media.search.info.searchStringThreshold');
+ innerInfo.textContent = Language.get('wcf.media.search.info.searchStringThreshold', {
+ minSearchLength: this._mediaManager.getOption('minSearchLength')
+ });
DomUtil.insertAfter(innerInfo, this._input.parentNode);
}
<item name="wcf.media.uploader"><![CDATA[Hochgeladen von]]></item>
<item name="wcf.media.uploadTime"><![CDATA[Datum hochgeladen]]></item>
<item name="wcf.media.search.noResults"><![CDATA[Es wurden keine Ergebnisse gefunden.]]></item>
+ <item name="wcf.media.search.info.searchStringThreshold"><![CDATA[Der Suchbegriff muss mindestens {#$minSearchLength} Zeichen lang sein.]]></item>
</category>
<category name="wcf.message">
<item name="wcf.media.uploader"><![CDATA[Uploaded By]]></item>
<item name="wcf.media.uploadTime"><![CDATA[Upload Date]]></item>
<item name="wcf.media.search.noResults"><![CDATA[The search returned no results.]]></item>
+ <item name="wcf.media.search.info.searchStringThreshold"><![CDATA[The search term must contain at least {#$minSearchLength} character{if $minSearchLength > 1}s{/if}.]]></item>
</category>
<category name="wcf.message">