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 642598 - Provide message context for "Fallback" and "Standard" translations
Provide message context for "Fallback" and "Standard" translations
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-17 17:56 UTC by Khaled Hosny
Modified: 2011-02-17 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use pgettext (683 bytes, patch)
2011-02-17 17:56 UTC, Khaled Hosny
none Details | Review

Description Khaled Hosny 2011-02-17 17:56:21 UTC
Created attachment 181156 [details] [review]
use pgettext

Both are used in the info panel for "Experience" modes, but "Standard" is also used in other places in the control panels and might not always be translated the same.

The attached patch provide a gettext msgctx for both to allow unique translations.
Comment 1 Bastien Nocera 2011-02-17 18:00:15 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 642439 ***
Comment 2 Bastien Nocera 2011-02-17 18:30:58 UTC
FWIW, this fails to compile cleanly. Please follow up in bug 642439.
Comment 3 Khaled Hosny 2011-02-17 18:48:48 UTC
I don't think this is a duplicate for bug 642439, I already know what these strings are for but I want a different translation for "Standard" in the info panel than in accounts panel.

Sorry for the broken patch, but I can't build control center here so I just used pgettext blindly.
Comment 4 Bastien Nocera 2011-02-17 18:50:06 UTC
Right, let me reopen then.
Comment 5 Bastien Nocera 2011-02-17 18:54:04 UTC
commit 23f2c876722bc34253e7a0a23fcce7acf6f1513a
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Feb 17 18:52:55 2011 +0000

    info: Use a context for the "Standard" string
    
    So we can use a different translation for that same word in
    the user-accounts panel, and in the info panel.
    
    Also prefix the "Fallback" string the same way.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642598