Merge lp:~jcsackett/launchpad/blueprints-in-ui-not-specification-2 into lp:launchpad

Proposed by j.c.sackett
Status: Merged
Approved by: j.c.sackett
Approved revision: no longer in the source branch.
Merged at revision: 16315
Proposed branch: lp:~jcsackett/launchpad/blueprints-in-ui-not-specification-2
Merge into: lp:launchpad
Diff against target: 54 lines (+9/-9)
1 file modified
lib/lp/registry/enums.py (+9/-9)
To merge this branch: bzr merge lp:~jcsackett/launchpad/blueprints-in-ui-not-specification-2
Reviewer Review Type Date Requested Status
Benji York (community) code Approve
Review via email: mp+136213@code.launchpad.net

Commit message

Change mentions of "specification" to "blueprint" in the descriptions in SpecificationSharingPolicy, since they show in the UI.

Description of the change

Summary
=======
We updated the UI on +sharing to say "Blueprint sharing policy" rather than
"Specification sharing policy", but the enum descriptions for the policy
still reference specifications. Since these descriptions are shown in the UI
along with the "Blueprint sharing policy" label, the descriptions should be
updated as well.

Preimp
======
None.

Implementation
==============
Changed all mentions of "specification" to "blueprint" in the sharing policy
enum.

QA
==
Ensure the display is correct in +sharing.

LoC
===
Part of private projects.

Lint
====

Checking for conflicts and issues in changed files.

Linting changed files:
  lib/lp/registry/enums.py

To post a comment you must log in.
Revision history for this message
Benji York (benji) wrote :

Good words are good.

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/registry/enums.py'
2--- lib/lp/registry/enums.py 2012-11-16 20:55:48 +0000
3+++ lib/lp/registry/enums.py 2012-11-27 15:18:35 +0000
4@@ -144,42 +144,42 @@
5 PUBLIC = DBItem(1, """
6 Public
7
8- Specifications are public.
9+ Blueprints are public.
10 """)
11
12 PUBLIC_OR_PROPRIETARY = DBItem(2, """
13 Public, can be proprietary
14
15- New specifications are public, but can be made proprietary later.
16+ New blueprints are public, but can be made proprietary later.
17 """)
18
19 PROPRIETARY_OR_PUBLIC = DBItem(3, """
20 Proprietary, can be public
21
22- New specifications are proprietary, but can be made public later. Only
23+ New blueprints are proprietary, but can be made public later. Only
24 people who can see the project's proprietary information can create
25- new specifications.
26+ new blueprints.
27 """)
28
29 PROPRIETARY = DBItem(4, """
30 Proprietary
31
32- Specifications are always proprietary. Only people who can see the
33- project's proprietary information can create new specifications.
34+ Blueprints are always proprietary. Only people who can see the
35+ project's proprietary information can create new blueprints.
36 """)
37
38 EMBARGOED_OR_PROPRIETARY = DBItem(5, """
39 Embargoed, can be proprietary
40
41- New specifications are embargoed, but can be made proprietary later.
42+ New blueprints are embargoed, but can be made proprietary later.
43 Only people who can see the project's proprietary information can
44- create new specifications.
45+ create new blueprints.
46 """)
47
48 FORBIDDEN = DBItem(6, """
49 Forbidden
50
51- No new specifications may be created, but existing specifications may
52+ No new blueprints may be created, but existing blueprints may
53 still be updated.
54 """)
55