After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761422 - Add context to strings in the shortcut window
Add context to strings in the shortcut window
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
3.19.x
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-02-01 20:36 UTC by Piotr Drąg
Modified: 2016-09-20 08:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add context to strings in the shortcut window (7.98 KB, patch)
2016-02-01 20:36 UTC, Piotr Drąg
none Details | Review
Add context to strings in the shortcut window v2 (8.19 KB, patch)
2016-02-04 09:23 UTC, Piotr Drąg
committed Details | Review

Description Piotr Drąg 2016-02-01 20:36:54 UTC
Created attachment 320222 [details] [review]
Add context to strings in the shortcut window

Attached patch adds context to strings in the shortcut window, as discussed on d-d-l.

https://mail.gnome.org/archives/desktop-devel-list/2016-February/msg00000.html
Comment 1 Piotr Drąg 2016-02-04 09:23:44 UTC
Created attachment 320413 [details] [review]
Add context to strings in the shortcut window v2

Added a description and an URL to this bug.
Comment 2 Zeeshan Ali 2016-02-05 14:29:14 UTC
Review of attachment 320413 [details] [review]:

I'll push with that one minor nitpick and also change the shortlog a bit.

::: data/ui/kbd-shortcuts-window.ui
@@ +16,3 @@
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
+            <property name="title" translatable="yes" context="shortcut window">Overview</property>

If the point is to help translators, I'd use a more verbose string: "keyboard shortcuts window"
Comment 3 Piotr Drąg 2016-02-05 14:39:50 UTC
I'd prefer to stick with what every other module already has. It doesn't need to be that descriptive anyway, as context is used primarily to disambiguate strings, not provide comments.

You have the last word on this, of course.
Comment 4 Zeeshan Ali 2016-02-05 16:10:30 UTC
(In reply to Piotr Drąg from comment #3)
> I'd prefer to stick with what every other module already has. It doesn't
> need to be that descriptive anyway, as context is used primarily to
> disambiguate strings, not provide comments.

Hm.. ah ok. Consistency is important, of course. :) Thanks for the patch.