summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f46af3)
raw | patch | inline | side by side (parent: 9f46af3)
author | JazzyNico <nicoduf@yahoo.fr> | |
Fri, 24 Sep 2010 16:11:21 +0000 (18:11 +0200) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Fri, 24 Sep 2010 16:11:21 +0000 (18:11 +0200) |
src/flood-context.cpp | patch | blob | history | |
src/ui/widget/panel.cpp | patch | blob | history |
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index 612ae1cfc6cbceef49f8b34e0b2b53d2d88cf6cb..12a8febe2f75027fbe296dea06172722b11aece9 100644 (file)
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
GList * flood_autogap_dropdown_items_list() {
GList *glist = NULL;
- glist = g_list_append (glist, _("None"));
- glist = g_list_append (glist, _("Small"));
- glist = g_list_append (glist, _("Medium"));
- glist = g_list_append (glist, _("Large"));
+ glist = g_list_append (glist, (void*) C_("Flood autogap", "None"));
+ glist = g_list_append (glist, (void*) C_("Flood autogap", "Small"));
+ glist = g_list_append (glist, (void*) C_("Flood autogap", "Medium"));
+ glist = g_list_append (glist, (void*) C_("Flood autogap", "Large"));
return glist;
}
index 66342ad1f21e61ed7a22847618594d7a645e5f3b..f3cb0967c0c0e70743c89688665104888652ac59 100644 (file)
--- a/src/ui/widget/panel.cpp
+++ b/src/ui/widget/panel.cpp
//TRANSLATORS: Indicates size of colour swatches
const gchar *heightLabels[] = {
- N_("Tiny"),
- N_("Small"),
+ NC_("Swatches height", "Tiny"),
+ NC_("Swatches height", "Small"),
NC_("Swatches height", "Medium"),
- N_("Large"),
- N_("Huge")
+ NC_("Swatches height", "Large"),
+ NC_("Swatches height", "Huge")
};
Gtk::MenuItem *sizeItem = manage(new Gtk::MenuItem(heightItemLabel));
Gtk::RadioMenuItem::Group heightGroup;
for (unsigned int i = 0; i < G_N_ELEMENTS(heightLabels); i++) {
- Glib::ustring _label(Q_(heightLabels[i]));
+ Glib::ustring _label(g_dpgettext2(NULL, "Swatches height", heightLabels[i]));
Gtk::RadioMenuItem* _item = manage(new Gtk::RadioMenuItem(heightGroup, _label));
sizeMenu->append(*_item);
if (i == panel_size) {
//TRANSLATORS: Indicates width of colour swatches
const gchar *widthLabels[] = {
- N_("Narrower"),
- N_("Narrow"),
+ NC_("Swatches width", "Narrower"),
+ NC_("Swatches width", "Narrow"),
NC_("Swatches width", "Medium"),
- N_("Wide"),
- N_("Wider")
+ NC_("Swatches width", "Wide"),
+ NC_("Swatches width", "Wider")
};
Gtk::MenuItem *item = manage( new Gtk::MenuItem(widthItemLabel));
}
}
for ( guint i = 0; i < G_N_ELEMENTS(widthLabels); ++i ) {
- Glib::ustring _label(Q_(widthLabels[i]));
+ Glib::ustring _label(g_dpgettext2(NULL, "Swatches width", widthLabels[i]));
Gtk::RadioMenuItem *_item = manage(new Gtk::RadioMenuItem(widthGroup, _label));
type_menu->append(*_item);
if ( i <= hot_index ) {