struct pivot_table *table = pivot_table_create__ (
pivot_value_new_text_format (N_("Usable encodings for %s."),
fh_get_name (h)), "Usable Encodings");
- table->caption = pivot_value_new_text_format (
- N_("Encodings that can successfully read %s (by specifying the encoding "
- "name on the GET command's ENCODING subcommand). Encodings that "
- "yield identical text are listed together."),
- fh_get_name (h));
+ pivot_table_set_caption (
+ table, pivot_value_new_text_format (
+ N_("Encodings that can successfully read %s (by specifying the encoding "
+ "name on the GET command's ENCODING subcommand). Encodings that "
+ "yield identical text are listed together."),
+ fh_get_name (h)));
pivot_dimension_create (table, PIVOT_AXIS_COLUMN, N_("Encodings"),
N_("Encodings"));
pivot_value_new_text_format (N_("%s Encoded Text Strings"),
fh_get_name (h)),
"Alternate Encoded Text Strings");
- table->caption = pivot_value_new_text (
- N_("Text strings in the file dictionary that the previously listed "
- "encodings interpret differently, along with the interpretations."));
+ pivot_table_set_caption (
+ table, pivot_value_new_text (
+ N_("Text strings in the file dictionary that the previously listed "
+ "encodings interpret differently, along with the interpretations.")));
pivot_dimension_create (table, PIVOT_AXIS_COLUMN, N_("Text"), N_("Text"));