# HG changeset patch # User Søren Løvborg # Date 1439564869 -7200 # Node ID 2079e864ce51eaad17e8e8ca9815ac85b5e6c88c # Parent 5cb3a07abbf49a0aa5f3395e4cf320d0f61874c9 spelling: use "email" consistently The common English spelling is "email", not "e-mail" (and was indeed also the most common, but not only, variant in the Kallithea UI). http://grammarist.com/style/e-mail-email/ diff -r 5cb3a07abbf4 -r 2079e864ce51 development.ini --- a/development.ini Fri Aug 14 17:07:49 2015 +0200 +++ b/development.ini Fri Aug 14 17:07:49 2015 +0200 @@ -16,29 +16,29 @@ pdebug = false ################################################################################ -## E-mail settings ## +## Email settings ## ## ## -## Refer to the documentation ("E-mail settings") for more details. ## +## Refer to the documentation ("Email settings") for more details. ## ## ## ## It is recommended to use a valid sender address that passes access ## ## validation and spam filtering in mail servers. ## ################################################################################ -## 'From' header for application e-mails. You can optionally add a name. +## 'From' header for application emails. You can optionally add a name. ## Default: #app_email_from = Kallithea ## Examples: #app_email_from = Kallithea #app_email_from = kallithea-noreply@example.com -## Subject prefix for application e-mails. +## Subject prefix for application emails. ## A space between this prefix and the real subject is automatically added. ## Default: #email_prefix = ## Example: #email_prefix = [Kallithea] -## Recipients for error e-mails and fallback recipients of application mails. +## Recipients for error emails and fallback recipients of application mails. ## Multiple addresses can be specified, space-separated. ## Only addresses are allowed, do not add any name part. ## Default: @@ -47,7 +47,7 @@ #email_to = admin@example.com #email_to = admin@example.com another_admin@example.com -## 'From' header for error e-mails. You can optionally add a name. +## 'From' header for error emails. You can optionally add a name. ## Default: #error_email_from = pylons@yourapp.com ## Examples: diff -r 5cb3a07abbf4 -r 2079e864ce51 docs/contributing.rst --- a/docs/contributing.rst Fri Aug 14 17:07:49 2015 +0200 +++ b/docs/contributing.rst Fri Aug 14 17:07:49 2015 +0200 @@ -105,7 +105,7 @@ Contributions will be accepted in most formats - such as pull requests on bitbucket, something hosted on your own Kallithea instance, or patches sent by -mail to the kallithea-general mailing list. +email to the kallithea-general mailing list. Make sure to test your changes both manually and with the automatic tests before posting. diff -r 5cb3a07abbf4 -r 2079e864ce51 docs/index.rst --- a/docs/index.rst Fri Aug 14 17:07:49 2015 +0200 +++ b/docs/index.rst Fri Aug 14 17:07:49 2015 +0200 @@ -37,7 +37,7 @@ .. toctree:: :maxdepth: 1 - usage/e-mail + usage/email usage/performance usage/backup usage/debugging diff -r 5cb3a07abbf4 -r 2079e864ce51 docs/setup.rst --- a/docs/setup.rst Fri Aug 14 17:07:49 2015 +0200 +++ b/docs/setup.rst Fri Aug 14 17:07:49 2015 +0200 @@ -199,7 +199,7 @@ Login Attribute = uid First Name Attribute = firstName Last Name Attribute = lastName - E-mail Attribute = mail + Email Attribute = mail If your user groups are placed in an Organisation Unit (OU) structure, the Search Settings configuration differs:: @@ -364,7 +364,7 @@ Login Attribute = sAMAccountName First Name Attribute = givenName Last Name Attribute = sn - E-mail Attribute = mail + Email Attribute = mail All other LDAP settings will likely be site-specific and should be appropriately configured. @@ -509,7 +509,7 @@ -------------------- Kallithea can use the distributed task queue system Celery_ to run tasks like -cloning repositories or sending mails. +cloning repositories or sending emails. Kallithea will in most setups work perfectly fine out of the box (without Celery), executing all tasks in the web server process. Some tasks can however diff -r 5cb3a07abbf4 -r 2079e864ce51 docs/usage/e-mail.rst --- a/docs/usage/e-mail.rst Fri Aug 14 17:07:49 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -.. _email: - -=============== -E-mail settings -=============== - -The Kallithea configuration file has several e-mail related settings. When -these contain correct values, Kallithea will send e-mail in the situations -described below. If the e-mail configuration is not correct so that e-mails -cannot be sent, all mails will show up in the log output. - -Before any e-mail can be sent, an SMTP server has to be configured using the -configuration file setting ``smtp_server``. If required for that server, specify -a username (``smtp_username``) and password (``smtp_password``), a non-standard -port (``smtp_port``), encryption settings (``smtp_use_tls`` or ``smtp_use_ssl``) -and/or specific authentication parameters (``smtp_auth``). - -Application e-mails -------------------- - -Kallithea sends an e-mail to `users` on several occasions: - -- when comments are given on one of their changesets -- when comments are given on changesets they are reviewer on or on which they - commented regardless -- when they are invited as reviewer in pull requests -- when they request a password reset - -Kallithea sends an e-mail to all `administrators` upon new account registration. -Administrators are users with the ``Admin`` flag set in the ``Admin->Users`` -section. - -When Kallithea wants to send an e-mail but due to an error cannot correctly -determine the intended recipients, the administrators and the addresses -specified in ``email_to`` in the configuration file are used as fallback. - -Recipients will see these e-mails originating from the sender specified in the -``app_email_from`` setting in the configuration file. This setting can either -contain only an e-mail address, like `kallithea-noreply@example.com`, or both -a name and an address in the following format: `Kallithea -`. The subject of these e-mails can -optionally be prefixed with the value of ``email_prefix`` in the configuration -file. - -Error e-mails -------------- - -When an exception occurs in Kallithea -- and unless interactive debugging is -enabled using ``set debug = true`` in the ``[app:main]`` section of the -configuration file -- an e-mail with exception details is sent by WebError_'s -``ErrorMiddleware`` to the addresses specified in ``email_to`` in the -configuration file. - -Recipients will see these e-mails originating from the sender specified in the -``error_email_from`` setting in the configuration file. This setting can either -contain only an e-mail address, like `kallithea-noreply@example.com`, or both -a name and an address in the following format: `Kallithea Errors -`. - -*Note:* The WebError_ package does not respect ``smtp_port`` and assumes the -standard SMTP port (25). If you have a remote SMTP server with a different port, -you could set up a local forwarding SMTP server on port 25. - -References ----------- -- `Error Middleware (Pylons documentation) `_ -- `ErrorHandler (Pylons modules documentation) `_ - -.. _WebError: https://pypi.python.org/pypi/WebError diff -r 5cb3a07abbf4 -r 2079e864ce51 docs/usage/email.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/usage/email.rst Fri Aug 14 17:07:49 2015 +0200 @@ -0,0 +1,69 @@ +.. _email: + +============== +Email settings +============== + +The Kallithea configuration file has several email related settings. When +these contain correct values, Kallithea will send email in the situations +described below. If the email configuration is not correct so that emails +cannot be sent, all mails will show up in the log output. + +Before any email can be sent, an SMTP server has to be configured using the +configuration file setting ``smtp_server``. If required for that server, specify +a username (``smtp_username``) and password (``smtp_password``), a non-standard +port (``smtp_port``), encryption settings (``smtp_use_tls`` or ``smtp_use_ssl``) +and/or specific authentication parameters (``smtp_auth``). + +Application emails +------------------ + +Kallithea sends an email to `users` on several occasions: + +- when comments are given on one of their changesets +- when comments are given on changesets they are reviewer on or on which they + commented regardless +- when they are invited as reviewer in pull requests +- when they request a password reset + +Kallithea sends an email to all `administrators` upon new account registration. +Administrators are users with the ``Admin`` flag set in the ``Admin->Users`` +section. + +When Kallithea wants to send an email but due to an error cannot correctly +determine the intended recipients, the administrators and the addresses +specified in ``email_to`` in the configuration file are used as fallback. + +Recipients will see these emails originating from the sender specified in the +``app_email_from`` setting in the configuration file. This setting can either +contain only an email address, like `kallithea-noreply@example.com`, or both +a name and an address in the following format: `Kallithea +`. The subject of these emails can +optionally be prefixed with the value of ``email_prefix`` in the configuration +file. + +Error emails +------------ + +When an exception occurs in Kallithea -- and unless interactive debugging is +enabled using ``set debug = true`` in the ``[app:main]`` section of the +configuration file -- an email with exception details is sent by WebError_'s +``ErrorMiddleware`` to the addresses specified in ``email_to`` in the +configuration file. + +Recipients will see these emails originating from the sender specified in the +``error_email_from`` setting in the configuration file. This setting can either +contain only an email address, like `kallithea-noreply@example.com`, or both +a name and an address in the following format: `Kallithea Errors +`. + +*Note:* The WebError_ package does not respect ``smtp_port`` and assumes the +standard SMTP port (25). If you have a remote SMTP server with a different port, +you could set up a local forwarding SMTP server on port 25. + +References +---------- +- `Error Middleware (Pylons documentation) `_ +- `ErrorHandler (Pylons modules documentation) `_ + +.. _WebError: https://pypi.python.org/pypi/WebError diff -r 5cb3a07abbf4 -r 2079e864ce51 docs/usage/general.rst --- a/docs/usage/general.rst Fri Aug 14 17:07:49 2015 +0200 +++ b/docs/usage/general.rst Fri Aug 14 17:07:49 2015 +0200 @@ -97,14 +97,14 @@ The ID of a given repository can be shown from the repository ``Summary`` page, by selecting the ``Show by ID`` button next to ``Clone URL``. -E-mail notifications --------------------- +Email notifications +------------------- -When the administrator correctly specified the e-mail settings in the Kallithea -configuration file, Kallithea will send e-mails on user registration and when +When the administrator correctly specified the email settings in the Kallithea +configuration file, Kallithea will send emails on user registration and when errors occur. -Mails are also sent for comments on changesets. In this case, an e-mail is sent +Emails are also sent for comments on changesets. In this case, an email is sent to the committer of the changeset (if known to Kallithea), to all reviewers of the pull request (if applicable) and to all people mentioned in the comment using @mention notation. diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/bin/template.ini.mako --- a/kallithea/bin/template.ini.mako Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/bin/template.ini.mako Fri Aug 14 17:07:49 2015 +0200 @@ -10,29 +10,29 @@ pdebug = false <%text>################################################################################ -<%text>## E-mail settings ## +<%text>## Email settings ## <%text>## ## -<%text>## Refer to the documentation ("E-mail settings") for more details. ## +<%text>## Refer to the documentation ("Email settings") for more details. ## <%text>## ## <%text>## It is recommended to use a valid sender address that passes access ## <%text>## validation and spam filtering in mail servers. ## <%text>################################################################################ -<%text>## 'From' header for application e-mails. You can optionally add a name. +<%text>## 'From' header for application emails. You can optionally add a name. <%text>## Default: #app_email_from = Kallithea <%text>## Examples: #app_email_from = Kallithea #app_email_from = kallithea-noreply@example.com -<%text>## Subject prefix for application e-mails. +<%text>## Subject prefix for application emails. <%text>## A space between this prefix and the real subject is automatically added. <%text>## Default: #email_prefix = <%text>## Example: #email_prefix = [Kallithea] -<%text>## Recipients for error e-mails and fallback recipients of application mails. +<%text>## Recipients for error emails and fallback recipients of application mails. <%text>## Multiple addresses can be specified, space-separated. <%text>## Only addresses are allowed, do not add any name part. <%text>## Default: @@ -41,7 +41,7 @@ #email_to = admin@example.com #email_to = admin@example.com another_admin@example.com -<%text>## 'From' header for error e-mails. You can optionally add a name. +<%text>## 'From' header for error emails. You can optionally add a name. <%text>## Default: #error_email_from = pylons@yourapp.com <%text>## Examples: diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/config/deployment.ini_tmpl --- a/kallithea/config/deployment.ini_tmpl Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/config/deployment.ini_tmpl Fri Aug 14 17:07:49 2015 +0200 @@ -11,29 +11,29 @@ pdebug = false ################################################################################ -## E-mail settings ## +## Email settings ## ## ## -## Refer to the documentation ("E-mail settings") for more details. ## +## Refer to the documentation ("Email settings") for more details. ## ## ## ## It is recommended to use a valid sender address that passes access ## ## validation and spam filtering in mail servers. ## ################################################################################ -## 'From' header for application e-mails. You can optionally add a name. +## 'From' header for application emails. You can optionally add a name. ## Default: #app_email_from = Kallithea ## Examples: #app_email_from = Kallithea #app_email_from = kallithea-noreply@example.com -## Subject prefix for application e-mails. +## Subject prefix for application emails. ## A space between this prefix and the real subject is automatically added. ## Default: #email_prefix = ## Example: #email_prefix = [Kallithea] -## Recipients for error e-mails and fallback recipients of application mails. +## Recipients for error emails and fallback recipients of application mails. ## Multiple addresses can be specified, space-separated. ## Only addresses are allowed, do not add any name part. ## Default: @@ -42,7 +42,7 @@ #email_to = admin@example.com #email_to = admin@example.com another_admin@example.com -## 'From' header for error e-mails. You can optionally add a name. +## 'From' header for error emails. You can optionally add a name. ## Default: #error_email_from = pylons@yourapp.com ## Examples: diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/be/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/be/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/be/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -2019,12 +2019,12 @@ msgstr "Гэты шлях хібны" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "Гэты E-mail ужо заняты" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "\"%(email)s\" не існуе." #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/cs/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/cs/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/cs/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1985,12 +1985,12 @@ msgstr "" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/de/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/de/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/de/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -2043,12 +2043,12 @@ msgstr "Dies ist ein Ungültiger Pfad" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "Diese E-Mailaddresse ist bereits in Benutzung" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "E-MailAddresse \"%(email)s\" existiert nicht." #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/fr/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/fr/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/fr/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -2042,12 +2042,12 @@ msgstr "Ceci n’est pas un chemin valide" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "Cette adresse e-mail est déjà enregistrée" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "L’adresse e-mail « %(email)s » n’existe pas." #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/hu/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/hu/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/hu/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1978,12 +1978,12 @@ msgstr "" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/ja/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/ja/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/ja/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1991,12 +1991,12 @@ msgstr "不正なパスです" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "このメールアドレスはすでに取得されています" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "メールアドレス \"%(email)s\" は存在しません" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/kallithea.pot --- a/kallithea/i18n/kallithea.pot Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/kallithea.pot Fri Aug 14 17:07:49 2015 +0200 @@ -2087,12 +2087,12 @@ msgstr "" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1981,12 +1981,12 @@ msgstr "" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/pl/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/pl/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/pl/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -2024,12 +2024,12 @@ msgstr "To nie jest prawidłowa ścieżka" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "Ten adres e-mail jest już zajęty" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "e-mail \"%(email)s\" nie istnieje." #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -2014,12 +2014,12 @@ msgstr "Esse não é um caminho válido" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "Esse endereço de e-mail já está tomado" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "o e-mail \"%(email)s\" não existe." #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/ru/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/ru/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/ru/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -2030,12 +2030,12 @@ msgstr "Этот путь ошибочен" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "Этот E-mail уже занят" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "\"%(email)s\" не существует." #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/sk/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/sk/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/sk/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1984,12 +1984,12 @@ msgstr "" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1984,12 +1984,12 @@ msgstr "不是一个合法的路径" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "该邮件地址已被使用" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "邮件地址\"%(email)s\"不存在" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po Fri Aug 14 17:07:49 2015 +0200 @@ -1975,12 +1975,12 @@ msgstr "不是一個有效的路徑" #: kallithea/model/validators.py:715 -msgid "This e-mail address is already taken" +msgid "This email address is already taken" msgstr "這個郵件位址已經使用了" #: kallithea/model/validators.py:735 #, python-format -msgid "e-mail \"%(email)s\" does not exist." +msgid "email \"%(email)s\" does not exist." msgstr "" #: kallithea/model/validators.py:772 diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/model/validators.py --- a/kallithea/model/validators.py Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/model/validators.py Fri Aug 14 17:07:49 2015 +0200 @@ -702,7 +702,7 @@ def UniqSystemEmail(old_data={}): class _validator(formencode.validators.FancyValidator): messages = { - 'email_taken': _('This e-mail address is already in use') + 'email_taken': _('This email address is already in use') } def _to_python(self, value, state): @@ -722,7 +722,7 @@ def ValidSystemEmail(): class _validator(formencode.validators.FancyValidator): messages = { - 'non_existing_email': _('E-mail address "%(email)s" not found') + 'non_existing_email': _('Email address "%(email)s" not found') } def _to_python(self, value, state): diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/tests/functional/test_admin_users.py --- a/kallithea/tests/functional/test_admin_users.py Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/tests/functional/test_admin_users.py Fri Aug 14 17:07:49 2015 +0200 @@ -568,7 +568,7 @@ response = self.app.post(url('edit_user_perms', id=user.user_id), {'_method': 'put', '_authentication_token': self.authentication_token()}, status=404) - # E-mails + # Emails def test_edit_emails_default_user(self): self.log_user() user = User.get_default_user() diff -r 5cb3a07abbf4 -r 2079e864ce51 kallithea/tests/functional/test_my_account.py --- a/kallithea/tests/functional/test_my_account.py Fri Aug 14 17:07:49 2015 +0200 +++ b/kallithea/tests/functional/test_my_account.py Fri Aug 14 17:07:49 2015 +0200 @@ -51,7 +51,7 @@ response.mustcontain('No additional emails specified') response = self.app.post(url('my_account_emails'), {'new_email': TEST_USER_REGULAR_EMAIL, '_authentication_token': self.authentication_token()}) - self.checkSessionFlash(response, 'This e-mail address is already in use') + self.checkSessionFlash(response, 'This email address is already in use') def test_my_account_my_emails_add_mising_email_in_form(self): self.log_user() @@ -161,7 +161,7 @@ _authentication_token=self.authentication_token()) ) - response.mustcontain('This e-mail address is already in use') + response.mustcontain('This email address is already in use') def test_my_account_update_err(self): self.log_user(TEST_USER_REGULAR2_LOGIN, TEST_USER_REGULAR2_PASS) diff -r 5cb3a07abbf4 -r 2079e864ce51 test.ini --- a/test.ini Fri Aug 14 17:07:49 2015 +0200 +++ b/test.ini Fri Aug 14 17:07:49 2015 +0200 @@ -15,29 +15,29 @@ pdebug = false ################################################################################ -## E-mail settings ## +## Email settings ## ## ## -## Refer to the documentation ("E-mail settings") for more details. ## +## Refer to the documentation ("Email settings") for more details. ## ## ## ## It is recommended to use a valid sender address that passes access ## ## validation and spam filtering in mail servers. ## ################################################################################ -## 'From' header for application e-mails. You can optionally add a name. +## 'From' header for application emails. You can optionally add a name. ## Default: #app_email_from = Kallithea ## Examples: #app_email_from = Kallithea #app_email_from = kallithea-noreply@example.com -## Subject prefix for application e-mails. +## Subject prefix for application emails. ## A space between this prefix and the real subject is automatically added. ## Default: #email_prefix = ## Example: #email_prefix = [Kallithea] -## Recipients for error e-mails and fallback recipients of application mails. +## Recipients for error emails and fallback recipients of application mails. ## Multiple addresses can be specified, space-separated. ## Only addresses are allowed, do not add any name part. ## Default: @@ -46,7 +46,7 @@ #email_to = admin@example.com #email_to = admin@example.com another_admin@example.com -## 'From' header for error e-mails. You can optionally add a name. +## 'From' header for error emails. You can optionally add a name. ## Default: #error_email_from = pylons@yourapp.com ## Examples: