From 0f90d6e9ddc0aaf4e809a168b22ba2703d628904 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Tue, 8 Jul 2014 12:09:23 +0200 Subject: [PATCH] Some English fixes "informations" is incorrect; try to use a better word, or the invariant "information". --- docs/source/guides/module.rst | 2 +- modules/boursorama/pages/login.py | 2 +- modules/freemobile/pages/history.py | 2 +- modules/imdb/pages.py | 2 +- modules/ing/browser.py | 2 +- modules/opensubtitles/pages.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/guides/module.rst b/docs/source/guides/module.rst index 3b62a16f..ae14bd17 100644 --- a/docs/source/guides/module.rst +++ b/docs/source/guides/module.rst @@ -497,4 +497,4 @@ are empty (set to ``NotLoaded``): * **date** - date of thread As our method :func:`get_thread ` will get all -of the missing informations, we just call it with the object as parameter to complete it. +of the missing data, we just call it with the object as parameter to complete it. diff --git a/modules/boursorama/pages/login.py b/modules/boursorama/pages/login.py index 1a6ac7e7..75e7dcdb 100644 --- a/modules/boursorama/pages/login.py +++ b/modules/boursorama/pages/login.py @@ -102,4 +102,4 @@ class LoginPage(BasePage): class UpdateInfoPage(BasePage): def on_loaded(self): - raise BrowserIncorrectPassword('Please update your user informations') + raise BrowserIncorrectPassword('Please update your login credentials') diff --git a/modules/freemobile/pages/history.py b/modules/freemobile/pages/history.py index 1eab151e..ef3b0914 100644 --- a/modules/freemobile/pages/history.py +++ b/modules/freemobile/pages/history.py @@ -69,7 +69,7 @@ class DetailsPage(LoggedPage, BadUTF8Page): def _parse_div(self, divglobal, string, num, inter=False): divs = divglobal.xpath('div[@class="detail"]') - # Two informations in one div... + # Two pieces of information in one div... div = divs.pop(0) voice = self._parse_voice(div, string, num, inter) self.details[num].append(voice) diff --git a/modules/imdb/pages.py b/modules/imdb/pages.py index af91b436..5426bd77 100644 --- a/modules/imdb/pages.py +++ b/modules/imdb/pages.py @@ -128,7 +128,7 @@ class MovieCrewPage(BasePage): class PersonPage(BasePage): - ''' Page giving informations about a person + ''' Page informing about a person It is used to build a Person instance and to get the movie list related to a person ''' def get_person(self, id): diff --git a/modules/ing/browser.py b/modules/ing/browser.py index 614bd7b1..4726956d 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -105,7 +105,7 @@ class IngBrowser(LoginBrowser): self.logger.info('There is no history for this account') return - index = 0 # index, we get always the same page, but with more informations + index = 0 # index, we get always the same page, but with more data hashlist = [] while True: i = index diff --git a/modules/opensubtitles/pages.py b/modules/opensubtitles/pages.py index 586f34ba..174bc402 100644 --- a/modules/opensubtitles/pages.py +++ b/modules/opensubtitles/pages.py @@ -56,7 +56,7 @@ class SubtitlesPage(BasePage): tabresults = self.parser.select(self.document.getroot(), 'table#search_results') if len(tabresults) > 0: table = tabresults[0] - # for each result line, get informations + # for each result line, get the data # why following line doesn't work all the time (for example 'search fr sopranos guy walks' ? # for line in self.parser.select(table,'tr'): for line in table.getiterator('tr'):