Code

Opened 7 years ago

Closed 6 years ago

#4677 closed (fixed)

Project-Id-Version values in .po files are inconsistent

Reported by: Paul Bx <pb@…> Owned by: nobody
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Below are the "Project-Id-Version" lines from the .po files in trunk. I haven't provided a patch because I'm not sure what the correct value should be. But manual updates don't seem to be working, so I'd propose either a simple "Project-Id-Version: Django" or automatic update via svn:keywords.

./django/conf/locale/ar/LC_MESSAGES/django.po:"Project-Id-Version: Django SVN\n"
./django/conf/locale/ar/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django SVN\n"
./django/conf/locale/bg/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/bg/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/bn/LC_MESSAGES/django.po:"Project-Id-Version: Django CVS\n"
./django/conf/locale/ca/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/ca/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/cs/LC_MESSAGES/django.po:"Project-Id-Version: Django Czech translation\n"
./django/conf/locale/cs/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django JavaScript Czech translation\n"
./django/conf/locale/cy/LC_MESSAGES/django.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/cy/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django\n"
./django/conf/locale/da/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/de/LC_MESSAGES/django.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/de/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django JavaScript 1.0\n"
./django/conf/locale/el/LC_MESSAGES/django.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/el/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/en/LC_MESSAGES/django.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/en/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/es/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/es/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django JavaScript 1.0\n"
./django/conf/locale/es_AR/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/es_AR/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django JavaScript 1.0\n"
./django/conf/locale/fa/LC_MESSAGES/django.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/fa/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/fi/LC_MESSAGES/django.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/fi/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/fr/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/fr/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n" 
./django/conf/locale/gl/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/gl/LC_MESSAGES/djangojs.po:"Project-Id-Version: django\n"
./django/conf/locale/he/LC_MESSAGES/django.po:"Project-Id-Version: Django 0.95\n"
./django/conf/locale/he/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs 1.0\n"
./django/conf/locale/hu/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/hu/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/is/LC_MESSAGES/django.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/is/LC_MESSAGES/djangojs.po:"Project-Id-Version: Djangojs CVS\n"
./django/conf/locale/it/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/it/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/ja/LC_MESSAGES/django.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/ja/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/kn/LC_MESSAGES/django.po:"Project-Id-Version: Django-kn 0.1\n"
./django/conf/locale/kn/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django-kn 0.1\n"
./django/conf/locale/ko/LC_MESSAGES/django.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/ko/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/lv/LC_MESSAGES/django.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/lv/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/mk/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/mk/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/nl/LC_MESSAGES/django.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/nl/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/no/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/no/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/pl/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/pl/LC_MESSAGES/djangojs.po:"Project-Id-Version: 0.1\n"
./django/conf/locale/pt/LC_MESSAGES/django.po:"Project-Id-Version: Django 0.96pre\n"
./django/conf/locale/pt/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django 0.96pre\n"
./django/conf/locale/pt_BR/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/pt_BR/LC_MESSAGES/djangojs.po:"Project-Id-Version: django\n"
./django/conf/locale/ro/LC_MESSAGES/django.po:"Project-Id-Version: Django \n"
./django/conf/locale/ru/LC_MESSAGES/django.po:"Project-Id-Version: django 0.95\n"
./django/conf/locale/ru/LC_MESSAGES/djangojs.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/sk/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/sk/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django 1.0\n"
./django/conf/locale/sl/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/sl/LC_MESSAGES/djangojs.po:"Project-Id-Version: DJANGO-JS\n"
./django/conf/locale/sr/LC_MESSAGES/django.po:"Project-Id-Version: Django Serbian (latin) translation v1.0\n"
./django/conf/locale/sr/LC_MESSAGES/djangojs.po:"Project-Id-Version: django\n"
./django/conf/locale/sv/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/sv/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/ta/LC_MESSAGES/django.po:"Project-Id-Version: django-new\n"
./django/conf/locale/ta/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/te/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/te/LC_MESSAGES/djangojs.po:"Project-Id-Version: djangojs\n"
./django/conf/locale/tr/LC_MESSAGES/django.po:"Project-Id-Version: django\n"
./django/conf/locale/tr/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django 0.95\n"
./django/conf/locale/uk/LC_MESSAGES/django.po:"Project-Id-Version: PACKAGE VERSION\n"
./django/conf/locale/zh_CN/LC_MESSAGES/django.po:"Project-Id-Version: django v1.0\n"
./django/conf/locale/zh_CN/LC_MESSAGES/djangojs.po:"Project-Id-Version: Django 0.95\n"
./django/conf/locale/zh_TW/LC_MESSAGES/django.po:"Project-Id-Version: django v1.0\n"

Attachments (1)

projectidversion.diff (35.2 KB) - added by Paul Bx <pb@…> 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Good point. Not sure what the right solution is either, but will try to think of something.

Probably ignoring the version number and just putting Django in there is most pragmatic. Subversion keyword subs don't work in a natural fashion because it would really need to pull out the version from django.init each time.

I might write a script to update this anyway, since we'll need to do a bunch of uniformity checks prior to releases in future (esp. 1.0).

comment:2 Changed 7 years ago by Paul Bx <pb@…>

  • Has patch set

OK, that all makes sense.

For now here's a patch that changes the value to just "Django".

Changed 7 years ago by Paul Bx <pb@…>

comment:3 Changed 7 years ago by mtredinnick

Under discussion on the i18n list.

comment:4 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [7271]) Changed the project-id string to "Django" throughout the translation files (we
discussed this on the i18n list a while back and I only just got around to it).

Also started removing various leftover author names in comments and moving them
into the AUTHORS file. So this is purely administrative. No translation changes
here.

Fixed #4677 (thanks, Paul Bissex).

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.