[gnome-software/gnome-3-12] menu-spec: Fix translation of some categories



commit d5ebdce80ab117a8cc0e3dd7cfeb63fc9b21395e
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 2 14:16:44 2014 -0400

    menu-spec: Fix translation of some categories
    
    The msgctxt for the subcategories of 'Development Tools' was
    wrong, causing the translations to not be picked up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=729355

 src/plugins/menu-spec-common.c |   80 ++++++++++++++++++++--------------------
 1 files changed, 40 insertions(+), 40 deletions(-)
---
diff --git a/src/plugins/menu-spec-common.c b/src/plugins/menu-spec-common.c
index 9b564c9..9596d44 100644
--- a/src/plugins/menu-spec-common.c
+++ b/src/plugins/menu-spec-common.c
@@ -41,16 +41,16 @@ static const MenuSpecData msdata[] = {
        { "Audio::Tuner",                       NC_("Menu subcategory of Audio", "Tuners") },
        /* TRANSLATORS: this is the menu spec main category for Development */
        { "Development",                        N_("Development Tools") },
-       { "Development::Building",              NC_("Menu subcategory of Development", "Building") },
-       { "Development::Database",              NC_("Menu subcategory of Development", "Databases") },
-       { "Development::Debugger",              NC_("Menu subcategory of Development", "Debuggers") },
-       { "Development::GUIDesigner",           NC_("Menu subcategory of Development", "GUI Designers") },
-       { "Development::IDE",                   NC_("Menu subcategory of Development", "IDE") },
-       { "Development::Profiling",             NC_("Menu subcategory of Development", "Profiling") },
-       { "Development::ProjectManagement",     NC_("Menu subcategory of Development", "Project Management") 
},
-       { "Development::RevisionControl",       NC_("Menu subcategory of Development", "Revision Control") },
-       { "Development::Translation",           NC_("Menu subcategory of Development", "Translation") },
-       { "Development::WebDevelopment",        NC_("Menu subcategory of Development", "Web Development") },
+       { "Development::Building",              NC_("Menu subcategory of Development Tools", "Building") },
+       { "Development::Database",              NC_("Menu subcategory of Development Tools", "Databases") },
+       { "Development::Debugger",              NC_("Menu subcategory of Development Tools", "Debuggers") },
+       { "Development::GUIDesigner",           NC_("Menu subcategory of Development Tools", "GUI Designers") 
},
+       { "Development::IDE",                   NC_("Menu subcategory of Development Tools", "IDE") },
+       { "Development::Profiling",             NC_("Menu subcategory of Development Tools", "Profiling") },
+       { "Development::ProjectManagement",     NC_("Menu subcategory of Development Tools", "Project 
Management") },
+       { "Development::RevisionControl",       NC_("Menu subcategory of Development Tools", "Revision 
Control") },
+       { "Development::Translation",           NC_("Menu subcategory of Development Tools", "Translation") },
+       { "Development::WebDevelopment",        NC_("Menu subcategory of Development Tools", "Web 
Development") },
        /* TRANSLATORS: this is the menu spec main category for Education */
        { "Education",                          N_("Education") },
        { "Education::Art",                     NC_("Menu subcategory of Education", "Art") },
@@ -112,22 +112,22 @@ static const MenuSpecData msdata[] = {
        { "Graphics::Viewer",                   NC_("Menu subcategory of Graphics", "Viewer") },
        /* TRANSLATORS: this is the menu spec main category for Network */
        { "Network",                            N_("Internet") },
-       { "Network::Chat",                      NC_("Menu subcategory of Network", "Chat") },
-       { "Network::Dialup",                    NC_("Menu subcategory of Network", "Dialup") },
-       { "Network::Email",                     NC_("Menu subcategory of Network", "Email") },
-       { "Network::Feed",                      NC_("Menu subcategory of Network", "Feed") },
-       { "Network::FileTransfer",              NC_("Menu subcategory of Network", "File Transfer") },
-       { "Network::HamRadio",                  NC_("Menu subcategory of Network", "Ham Radio") },
-       { "Network::InstantMessaging",          NC_("Menu subcategory of Network", "Instant Messaging") },
-       { "Network::IRCClient",                 NC_("Menu subcategory of Network", "IRC Clients") },
-       { "Network::Monitor",                   NC_("Menu subcategory of Network", "Monitor") },
-       { "Network::News",                      NC_("Menu subcategory of Network", "News") },
-       { "Network::P2P",                       NC_("Menu subcategory of Network", "P2P") },
-       { "Network::RemoteAccess",              NC_("Menu subcategory of Network", "Remote Access") },
-       { "Network::Telephony",                 NC_("Menu subcategory of Network", "Telephony") },
-       { "Network::VideoConference",           NC_("Menu subcategory of Network", "Video Conference") },
-       { "Network::WebBrowser",                NC_("Menu subcategory of Network", "Web Browser") },
-       { "Network::WebDevelopment",            NC_("Menu subcategory of Network", "Web Development") },
+       { "Network::Chat",                      NC_("Menu subcategory of Internet", "Chat") },
+       { "Network::Dialup",                    NC_("Menu subcategory of Internet", "Dialup") },
+       { "Network::Email",                     NC_("Menu subcategory of Internet", "Email") },
+       { "Network::Feed",                      NC_("Menu subcategory of Internet", "Feed") },
+       { "Network::FileTransfer",              NC_("Menu subcategory of Internet", "File Transfer") },
+       { "Network::HamRadio",                  NC_("Menu subcategory of Internet", "Ham Radio") },
+       { "Network::InstantMessaging",          NC_("Menu subcategory of Internet", "Instant Messaging") },
+       { "Network::IRCClient",                 NC_("Menu subcategory of Internet", "IRC Clients") },
+       { "Network::Monitor",                   NC_("Menu subcategory of Internet", "Monitor") },
+       { "Network::News",                      NC_("Menu subcategory of Internet", "News") },
+       { "Network::P2P",                       NC_("Menu subcategory of Internet", "P2P") },
+       { "Network::RemoteAccess",              NC_("Menu subcategory of Internet", "Remote Access") },
+       { "Network::Telephony",                 NC_("Menu subcategory of Internet", "Telephony") },
+       { "Network::VideoConference",           NC_("Menu subcategory of Internet", "Video Conference") },
+       { "Network::WebBrowser",                NC_("Menu subcategory of Internet", "Web Browser") },
+       { "Network::WebDevelopment",            NC_("Menu subcategory of Internet", "Web Development") },
        /* TRANSLATORS: this is the menu spec main category for Office */
        { "Office",                             N_("Office") },
        { "Office::Calendar",                   NC_("Menu subcategory of Office", "Calendar") },
@@ -188,16 +188,16 @@ static const MenuSpecData msdata[] = {
        { "System::TerminalEmulator",           NC_("Menu subcategory of System", "Terminal Emulator") },
        /* TRANSLATORS: this is the menu spec main category for Utility */
        { "Utility",                            N_("Utilities") },
-       { "Utility::Accessibility",             NC_("Menu subcategory of Utility", "Accessibility") },
-       { "Utility::Archiving",                 NC_("Menu subcategory of Utility", "Archiving") },
-       { "Utility::Calculator",                NC_("Menu subcategory of Utility", "Calculator") },
-       { "Utility::Clock",                     NC_("Menu subcategory of Utility", "Clock") },
-       { "Utility::Compression",               NC_("Menu subcategory of Utility", "Compression") },
-       { "Utility::FileTools",                 NC_("Menu subcategory of Utility", "File Tools") },
-       { "Utility::Maps",                      NC_("Menu subcategory of Utility", "Maps") },
-       { "Utility::Spirituality",              NC_("Menu subcategory of Utility", "Spirituality") },
-       { "Utility::TelephonyTools",            NC_("Menu subcategory of Utility", "Telephony Tools") },
-       { "Utility::TextEditor",                NC_("Menu subcategory of Utility", "Text Editor") },
+       { "Utility::Accessibility",             NC_("Menu subcategory of Utilities", "Accessibility") },
+       { "Utility::Archiving",                 NC_("Menu subcategory of Utilities", "Archiving") },
+       { "Utility::Calculator",                NC_("Menu subcategory of Utilities", "Calculator") },
+       { "Utility::Clock",                     NC_("Menu subcategory of Utilities", "Clock") },
+       { "Utility::Compression",               NC_("Menu subcategory of Utilities", "Compression") },
+       { "Utility::FileTools",                 NC_("Menu subcategory of Utilities", "File Tools") },
+       { "Utility::Maps",                      NC_("Menu subcategory of Utilities", "Maps") },
+       { "Utility::Spirituality",              NC_("Menu subcategory of Utilities", "Spirituality") },
+       { "Utility::TelephonyTools",            NC_("Menu subcategory of Utilities", "Telephony Tools") },
+       { "Utility::TextEditor",                NC_("Menu subcategory of Utilities", "Text Editor") },
        /* TRANSLATORS: this is the menu spec main category for Video */
        { "Video",                              N_("Video") },
        { "Video::AudioVideoEditing",           NC_("Menu subcategory of Video", "Editing") },
@@ -208,10 +208,10 @@ static const MenuSpecData msdata[] = {
        { "Video::TV",                          NC_("Menu subcategory of Video", "TV") },
        /* TRANSLATORS: this is the main category for Add-ons */
        { "Addons",                             N_("Add-ons") },
-       { "Addons::Fonts",                      NC_("Menu subcategory of Addons", "Fonts") },
-       { "Addons::Codecs",                     NC_("Menu subcategory of Addons", "Codecs") },
-       { "Addons::InputSources",               NC_("Menu subcategory of Addons", "Input Sources") },
-       { "Addons::LanguagePacks",              NC_("Menu subcategory of Addons", "Language Packs") },
+       { "Addons::Fonts",                      NC_("Menu subcategory of Add-ons", "Fonts") },
+       { "Addons::Codecs",                     NC_("Menu subcategory of Add-ons", "Codecs") },
+       { "Addons::InputSources",               NC_("Menu subcategory of Add-ons", "Input Sources") },
+       { "Addons::LanguagePacks",              NC_("Menu subcategory of Add-ons", "Language Packs") },
        { NULL,                                 NULL }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]