1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-29 11:00:10 +02:00

[PepperBridgeAbstract,DealabsBridge,HotUKDealsBridge,MydealsBridge] Move as much as possible to JSON (#4032)

As the website use more and more JSON, and JSON is a machine readable
format, I migrated as much as possible to the JSON.

This simplifies the Abstract class a lot, and the Bridge classes need
less language specifi strings.
This commit is contained in:
sysadminstory
2024-03-28 19:44:27 +01:00
committed by GitHub
parent db984d8a8b
commit be445759b6
4 changed files with 69 additions and 333 deletions

View File

@@ -3279,9 +3279,6 @@ class HotUKDealsBridge extends PepperBridgeAbstract
'thread-error' => 'Unable to determine the thread ID. Check the URL you entered',
'no-results' => 'no results',
'currency' => '£',
'relative-date-indicator' => [
'ago',
],
'price' => 'Price',
'shipping' => 'Shipping',
'origin' => 'Origin',
@@ -3289,51 +3286,7 @@ class HotUKDealsBridge extends PepperBridgeAbstract
'title-keyword' => 'Search',
'title-group' => 'Group',
'title-talk' => 'Discussion Monitoring',
'local-months' => [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Occ',
'Nov',
'Dec',
'st',
'nd',
'rd',
'th'
],
'local-time-relative' => [
'Posted ',
'm',
'h,',
'day',
'days',
'month',
'year',
'and '
],
'date-prefixes' => [
'Posted ',
'Found ',
'Refreshed ',
'Made hot '
],
'relative-date-alt-prefixes' => [
'Made hot ',
'Refreshed ',
'Last updated '
],
'relative-date-ignore-suffix' => [
'/by.*$/'
],
'localdeal' => [
'Local',
'Expires'
]
'deal-type' => 'Deal Type',
'localdeal' => 'Local deal',
];
}