Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed some unlocalizable strings in the code
  • Loading branch information
mario-tux authored and perexg committed Sep 2, 2015
1 parent ae8565a commit a3f5e6b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/dvr/dvr_autorec.c
Expand Up @@ -565,7 +565,7 @@ dvr_autorec_entry_class_time_get(void *o, int tm)
if (tm >= 0)
snprintf(buf, sizeof(buf), "%02d:%02d", tm / 60, tm % 60);
else
strcpy(buf, "Any");
strncpy(buf, N_("Any"), 16);
ret = buf;
return &ret;
}
Expand Down
2 changes: 1 addition & 1 deletion src/dvr/dvr_config.c
Expand Up @@ -656,7 +656,7 @@ dvr_config_class_get_title (idnode_t *self, const char *lang)
dvr_config_t *cfg = (dvr_config_t *)self;
if (!dvr_config_is_default(cfg))
return cfg->dvr_config_name;
return "(Default Profile)";
return N_("(Default Profile)");
}

static int
Expand Down
2 changes: 1 addition & 1 deletion src/dvr/dvr_timerec.c
Expand Up @@ -428,7 +428,7 @@ dvr_timerec_entry_class_time_get(void *o, int tm)
if (tm >= 0)
snprintf(buf, sizeof(buf), "%02d:%02d", tm / 60, tm % 60);
else
strcpy(buf, "Any");
strncpy(buf, N_("Any"), 16);
ret = buf;
return &ret;
}
Expand Down
6 changes: 3 additions & 3 deletions src/input/mpegts/mpegts_mux_dvb.c
Expand Up @@ -533,7 +533,7 @@ const idclass_t dvb_mux_dvbs_class =
.ic_caption = N_("Linux DVB-S Multiplex"),
.ic_properties = (const property_t[]){
{
MUX_PROP_STR("delsys", "Delivery System", dvbs, delsys, "DVBS"),
MUX_PROP_STR("delsys", N_("Delivery System"), dvbs, delsys, "DVBS"),
},
{
.type = PT_U32,
Expand All @@ -550,7 +550,7 @@ const idclass_t dvb_mux_dvbs_class =
.set = dvb_mux_dvbs_class_symbol_rate_set,
},
{
MUX_PROP_STR("polarisation", "Polarisation", dvbs, polarity, NULL)
MUX_PROP_STR("polarisation", N_("Polarisation"), dvbs, polarity, NULL)
},
{
.type = PT_STR,
Expand All @@ -562,7 +562,7 @@ const idclass_t dvb_mux_dvbs_class =
.def.s = "AUTO",
},
{
MUX_PROP_STR("fec", "FEC", dvbs, fec, "AUTO")
MUX_PROP_STR("fec", N_("FEC"), dvbs, fec, "AUTO")
},
{
.type = PT_STR,
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -263,7 +263,7 @@ satip_frontend_dvbs_class_master_enum( void * self, const char *lang )
satip_frontend_t *lfe = self, *lfe2;
satip_device_t *sd = lfe->sf_device;
htsmsg_t *m = htsmsg_create_list();
htsmsg_add_str(m, NULL, "This Tuner");
htsmsg_add_str(m, NULL, N_("This Tuner"));
TAILQ_FOREACH(lfe2, &sd->sd_frontends, sf_link)
if (lfe2 != lfe && lfe2->sf_type == lfe->sf_type)
htsmsg_add_str(m, NULL, lfe2->mi_name);
Expand Down

0 comments on commit a3f5e6b

Please sign in to comment.