app, plug-ins: make missing tooltips translatable

This commit is contained in:
Anders Jonsson 2023-12-19 17:54:12 +01:00 committed by Alx Sa
parent 02b970d6a9
commit 37c971c08e
6 changed files with 24 additions and 24 deletions

View File

@ -182,7 +182,7 @@ _("When enabled, the selected pattern will be used for all tools.")
"When enabled, the selected palette will be used for all tools."
#define GLOBAL_EXPAND_BLURB \
"When enabled, the selected auto expand layer settings will be used for all tools."
_("When enabled, the selected auto expand layer settings will be used for all tools.")
#define GRADIENT_PATH_BLURB \
"Sets the gradient search path."
@ -782,7 +782,7 @@ _("When enabled, uses OpenCL for some operations.")
"'user-manual-online' is enabled."
#define ZOOM_QUALITY_BLURB \
"There's a tradeoff between speed and quality of the zoomed-out display."
_("There's a tradeoff between speed and quality of the zoomed-out display.")
#define DEFAULT_USE_EVENT_HISTORY_BLURB \
"Bugs in event history buffer are frequent so in case of cursor " \

View File

@ -375,7 +375,7 @@ compose_create_procedure (GimpPlugIn *plug_in,
GString *type_desc;
gint i;
type_desc = g_string_new ("What to compose: ");
type_desc = g_string_new (_("What to compose: "));
g_string_append_c (type_desc, '"');
g_string_append (type_desc, compose_dsc[0].compose_type);
g_string_append_c (type_desc, '"');

View File

@ -258,7 +258,7 @@ decompose_create_procedure (GimpPlugIn *plug_in,
GString *type_desc;
gint i;
type_desc = g_string_new ("What to decompose: ");
type_desc = g_string_new (_("What to decompose: "));
g_string_append_c (type_desc, '"');
g_string_append (type_desc, extract[0].type);
g_string_append_c (type_desc, '"');
@ -302,7 +302,7 @@ decompose_create_procedure (GimpPlugIn *plug_in,
GIMP_PROC_ARG_BOOLEAN (procedure, "layers-mode",
"Layers mode",
"Create channels as layers in a single image",
_("Create channels as layers in a single image"),
TRUE,
G_PARAM_READWRITE);

View File

@ -221,31 +221,31 @@ merge_create_procedure (GimpPlugIn *plug_in,
GIMP_PROC_ARG_DRAWABLE (procedure, "source-1",
_("Source _1"),
"Source 1",
_("Source 1"),
TRUE,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DRAWABLE (procedure, "depth-map-1",
_("_Depth map 1"),
"Depth map 1",
_("Depth map 1"),
TRUE,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DRAWABLE (procedure, "source-2",
_("Source _2"),
"Source 2",
_("Source 2"),
TRUE,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DRAWABLE (procedure, "depth-map-2",
_("Depth _map 2"),
"Depth map 2",
_("Depth map 2"),
TRUE,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "overlap",
_("O_verlap"),
"Overlap",
_("Overlap"),
0, 2, 0,
G_PARAM_READWRITE);
@ -257,13 +257,13 @@ merge_create_procedure (GimpPlugIn *plug_in,
GIMP_PROC_ARG_DOUBLE (procedure, "scale-1",
_("Sc_ale 1"),
"Depth relative scale 1",
_("Depth relative scale 1"),
-1, 1, 1,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "scale-2",
_("Scal_e 2"),
"Depth relative scale 2",
_("Depth relative scale 2"),
-1, 1, 1,
G_PARAM_READWRITE);
}

View File

@ -136,14 +136,14 @@ wavelet_create_procedure (GimpPlugIn *plug_in,
GIMP_PROC_ARG_BOOLEAN (procedure, "create-group",
_("Create a layer group to store the "
"_decomposition"),
"Create a layer group to store the "
"decomposition",
_("Create a layer group to store the "
"decomposition"),
TRUE,
G_PARAM_READWRITE);
GIMP_PROC_ARG_BOOLEAN (procedure, "create-masks",
_("_Add a layer mask to each scales layer"),
"Add a layer mask to each scales layer",
_("Add a layer mask to each scales layer"),
FALSE,
G_PARAM_READWRITE);
}

View File

@ -851,50 +851,50 @@ gflare_create_procedure (GimpPlugIn *plug_in,
GIMP_PROC_ARG_DOUBLE (procedure, "radius",
_("Radi_us"),
"Radius of GFlare (pixel)",
_("Radius of GFlare (pixel)"),
1, GIMP_MAX_IMAGE_SIZE, 100,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "rotation",
_("Ro_tation"),
"Rotation of GFlare (degree)",
_("Rotation of GFlare (degree)"),
0, 360, 0,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "hue",
_("_Hue rotation"),
"_Hue rotation of GFlare (degree)",
_("Hue rotation of GFlare (degree)"),
0, 360, 0,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "vector-angle",
_("Vector _angle"),
"Vector angle for second flares (degree)",
_("Vector angle for second flares (degree)"),
0, 360, 60,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "vector-length",
_("Vector len_gth"),
"Vector length for second flares "
"(percentage of Radius)",
_("Vector length for second flares "
"(percentage of Radius)"),
0, 10000, 400,
G_PARAM_READWRITE);
GIMP_PROC_ARG_BOOLEAN (procedure, "use-asupsample",
_("Ada_ptive supersampling"),
"Use adaptive supersampling while rendering",
_("Use adaptive supersampling while rendering"),
FALSE,
G_PARAM_READWRITE);
GIMP_PROC_ARG_INT (procedure, "asupsample-max-depth",
_("_Max depth"),
"Max depth for adaptive supersampling",
_("Max depth for adaptive supersampling"),
0, 10, 3,
G_PARAM_READWRITE);
GIMP_PROC_ARG_DOUBLE (procedure, "asupsample-threshold",
_("Threshol_d"),
"Threshold for adaptive supersampling",
_("Threshold for adaptive supersampling"),
0.0, 1.0, 0.2,
G_PARAM_READWRITE);
}