Commit 8a20035e authored by Michael Natterer's avatar Michael Natterer 😴

Bug 661313 - "None" string needs differentiation (message context)

Add translation context to all "None".
parent 3669acf0
......@@ -421,7 +421,7 @@ align_layers_dialog (void)
table, FALSE, FALSE, 0);
gtk_widget_show (table);
combo = gimp_int_combo_box_new (_("None"), H_NONE,
combo = gimp_int_combo_box_new (C_("align-style", "None"), H_NONE,
_("Collect"), H_COLLECT,
_("Fill (left to right)"), LEFT2RIGHT,
_("Fill (right to left)"), RIGHT2LEFT,
......@@ -452,7 +452,7 @@ align_layers_dialog (void)
_("Ho_rizontal base:"), 0.0, 0.5,
combo, 2, FALSE);
combo = gimp_int_combo_box_new (_("None"), V_NONE,
combo = gimp_int_combo_box_new (C_("align-style", "None"), V_NONE,
_("Collect"), V_COLLECT,
_("Fill (top to bottom)"), TOP2BOTTOM,
_("Fill (bottom to top)"), BOTTOM2TOP,
......
......@@ -163,7 +163,7 @@ enum
static const gchar *composition_names[COMP_NUM_VALUES] =
{
N_("None"),
NC_("cml-composition", "None"),
N_("Max (x, -)"),
N_("Max (x+d, -)"),
N_("Max (x-d, -)"),
......
......@@ -3248,9 +3248,9 @@ load_dialog (const gchar *filename,
G_CALLBACK (gimp_radio_button_update),
&plvals.textalpha, plvals.textalpha,
_("None"), 1, NULL,
_("Weak"), 2, NULL,
_("Strong"), 4, NULL,
C_("antialiasing", "None"), 1, NULL,
_("Weak"), 2, NULL,
_("Strong"), 4, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (hbox), frame, FALSE, TRUE, 0);
......@@ -3260,9 +3260,9 @@ load_dialog (const gchar *filename,
G_CALLBACK (gimp_radio_button_update),
&plvals.graphicsalpha, plvals.graphicsalpha,
_("None"), 1, NULL,
_("Weak"), 2, NULL,
_("Strong"), 4, NULL,
C_("antialiasing", "None"), 1, NULL,
_("Weak"), 2, NULL,
_("Strong"), 4, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (hbox), frame, FALSE, TRUE, 0);
......
......@@ -644,9 +644,9 @@ save_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&psvals.compression, psvals.compression,
_("None"), PSP_COMP_NONE, NULL,
_("RLE"), PSP_COMP_RLE, NULL,
_("LZ77"), PSP_COMP_LZ77, NULL,
C_("compression", "None"), PSP_COMP_NONE, NULL,
_("RLE"), PSP_COMP_RLE, NULL,
_("LZ77"), PSP_COMP_LZ77, NULL,
NULL);
......
......@@ -1041,7 +1041,7 @@ load_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&plvals.compose, plvals.compose,
_("None"), FALSE, NULL,
C_("composing", "None"), FALSE, NULL,
"NAXIS=3, NAXIS3=2,...,4", TRUE, NULL,
NULL);
......
......@@ -994,11 +994,11 @@ explorer_dialog (void)
G_CALLBACK (explorer_radio_update),
&wvals.redmode, wvals.redmode,
_("Sine"), SINUS,
_("Sine"), SINUS,
&elements->redmode[SINUS],
_("Cosine"), COSINUS,
_("Cosine"), COSINUS,
&elements->redmode[COSINUS],
_("None"), NONE,
C_("color-function", "None"), NONE,
&elements->redmode[NONE],
NULL);
......@@ -1035,11 +1035,11 @@ explorer_dialog (void)
G_CALLBACK (explorer_radio_update),
&wvals.greenmode, wvals.greenmode,
_("Sine"), SINUS,
_("Sine"), SINUS,
&elements->greenmode[SINUS],
_("Cosine"), COSINUS,
_("Cosine"), COSINUS,
&elements->greenmode[COSINUS],
_("None"), NONE,
C_("color-function", "None"), NONE,
&elements->greenmode[NONE],
NULL);
......@@ -1076,11 +1076,11 @@ explorer_dialog (void)
G_CALLBACK (explorer_radio_update),
&wvals.bluemode, wvals.bluemode,
_("Sine"), SINUS,
_("Sine"), SINUS,
&elements->bluemode[SINUS],
_("Cosine"), COSINUS,
_("Cosine"), COSINUS,
&elements->bluemode[COSINUS],
_("None"), NONE,
C_("color-function", "None"), NONE,
&elements->bluemode[NONE],
NULL);
......
......@@ -415,10 +415,10 @@ create_light_page (void)
gtk_widget_show (label);
light_type_combo =
gimp_int_combo_box_new (_("None"), NO_LIGHT,
_("Directional"), DIRECTIONAL_LIGHT,
_("Point"), POINT_LIGHT,
/* _("Spot"), SPOT_LIGHT, */
gimp_int_combo_box_new (C_("light-source", "None"), NO_LIGHT,
_("Directional"), DIRECTIONAL_LIGHT,
_("Point"), POINT_LIGHT,
/* _("Spot"), SPOT_LIGHT, */
NULL);
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (light_type_combo),
mapvals.lightsource[k].type);
......
......@@ -458,10 +458,10 @@ print_offset_frame (PrintData *data,
gtk_widget_show (label);
/* if and how to center the image on the page */
combo = gimp_int_combo_box_new (_("None"), CENTER_NONE,
_("Horizontally"), CENTER_HORIZONTALLY,
_("Vertically"), CENTER_VERTICALLY,
_("Both"), CENTER_BOTH,
combo = gimp_int_combo_box_new (C_("center-mode", "None"), CENTER_NONE,
_("Horizontally"), CENTER_HORIZONTALLY,
_("Vertically"), CENTER_VERTICALLY,
_("Both"), CENTER_BOTH,
NULL);
gtk_box_pack_start (GTK_BOX (hbox), combo, TRUE, TRUE, 0);
gtk_widget_show (combo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment