diff options
Diffstat (limited to 'plugins/readelf')
-rw-r--r-- | plugins/readelf/program.c | 2 | ||||
-rw-r--r-- | plugins/readelf/section.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/plugins/readelf/program.c b/plugins/readelf/program.c index a71e1d1..107f048 100644 --- a/plugins/readelf/program.c +++ b/plugins/readelf/program.c @@ -273,9 +273,11 @@ static bool annotate_elf_program_header(GElfFormat *format, GPreloadInfo *info, else { parts[0].is_static = true; + parts[0].avoid_i18n = false; parts[0].static_text = __("Segment flags: "); parts[1].is_static = false; + parts[1].avoid_i18n = true; parts[1].dynamic_text = rights; flags_field.ctype = FCT_MULTI; diff --git a/plugins/readelf/section.c b/plugins/readelf/section.c index eee20b5..3a71225 100644 --- a/plugins/readelf/section.c +++ b/plugins/readelf/section.c @@ -308,6 +308,7 @@ static bool annotate_elf_section_header(GElfFormat *format, GPreloadInfo *info, else { nparts[0].is_static = true; + nparts[0].avoid_i18n = false; nparts[0].static_text = __("Segment name: "); nparts[1].is_static = true; @@ -356,9 +357,11 @@ static bool annotate_elf_section_header(GElfFormat *format, GPreloadInfo *info, else { fparts[0].is_static = true; + fparts[0].avoid_i18n = false; fparts[0].static_text = __("Section flags: "); fparts[1].is_static = false; + fparts[1].avoid_i18n = true; fparts[1].dynamic_text = rights; flags_field.ctype = FCT_MULTI; |