[gnome-software] Add the 'Add-ons' category for future use
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Add the 'Add-ons' category for future use
- Date: Tue, 17 Sep 2013 13:22:26 +0000 (UTC)
commit 0748a7bd78ba50b17b784afa0270a0c685e660a9
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 16 19:19:13 2013 +0100
Add the 'Add-ons' category for future use
src/plugins/gs-plugin-hardcoded-menu-spec.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-hardcoded-menu-spec.c b/src/plugins/gs-plugin-hardcoded-menu-spec.c
index 0146be0..8581bb7 100644
--- a/src/plugins/gs-plugin-hardcoded-menu-spec.c
+++ b/src/plugins/gs-plugin-hardcoded-menu-spec.c
@@ -593,5 +593,22 @@ gs_plugin_add_categories (GsPlugin *plugin,
C_("Menu subcategory of Video", "TV")));
*list = g_list_prepend (*list, category);
+ /* TRANSLATORS: this is the main category for Add-ons */
+ category = gs_category_new (NULL, "Addons", _("Add-ons"));
+ gs_category_add_subcategory (category, gs_category_new (category,
+ "Fonts",
+ C_("Menu subcategory of Addons", "Fonts")));
+ gs_category_add_subcategory (category, gs_category_new (category,
+ "Codecs",
+ C_("Menu subcategory of Addons", "Codecs")));
+ gs_category_add_subcategory (category, gs_category_new (category,
+ "InputSources",
+ C_("Menu subcategory of Addons", "Input
Sources")));
+ gs_category_add_subcategory (category, gs_category_new (category,
+ "LanguagePacks",
+ C_("Menu subcategory of Addons", "Language
Packs")));
+
+ *list = g_list_prepend (*list, category);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]