summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/readdex/ids.c2
-rw-r--r--plugins/readelf/program.c2
-rw-r--r--plugins/readelf/section.c3
3 files changed, 7 insertions, 0 deletions
diff --git a/plugins/readdex/ids.c b/plugins/readdex/ids.c
index f65f5ec..e09036e 100644
--- a/plugins/readdex/ids.c
+++ b/plugins/readdex/ids.c
@@ -300,9 +300,11 @@ bool annotate_dex_string_ids(const GDexFormat *format, GPreloadInfo *info, GtkSt
field.repeat = 1;
parts[0].is_static = true;
+ parts[0].avoid_i18n = false;
parts[0].static_text = __("Offset for string item #");
parts[1].is_static = false;
+ parts[1].avoid_i18n = true;
asprintf(&parts[1].dynamic_text, "%u/%u", i, header->string_ids_size - 1);
field.ctype = FCT_MULTI;
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;