Skip to content

Commit

Permalink
[bugfix] Remove duplicate string in strings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek776 committed Sep 15, 2016
1 parent 6615a7f commit 82a0a84
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 23 deletions.
7 changes: 7 additions & 0 deletions Changelog
Expand Up @@ -2,6 +2,13 @@
Changelog
==========

1.1.1
=====
:release-date: 2016-09-13 06:00 P.M PDT
:release-by: Abhishek Fatehpuria

- [bugfix] Remove duplicate strings in Deux strings.py

1.1.0
=====
:release-date: 2016-09-13 06:00 P.M PDT
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -5,7 +5,7 @@

|build-status| |codecov| |license| |wheel| |pyversion| |pyimp|

:Version: 1.1.0
:Version: 1.1.1
:Web: https://deux.readthedocs.org/
:Download: https://pypi.python.org/pypi/deux
:Source: https://github.com/robinhood/deux
Expand Down Expand Up @@ -40,7 +40,7 @@ or from source.
Requirements
------------

``deux`` version 1.1.0 runs on Python (2.7, 3.4, 3.5).
``deux`` version 1.1.1 runs on Python (2.7, 3.4, 3.5).

Installing with pip
-------------------
Expand Down
2 changes: 1 addition & 1 deletion deux/__init__.py
Expand Up @@ -12,7 +12,7 @@
'version_info_t', ('major', 'minor', 'micro', 'releaselevel', 'serial'),
)

VERSION = version_info = version_info_t(1, 1, 0, '', '')
VERSION = version_info = version_info_t(1, 1, 1, '', '')

__version__ = '{0.major}.{0.minor}.{0.micro}{0.releaselevel}'.format(VERSION)
__author__ = 'Robinhood Markets'
Expand Down
Binary file modified deux/locale/en-us/LC_MESSAGES/django.mo
Binary file not shown.
32 changes: 18 additions & 14 deletions deux/locale/en-us/LC_MESSAGES/django.po
@@ -1,10 +1,14 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-22 00:55+0000\n"
"POT-Creation-Date: 2016-09-14 23:59+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -13,43 +17,43 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: deux/strings.py:6
#: build/lib/deux/strings.py:7 deux/strings.py:7
msgid "Login does not take both a verification and backup code."
msgstr ""

#: deux/strings.py:7
#: build/lib/deux/strings.py:10 deux/strings.py:10
msgid "Two factor authentication is not enabled."
msgstr ""

#: deux/strings.py:8
#: build/lib/deux/strings.py:13 deux/strings.py:13
msgid "Two factor authentication is already enabled."
msgstr ""

#: deux/strings.py:9
#: build/lib/deux/strings.py:16 deux/strings.py:16
msgid "Please enter a valid backup code."
msgstr ""

#: deux/strings.py:10
#: build/lib/deux/strings.py:19 deux/strings.py:19
msgid "Unable to log in with provided credentials."
msgstr ""

#: build/lib/deux/strings.py:22 deux/strings.py:22
msgid "Please enter a valid code."
msgstr ""

#: deux/strings.py:11
#: build/lib/deux/strings.py:25 build/lib/deux/strings.py:32 deux/strings.py:25
msgid "Please enter a valid phone number."
msgstr ""

#: deux/strings.py:13
#: build/lib/deux/strings.py:29 deux/strings.py:29
msgid "MFA phone number must be set for this challenge."
msgstr ""

#: deux/strings.py:14
msgid "Please enter a valid phone number."
msgstr ""

#: deux/strings.py:15
#: build/lib/deux/strings.py:35 deux/strings.py:32
msgid "SMS failed to send."
msgstr ""

#: deux/strings.py:16
#: build/lib/deux/strings.py:38 deux/strings.py:35
#, python-brace-format
msgid "Two Factor Authentication Code: {code}"
msgstr ""
3 changes: 0 additions & 3 deletions deux/strings.py
Expand Up @@ -28,9 +28,6 @@
PHONE_NUMBER_NOT_SET_ERROR = _(
"MFA phone number must be set for this challenge.")

#: Error if the phone number provided cannot receive SMS messages.
INVALID_PHONE_NUMBER_ERROR = _("Please enter a valid phone number.")

#: Error if SMS fails to send.
SMS_SEND_ERROR = _("SMS failed to send.")

Expand Down
2 changes: 1 addition & 1 deletion docs/includes/installation.txt
Expand Up @@ -9,7 +9,7 @@ or from source.
Requirements
------------

``deux`` version 1.1.0 runs on Python (2.7, 3.4, 3.5).
``deux`` version 1.1.1 runs on Python (2.7, 3.4, 3.5).

Installing with pip
-------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/includes/introduction.txt
@@ -1,4 +1,4 @@
:Version: 1.1.0
:Version: 1.1.1
:Web: https://deux.readthedocs.org/
:Download: https://pypi.python.org/pypi/deux
:Source: https://github.com/robinhood/deux
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,7 +17,7 @@ def _pyimp():

NAME = 'deux'

E_UNSUPPORTED_PYTHON = '%s 1.1.0 requires %%s %%s or later!' % (NAME,)
E_UNSUPPORTED_PYTHON = '%s 1.1.1 requires %%s %%s or later!' % (NAME,)

PYIMP = _pyimp()
PY26_OR_LESS = sys.version_info < (2, 7)
Expand Down

0 comments on commit 82a0a84

Please sign in to comment.