diff options
| author | 2022-01-08 21:58:55 +0100 | |
|---|---|---|
| committer | 2022-01-08 21:58:55 +0100 | |
| commit | 1acd3ab09be1b65bfd6122ee351490c3b5527bb8 (patch) | |
| tree | f11de558e7a09522a45d1c155d9707ecda6bf1eb /app/Models | |
| parent | 916df412f5b6f7fb9bcfb705a3c8c23e35304410 (diff) | |
Use typographic quotes (#4133)
* Use typographic quotes
* A few fixes
* Fix
* Fix not saved
* Implement feedback
* Detail
* Revert spoken English fixes
Left for a future dedicated discussion
* More reverts
* Final reverts
* Final minor
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/Auth.php | 2 | ||||
| -rw-r--r-- | app/Models/Entry.php | 8 | ||||
| -rw-r--r-- | app/Models/Feed.php | 2 | ||||
| -rw-r--r-- | app/Models/FeedDAO.php | 2 | ||||
| -rw-r--r-- | app/Models/Share.php | 2 | ||||
| -rw-r--r-- | app/Models/TagDAO.php | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/app/Models/Auth.php b/app/Models/Auth.php index 7259025b3..90fb128d4 100644 --- a/app/Models/Auth.php +++ b/app/Models/Auth.php @@ -190,7 +190,7 @@ class FreshRSS_Auth { break; case 'http_auth': case 'none': - // Nothing to do... + // Nothing to do… break; default: // TODO: extensions diff --git a/app/Models/Entry.php b/app/Models/Entry.php index cc1f4d9bc..c4f69211b 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -490,18 +490,18 @@ class FreshRSS_Entry extends Minz_Model { public function loadCompleteContent($force = false) { // Gestion du contenu - // On cherche à récupérer les articles en entier... même si le flux ne le propose pas + // Trying to fetch full article content even when feeds do not propose it $feed = $this->feed(true); if ($feed != null && trim($feed->pathEntries()) != '') { $entryDAO = FreshRSS_Factory::createEntryDao(); $entry = $force ? null : $entryDAO->searchByGuid($this->feedId, $this->guid); if ($entry) { - // l'article existe déjà en BDD, en se contente de recharger ce contenu + // l’article existe déjà en BDD, en se contente de recharger ce contenu $this->content = $entry->content(); } else { try { - // l'article n'est pas en BDD, on va le chercher sur le site + // l’article n’est pas en BDD, on va le chercher sur le site $fullContent = self::getContentByParsing( htmlspecialchars_decode($this->link(), ENT_QUOTES), $feed->pathEntries(), @@ -526,7 +526,7 @@ class FreshRSS_Entry extends Minz_Model { return true; } } catch (Exception $e) { - // rien à faire, on garde l'ancien contenu(requête a échoué) + // rien à faire, on garde l’ancien contenu(requête a échoué) Minz_Log::warning($e->getMessage()); } } diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 781553ca7..595c59f4f 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -300,7 +300,7 @@ class FreshRSS_Feed extends Minz_Model { $this->hubUrl = isset($links[0]) ? $links[0] : null; if ($loadDetails) { - // si on a utilisé l'auto-discover, notre url va avoir changé + // si on a utilisé l’auto-discover, notre url va avoir changé $subscribe_url = $simplePie->subscribe_url(false); //HTML to HTML-PRE //ENT_COMPAT except '&' diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.php index b47f06b42..90a60de4f 100644 --- a/app/Models/FeedDAO.php +++ b/app/Models/FeedDAO.php @@ -88,7 +88,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo implements FreshRSS_Searchable { // TODO: not sure if we should write this method in DAO since DAO // should not be aware about feed class - // Add feed only if we don't find it in DB + // Add feed only if we don’t find it in DB $feed_search = $this->searchByUrl($feed->url()); if (!$feed_search) { $values = array( diff --git a/app/Models/Share.php b/app/Models/Share.php index 0a341fa55..36e17c201 100644 --- a/app/Models/Share.php +++ b/app/Models/Share.php @@ -157,7 +157,7 @@ class FreshRSS_Share { } /** - * Return the current field of the share option. It's null for shares + * Return the current field of the share option. It’s null for shares * using the GET method. */ public function field() { diff --git a/app/Models/TagDAO.php b/app/Models/TagDAO.php index 2b24921a2..0bfb89082 100644 --- a/app/Models/TagDAO.php +++ b/app/Models/TagDAO.php @@ -15,11 +15,11 @@ class FreshRSS_TagDAO extends Minz_ModelPdo implements FreshRSS_Searchable { try { require(APP_PATH . '/SQL/install.sql.' . $this->pdo->dbType() . '.php'); - Minz_Log::warning('SQL ALTER GUID case sensitivity...'); + Minz_Log::warning('SQL ALTER GUID case sensitivity…'); $databaseDAO = FreshRSS_Factory::createDatabaseDAO(); $databaseDAO->ensureCaseInsensitiveGuids(); - Minz_Log::warning('SQL CREATE TABLE tag...'); + Minz_Log::warning('SQL CREATE TABLE tag…'); $ok = $this->pdo->exec($GLOBALS['SQL_CREATE_TABLE_TAGS']) !== false; } catch (Exception $e) { Minz_Log::error('FreshRSS_EntryDAO::createTagTable error: ' . $e->getMessage()); |
