@@ -60,7+57,7 @@ class PocketImport implements ImportInterface
*/
public function getDescription()
{
*/
public function getDescription()
{
- return 'This importer will import all your Pocket data. Pocket doesn\'t allow us to retrieve content from their service, so the readable content of each article will be re-fetched by wallabag.';
+ return 'import.pocket.description';
}
/**
}
/**
@@ -68,7+65,7 @@ class PocketImport implements ImportInterface
*
* @param string $redirectUri Redirect url in case of error
*
*
* @param string $redirectUri Redirect url in case of error
*
- * @return string request_token for callback method
+ * @return string|false request_token for callback method
*/
public function getRequestToken($redirectUri)
{
*/
public function getRequestToken($redirectUri)
{
@@ -139,7+136,7 @@ class PocketImport implements ImportInterface
/**
* Get whether articles must be all marked as read.
*/
/**
* Get whether articles must be all marked as read.
*/
- public function getRead()
+ public function getMarkAsRead()
{
return $this->markAsRead;
}
{
return $this->markAsRead;
}
@@ -206,7+203,7 @@ class PocketImport implements ImportInterface