e: some more plural and times lovin'.

SVN revision: 73874
This commit is contained in:
Chidambar Zinnoury 2012-07-15 11:39:50 +00:00
parent ab6ef0b56f
commit f45d356c62
4 changed files with 20 additions and 14 deletions

View File

@ -93,7 +93,7 @@ _e_resize_begin(void *data __UNUSED__, void *border)
e_popup_show(_disp_pop);
visible = 1;
}
snprintf(buf, sizeof(buf), "%ix%i", w, h);
snprintf(buf, sizeof(buf), "%i×%i", w, h);
edje_object_part_text_set(_obj, "e.text.label", buf);
e_popup_move_resize(_disp_pop,
@ -150,7 +150,7 @@ _e_resize_update(void *data __UNUSED__, void *border)
e_popup_show(_disp_pop);
visible = 1;
}
snprintf(buf, sizeof(buf), "%ix%i", w, h);
snprintf(buf, sizeof(buf), "%i×%i", w, h);
edje_object_part_text_set(_obj, "e.text.label", buf);
}

View File

@ -54,7 +54,7 @@ _e_wid_fprev_preview_update(void *data, Evas_Object *obj, void *event_info __UNU
evas_object_del(o);
if ((iw > 0) && (ih > 0))
{
snprintf(buf, sizeof(buf), "%ix%i", iw, ih);
snprintf(buf, sizeof(buf), _("%i×%i"), iw, ih);
e_widget_entry_text_set(wd->o_preview_extra_entry, buf);
}
else if (wd->mime)

View File

@ -121,16 +121,22 @@ _surebox_text_fill(SureBox *sb)
{
if (sb->cfdata->has_rates)
snprintf(buf, sizeof(buf),
_("Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%dx%d at %d Hz will be restored in %d seconds."),
P_("Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%d×%d at %d Hz will be restored in %d second.",
"Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%d×%d at %d Hz will be restored in %d seconds.", sb->iterations),
sb->cfdata->orig_size.width, sb->cfdata->orig_size.height,
sb->cfdata->orig_rate, sb->iterations);
else
snprintf(buf, sizeof(buf),
_("Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%dx%d will be restored in %d seconds."),
P_("Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%d×%d will be restored in %d second.",
"Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%d×%d will be restored in %d seconds.", sb->iterations),
sb->cfdata->orig_size.width, sb->cfdata->orig_size.height,
sb->iterations);
}
@ -140,14 +146,14 @@ _surebox_text_fill(SureBox *sb)
snprintf(buf, sizeof(buf),
_("Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%dx%d at %d Hz will be restored <hilight>IMMEDIATELY</hilight>."),
"%d×%d at %d Hz will be restored <hilight>IMMEDIATELY</hilight>."),
sb->cfdata->orig_size.width, sb->cfdata->orig_size.height,
sb->cfdata->orig_rate);
else
snprintf(buf, sizeof(buf),
_("Does this look OK? <hilight>Save</hilight> if it does, or Restore if not.<br>"
"If you do not press a button, the old resolution of<br>"
"%dx%d will be restored <hilight>IMMEDIATELY</hilight>."),
"%d×%d will be restored <hilight>IMMEDIATELY</hilight>."),
sb->cfdata->orig_size.width, sb->cfdata->orig_size.height);
}
e_dialog_text_set(sb->dia, buf);
@ -527,7 +533,7 @@ _load_resolutions(E_Config_Dialog_Data *cfdata)
Evas_Object *ob = NULL;
res->id = i;
snprintf(buf, sizeof(buf), "%ix%i", res->size.width, res->size.height);
snprintf(buf, sizeof(buf), _("%i×%i"), res->size.width, res->size.height);
if ((res->size.width == cfdata->orig_size.width) &&
(res->size.height == cfdata->orig_size.height))

View File

@ -206,9 +206,9 @@ resolution_widget_update_list(E_Config_Randr_Dialog_Output_Dialog_Data *odd)
rate = 0.0;
if (mode_info->name)
snprintf(resolution_text, (RESOLUTION_TXT_MAX_LENGTH - 1), "%s@%.1fHz", mode_info->name, rate);
snprintf(resolution_text, (RESOLUTION_TXT_MAX_LENGTH - 1), _("%s@%.1fHz"), mode_info->name, rate);
else
snprintf(resolution_text, (RESOLUTION_TXT_MAX_LENGTH - 1), "%dx%d@%.1fHz", mode_info->width, mode_info->height, rate);
snprintf(resolution_text, (RESOLUTION_TXT_MAX_LENGTH - 1), _("%d×%d@%.1fHz"), mode_info->width, mode_info->height, rate);
e_widget_ilist_append(e_config_runtime_info->gui.widgets.resolution.widget, NULL, resolution_text, _resolution_widget_selected_cb, mode_info, NULL);