mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-22 09:09:41 +02:00
Rename "Version String Extraction" to "Trim Version String" for non-HTML Sources (#1723)
Rename Codeberg to Forgejo (#1722)
This commit is contained in:
@@ -93,6 +93,21 @@ bool _isNumeric(String s) {
|
||||
}
|
||||
|
||||
class HTML extends AppSource {
|
||||
@override
|
||||
List<List<GeneratedFormItem>> get combinedAppSpecificSettingFormItems {
|
||||
return super.combinedAppSpecificSettingFormItems.map((r) {
|
||||
return r.map((e) {
|
||||
if (e.key == 'versionExtractionRegEx') {
|
||||
e.label = tr('versionExtractionRegEx');
|
||||
}
|
||||
if (e.key == 'matchGroupToUse') {
|
||||
e.label = tr('matchGroupToUse');
|
||||
}
|
||||
return e;
|
||||
}).toList();
|
||||
}).toList();
|
||||
}
|
||||
|
||||
var finalStepFormitems = [
|
||||
[
|
||||
GeneratedFormTextField('customLinkFilterRegex',
|
||||
|
Reference in New Issue
Block a user