removed "(Fastest)" from "None" and added translation context (bug

2006-08-23  Sven Neumann  <sven@gimp.org>

        * libgimpbase/gimpbaseenums.[ch]: removed "(Fastest)" from "None"
        and added translation context (bug #343576).

        * app/actions/select-actions.c (select_actions): added translation
        context for "None" and "All".

        * app/widgets/gimpactiongroup.c: strip translation context from
        all labels.

        * libgimpwidgets/gimppageselector.c: fixed singular form.
This commit is contained in:
Sven Neumann 2006-08-23 14:55:39 +00:00 committed by Sven Neumann
parent 37735d3f22
commit bc3c41b648
8 changed files with 266 additions and 232 deletions

View File

@ -1,3 +1,16 @@
2006-08-23 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpbaseenums.[ch]: removed "(Fastest)" from "None"
and added translation context (bug #343576).
* app/actions/select-actions.c (select_actions): added translation
context for "None" and "All".
* app/widgets/gimpactiongroup.c: strip translation context from
all labels.
* libgimpwidgets/gimppageselector.c: fixed singular form.
2006-08-23 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpbaseenums.h: do the change for bug #343576 here;

View File

@ -47,13 +47,13 @@ static const GimpActionEntry select_actions[] =
{ "select-menu", NULL, N_("_Select") },
{ "select-all", GIMP_STOCK_SELECTION_ALL,
N_("_All"), "<control>A",
N_("select|_All"), "<control>A",
N_("Select everything"),
G_CALLBACK (select_all_cmd_callback),
GIMP_HELP_SELECTION_ALL },
{ "select-none", GIMP_STOCK_SELECTION_NONE,
N_("_None"), "<control><shift>A",
N_("select|_None"), "<control><shift>A",
N_("Dismiss the selection"),
G_CALLBACK (select_none_cmd_callback),
GIMP_HELP_SELECTION_NONE },

View File

@ -347,7 +347,8 @@ gimp_action_group_add_actions (GimpActionGroup *group,
gchar *label;
const gchar *tooltip;
label = gettext (entries[i].label);
label = (gchar *) g_strip_context (entries[i].label,
gettext (entries[i].label));
tooltip = gettext (entries[i].tooltip);
if (! group->mnemonics)
@ -392,7 +393,8 @@ gimp_action_group_add_toggle_actions (GimpActionGroup *group,
gchar *label;
const gchar *tooltip;
label = gettext (entries[i].label);
label = (gchar *) g_strip_context (entries[i].label,
gettext (entries[i].label));
tooltip = gettext (entries[i].tooltip);
if (! group->mnemonics)
@ -443,7 +445,8 @@ gimp_action_group_add_radio_actions (GimpActionGroup *group,
gchar *label;
const gchar *tooltip;
label = gettext (entries[i].label);
label = (gchar *) g_strip_context (entries[i].label,
gettext (entries[i].label));
tooltip = gettext (entries[i].tooltip);
if (! group->mnemonics)
@ -501,7 +504,8 @@ gimp_action_group_add_enum_actions (GimpActionGroup *group,
gchar *label;
const gchar *tooltip;
label = gettext (entries[i].label);
label = (gchar *) g_strip_context (entries[i].label,
gettext (entries[i].label));
tooltip = gettext (entries[i].tooltip);
if (! group->mnemonics)

View File

@ -559,7 +559,7 @@ gimp_interpolation_type_get_type (void)
static const GimpEnumDesc descs[] =
{
{ GIMP_INTERPOLATION_NONE, N_("None (Fastest)"), NULL },
{ GIMP_INTERPOLATION_NONE, N_("interpolation|None"), NULL },
{ GIMP_INTERPOLATION_LINEAR, N_("interpolation|Linear"), NULL },
{ GIMP_INTERPOLATION_CUBIC, N_("Cubic"), NULL },
{ GIMP_INTERPOLATION_LANCZOS, N_("Lanczos"), NULL },

View File

@ -245,7 +245,7 @@ GType gimp_interpolation_type_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_INTERPOLATION_NONE, /*< desc="None (Fastest)" >*/
GIMP_INTERPOLATION_NONE, /*< desc="interpolation|None" >*/
GIMP_INTERPOLATION_LINEAR, /*< desc="interpolation|Linear" >*/
GIMP_INTERPOLATION_CUBIC, /*< desc="Cubic" >*/
GIMP_INTERPOLATION_LANCZOS /*< desc="Lanczos" >*/

View File

@ -1180,7 +1180,7 @@ gimp_page_selector_selection_changed (GtkIconView *icon_view,
gchar *text;
if (n_selected == priv->n_pages)
text = g_strdup_printf (ngettext ("All %d page selected",
text = g_strdup_printf (ngettext ("%d page selected",
"All %d pages selected", n_selected),
n_selected);
else

View File

@ -1,3 +1,7 @@
2006-08-23 Sven Neumann <sven@gimp.org>
* de.po: updated.
2006-08-22 Clytie Siddall <clytie@riverland.net.au>
* vi.po: Updated Vietnamese translation.

File diff suppressed because it is too large Load Diff