[damned-lies] Updated sample_data fixture
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Updated sample_data fixture
- Date: Mon, 24 Mar 2014 19:44:35 +0000 (UTC)
commit ad33df5227044dd58ff5a277390ff475844b2cd8
Author: Claude Paroz <claude 2xlibre net>
Date: Mon Mar 24 20:44:22 2014 +0100
Updated sample_data fixture
stats/fixtures/sample_data.json | 2060 ++++++++++++++++++++-------------------
stats/tests/fixture_factory.py | 8 +-
2 files changed, 1037 insertions(+), 1031 deletions(-)
---
diff --git a/stats/fixtures/sample_data.json b/stats/fixtures/sample_data.json
index f5af077..0ee8742 100644
--- a/stats/fixtures/sample_data.json
+++ b/stats/fixtures/sample_data.json
@@ -1,1030 +1,1036 @@
[
- {
- "pk": 2,
- "model": "auth.user",
- "fields": {
- "username": "bob",
- "first_name": "Robert",
- "last_name": "Translator",
- "is_active": true,
- "is_superuser": false,
- "is_staff": false,
- "last_login": "2011-08-30 23:11:56",
- "groups": [],
- "user_permissions": [],
- "password": "!",
- "email": "bob example org",
- "date_joined": "2011-08-30 23:11:56"
- }
- },
- {
- "pk": 3,
- "model": "auth.user",
- "fields": {
- "username": "coord",
- "first_name": "John",
- "last_name": "Coordinator",
- "is_active": true,
- "is_superuser": false,
- "is_staff": false,
- "last_login": "2011-08-30 23:11:56",
- "groups": [],
- "user_permissions": [],
- "password": "!",
- "email": "coord example org",
- "date_joined": "2011-08-30 23:11:56"
- }
- },
- {
- "pk": 4,
- "model": "auth.user",
- "fields": {
- "username": "alessio",
- "first_name": "Alessio",
- "last_name": "Reviewer",
- "is_active": true,
- "is_superuser": false,
- "is_staff": false,
- "last_login": "2011-08-30 23:11:56",
- "groups": [],
- "user_permissions": [],
- "password": "!",
- "email": "alessio example org",
- "date_joined": "2011-08-30 23:11:56"
- }
- },
- {
- "pk": 4,
- "model": "people.person",
- "fields": {
- "bugzilla_account": null,
- "groups": [],
- "image": null,
- "activation_key": null,
- "irc_nick": null,
- "svn_account": null,
- "webpage_url": null,
- "user_permissions": []
- }
- },
- {
- "pk": 2,
- "model": "people.person",
- "fields": {
- "bugzilla_account": null,
- "groups": [],
- "image": null,
- "activation_key": null,
- "irc_nick": "bobby",
- "svn_account": "bob1",
- "webpage_url": null,
- "user_permissions": []
- }
- },
- {
- "pk": 3,
- "model": "people.person",
- "fields": {
- "bugzilla_account": null,
- "groups": [],
- "image": null,
- "activation_key": null,
- "irc_nick": null,
- "svn_account": "coord_fr",
- "webpage_url": null,
- "user_permissions": []
- }
- },
- {
- "pk": 1,
- "model": "teams.team",
- "fields": {
- "mailing_list_subscribe": "http://www.traduc.org/mailman/listinfo/gnomefr",
- "name": "fr",
- "webpage_url": "http://gnomefr.traduc.org/",
- "use_workflow": true,
- "presentation": "Here can come any custom description for a team",
- "mailing_list": "gnomefr traduc org",
- "description": "French"
- }
- },
- {
- "pk": 2,
- "model": "teams.team",
- "fields": {
- "mailing_list_subscribe": null,
- "name": "it",
- "webpage_url": "http://www.it.gnome.org/",
- "use_workflow": true,
- "presentation": "",
- "mailing_list": null,
- "description": "Italian"
- }
- },
- {
- "pk": 1,
- "model": "teams.role",
- "fields": {
- "is_active": true,
- "person": 2,
- "role": "translator",
- "team": 1
- }
- },
- {
- "pk": 2,
- "model": "teams.role",
- "fields": {
- "is_active": true,
- "person": 3,
- "role": "coordinator",
- "team": 1
- }
- },
- {
- "pk": 3,
- "model": "teams.role",
- "fields": {
- "is_active": true,
- "person": 4,
- "role": "reviewer",
- "team": 2
- }
- },
- {
- "pk": 4,
- "model": "languages.language",
- "fields": {
- "locale": "bem",
- "plurals": "",
- "name": "Bemba",
- "team": null
- }
- },
- {
- "pk": 1,
- "model": "languages.language",
- "fields": {
- "locale": "en",
- "plurals": "nplurals=2; plural=(n != 1)",
- "name": "en",
- "team": null
- }
- },
- {
- "pk": 2,
- "model": "languages.language",
- "fields": {
- "locale": "fr",
- "plurals": "nplurals=2; plural=(n > 1)",
- "name": "French",
- "team": 1
- }
- },
- {
- "pk": 3,
- "model": "languages.language",
- "fields": {
- "locale": "it",
- "plurals": "nplurals=2; plural=(n != 1)",
- "name": "Italian",
- "team": 2
- }
- },
- {
- "pk": 1,
- "model": "stats.module",
- "fields": {
- "comment": null,
- "vcs_web": "https://git.gnome.org/browse/gnome-hello/",
- "name": "gnome-hello",
- "vcs_root": "git://git.gnome.org/gnome-hello",
- "bugs_product": "test",
- "ext_platform": null,
- "maintainers": [],
- "bugs_component": "test",
- "bugs_base": "http://bugzilla.gnome.org",
- "vcs_type": "git",
- "homepage": null,
- "description": null
- }
- },
- {
- "pk": 3,
- "model": "stats.module",
- "fields": {
- "comment": "This is not a GNOME-specific module. Please submit your translation through the <a
href=\"http://www.transifex.net/projects/p/shared-mime-info/c/default/\">Transifex platform</a>.",
- "vcs_web": "http://cgit.freedesktop.org/xdg/shared-mime-info/",
- "name": "shared-mime-info",
- "vcs_root": "git://anongit.freedesktop.org/xdg/shared-mime-info",
- "bugs_product": "shared-mime-info",
- "ext_platform": null,
- "maintainers": [],
- "bugs_component": "general",
- "bugs_base": "https://bugs.freedesktop.org/",
- "vcs_type": "git",
- "homepage": null,
- "description": "Shared MIME Info"
- }
- },
- {
- "pk": 2,
- "model": "stats.module",
- "fields": {
- "comment": null,
- "vcs_web": "https://git.gnome.org/browse/zenity/",
- "name": "zenity",
- "vcs_root": "git://git.gnome.org/zenity",
- "bugs_product": "zenity",
- "ext_platform": null,
- "maintainers": [],
- "bugs_component": "general",
- "bugs_base": "http://bugzilla.gnome.org",
- "vcs_type": "git",
- "homepage": null,
- "description": null
- }
- },
- {
- "pk": 2,
- "model": "stats.branch",
- "fields": {
- "vcs_subpath": null,
- "file_hashes": "",
- "weight": 0,
- "name": "gnome-2-30",
- "module": 2
- }
- },
- {
- "pk": 1,
- "model": "stats.branch",
- "fields": {
- "vcs_subpath": null,
- "file_hashes": "",
- "weight": 0,
- "name": "master",
- "module": 1
- }
- },
- {
- "pk": 3,
- "model": "stats.branch",
- "fields": {
- "vcs_subpath": null,
- "file_hashes": "",
- "weight": 0,
- "name": "master",
- "module": 2
- }
- },
- {
- "pk": 4,
- "model": "stats.branch",
- "fields": {
- "vcs_subpath": null,
- "file_hashes": "",
- "weight": 0,
- "name": "master",
- "module": 3
- }
- },
- {
- "pk": 1,
- "model": "stats.domain",
- "fields": {
- "name": "po",
- "dtype": "ui",
- "pot_method": null,
- "module": 1,
- "linguas_location": null,
- "red_filter": null,
- "directory": "po",
- "description": "UI Translations"
- }
- },
- {
- "pk": 3,
- "model": "stats.domain",
- "fields": {
- "name": "po",
- "dtype": "ui",
- "pot_method": null,
- "module": 2,
- "linguas_location": null,
- "red_filter": null,
- "directory": "po",
- "description": "UI Translations"
- }
- },
- {
- "pk": 5,
- "model": "stats.domain",
- "fields": {
- "name": "po",
- "dtype": "ui",
- "pot_method": null,
- "module": 3,
- "linguas_location": null,
- "red_filter": null,
- "directory": "po",
- "description": "UI Translations"
- }
- },
- {
- "pk": 2,
- "model": "stats.domain",
- "fields": {
- "name": "help",
- "dtype": "doc",
- "pot_method": null,
- "module": 1,
- "linguas_location": null,
- "red_filter": null,
- "directory": "help",
- "description": "User Guide"
- }
- },
- {
- "pk": 4,
- "model": "stats.domain",
- "fields": {
- "name": "help",
- "dtype": "doc",
- "pot_method": null,
- "module": 2,
- "linguas_location": null,
- "red_filter": null,
- "directory": "help",
- "description": "User Guide"
- }
- },
- {
- "pk": 6,
- "model": "stats.domain",
- "fields": {
- "name": "help",
- "dtype": "doc",
- "pot_method": null,
- "module": 3,
- "linguas_location": null,
- "red_filter": null,
- "directory": "help",
- "description": "User Guide"
- }
- },
- {
- "pk": 2,
- "model": "stats.release",
- "fields": {
- "status": "official",
- "string_frozen": false,
- "name": "gnome-dev",
- "weight": 0,
- "description": "GNOME in Development"
- }
- },
- {
- "pk": 1,
- "model": "stats.release",
- "fields": {
- "status": "official",
- "string_frozen": true,
- "name": "gnome-2-30",
- "weight": 0,
- "description": "GNOME 2.30 (stable)"
- }
- },
- {
- "pk": 3,
- "model": "stats.release",
- "fields": {
- "status": "xternal",
- "string_frozen": false,
- "name": "freedesktop-org",
- "weight": 0,
- "description": "freedesktop.org (non-GNOME)"
- }
- },
- {
- "pk": 1,
- "model": "stats.category",
- "fields": {
- "release": 1,
- "name": "desktop",
- "branch": 1
- }
- },
- {
- "pk": 2,
- "model": "stats.category",
- "fields": {
- "release": 2,
- "name": "desktop",
- "branch": 1
- }
- },
- {
- "pk": 3,
- "model": "stats.category",
- "fields": {
- "release": 1,
- "name": "desktop",
- "branch": 2
- }
- },
- {
- "pk": 4,
- "model": "stats.category",
- "fields": {
- "release": 3,
- "name": "desktop",
- "branch": 4
- }
- },
- {
- "pk": 1,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 47,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 2,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 47,
- "path": null
- }
- },
- {
- "pk": 3,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 7,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 10,
- "translated": 30,
- "path": null
- }
- },
- {
- "pk": 4,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 20,
- "translated_words": 0,
- "figures": "[{\"path\": \"figures/gnome-hello-new.png\", \"hash\": \"8a1fcc6f46a22a1f500cfef9ca51b481\"},
{\"path\": \"figures/gnome-hello-logo.png\", \"hash\": \"1ae47b7a7c4fbeb1f6bb72c0cf18d389\"}]",
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 5,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": "[{\"translated\": false, \"path\": \"figures/gnome-hello-new.png\", \"hash\":
\"8a1fcc6f46a22a1f500cfef9ca51b481\", \"fuzzy\": true}, {\"translated\": false, \"path\":
\"figures/gnome-hello-logo.png\", \"hash\": \"1ae47b7a7c4fbeb1f6bb72c0cf18d389\", \"fuzzy\": false}]",
- "fuzzy": 0,
- "translated": 20,
- "path": null
- }
- },
- {
- "pk": 6,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 20,
- "path": null
- }
- },
- {
- "pk": 7,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 136,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 8,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 128,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 9,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 136,
- "path": null
- }
- },
- {
- "pk": 10,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 6,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 130,
- "path": null
- }
- },
- {
- "pk": 11,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 28,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 100,
- "path": null
- }
- },
- {
- "pk": 12,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 259,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 13,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 259,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 14,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 259,
- "path": null
- }
- },
- {
- "pk": 15,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 149,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 16,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 4,
- "translated": 255,
- "path": null
- }
- },
- {
- "pk": 17,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 259,
- "path": null
- }
- },
- {
- "pk": 18,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 259,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 19,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 259,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 20,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 259,
- "path": null
- }
- },
- {
- "pk": 21,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 626,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 0,
- "translated": 0,
- "path": null
- }
- },
- {
- "pk": 22,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 2,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 20,
- "translated": 598,
- "path": null
- }
- },
- {
- "pk": 23,
- "model": "stats.pofile",
- "fields": {
- "updated": "2011-08-30 23:11:56",
- "untranslated_words": 0,
- "fuzzy_words": 0,
- "untranslated": 0,
- "translated_words": 0,
- "figures": null,
- "fuzzy": 6,
- "translated": 620,
- "path": null
- }
- },
- {
- "pk": 1,
- "model": "stats.statistics",
- "fields": {
- "domain": 1,
- "full_po": 1,
- "language": null,
- "part_po": 1,
- "branch": 1
- }
- },
- {
- "pk": 2,
- "model": "stats.statistics",
- "fields": {
- "domain": 1,
- "full_po": 2,
- "language": 2,
- "part_po": 2,
- "branch": 1
- }
- },
- {
- "pk": 3,
- "model": "stats.statistics",
- "fields": {
- "domain": 1,
- "full_po": 3,
- "language": 3,
- "part_po": 3,
- "branch": 1
- }
- },
- {
- "pk": 4,
- "model": "stats.statistics",
- "fields": {
- "domain": 2,
- "full_po": 4,
- "language": null,
- "part_po": 4,
- "branch": 1
- }
- },
- {
- "pk": 5,
- "model": "stats.statistics",
- "fields": {
- "domain": 2,
- "full_po": 5,
- "language": 2,
- "part_po": 5,
- "branch": 1
- }
- },
- {
- "pk": 6,
- "model": "stats.statistics",
- "fields": {
- "domain": 2,
- "full_po": 6,
- "language": 3,
- "part_po": 6,
- "branch": 1
- }
- },
- {
- "pk": 7,
- "model": "stats.statistics",
- "fields": {
- "domain": 3,
- "full_po": 7,
- "language": null,
- "part_po": 8,
- "branch": 2
- }
- },
- {
- "pk": 8,
- "model": "stats.statistics",
- "fields": {
- "domain": 3,
- "full_po": 9,
- "language": 2,
- "part_po": 9,
- "branch": 2
- }
- },
- {
- "pk": 9,
- "model": "stats.statistics",
- "fields": {
- "domain": 3,
- "full_po": 10,
- "language": 3,
- "part_po": 11,
- "branch": 2
- }
- },
- {
- "pk": 10,
- "model": "stats.statistics",
- "fields": {
- "domain": 4,
- "full_po": 12,
- "language": null,
- "part_po": 12,
- "branch": 2
- }
- },
- {
- "pk": 11,
- "model": "stats.statistics",
- "fields": {
- "domain": 4,
- "full_po": 13,
- "language": 2,
- "part_po": 13,
- "branch": 2
- }
- },
- {
- "pk": 12,
- "model": "stats.statistics",
- "fields": {
- "domain": 4,
- "full_po": 14,
- "language": 3,
- "part_po": 14,
- "branch": 2
- }
- },
- {
- "pk": 13,
- "model": "stats.statistics",
- "fields": {
- "domain": 3,
- "full_po": 15,
- "language": null,
- "part_po": 15,
- "branch": 3
- }
- },
- {
- "pk": 14,
- "model": "stats.statistics",
- "fields": {
- "domain": 3,
- "full_po": 16,
- "language": 2,
- "part_po": 16,
- "branch": 3
- }
- },
- {
- "pk": 15,
- "model": "stats.statistics",
- "fields": {
- "domain": 3,
- "full_po": 17,
- "language": 3,
- "part_po": 17,
- "branch": 3
- }
- },
- {
- "pk": 16,
- "model": "stats.statistics",
- "fields": {
- "domain": 4,
- "full_po": 18,
- "language": null,
- "part_po": 18,
- "branch": 3
- }
- },
- {
- "pk": 17,
- "model": "stats.statistics",
- "fields": {
- "domain": 4,
- "full_po": 19,
- "language": 2,
- "part_po": 19,
- "branch": 3
- }
- },
- {
- "pk": 18,
- "model": "stats.statistics",
- "fields": {
- "domain": 4,
- "full_po": 20,
- "language": 3,
- "part_po": 20,
- "branch": 3
- }
- },
- {
- "pk": 19,
- "model": "stats.statistics",
- "fields": {
- "domain": 5,
- "full_po": 21,
- "language": null,
- "part_po": 21,
- "branch": 4
- }
- },
- {
- "pk": 20,
- "model": "stats.statistics",
- "fields": {
- "domain": 5,
- "full_po": 22,
- "language": 2,
- "part_po": 22,
- "branch": 4
- }
- },
- {
- "pk": 21,
- "model": "stats.statistics",
- "fields": {
- "domain": 5,
- "full_po": 23,
- "language": 3,
- "part_po": 23,
- "branch": 4
- }
- },
- {
- "pk": 1,
- "model": "stats.information",
- "fields": {
- "statistics": 13,
- "type": "error",
- "description": "Error regenerating POT file for zenity:\n<pre>intltool-update -g 'zenity' -p\nERROR:
xgettext failed to generate PO template file.</pre>"
- }
+{
+ "pk": 2,
+ "model": "auth.user",
+ "fields": {
+ "username": "bob",
+ "first_name": "Robert",
+ "last_name": "Translator",
+ "is_active": true,
+ "is_superuser": false,
+ "is_staff": false,
+ "last_login": "2014-03-24T20:43:36",
+ "groups": [],
+ "user_permissions": [],
+ "password": "!bJL49Mx8IdmI30Ab8mxs5sI6HW7QXsSH8U3rpeNe",
+ "email": "bob example org",
+ "date_joined": "2014-03-24T20:43:36"
}
+},
+{
+ "pk": 3,
+ "model": "auth.user",
+ "fields": {
+ "username": "coord",
+ "first_name": "John",
+ "last_name": "Coordinator",
+ "is_active": true,
+ "is_superuser": false,
+ "is_staff": false,
+ "last_login": "2014-03-24T20:43:36",
+ "groups": [],
+ "user_permissions": [],
+ "password": "!AQEpoUpRgzQnX1Q0T3LhBJUpcJaB0BYTdzV16W6r",
+ "email": "coord example org",
+ "date_joined": "2014-03-24T20:43:36"
+ }
+},
+{
+ "pk": 4,
+ "model": "auth.user",
+ "fields": {
+ "username": "alessio",
+ "first_name": "Alessio",
+ "last_name": "Reviewer",
+ "is_active": true,
+ "is_superuser": false,
+ "is_staff": false,
+ "last_login": "2014-03-24T20:43:36",
+ "groups": [],
+ "user_permissions": [],
+ "password": "!O97A8mbIQr1a9cKPmXbN48vSH2G9agzfWkZFou8n",
+ "email": "alessio example org",
+ "date_joined": "2014-03-24T20:43:36"
+ }
+},
+{
+ "pk": 2,
+ "model": "people.person",
+ "fields": {
+ "bugzilla_account": null,
+ "groups": [],
+ "image": null,
+ "activation_key": null,
+ "irc_nick": "bobby",
+ "svn_account": "bob1",
+ "webpage_url": null,
+ "user_permissions": [],
+ "use_gravatar": false
+ }
+},
+{
+ "pk": 3,
+ "model": "people.person",
+ "fields": {
+ "bugzilla_account": null,
+ "groups": [],
+ "image": null,
+ "activation_key": null,
+ "irc_nick": null,
+ "svn_account": "coord_fr",
+ "webpage_url": null,
+ "user_permissions": [],
+ "use_gravatar": false
+ }
+},
+{
+ "pk": 4,
+ "model": "people.person",
+ "fields": {
+ "bugzilla_account": null,
+ "groups": [],
+ "image": null,
+ "activation_key": null,
+ "irc_nick": null,
+ "svn_account": null,
+ "webpage_url": null,
+ "user_permissions": [],
+ "use_gravatar": false
+ }
+},
+{
+ "pk": 1,
+ "model": "teams.team",
+ "fields": {
+ "mailing_list_subscribe": "http://www.traduc.org/mailman/listinfo/gnomefr",
+ "name": "fr",
+ "webpage_url": "http://gnomefr.traduc.org/",
+ "use_workflow": true,
+ "presentation": "Here can come any custom description for a team",
+ "mailing_list": "gnomefr traduc org",
+ "description": "French"
+ }
+},
+{
+ "pk": 2,
+ "model": "teams.team",
+ "fields": {
+ "mailing_list_subscribe": null,
+ "name": "it",
+ "webpage_url": "http://www.it.gnome.org/",
+ "use_workflow": true,
+ "presentation": "",
+ "mailing_list": null,
+ "description": "Italian"
+ }
+},
+{
+ "pk": 1,
+ "model": "teams.role",
+ "fields": {
+ "is_active": true,
+ "person": 2,
+ "role": "translator",
+ "team": 1
+ }
+},
+{
+ "pk": 2,
+ "model": "teams.role",
+ "fields": {
+ "is_active": true,
+ "person": 3,
+ "role": "coordinator",
+ "team": 1
+ }
+},
+{
+ "pk": 3,
+ "model": "teams.role",
+ "fields": {
+ "is_active": true,
+ "person": 4,
+ "role": "reviewer",
+ "team": 2
+ }
+},
+{
+ "pk": 1,
+ "model": "languages.language",
+ "fields": {
+ "locale": "en",
+ "plurals": "nplurals=2; plural=(n != 1)",
+ "name": "en",
+ "team": null
+ }
+},
+{
+ "pk": 2,
+ "model": "languages.language",
+ "fields": {
+ "locale": "fr",
+ "plurals": "nplurals=2; plural=(n > 1)",
+ "name": "French",
+ "team": 1
+ }
+},
+{
+ "pk": 3,
+ "model": "languages.language",
+ "fields": {
+ "locale": "it",
+ "plurals": "nplurals=2; plural=(n != 1)",
+ "name": "Italian",
+ "team": 2
+ }
+},
+{
+ "pk": 4,
+ "model": "languages.language",
+ "fields": {
+ "locale": "bem",
+ "plurals": "",
+ "name": "Bemba",
+ "team": null
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.module",
+ "fields": {
+ "comment": null,
+ "archived": false,
+ "vcs_web": "https://git.gnome.org/browse/gnome-hello/",
+ "name": "gnome-hello",
+ "vcs_root": "git://git.gnome.org/gnome-hello",
+ "bugs_product": "test",
+ "ext_platform": null,
+ "maintainers": [],
+ "bugs_component": "test",
+ "bugs_base": "https://bugzilla.gnome.org",
+ "vcs_type": "git",
+ "homepage": null,
+ "description": null
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.module",
+ "fields": {
+ "comment": null,
+ "archived": false,
+ "vcs_web": "https://git.gnome.org/browse/zenity/",
+ "name": "zenity",
+ "vcs_root": "git://git.gnome.org/zenity",
+ "bugs_product": "zenity",
+ "ext_platform": null,
+ "maintainers": [],
+ "bugs_component": "general",
+ "bugs_base": "https://bugzilla.gnome.org",
+ "vcs_type": "git",
+ "homepage": null,
+ "description": null
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.module",
+ "fields": {
+ "comment": "This is not a GNOME-specific module. Please submit your translation through the <a
href=\"http://www.transifex.com/projects/p/shared-mime-info/c/default/\">Transifex platform</a>.",
+ "archived": false,
+ "vcs_web": "http://cgit.freedesktop.org/xdg/shared-mime-info/",
+ "name": "shared-mime-info",
+ "vcs_root": "git://anongit.freedesktop.org/xdg/shared-mime-info",
+ "bugs_product": "shared-mime-info",
+ "ext_platform": null,
+ "maintainers": [],
+ "bugs_component": "general",
+ "bugs_base": "https://bugs.freedesktop.org/",
+ "vcs_type": "git",
+ "homepage": null,
+ "description": "Shared MIME Info"
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.branch",
+ "fields": {
+ "vcs_subpath": null,
+ "file_hashes": "",
+ "weight": 0,
+ "name": "master",
+ "module": 1
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.branch",
+ "fields": {
+ "vcs_subpath": null,
+ "file_hashes": "",
+ "weight": 0,
+ "name": "gnome-3-8",
+ "module": 2
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.branch",
+ "fields": {
+ "vcs_subpath": null,
+ "file_hashes": "",
+ "weight": 0,
+ "name": "master",
+ "module": 2
+ }
+},
+{
+ "pk": 4,
+ "model": "stats.branch",
+ "fields": {
+ "vcs_subpath": null,
+ "file_hashes": "",
+ "weight": 0,
+ "name": "master",
+ "module": 3
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.domain",
+ "fields": {
+ "name": "po",
+ "dtype": "ui",
+ "pot_method": null,
+ "module": 1,
+ "linguas_location": null,
+ "red_filter": null,
+ "directory": "po",
+ "description": "UI Translations"
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.domain",
+ "fields": {
+ "name": "help",
+ "dtype": "doc",
+ "pot_method": null,
+ "module": 1,
+ "linguas_location": null,
+ "red_filter": null,
+ "directory": "help",
+ "description": "User Guide"
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.domain",
+ "fields": {
+ "name": "po",
+ "dtype": "ui",
+ "pot_method": null,
+ "module": 2,
+ "linguas_location": null,
+ "red_filter": null,
+ "directory": "po",
+ "description": "UI Translations"
+ }
+},
+{
+ "pk": 4,
+ "model": "stats.domain",
+ "fields": {
+ "name": "help",
+ "dtype": "doc",
+ "pot_method": null,
+ "module": 2,
+ "linguas_location": null,
+ "red_filter": null,
+ "directory": "help",
+ "description": "User Guide"
+ }
+},
+{
+ "pk": 5,
+ "model": "stats.domain",
+ "fields": {
+ "name": "po",
+ "dtype": "ui",
+ "pot_method": null,
+ "module": 3,
+ "linguas_location": null,
+ "red_filter": null,
+ "directory": "po",
+ "description": "UI Translations"
+ }
+},
+{
+ "pk": 6,
+ "model": "stats.domain",
+ "fields": {
+ "name": "help",
+ "dtype": "doc",
+ "pot_method": null,
+ "module": 3,
+ "linguas_location": null,
+ "red_filter": null,
+ "directory": "help",
+ "description": "User Guide"
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.release",
+ "fields": {
+ "status": "official",
+ "string_frozen": true,
+ "name": "gnome-3-8",
+ "weight": 0,
+ "description": "GNOME 3.8 (stable)"
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.release",
+ "fields": {
+ "status": "official",
+ "string_frozen": false,
+ "name": "gnome-dev",
+ "weight": 0,
+ "description": "GNOME in Development"
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.release",
+ "fields": {
+ "status": "xternal",
+ "string_frozen": false,
+ "name": "freedesktop-org",
+ "weight": 0,
+ "description": "freedesktop.org (non-GNOME)"
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.category",
+ "fields": {
+ "release": 1,
+ "name": "desktop",
+ "branch": 1
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.category",
+ "fields": {
+ "release": 2,
+ "name": "desktop",
+ "branch": 1
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.category",
+ "fields": {
+ "release": 1,
+ "name": "desktop",
+ "branch": 2
+ }
+},
+{
+ "pk": 4,
+ "model": "stats.category",
+ "fields": {
+ "release": 3,
+ "name": "desktop",
+ "branch": 4
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 47,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 47,
+ "path": null
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 7,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 10,
+ "translated": 30,
+ "path": null
+ }
+},
+{
+ "pk": 4,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 20,
+ "translated_words": 0,
+ "figures": "[{\"path\": \"figures/gnome-hello-new.png\", \"hash\": \"8a1fcc6f46a22a1f500cfef9ca51b481\"},
{\"path\": \"figures/gnome-hello-logo.png\", \"hash\": \"1ae47b7a7c4fbeb1f6bb72c0cf18d389\"}]",
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 5,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": "[{\"translated\": false, \"path\": \"figures/gnome-hello-new.png\", \"hash\":
\"8a1fcc6f46a22a1f500cfef9ca51b481\", \"fuzzy\": true}, {\"translated\": false, \"path\":
\"figures/gnome-hello-logo.png\", \"hash\": \"1ae47b7a7c4fbeb1f6bb72c0cf18d389\", \"fuzzy\": false}]",
+ "fuzzy": 0,
+ "translated": 20,
+ "path": null
+ }
+},
+{
+ "pk": 6,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 20,
+ "path": null
+ }
+},
+{
+ "pk": 7,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 136,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 8,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 128,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 9,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 136,
+ "path": null
+ }
+},
+{
+ "pk": 10,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 6,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 130,
+ "path": null
+ }
+},
+{
+ "pk": 11,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 28,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 100,
+ "path": null
+ }
+},
+{
+ "pk": 12,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 259,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 13,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 259,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 14,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 259,
+ "path": null
+ }
+},
+{
+ "pk": 15,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 149,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 16,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 4,
+ "translated": 255,
+ "path": null
+ }
+},
+{
+ "pk": 17,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 259,
+ "path": null
+ }
+},
+{
+ "pk": 18,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 259,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 19,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 259,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 20,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 259,
+ "path": null
+ }
+},
+{
+ "pk": 21,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 626,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 0,
+ "translated": 0,
+ "path": null
+ }
+},
+{
+ "pk": 22,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 2,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 20,
+ "translated": 598,
+ "path": null
+ }
+},
+{
+ "pk": 23,
+ "model": "stats.pofile",
+ "fields": {
+ "updated": "2014-03-24T20:43:36",
+ "untranslated_words": 0,
+ "fuzzy_words": 0,
+ "untranslated": 0,
+ "translated_words": 0,
+ "figures": null,
+ "fuzzy": 6,
+ "translated": 620,
+ "path": null
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 1,
+ "domain": 1,
+ "part_po": 1,
+ "language": null,
+ "branch": 1
+ }
+},
+{
+ "pk": 2,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 2,
+ "domain": 1,
+ "part_po": 2,
+ "language": 2,
+ "branch": 1
+ }
+},
+{
+ "pk": 3,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 3,
+ "domain": 1,
+ "part_po": 3,
+ "language": 3,
+ "branch": 1
+ }
+},
+{
+ "pk": 4,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 4,
+ "domain": 2,
+ "part_po": 4,
+ "language": null,
+ "branch": 1
+ }
+},
+{
+ "pk": 5,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 5,
+ "domain": 2,
+ "part_po": 5,
+ "language": 2,
+ "branch": 1
+ }
+},
+{
+ "pk": 6,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 6,
+ "domain": 2,
+ "part_po": 6,
+ "language": 3,
+ "branch": 1
+ }
+},
+{
+ "pk": 7,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 7,
+ "domain": 3,
+ "part_po": 8,
+ "language": null,
+ "branch": 2
+ }
+},
+{
+ "pk": 8,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 9,
+ "domain": 3,
+ "part_po": 9,
+ "language": 2,
+ "branch": 2
+ }
+},
+{
+ "pk": 9,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 10,
+ "domain": 3,
+ "part_po": 11,
+ "language": 3,
+ "branch": 2
+ }
+},
+{
+ "pk": 10,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 12,
+ "domain": 4,
+ "part_po": 12,
+ "language": null,
+ "branch": 2
+ }
+},
+{
+ "pk": 11,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 13,
+ "domain": 4,
+ "part_po": 13,
+ "language": 2,
+ "branch": 2
+ }
+},
+{
+ "pk": 12,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 14,
+ "domain": 4,
+ "part_po": 14,
+ "language": 3,
+ "branch": 2
+ }
+},
+{
+ "pk": 13,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 15,
+ "domain": 3,
+ "part_po": 15,
+ "language": null,
+ "branch": 3
+ }
+},
+{
+ "pk": 14,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 16,
+ "domain": 3,
+ "part_po": 16,
+ "language": 2,
+ "branch": 3
+ }
+},
+{
+ "pk": 15,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 17,
+ "domain": 3,
+ "part_po": 17,
+ "language": 3,
+ "branch": 3
+ }
+},
+{
+ "pk": 16,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 18,
+ "domain": 4,
+ "part_po": 18,
+ "language": null,
+ "branch": 3
+ }
+},
+{
+ "pk": 17,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 19,
+ "domain": 4,
+ "part_po": 19,
+ "language": 2,
+ "branch": 3
+ }
+},
+{
+ "pk": 18,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 20,
+ "domain": 4,
+ "part_po": 20,
+ "language": 3,
+ "branch": 3
+ }
+},
+{
+ "pk": 19,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 21,
+ "domain": 5,
+ "part_po": 21,
+ "language": null,
+ "branch": 4
+ }
+},
+{
+ "pk": 20,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 22,
+ "domain": 5,
+ "part_po": 22,
+ "language": 2,
+ "branch": 4
+ }
+},
+{
+ "pk": 21,
+ "model": "stats.statistics",
+ "fields": {
+ "full_po": 23,
+ "domain": 5,
+ "part_po": 23,
+ "language": 3,
+ "branch": 4
+ }
+},
+{
+ "pk": 1,
+ "model": "stats.information",
+ "fields": {
+ "statistics": 13,
+ "type": "error",
+ "description": "Error regenerating POT file for zenity:\n<pre>intltool-update -g 'zenity' -p\nERROR:
xgettext failed to generate PO template file.</pre>"
+ }
+}
]
diff --git a/stats/tests/fixture_factory.py b/stats/tests/fixture_factory.py
index f9b6598..e3b7b58 100644
--- a/stats/tests/fixture_factory.py
+++ b/stats/tests/fixture_factory.py
@@ -84,7 +84,7 @@ class FixtureFactory(TestCase):
Branch.checkout_on_creation = False
b1 = Branch(name='master', module=gnome_hello)
b1.save(update_statistics=False)
- b2 = Branch(name='gnome-2-30', module=zenity)
+ b2 = Branch(name='gnome-3-8', module=zenity)
b2.save(update_statistics=False)
b3 = Branch(name='master', module=zenity)
b3.save(update_statistics=False)
@@ -92,8 +92,8 @@ class FixtureFactory(TestCase):
b4.save(update_statistics=False)
# Creating models: Releases/Categories
- rel1 = Release.objects.create(name='gnome-2-30', status='official',
- description='GNOME 2.30 (stable)',
+ rel1 = Release.objects.create(name='gnome-3-8', status='official',
+ description='GNOME 3.8 (stable)',
string_frozen=True)
rel2 = Release.objects.create(name='gnome-dev', status='official',
description='GNOME in Development',
@@ -123,7 +123,7 @@ class FixtureFactory(TestCase):
Statistics.objects.create(branch=b1, domain=dom['gnome-hello-doc'], language=l_fr, full_po=pofile,
part_po=pofile)
pofile = PoFile.objects.create(translated=20)
Statistics.objects.create(branch=b1, domain=dom['gnome-hello-doc'], language=l_it, full_po=pofile,
part_po=pofile)
- # zenity ui 2.30, zenity doc 2.30, zenity ui master, zenity doc master (POT, fr, it)
+ # zenity ui 3.8, zenity doc 3.8, zenity ui master, zenity doc master (POT, fr, it)
pofile = PoFile.objects.create(untranslated=136)
part_pofile = PoFile.objects.create(untranslated=128)
Statistics.objects.create(branch=b2, domain=dom['zenity-ui'], language=None, full_po=pofile,
part_po=part_pofile)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]