# HG changeset patch # User Mads Kiilerich # Date 2014-08-01 20:28:42 # Node ID 4df61d1bd2d50b8195c51bf0280a92f963b65577 # Parent 184159c21be282a17990836b4c4a6d8bcfa2813e spelling: let's call it 'whitespace' without space or hyphen diff --git a/kallithea/controllers/changeset.py b/kallithea/controllers/changeset.py --- a/kallithea/controllers/changeset.py +++ b/kallithea/controllers/changeset.py @@ -86,21 +86,21 @@ def _ignorews_url(GET, fileid=None): fileid = str(fileid) if fileid else None params = defaultdict(list) _update_with_GET(params, GET) - lbl = _('Show white space') + lbl = _('Show whitespace') ig_ws = get_ignore_ws(fileid, GET) ln_ctx = get_line_ctx(fileid, GET) # global option if fileid is None: if ig_ws is None: params['ignorews'] += [1] - lbl = _('Ignore white space') + lbl = _('Ignore whitespace') ctx_key = 'context' ctx_val = ln_ctx # per file options else: if ig_ws is None: params[fileid] += ['WS:1'] - lbl = _('Ignore white space') + lbl = _('Ignore whitespace') ctx_key = fileid ctx_val = 'C:%s' % ln_ctx diff --git a/kallithea/i18n/de/LC_MESSAGES/kallithea.po b/kallithea/i18n/de/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/de/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/de/LC_MESSAGES/kallithea.po @@ -32,11 +32,11 @@ msgid "(closed)" msgstr "" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "" #: kallithea/controllers/changeset.py:167 @@ -5033,7 +5033,7 @@ msgid "File diff" msgstr "" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/en/LC_MESSAGES/kallithea.po b/kallithea/i18n/en/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/en/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/en/LC_MESSAGES/kallithea.po @@ -31,11 +31,11 @@ msgid "(closed)" msgstr "" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "" #: kallithea/controllers/changeset.py:167 @@ -5016,7 +5016,7 @@ msgid "File diff" msgstr "" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/fr/LC_MESSAGES/kallithea.po b/kallithea/i18n/fr/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/fr/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/fr/LC_MESSAGES/kallithea.po @@ -32,11 +32,11 @@ msgid "(closed)" msgstr "" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "Afficher les espaces et tabulations" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "Ignorer les espaces et tabulations" #: kallithea/controllers/changeset.py:167 @@ -5049,7 +5049,7 @@ msgid "File diff" msgstr "Diff de fichier" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/ja/LC_MESSAGES/kallithea.po b/kallithea/i18n/ja/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/ja/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/ja/LC_MESSAGES/kallithea.po @@ -37,11 +37,11 @@ msgid "(closed)" msgstr "(閉鎖済み)" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "空白を表示" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "空白を無視" #: kallithea/controllers/changeset.py:167 @@ -5030,7 +5030,7 @@ msgid "File diff" msgstr "ファイル差分" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "空白を無視" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/kallithea.pot b/kallithea/i18n/kallithea.pot --- a/kallithea/i18n/kallithea.pot +++ b/kallithea/i18n/kallithea.pot @@ -30,11 +30,11 @@ msgid "(closed)" msgstr "" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "" #: kallithea/controllers/changeset.py:167 @@ -4894,7 +4894,7 @@ msgid "File diff" msgstr "" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/pl/LC_MESSAGES/kallithea.po b/kallithea/i18n/pl/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/pl/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/pl/LC_MESSAGES/kallithea.po @@ -37,11 +37,11 @@ msgid "(closed)" msgstr "(zamknięty)" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "pokazuj spacje" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "Ignoruj pokazywanie spacji" #: kallithea/controllers/changeset.py:167 @@ -5089,7 +5089,7 @@ msgid "File diff" msgstr "Pliki różnic" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "ignoruj spacje" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po b/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po @@ -33,11 +33,11 @@ msgid "(closed)" msgstr "(fechado)" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "Mostrar espaços em branco" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "Ignorar espaços em branco" #: kallithea/controllers/changeset.py:167 @@ -5074,7 +5074,7 @@ msgid "File diff" msgstr "Diff do arquivo" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "ignorar espaços em branco" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/ru/LC_MESSAGES/kallithea.po b/kallithea/i18n/ru/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/ru/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/ru/LC_MESSAGES/kallithea.po @@ -42,11 +42,11 @@ msgid "(closed)" msgstr "(закрыто)" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "Отображать пробелы" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "Игнорировать пробелы" #: kallithea/controllers/changeset.py:167 @@ -5102,7 +5102,7 @@ msgid "File diff" msgstr "Сравнение файлов " #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "игнорировать пробелы" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po b/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po @@ -34,11 +34,11 @@ msgid "(closed)" msgstr "" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "" #: kallithea/controllers/changeset.py:167 @@ -4991,7 +4991,7 @@ msgid "File diff" msgstr "文件差异" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po b/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po @@ -32,11 +32,11 @@ msgid "(closed)" msgstr "" #: kallithea/controllers/changeset.py:87 -msgid "Show white space" +msgid "Show whitespace" msgstr "" #: kallithea/controllers/changeset.py:94 kallithea/controllers/changeset.py:101 -msgid "Ignore white space" +msgid "Ignore whitespace" msgstr "" #: kallithea/controllers/changeset.py:167 @@ -4989,7 +4989,7 @@ msgid "File diff" msgstr "檔案差異" #: kallithea/templates/files/diff_2way.html:58 -msgid "ignore white space" +msgid "ignore whitespace" msgstr "" #: kallithea/templates/files/diff_2way.html:59 diff --git a/kallithea/templates/files/diff_2way.html b/kallithea/templates/files/diff_2way.html --- a/kallithea/templates/files/diff_2way.html +++ b/kallithea/templates/files/diff_2way.html @@ -55,8 +55,8 @@ ${self.repo_context_bar('changelog')} - ${h.checkbox('ignorews', label=_('ignore white space'))} - ${h.checkbox('edit_mode', label=_('turn on edit mode'))} + ${h.checkbox('ignorews', label=_('Ignore whitespace'))} + ${h.checkbox('edit_mode', label=_('Edit'))}