Commit 222b67d6 authored by Maiken's avatar Maiken
Browse files

Merge branch 'glibmm-optiongroup-translate' into 'master'

Glibmm optiongroup translate

See merge request nordugrid/arc!1014
parents aa3ad42a dbb721d4
......@@ -405,12 +405,12 @@ ClientOptions::ClientOptions(Client_t c,
{
bool cIsJobMan = (c == CO_CAT || c == CO_CLEAN || c == CO_GET || c == CO_KILL || c == CO_RENEW || c == CO_RESUME || c == CO_STAT || c == CO_ACL);
DefineOptionsGroup("xaction", "Other actions");
DefineOptionsGroup("filtering", "Brokering and filtering");
DefineOptionsGroup("format", "Output format modifiers");
DefineOptionsGroup("tuning", "Behaviour tuning");
DefineOptionsGroup("arc6-target", "ARC6 submission endpoint selection");
DefineOptionsGroup("legacy-target", "Legacy options set for defining targets");
DefineOptionsGroup("xaction", istring("Other actions"));
DefineOptionsGroup("filtering", istring("Brokering and filtering"));
DefineOptionsGroup("format", istring("Output format modifiers"));
DefineOptionsGroup("tuning", istring("Behaviour tuning"));
DefineOptionsGroup("arc6-target", istring("ARC6 submission endpoint selection"));
DefineOptionsGroup("legacy-target", istring("Legacy options set for defining targets"));
if ( c == CO_RESUB || c == CO_SUB || c == CO_TEST || c == CO_SYNC ) {
GroupAddOption("arc6-target", 'C', "computing-element",
......
......@@ -302,7 +302,6 @@ namespace Arc {
if ( g_it->first == ARC_OPTION_DEFAULT_GROUP ) {
grp = new Glib::OptionGroup(ARC_OPTION_DEFAULT_GROUP, "Main Group");
grp->set_translation_domain(PACKAGE);
h_entry.AddEntry(*grp);
} else {
std::string grp_name;
......@@ -313,6 +312,7 @@ namespace Arc {
}
grp = new Glib::OptionGroup(g_it->first, grp_name, IString("Show %s help options", g_it->first).str());
}
grp->set_translation_domain(PACKAGE);
bool options_in_group = false;
for (std::list<std::pair<OptionBase*, std::string> >::iterator it = options.begin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment