SHA256
1
0
forked from pool/i18nspector

update to 0.11.1

OBS-URL: https://build.opensuse.org/package/show/M17N/i18nspector?expand=0&rev=9
This commit is contained in:
Kyrill Detinov 2013-06-27 05:44:20 +00:00 committed by Git OBS Bridge
parent 1f902f9c05
commit 1d67e68695
6 changed files with 68 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25caf65d29c7ab02e51d45b168c4775ce05e8f2f33f619ad69c3a51f7ed463a3
size 75573

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCAAGBQJRvIxMAAoJEC1Os6YBVHX1MqQQAJrSzX/F02JxV1npmBxjxikK
AMwbxhREVsK1FGULOpjC386ukZvvBEwOaagEUx4e4qrBHCwzbBYk5p6jXYBDu5/1
104znQd/BVk+c3O+iJM6va/uYjhEMJZfSvGeFhS1WjG/8OC+npHU5bhtLsVDvztE
KeXxa21qFaIxzKTxhItxwZjhGzPFXjLEERDodALhL8hCdN+o7uym+fd5v++/iPra
iizrKIfcPqkKw5JN7q0T4Gh0a3Ee++kWgQqmWzI2/KeTLQPXg1o2BRMBX2eg6Raz
5v5Yfjc6CuW43c9tMy00dhafF3s/yGXIisrNz4TzgxU+N46dtavxNEbiYmjCtzfC
7HDWLF+HxdAlOsToFGL58J2r0I5Od88oSrqMn3bGOO6e+aTIBg7hL0kuO2e0EAZr
8hqdTVSK3DOPg8jHzGwXX0OfDpWIwsj2rY/+dCx+QkRIzsJ7hKNsq0BoYnioxrNF
7tmQ3jH5rf72H6p0NW40cM74GQxYzDFdzBFwsgNyTTw1Ajh6fN6buDV9CINbre4F
dSpWlenLRCtBso5gwCUWwAvZXXXx96IuawWuqx6uD88kKBarA1HDN8JJ+++e4XEY
y6Fl9y/nIlkWhNZhmT6cfcGqHPK9t+hHiswOl7bVNp5lU9MieLcyS7WWPSsC8UT7
8op/I8+y8iz/BSnfRnYN
=9rdo
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80a3e27522d48b067925dda12fd075c2eb45582ddf6fe1f9c2b0167470f518ba
size 80511

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCAAGBQJRyJHDAAoJEC1Os6YBVHX1i/EQAK970O9Mq3vXNUu2aBRCQtjn
pBs5E78rgzz2RsVs/b86XFSaxY4pkAT6eLTlTIEkcwdFL5IYNH4Ms/HNUC8Eh3P8
SgRnStlbYFhvVzoB9VyibITGvUBmAzS9+J9RepWfhcOy7w3R5m5eNpMN1SNKe15S
qKXbYLfUdfLejArkMCV0pr3ZVP6YQUTQlalgOtnAVBFChWHA0EvUzDmPryAGDbXO
BgNtVwJE/NexNsCQWmtfv+KHcO5bGZu8VZdHJmC1S/UrhUC1PKYMYL1Rq+Lwm0Dl
g7VRJszzfjex/80WdYPYe4BDnH9qKeuAWp34y4DzYk+4HHPbQCw1hEC9SBKmRQgl
n9p3dP2QXAuwBwaBQeaC4Tvsy04JSlXVSfOkC/Cd9znC98kW0YG0Z7znxZQYVzoT
6DvmNY97XHWsASwKYCwuIbs98gR11XPkwPEM1ernbiYHtZGFRP10TzoO/KES9Fhp
kYi+5uS1/3wHOLAfubp5kFbhIeanve9bwgl/+xhSmUOKleMcenfKy8tb1Y2c1i45
epyYvFWfZxXeCKEQeJXbWxUW1WOtzOX+w8eMU2Ok6R3PC3F8wMfOGFODlXd9DggW
7+llTucvxz4nFk1LnyHHrsOiBMKi5vh5487qo6qBI5sKM6FiAvBO9NxItZVa0xVt
1ghDOyk1+5zS+w6aKxLv
=zaPb
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Jun 24 19:28:08 UTC 2013 - lazy.kent@opensuse.org
- Update to 0.11.1.
* Fix the MO file parser:
+ Detect encoding by inspecting only the first message with
empty msgid.
+ Fix compatibility with Python 3.3.
* Use the custom MO file encoding detection method rather than
the provided by polib.
- Changes in 0.11.
* Summary of tag changes:
+ Added:
- distant-header-entry
- duplicate-flag-for-header-entry
- duplicate-header-entry
- duplicate-header-field-x-poedit
- empty-msgid-message-with-plural-forms
- empty-msgid-message-with-source-code-references
- unexpected-flag-for-header-entry
- unusual-character-in-header-entry
* Fix letter codes for tags with severity important.
* Reduce severity of arithmetic-error-in-unused-plural-forms,
codomain-error-in-unused-plural-forms, and
incorrect-unused-plural-forms to normal.
* Implement custom header parser for PO files, and custom MO file
parser.
* Check for duplicate header entries.
* Check for unusually located header entries.
* Overhaul handling of duplicates and stray lines in the header
entry.
+ Emit duplicate-header-field-x-poedit (instead of the generic
duplicate-header-field) for duplicate X-Poedit-Language and
X-Poedit-Country headers fields.
* Work around a flag parsing bug in polib.
* Check for duplicate and unexpected flags for header entries.
* Check for unusual characters in header entries.
* Check for messages with empty msgid (header entries?) with
source code references or plural forms.
* Fix some false-positive language-disparity when PO basename
does not designate translation language.
* Fix the no-report-msgid-bugs-to-header-field description.
* Fix a few typos in the tag descriptions.
* Improve the test suite.
+ Add new tests.
+ Use a dedicated nose plugin for blackbox tests.
-------------------------------------------------------------------
Sat Jun 15 20:23:08 UTC 2013 - lazy.kent@opensuse.org

View File

@ -17,7 +17,7 @@
Name: i18nspector
Version: 0.10
Version: 0.11.1
Release: 0
Summary: Tool for Checking gettext POT/PO/MO Files
License: MIT
@ -27,9 +27,6 @@ Source0: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{vers
Source1: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: python3-devel
%if 0%{?suse_version} >= 1230
BuildRequires: gpg-offline
%endif
# Requires for tests.
BuildRequires: python3-curses
BuildRequires: python3-nose
@ -51,9 +48,6 @@ Checks include: incorrect or inconsistent character encoding, missing
headers, incorrect language codes and improper plural forms.
%prep
%if 0%{?gpg_verify:1}
%gpg_verify %{SOURCE1}
%endif
%setup -q
%build