Merge ~twom/launchpad:better-text-for-snap into launchpad:master

Proposed by Tom Wardill
Status: Merged
Approved by: Tom Wardill
Approved revision: a1d3b4379c446aa1fedd68e2f5a204d3d4742f1c
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~twom/launchpad:better-text-for-snap
Merge into: launchpad:master
Diff against target: 16 lines (+2/-2)
1 file modified
lib/lp/snappy/interfaces/snap.py (+2/-2)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+397362@code.launchpad.net

Commit message

Rename snap name field. LP: #1914233

Description of the change

Change the labels on the field so they're a bit clearer that this is not the name of the snap in the store.

https://people.canonical.com/~tomwardill/snap-name-rename.png

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/snappy/interfaces/snap.py b/lib/lp/snappy/interfaces/snap.py
2index eca689b..3835b23 100644
3--- a/lib/lp/snappy/interfaces/snap.py
4+++ b/lib/lp/snappy/interfaces/snap.py
5@@ -667,9 +667,9 @@ class ISnapEditableAttributes(IHasOwner):
6 "snapcraft.yaml.")))
7
8 name = exported(TextLine(
9- title=_("Name"), required=True, readonly=False,
10+ title=_("Snap recipe name"), required=True, readonly=False,
11 constraint=name_validator,
12- description=_("The name of the snap package.")))
13+ description=_("The name of the snap build recipe.")))
14
15 description = exported(Text(
16 title=_("Description"), required=False, readonly=False,

Subscribers

People subscribed via source and target branches

to status/vote changes: