widgets: Provide context for "New Layer" string
The "New Layer" string used without plural and with plural which causes a warning in xgettext. This patch partly fixes: #15264
This commit is contained in:
parent
6a37900610
commit
c8d7aa0814
2 changed files with 2 additions and 2 deletions
|
|
@ -646,7 +646,7 @@ gimp_drawable_tree_view_new_dropped (GimpItemTreeView *view,
|
|||
GimpItem *item;
|
||||
|
||||
gimp_image_undo_group_start (image, GIMP_UNDO_GROUP_EDIT_PASTE,
|
||||
_("New Layer"));
|
||||
C_("singular", "New Layer"));
|
||||
|
||||
item = GIMP_ITEM_TREE_VIEW_GET_CLASS (view)->new_item (image);
|
||||
|
||||
|
|
|
|||
|
|
@ -912,7 +912,7 @@ gimp_layer_tree_view_item_new (GimpImage *image)
|
|||
GimpLayer *new_layer;
|
||||
|
||||
gimp_image_undo_group_start (image, GIMP_UNDO_GROUP_EDIT_PASTE,
|
||||
_("New Layer"));
|
||||
C_("singular", "New Layer"));
|
||||
|
||||
new_layer = gimp_layer_new (image,
|
||||
gimp_image_get_width (image),
|
||||
|
|
|
|||
Loading…
Reference in a new issue