X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fpspp-output.c;fp=utilities%2Fpspp-output.c;h=deb2000432e74e6e3a1c605fa3083866dacd4a14;hb=26bad54c73bdb354262a2434de93e632a286b0d3;hp=59c915dd443935e6eda189dfd6b6c12f76460adc;hpb=476f9dbb75029552e8f3ba4c975c2f6b0cd5325f;p=pspp diff --git a/utilities/pspp-output.c b/utilities/pspp-output.c index 59c915dd44..deb2000432 100644 --- a/utilities/pspp-output.c +++ b/utilities/pspp-output.c @@ -92,10 +92,14 @@ dump_item (const struct spv_item *item) { const char *x = item->xml_member; const char *b = item->bin_member; + + /* The strings below are not marked for translation because they are only + useful to developers. */ char *s = (x && b - ? xasprintf (_("%s and %s:"), x, b) + ? xasprintf ("%s and %s:", x, b) : xasprintf ("%s:", x ? x : b)); - text_item_submit (text_item_create_nocopy (TEXT_ITEM_TITLE, s)); + text_item_submit (text_item_create_nocopy (TEXT_ITEM_TITLE, s, + xstrdup ("Member Names"))); } switch (spv_item_get_type (item)) @@ -268,7 +272,8 @@ dump_heading_transition (const struct spv_item *old, group_close_item_submit (group_close_item_create ()); for (size_t i = common; i < new_path.n; i++) group_open_item_submit (group_open_item_create ( - new_path.nodes[i]->command_id)); + new_path.nodes[i]->command_id, + new_path.nodes[i]->label)); free_path (&old_path); free_path (&new_path);