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:
@@ -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',
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user