Compare commits

...

17 Commits

Author SHA1 Message Date
Matthias Clasen
ede83e95c1 wayland: Use a viewport for pointer surfaces
This should give us more flexibility for buffer size vs surface
size. Unfortunately, mutter doesn't play along.
2024-03-19 12:58:41 -04:00
Alexandre Franke
2ec9fc26d3 Update French translation 2024-03-19 13:06:37 +00:00
Matthias Clasen
c2d898d462 Merge branch 'fix-macos-typo' into 'main'
quartz: Fix a crash

See merge request GNOME/gtk!7059
2024-03-19 03:11:58 +00:00
Matthias Clasen
7c04231255 Merge branch 'macos-remove-shadows' into 'main'
macos: Drop shadow related code from macos backend

See merge request GNOME/gtk!7048
2024-03-19 02:38:38 +00:00
Arjan Molenaar
08216dcee9 macos: Drop shadow related code from macos backend 2024-03-19 02:38:37 +00:00
Matthias Clasen
9817df12ff quartz: Fix a crash
This was an oversight in 816f8807a3.
2024-03-18 21:51:24 -04:00
Matthias Clasen
5b0e8eb574 Merge branch 'fix-macos-typo' into 'main'
macos: Fix a typo in the appmenu handling code

See merge request GNOME/gtk!7055
2024-03-19 01:49:08 +00:00
Matthias Clasen
cecde85faa Merge branch 'drag-cursor-tweak' into 'main'
dnd: Use the default cursor during motion

Closes #6337 and #6511

See merge request GNOME/gtk!7058
2024-03-19 01:46:35 +00:00
Matthias Clasen
aa95b4f341 dnd: Use the default cursor during motion
When no action is selected, use the default cursor, and only
switch to one of the action-indicating cursors when we are over
a drop target.

Fixes: #6337
Fixes: #6511
2024-03-18 21:17:55 -04:00
Matthias Clasen
816f8807a3 macos: Fix a typo in the appmenu handling code
We were using APP_DATA in one place, and APP_MENU in the other.
Just stop using object data for this.
2024-03-18 18:49:55 -04:00
Martin
26d3c407b3 Update Slovenian translation 2024-03-18 17:36:52 +00:00
Matthias Clasen
a973e8ea8d Merge branch 'gl-offload-fixes' into 'main'
gl: Handle offloads in offscreen context better

Closes #6551

See merge request GNOME/gtk!7053
2024-03-18 15:22:22 +00:00
Matthias Clasen
b007597c58 Merge branch 'macos-application-demo' into 'main'
Revert "macos: fix weird menubar rendering."

Closes #6524

See merge request GNOME/gtk!7052
2024-03-18 14:40:45 +00:00
Matthias Clasen
1e83a44c93 gl: Handle offloads in offscreen context better
Back out of offloading below if we are in an offscreen context,
since the hole will get lost in the offscreen.

Fixes: #6551
2024-03-18 08:41:31 -04:00
Matthias Clasen
259ad83de9 macos: Fix up app menu support
We were forgetting to add the newly loaded app menu to the
combined menubar. Pointed out by Dominik Reichardt in #6524.

Fixes: #6524
2024-03-18 07:50:30 -04:00
Matthias Clasen
b4f5432d5a gtk4-demo: Clean up the application demo
This partially reverts ca1c570c21.
2024-03-17 22:29:22 -04:00
Matthias Clasen
4fe4523c49 Revert "macos: fix weird menubar rendering."
This reverts commit 75868dfee4.
2024-03-17 22:29:22 -04:00
15 changed files with 274 additions and 345 deletions

View File

@@ -2,7 +2,7 @@
<interface> <interface>
<menu id="menubar"> <menu id="menubar">
<submenu> <submenu>
<attribute name="label" translatable="yes">_Application</attribute> <attribute name="label" translatable="yes">_File</attribute>
<section> <section>
<item> <item>
<attribute name="label" translatable="yes">_New</attribute> <attribute name="label" translatable="yes">_New</attribute>
@@ -33,7 +33,7 @@
</section> </section>
</submenu> </submenu>
<submenu> <submenu>
<attribute name="label" translatable="yes">_File</attribute> <attribute name="label" translatable="yes">_Preferences</attribute>
<section> <section>
<item> <item>
<attribute name="label" translatable="yes">_Prefer Dark Theme</attribute> <attribute name="label" translatable="yes">_Prefer Dark Theme</attribute>

View File

@@ -50,18 +50,6 @@
#include "gdkenumtypes.h" #include "gdkenumtypes.h"
#include "gdkeventsprivate.h" #include "gdkeventsprivate.h"
static struct {
GdkDragAction action;
const char *name;
GdkCursor *cursor;
} drag_cursors[] = {
{ GDK_ACTION_ASK, "dnd-ask", NULL },
{ GDK_ACTION_COPY, "copy", NULL },
{ GDK_ACTION_MOVE, "move", NULL },
{ GDK_ACTION_LINK, "alias", NULL },
{ 0, "no-drop", NULL },
};
enum { enum {
PROP_0, PROP_0,
PROP_CONTENT, PROP_CONTENT,
@@ -786,6 +774,18 @@ gdk_drag_handle_source_event (GdkEvent *event)
return FALSE; return FALSE;
} }
static struct {
GdkDragAction action;
const char *name;
GdkCursor *cursor;
} drag_cursors[] = {
{ 0, "default", NULL },
{ GDK_ACTION_ASK, "dnd-ask", NULL },
{ GDK_ACTION_COPY, "copy", NULL },
{ GDK_ACTION_MOVE, "move", NULL },
{ GDK_ACTION_LINK, "alias", NULL },
};
GdkCursor * GdkCursor *
gdk_drag_get_cursor (GdkDrag *drag, gdk_drag_get_cursor (GdkDrag *drag,
GdkDragAction action) GdkDragAction action)

View File

@@ -296,10 +296,6 @@ typedef NSString *CALayerContentsGravity;
GdkMonitor *monitor; GdkMonitor *monitor;
GdkRectangle geometry; GdkRectangle geometry;
GdkRectangle workarea; GdkRectangle workarea;
int shadow_top = 0;
int shadow_left = 0;
int shadow_right = 0;
int shadow_bottom = 0;
GdkRectangle window_gdk; GdkRectangle window_gdk;
GdkPoint pointer_position; GdkPoint pointer_position;
GdkPoint new_origin; GdkPoint new_origin;
@@ -307,13 +303,6 @@ typedef NSString *CALayerContentsGravity;
if (!inManualMove) if (!inManualMove)
return NO; return NO;
/* Get our shadow so we can adjust the window position sans-shadow */
_gdk_macos_surface_get_shadow (gdk_surface,
&shadow_top,
&shadow_right,
&shadow_bottom,
&shadow_left);
windowFrame = [self frame]; windowFrame = [self frame];
currentLocation = [NSEvent mouseLocation]; currentLocation = [NSEvent mouseLocation];
@@ -339,21 +328,9 @@ typedef NSString *CALayerContentsGravity;
window_gdk.width = windowFrame.size.width; window_gdk.width = windowFrame.size.width;
window_gdk.height = windowFrame.size.height; window_gdk.height = windowFrame.size.height;
/* Subtract our shadowin from the window */
window_gdk.x += shadow_left;
window_gdk.y += shadow_top;
window_gdk.width = window_gdk.width - shadow_left - shadow_right;
window_gdk.height = window_gdk.height - shadow_top - shadow_bottom;
/* Now place things on the monitor */ /* Now place things on the monitor */
_edge_snapping_motion (&self->snapping, &pointer_position, &window_gdk); _edge_snapping_motion (&self->snapping, &pointer_position, &window_gdk);
/* And add our shadow back to the frame */
window_gdk.x -= shadow_left;
window_gdk.y -= shadow_top;
window_gdk.width += shadow_left + shadow_right;
window_gdk.height += shadow_top + shadow_bottom;
/* Convert to quartz coordinates */ /* Convert to quartz coordinates */
_gdk_macos_display_to_display_coords ([self gdkDisplay], _gdk_macos_display_to_display_coords ([self gdkDisplay],
window_gdk.x, window_gdk.x,
@@ -737,17 +714,11 @@ typedef NSString *CALayerContentsGravity;
-(NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen -(NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen
{ {
GdkMacosSurface *surface = gdk_surface;
NSRect rect; NSRect rect;
int shadow_top;
/* Allow the window to move up "shadow_top" more than normally allowed
* by the default impl. This makes it possible to move windows with
* client side shadow right up to the screen's menu bar. */
_gdk_macos_surface_get_shadow (surface, &shadow_top, NULL, NULL, NULL);
rect = [super constrainFrameRect:frameRect toScreen:screen]; rect = [super constrainFrameRect:frameRect toScreen:screen];
if (frameRect.origin.y > rect.origin.y) if (frameRect.origin.y > rect.origin.y)
rect.origin.y = MIN (frameRect.origin.y, rect.origin.y + shadow_top); rect.origin.y = MIN (frameRect.origin.y, rect.origin.y);
return rect; return rect;
} }

View File

@@ -47,20 +47,20 @@ _gdk_macos_display_position_toplevel_with_parent (GdkMacosDisplay *self,
/* Try to center on top of the parent but also try to make the whole thing /* Try to center on top of the parent but also try to make the whole thing
* visible in case that lands us under the topbar/panel/etc. * visible in case that lands us under the topbar/panel/etc.
*/ */
parent_rect.x = parent->root_x + parent->shadow_left; parent_rect.x = parent->root_x;
parent_rect.y = parent->root_y + parent->shadow_top; parent_rect.y = parent->root_y;
parent_rect.width = GDK_SURFACE (parent)->width - parent->shadow_left - parent->shadow_right; parent_rect.width = GDK_SURFACE (parent)->width;
parent_rect.height = GDK_SURFACE (parent)->height - parent->shadow_top - parent->shadow_bottom; parent_rect.height = GDK_SURFACE (parent)->height;
surface_rect.width = GDK_SURFACE (surface)->width - surface->shadow_left - surface->shadow_right; surface_rect.width = GDK_SURFACE (surface)->width;
surface_rect.height = GDK_SURFACE (surface)->height - surface->shadow_top - surface->shadow_bottom; surface_rect.height = GDK_SURFACE (surface)->height;
surface_rect.x = parent_rect.x + ((parent_rect.width - surface_rect.width) / 2); surface_rect.x = parent_rect.x + ((parent_rect.width - surface_rect.width) / 2);
surface_rect.y = parent_rect.y + ((parent_rect.height - surface_rect.height) / 2); surface_rect.y = parent_rect.y + ((parent_rect.height - surface_rect.height) / 2);
_gdk_macos_monitor_clamp (GDK_MACOS_MONITOR (monitor), &surface_rect); _gdk_macos_monitor_clamp (GDK_MACOS_MONITOR (monitor), &surface_rect);
*x = surface_rect.x - surface->shadow_left; *x = surface_rect.x;
*y = surface_rect.y - surface->shadow_top; *y = surface_rect.y;
} }
static inline gboolean static inline gboolean
@@ -99,15 +99,15 @@ _gdk_macos_display_position_toplevel (GdkMacosDisplay *self,
gdk_macos_monitor_get_workarea (monitor, &workarea); gdk_macos_monitor_get_workarea (monitor, &workarea);
/* First place at top-left of current monitor */ /* First place at top-left of current monitor */
surface_rect.width = GDK_SURFACE (surface)->width - surface->shadow_left - surface->shadow_right; surface_rect.width = GDK_SURFACE (surface)->width;
surface_rect.height = GDK_SURFACE (surface)->height - surface->shadow_top - surface->shadow_bottom; surface_rect.height = GDK_SURFACE (surface)->height;
surface_rect.x = workarea.x + ((workarea.width - surface_rect.width) / 2); surface_rect.x = workarea.x + ((workarea.width - surface_rect.width) / 2);
surface_rect.y = workarea.y + ((workarea.height - surface_rect.height) / 2); surface_rect.y = workarea.y + ((workarea.height - surface_rect.height) / 2);
_gdk_macos_monitor_clamp (GDK_MACOS_MONITOR (surface->best_monitor), &surface_rect); _gdk_macos_monitor_clamp (GDK_MACOS_MONITOR (surface->best_monitor), &surface_rect);
*x = surface_rect.x - surface->shadow_left; *x = surface_rect.x;
*y = surface_rect.y - surface->shadow_top; *y = surface_rect.y;
/* Try to see if there are any other surfaces at this origin and if so, /* Try to see if there are any other surfaces at this origin and if so,
* adjust until we get something better. * adjust until we get something better.
@@ -119,11 +119,11 @@ _gdk_macos_display_position_toplevel (GdkMacosDisplay *self,
*y += WARP_OFFSET_Y; *y += WARP_OFFSET_Y;
/* If we reached the bottom right, just bail and try the workspace origin */ /* If we reached the bottom right, just bail and try the workspace origin */
if (*x + surface->shadow_left + WARP_OFFSET_X > workarea.x + workarea.width || if (*x + WARP_OFFSET_X > workarea.x + workarea.width ||
*y + surface->shadow_top + WARP_OFFSET_Y > workarea.y + workarea.height) *y + WARP_OFFSET_Y > workarea.y + workarea.height)
{ {
*x = workarea.x - surface->shadow_left; *x = workarea.x;
*y = workarea.y - surface->shadow_top; *y = workarea.y;
return; return;
} }
} }

View File

@@ -68,19 +68,10 @@ gdk_macos_popup_surface_layout (GdkMacosPopupSurface *self,
monitor = _gdk_macos_surface_get_best_monitor (GDK_MACOS_SURFACE (self)); monitor = _gdk_macos_surface_get_best_monitor (GDK_MACOS_SURFACE (self));
gdk_macos_monitor_get_workarea (monitor, &bounds); gdk_macos_monitor_get_workarea (monitor, &bounds);
gdk_popup_layout_get_shadow_width (layout,
&self->parent_instance.shadow_left,
&self->parent_instance.shadow_right,
&self->parent_instance.shadow_top,
&self->parent_instance.shadow_bottom);
gdk_surface_layout_popup_helper (GDK_SURFACE (self), gdk_surface_layout_popup_helper (GDK_SURFACE (self),
width, width,
height, height,
self->parent_instance.shadow_left, 0, 0, 0, 0, /* shadow-left/right/top/bottom */
self->parent_instance.shadow_right,
self->parent_instance.shadow_top,
self->parent_instance.shadow_bottom,
monitor, monitor,
&bounds, &bounds,
self->layout, self->layout,

View File

@@ -61,11 +61,6 @@ struct _GdkMacosSurface
int height; int height;
} next_layout; } next_layout;
int shadow_top;
int shadow_right;
int shadow_bottom;
int shadow_left;
cairo_rectangle_int_t next_frame; cairo_rectangle_int_t next_frame;
gint64 pending_frame_counter; gint64 pending_frame_counter;
@@ -91,16 +86,6 @@ CGDirectDisplayID _gdk_macos_surface_get_screen_id (GdkMacosSurface
const char *_gdk_macos_surface_get_title (GdkMacosSurface *self); const char *_gdk_macos_surface_get_title (GdkMacosSurface *self);
void _gdk_macos_surface_set_title (GdkMacosSurface *self, void _gdk_macos_surface_set_title (GdkMacosSurface *self,
const char *title); const char *title);
void _gdk_macos_surface_get_shadow (GdkMacosSurface *self,
int *top,
int *right,
int *bottom,
int *left);
void _gdk_macos_surface_set_shadow (GdkMacosSurface *self,
int top,
int right,
int bottom,
int left);
gboolean _gdk_macos_surface_is_opaque (GdkMacosSurface *self); gboolean _gdk_macos_surface_is_opaque (GdkMacosSurface *self);
NSView *_gdk_macos_surface_get_view (GdkMacosSurface *self); NSView *_gdk_macos_surface_get_view (GdkMacosSurface *self);
gboolean _gdk_macos_surface_get_modal_hint (GdkMacosSurface *self); gboolean _gdk_macos_surface_get_modal_hint (GdkMacosSurface *self);

View File

@@ -236,32 +236,6 @@ gdk_macos_surface_get_scale (GdkSurface *surface)
return [self->window backingScaleFactor]; return [self->window backingScaleFactor];
} }
void
_gdk_macos_surface_set_shadow (GdkMacosSurface *surface,
int top,
int right,
int bottom,
int left)
{
GdkMacosSurface *self = (GdkMacosSurface *)surface;
g_assert (GDK_IS_MACOS_SURFACE (self));
if (self->shadow_top == top &&
self->shadow_right == right &&
self->shadow_bottom == bottom &&
self->shadow_left == left)
return;
self->shadow_top = top;
self->shadow_right = right;
self->shadow_bottom = bottom;
self->shadow_left = left;
if (top || right || bottom || left)
[self->window setHasShadow:NO];
}
static void static void
gdk_macos_surface_begin_frame (GdkMacosSurface *self) gdk_macos_surface_begin_frame (GdkMacosSurface *self)
{ {
@@ -579,29 +553,6 @@ gdk_macos_surface_init (GdkMacosSurface *self)
self->monitors = g_ptr_array_new_with_free_func (g_object_unref); self->monitors = g_ptr_array_new_with_free_func (g_object_unref);
} }
void
_gdk_macos_surface_get_shadow (GdkMacosSurface *self,
int *top,
int *right,
int *bottom,
int *left)
{
g_return_if_fail (GDK_IS_MACOS_SURFACE (self));
if (top)
*top = self->shadow_top;
if (left)
*left = self->shadow_left;
if (bottom)
*bottom = self->shadow_bottom;
if (right)
*right = self->shadow_right;
}
gboolean gboolean
_gdk_macos_surface_is_opaque (GdkMacosSurface *self) _gdk_macos_surface_is_opaque (GdkMacosSurface *self)
{ {
@@ -1097,16 +1048,12 @@ _gdk_macos_surface_monitor_changed (GdkMacosSurface *self)
g_set_object (&child->best_monitor, best); g_set_object (&child->best_monitor, best);
area.x = self->root_x + GDK_SURFACE (child)->x + child->shadow_left; area.x = self->root_x + GDK_SURFACE (child)->x;
area.y = self->root_y + GDK_SURFACE (child)->y + child->shadow_top; area.y = self->root_y + GDK_SURFACE (child)->y;
area.width = GDK_SURFACE (child)->width - child->shadow_left - child->shadow_right; area.width = GDK_SURFACE (child)->width;
area.height = GDK_SURFACE (child)->height - child->shadow_top - child->shadow_bottom; area.height = GDK_SURFACE (child)->height;
_gdk_macos_monitor_clamp (GDK_MACOS_MONITOR (best), &area); _gdk_macos_monitor_clamp (GDK_MACOS_MONITOR (best), &area);
area.x -= child->shadow_left;
area.y -= child->shadow_top;
_gdk_macos_surface_move (child, area.x, area.y); _gdk_macos_surface_move (child, area.x, area.y);
gdk_surface_invalidate_rect (GDK_SURFACE (child), NULL); gdk_surface_invalidate_rect (GDK_SURFACE (child), NULL);
} }

View File

@@ -152,13 +152,6 @@ _gdk_macos_toplevel_surface_compute_size (GdkSurface *surface)
mask = GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE; mask = GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE;
} }
if (size.shadow.is_valid)
_gdk_macos_surface_set_shadow (macos_surface,
size.shadow.top,
size.shadow.right,
size.shadow.bottom,
size.shadow.left);
_gdk_macos_surface_set_geometry_hints (macos_surface, &geometry, mask); _gdk_macos_surface_set_geometry_hints (macos_surface, &geometry, mask);
if (surface->state & (GDK_TOPLEVEL_STATE_FULLSCREEN | if (surface->state & (GDK_TOPLEVEL_STATE_FULLSCREEN |

View File

@@ -62,6 +62,7 @@ struct _GdkWaylandPointerData {
uint32_t grab_time; uint32_t grab_time;
struct wl_surface *pointer_surface; struct wl_surface *pointer_surface;
struct wp_viewport *pointer_surface_viewport;
guint cursor_is_default: 1; guint cursor_is_default: 1;
GdkCursor *cursor; GdkCursor *cursor;
guint cursor_timeout_id; guint cursor_timeout_id;

View File

@@ -310,7 +310,10 @@ gdk_wayland_device_update_surface_cursor (GdkDevice *device)
if (buffer) if (buffer)
{ {
wl_surface_attach (pointer->pointer_surface, buffer, 0, 0); wl_surface_attach (pointer->pointer_surface, buffer, 0, 0);
wl_surface_set_buffer_scale (pointer->pointer_surface, scale); if (pointer->pointer_surface_viewport)
wp_viewport_set_destination (pointer->pointer_surface_viewport, w, h);
else
wl_surface_set_buffer_scale (pointer->pointer_surface, scale);
wl_surface_damage (pointer->pointer_surface, 0, 0, w, h); wl_surface_damage (pointer->pointer_surface, 0, 0, w, h);
wl_surface_commit (pointer->pointer_surface); wl_surface_commit (pointer->pointer_surface);
} }

View File

@@ -3878,6 +3878,7 @@ gdk_wayland_pointer_data_finalize (GdkWaylandPointerData *pointer)
g_clear_object (&pointer->cursor); g_clear_object (&pointer->cursor);
wl_surface_destroy (pointer->pointer_surface); wl_surface_destroy (pointer->pointer_surface);
g_slist_free (pointer->pointer_surface_outputs); g_slist_free (pointer->pointer_surface_outputs);
g_clear_pointer (&pointer->pointer_surface_viewport, wp_viewport_destroy);
} }
static void static void
@@ -4241,6 +4242,8 @@ init_pointer_data (GdkWaylandPointerData *pointer_data,
wl_surface_add_listener (pointer_data->pointer_surface, wl_surface_add_listener (pointer_data->pointer_surface,
&pointer_surface_listener, &pointer_surface_listener,
logical_device); logical_device);
if (display_wayland->viewporter)
pointer_data->pointer_surface_viewport = wp_viewporter_get_viewport (display_wayland->viewporter, pointer_data->pointer_surface);
} }
void void

View File

@@ -52,8 +52,6 @@
#include "ninesliceprivate.h" #include "ninesliceprivate.h"
#include "fp16private.h" #include "fp16private.h"
#define ALLOW_OFFLOAD_FOR_ANY_TEXTURE 1
#define ORTHO_NEAR_PLANE -10000 #define ORTHO_NEAR_PLANE -10000
#define ORTHO_FAR_PLANE 10000 #define ORTHO_FAR_PLANE 10000
#define MAX_GRADIENT_STOPS 6 #define MAX_GRADIENT_STOPS 6
@@ -176,6 +174,8 @@ struct _GskGLRenderJob
* looking at the format of the framebuffer we are rendering on. * looking at the format of the framebuffer we are rendering on.
*/ */
int target_format; int target_format;
guint offscreen_count; /* if > 0, we're rendering to an offscreen */
}; };
typedef struct _GskGLRenderOffscreen typedef struct _GskGLRenderOffscreen
@@ -4002,9 +4002,15 @@ gsk_gl_render_job_visit_subsurface_node (GskGLRenderJob *job,
{ {
if (!gdk_subsurface_is_above_parent (subsurface)) if (!gdk_subsurface_is_above_parent (subsurface))
{ {
/* Clear the area so we can see through */ if (job->offscreen_count > 0)
if (gsk_gl_render_job_begin_draw (job, CHOOSE_PROGRAM (job, color)))
{ {
GDK_DISPLAY_DEBUG (gdk_gl_context_get_display (job->command_queue->context), OFFLOAD, "Hiding subsurface %p in offscreen context", subsurface);
gdk_subsurface_detach (subsurface);
gsk_gl_render_job_visit_node (job, gsk_subsurface_node_get_child (node));
}
else if (gsk_gl_render_job_begin_draw (job, CHOOSE_PROGRAM (job, color)))
{
/* Clear the area so we can see through */
GskGLCommandBatch *batch; GskGLCommandBatch *batch;
guint16 color[4]; guint16 color[4];
rgba_to_half (&(GdkRGBA){0,0,0,0}, color); rgba_to_half (&(GdkRGBA){0,0,0,0}, color);
@@ -4422,8 +4428,12 @@ gsk_gl_render_job_visit_node_with_offscreen (GskGLRenderJob *job,
reset_clip = TRUE; reset_clip = TRUE;
} }
job->offscreen_count++;
gsk_gl_render_job_visit_node (job, node); gsk_gl_render_job_visit_node (job, node);
job->offscreen_count--;
if (reset_clip) if (reset_clip)
gsk_gl_render_job_pop_clip (job); gsk_gl_render_job_pop_clip (job);

View File

@@ -48,6 +48,7 @@ typedef struct
GtkActionMuxer *muxer; GtkActionMuxer *muxer;
GMenu *combined; GMenu *combined;
GMenuModel *standard_app_menu;
GSList *inhibitors; GSList *inhibitors;
int quit_inhibit; int quit_inhibit;
@@ -150,6 +151,29 @@ static GActionEntry gtk_application_impl_quartz_actions[] = {
{ "show-all", gtk_application_impl_quartz_show_all } { "show-all", gtk_application_impl_quartz_show_all }
}; };
static void
gtk_application_impl_quartz_set_app_menu (GtkApplicationImpl *impl,
GMenuModel *app_menu)
{
GtkApplicationImplQuartz *quartz = (GtkApplicationImplQuartz *) impl;
/* If there are any items at all, then the first one is the app menu */
if (g_menu_model_get_n_items (G_MENU_MODEL (quartz->combined)))
g_menu_remove (quartz->combined, 0);
if (app_menu)
g_menu_prepend_submenu (quartz->combined, "Application", app_menu);
else
{
GMenu *empty;
/* We must preserve the rule that index 0 is the app menu */
empty = g_menu_new ();
g_menu_prepend_submenu (quartz->combined, "Application", G_MENU_MODEL (empty));
g_object_unref (empty);
}
}
static void static void
gtk_application_impl_quartz_startup (GtkApplicationImpl *impl, gtk_application_impl_quartz_startup (GtkApplicationImpl *impl,
gboolean register_session) gboolean register_session)
@@ -184,6 +208,23 @@ gtk_application_impl_quartz_startup (GtkApplicationImpl *impl,
g_object_unref (gtkinternal); g_object_unref (gtkinternal);
/* now setup the menu */ /* now setup the menu */
if (quartz->standard_app_menu == NULL)
{
GtkBuilder *builder;
/* If the user didn't fill in their own menu yet, add ours.
*
* The fact that we do this here ensures that we will always have the
* app menu at index 0 in 'combined'.
*/
builder = gtk_builder_new_from_resource ("/org/gtk/libgtk/ui/gtkapplication-quartz.ui");
quartz->standard_app_menu = G_MENU_MODEL (g_object_ref (gtk_builder_get_object (builder, "app-menu")));
g_object_unref (builder);
}
gtk_application_impl_quartz_set_app_menu (impl, quartz->standard_app_menu);
/* This may or may not add an item to 'combined' */
gtk_application_impl_set_menubar (impl, gtk_application_get_menubar (impl->application)); gtk_application_impl_set_menubar (impl, gtk_application_get_menubar (impl->application));
/* OK. Now put it in the menu. */ /* OK. Now put it in the menu. */
@@ -254,30 +295,12 @@ gtk_application_impl_quartz_set_menubar (GtkApplicationImpl *impl,
{ {
GtkApplicationImplQuartz *quartz = (GtkApplicationImplQuartz *) impl; GtkApplicationImplQuartz *quartz = (GtkApplicationImplQuartz *) impl;
/* If we have the menubar, it is a section at index '0' */ /* If we have the menubar, it is a section at index '1' */
if (g_menu_model_get_n_items (G_MENU_MODEL (quartz->combined))) if (g_menu_model_get_n_items (G_MENU_MODEL (quartz->combined)) > 1)
g_menu_remove (quartz->combined, 0); g_menu_remove (quartz->combined, 1);
if (menubar) if (menubar)
g_menu_append_section (quartz->combined, NULL, menubar); g_menu_append_section (quartz->combined, NULL, menubar);
else
{
// Ensure that we will always have one menu.
char app_menu_key[] = "APP_MENU";
GMenuModel *app_menu = g_object_get_data (G_OBJECT (impl), app_menu_key);
if (app_menu == NULL)
{
GtkBuilder *builder;
// If the user didn't fill in their own menu yet, add ours.
builder = gtk_builder_new_from_resource ("/org/gtk/libgtk/ui/gtkapplication-quartz.ui");
app_menu = G_MENU_MODEL (gtk_builder_get_object (builder, "app-menu"));
g_object_set_data_full (G_OBJECT (impl), app_menu_key, g_object_ref (app_menu), g_object_unref);
g_object_unref (builder);
}
g_menu_append_submenu (quartz->combined, "Application", app_menu);
}
} }
static guint static guint
@@ -346,6 +369,7 @@ gtk_application_impl_quartz_finalize (GObject *object)
GtkApplicationImplQuartz *quartz = (GtkApplicationImplQuartz *) object; GtkApplicationImplQuartz *quartz = (GtkApplicationImplQuartz *) object;
g_clear_object (&quartz->combined); g_clear_object (&quartz->combined);
g_clear_object (&quartz->standard_app_menu);
G_OBJECT_CLASS (gtk_application_impl_quartz_parent_class)->finalize (object); G_OBJECT_CLASS (gtk_application_impl_quartz_parent_class)->finalize (object);
} }
@@ -358,6 +382,7 @@ gtk_application_impl_quartz_class_init (GtkApplicationImplClass *class)
class->startup = gtk_application_impl_quartz_startup; class->startup = gtk_application_impl_quartz_startup;
class->shutdown = gtk_application_impl_quartz_shutdown; class->shutdown = gtk_application_impl_quartz_shutdown;
class->active_window_changed = gtk_application_impl_quartz_active_window_changed; class->active_window_changed = gtk_application_impl_quartz_active_window_changed;
class->set_app_menu = gtk_application_impl_quartz_set_app_menu;
class->set_menubar = gtk_application_impl_quartz_set_menubar; class->set_menubar = gtk_application_impl_quartz_set_menubar;
class->inhibit = gtk_application_impl_quartz_inhibit; class->inhibit = gtk_application_impl_quartz_inhibit;
class->uninhibit = gtk_application_impl_quartz_uninhibit; class->uninhibit = gtk_application_impl_quartz_uninhibit;

278
po/fr.po
View File

@@ -23,8 +23,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gtk master\n" "Project-Id-Version: gtk master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n"
"POT-Creation-Date: 2024-03-05 13:23+0000\n" "POT-Creation-Date: 2024-03-16 23:08+0000\n"
"PO-Revision-Date: 2024-03-05 20:44+0100\n" "PO-Revision-Date: 2024-03-19 14:05+0100\n"
"Last-Translator: Guillaume Bernard <associations@guillaume-bernard.fr>\n" "Last-Translator: Guillaume Bernard <associations@guillaume-bernard.fr>\n"
"Language-Team: GNOME French Team <gnomefr@traduc.org>\n" "Language-Team: GNOME French Team <gnomefr@traduc.org>\n"
"Language: fr\n" "Language: fr\n"
@@ -62,11 +62,11 @@ msgstr "Impossible de fournir le contenu comme « %s »"
msgid "Cannot provide contents as %s" msgid "Cannot provide contents as %s"
msgstr "Impossible de fournir le contenu comme %s" msgstr "Impossible de fournir le contenu comme %s"
#: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:459 #: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:463
msgid "The current backend does not support OpenGL" msgid "The current backend does not support OpenGL"
msgstr "Le moteur actuel ne gère pas OpenGL" msgstr "Le moteur actuel ne gère pas OpenGL"
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1601 #: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1600
msgid "Vulkan support disabled via GDK_DEBUG" msgid "Vulkan support disabled via GDK_DEBUG"
msgstr "Prise en charge de Vulkan désactivée via GDK_DEBUG" msgstr "Prise en charge de Vulkan désactivée via GDK_DEBUG"
@@ -74,47 +74,47 @@ msgstr "Prise en charge de Vulkan désactivée via GDK_DEBUG"
msgid "GL support disabled via GDK_DEBUG" msgid "GL support disabled via GDK_DEBUG"
msgstr "Prise en charge de GL désactivée via GDK_DEBUG" msgstr "Prise en charge de GL désactivée via GDK_DEBUG"
#: gdk/gdkdisplay.c:1665 #: gdk/gdkdisplay.c:1674
msgid "No EGL configuration available" msgid "No EGL configuration available"
msgstr "Aucune configuration EGL disponible" msgstr "Aucune configuration EGL disponible"
#: gdk/gdkdisplay.c:1673 #: gdk/gdkdisplay.c:1682
msgid "Failed to get EGL configurations" msgid "Failed to get EGL configurations"
msgstr "Impossible dobtenir les configurations EGL" msgstr "Impossible dobtenir les configurations EGL"
#: gdk/gdkdisplay.c:1703 #: gdk/gdkdisplay.c:1712
msgid "No EGL configuration with required features found" msgid "No EGL configuration with required features found"
msgstr "" msgstr ""
"Aucune configuration EGL avec les fonctionnalités requises na été trouvée" "Aucune configuration EGL avec les fonctionnalités requises na été trouvée"
#: gdk/gdkdisplay.c:1710 #: gdk/gdkdisplay.c:1719
msgid "No perfect EGL configuration found" msgid "No perfect EGL configuration found"
msgstr "Aucune configuration EGL idéale trouvée" msgstr "Aucune configuration EGL idéale trouvée"
#: gdk/gdkdisplay.c:1752 #: gdk/gdkdisplay.c:1761
#, c-format #, c-format
msgid "EGL implementation is missing extension %s" msgid "EGL implementation is missing extension %s"
msgid_plural "EGL implementation is missing %2$d extensions: %1$s" msgid_plural "EGL implementation is missing %2$d extensions: %1$s"
msgstr[0] "Lextension %s manque dans limplémentation EGL" msgstr[0] "Lextension %s manque dans limplémentation EGL"
msgstr[1] "%2$d extensions manquent dans limplémentation EGL : %1$s" msgstr[1] "%2$d extensions manquent dans limplémentation EGL : %1$s"
#: gdk/gdkdisplay.c:1801 #: gdk/gdkdisplay.c:1810
msgid "libEGL not available in this sandbox" msgid "libEGL not available in this sandbox"
msgstr "libEGL nest pas disponible dans ce bac à sable" msgstr "libEGL nest pas disponible dans ce bac à sable"
#: gdk/gdkdisplay.c:1802 #: gdk/gdkdisplay.c:1811
msgid "libEGL not available" msgid "libEGL not available"
msgstr "libEGL non disponible" msgstr "libEGL non disponible"
#: gdk/gdkdisplay.c:1812 #: gdk/gdkdisplay.c:1821
msgid "Failed to create EGL display" msgid "Failed to create EGL display"
msgstr "Impossible de créer laffichage EGL" msgstr "Impossible de créer laffichage EGL"
#: gdk/gdkdisplay.c:1821 #: gdk/gdkdisplay.c:1830
msgid "Could not initialize EGL display" msgid "Could not initialize EGL display"
msgstr "Impossible dinitialiser laffichage EGL" msgstr "Impossible dinitialiser laffichage EGL"
#: gdk/gdkdisplay.c:1831 #: gdk/gdkdisplay.c:1840
#, c-format #, c-format
msgid "EGL version %d.%d is too old. GTK requires %d.%d" msgid "EGL version %d.%d is too old. GTK requires %d.%d"
msgstr "La version %d.%d dEGL est trop ancienne. GTK requiert %d.%d" msgstr "La version %d.%d dEGL est trop ancienne. GTK requiert %d.%d"
@@ -128,32 +128,32 @@ msgstr ""
msgid "No compatible formats to transfer contents." msgid "No compatible formats to transfer contents."
msgstr "Aucun format compatible pour le transfert du contenu." msgstr "Aucun format compatible pour le transfert du contenu."
#: gdk/gdkglcontext.c:419 gdk/x11/gdkglcontext-glx.c:645 #: gdk/gdkglcontext.c:423 gdk/x11/gdkglcontext-glx.c:645
msgid "No GL API allowed." msgid "No GL API allowed."
msgstr "Aucune API GL autorisée." msgstr "Aucune API GL autorisée."
#: gdk/gdkglcontext.c:442 gdk/win32/gdkglcontext-win32-wgl.c:395 #: gdk/gdkglcontext.c:446 gdk/win32/gdkglcontext-win32-wgl.c:395
#: gdk/win32/gdkglcontext-win32-wgl.c:538 #: gdk/win32/gdkglcontext-win32-wgl.c:538
#: gdk/win32/gdkglcontext-win32-wgl.c:582 gdk/x11/gdkglcontext-glx.c:691 #: gdk/win32/gdkglcontext-win32-wgl.c:582 gdk/x11/gdkglcontext-glx.c:691
msgid "Unable to create a GL context" msgid "Unable to create a GL context"
msgstr "Impossible de créer un contexte GL" msgstr "Impossible de créer un contexte GL"
#: gdk/gdkglcontext.c:1304 #: gdk/gdkglcontext.c:1309
msgid "OpenGL ES disabled via GDK_DEBUG" msgid "OpenGL ES disabled via GDK_DEBUG"
msgstr "OpenGL ES désactivé via GTK_DEBUG" msgstr "OpenGL ES désactivé via GTK_DEBUG"
#: gdk/gdkglcontext.c:1316 #: gdk/gdkglcontext.c:1321
msgid "OpenGL disabled via GDK_DEBUG" msgid "OpenGL disabled via GDK_DEBUG"
msgstr "OpenGL désactivé via GTK_DEBUG" msgstr "OpenGL désactivé via GTK_DEBUG"
#: gdk/gdkglcontext.c:1327 #: gdk/gdkglcontext.c:1332
#, c-format #, c-format
msgid "Application does not support %s API" msgid "Application does not support %s API"
msgstr "Lapplication ne prend pas en charge lAPI %s" msgstr "Lapplication ne prend pas en charge lAPI %s"
#. translators: This is about OpenGL backend names, like #. translators: This is about OpenGL backend names, like
#. * "Trying to use X11 GLX, but EGL is already in use" #. * "Trying to use X11 GLX, but EGL is already in use"
#: gdk/gdkglcontext.c:2113 #: gdk/gdkglcontext.c:2117
#, c-format #, c-format
msgid "Trying to use %s, but %s is already in use" msgid "Trying to use %s, but %s is already in use"
msgstr "Tentative dutilisation de %s, mais %s est déjà utilisé" msgstr "Tentative dutilisation de %s, mais %s est déjà utilisé"
@@ -2386,7 +2386,7 @@ msgid "If you delete an item, it will be permanently lost."
msgstr "Si vous supprimez un élément, il sera définitivement perdu." msgstr "Si vous supprimez un élément, il sera définitivement perdu."
#: gtk/gtkfilechooserwidget.c:1188 gtk/gtkfilechooserwidget.c:1786 #: gtk/gtkfilechooserwidget.c:1188 gtk/gtkfilechooserwidget.c:1786
#: gtk/gtklabel.c:5711 gtk/gtktext.c:6193 gtk/gtktextview.c:9079 #: gtk/gtklabel.c:5712 gtk/gtktext.c:6194 gtk/gtktextview.c:9099
msgid "_Delete" msgid "_Delete"
msgstr "_Supprimer" msgstr "_Supprimer"
@@ -2595,7 +2595,7 @@ msgid "_Time"
msgstr "D_ate" msgstr "D_ate"
#: gtk/gtkfilechooserwidget.c:7375 gtk/gtkplacessidebar.c:2306 #: gtk/gtkfilechooserwidget.c:7375 gtk/gtkplacessidebar.c:2306
#: gtk/inspector/a11y.ui:43 gtk/inspector/actions.ui:19 #: gtk/inspector/a11y.ui:43 gtk/inspector/actions.ui:18
#: gtk/inspector/css-node-tree.ui:22 gtk/inspector/prop-list.ui:24 #: gtk/inspector/css-node-tree.ui:22 gtk/inspector/prop-list.ui:24
#: gtk/ui/gtkfilechooserwidget.ui:385 gtk/print/ui/gtkprintunixdialog.ui:80 #: gtk/ui/gtkfilechooserwidget.ui:385 gtk/print/ui/gtkprintunixdialog.ui:80
msgid "Name" msgid "Name"
@@ -2724,31 +2724,31 @@ msgstr "Fermer"
msgid "Close the infobar" msgid "Close the infobar"
msgstr "Fermer la barre dinformation" msgstr "Fermer la barre dinformation"
#: gtk/gtklabel.c:5708 gtk/gtktext.c:6181 gtk/gtktextview.c:9067 #: gtk/gtklabel.c:5709 gtk/gtktext.c:6182 gtk/gtktextview.c:9087
msgid "Cu_t" msgid "Cu_t"
msgstr "Co_uper" msgstr "Co_uper"
#: gtk/gtklabel.c:5709 gtk/gtktext.c:6185 gtk/gtktextview.c:9071 #: gtk/gtklabel.c:5710 gtk/gtktext.c:6186 gtk/gtktextview.c:9091
msgid "_Copy" msgid "_Copy"
msgstr "_Copier" msgstr "_Copier"
#: gtk/gtklabel.c:5710 gtk/gtktext.c:6189 gtk/gtktextview.c:9075 #: gtk/gtklabel.c:5711 gtk/gtktext.c:6190 gtk/gtktextview.c:9095
msgid "_Paste" msgid "_Paste"
msgstr "C_oller" msgstr "C_oller"
#: gtk/gtklabel.c:5716 gtk/gtktext.c:6202 gtk/gtktextview.c:9100 #: gtk/gtklabel.c:5717 gtk/gtktext.c:6203 gtk/gtktextview.c:9120
msgid "Select _All" msgid "Select _All"
msgstr "_Tout sélectionner" msgstr "_Tout sélectionner"
#: gtk/gtklabel.c:5721 #: gtk/gtklabel.c:5722
msgid "_Open Link" msgid "_Open Link"
msgstr "_Ouvrir le lien" msgstr "_Ouvrir le lien"
#: gtk/gtklabel.c:5725 #: gtk/gtklabel.c:5726
msgid "Copy _Link Address" msgid "Copy _Link Address"
msgstr "Copier l_adresse du lien" msgstr "Copier l_adresse du lien"
#: gtk/gtklabel.c:5769 gtk/gtktext.c:2724 gtk/gtktextview.c:9149 #: gtk/gtklabel.c:5770 gtk/gtktext.c:2723 gtk/gtktextview.c:9169
msgid "Context menu" msgid "Context menu"
msgstr "Menu contextuel" msgstr "Menu contextuel"
@@ -3516,42 +3516,42 @@ msgstr "Récupération des informations sur limprimante…"
#. * multiple pages on a sheet when printing #. * multiple pages on a sheet when printing
#. #.
#: gtk/print/gtkprintunixdialog.c:2753 #: gtk/print/gtkprintunixdialog.c:2753
#: modules/printbackends/gtkprintbackendcups.c:5645 #: modules/printbackends/gtkprintbackendcups.c:5672
msgid "Left to right, top to bottom" msgid "Left to right, top to bottom"
msgstr "De gauche à droite, du haut vers le bas" msgstr "De gauche à droite, du haut vers le bas"
#: gtk/print/gtkprintunixdialog.c:2753 #: gtk/print/gtkprintunixdialog.c:2753
#: modules/printbackends/gtkprintbackendcups.c:5645 #: modules/printbackends/gtkprintbackendcups.c:5672
msgid "Left to right, bottom to top" msgid "Left to right, bottom to top"
msgstr "De gauche à droite, du bas vers le haut" msgstr "De gauche à droite, du bas vers le haut"
#: gtk/print/gtkprintunixdialog.c:2754 #: gtk/print/gtkprintunixdialog.c:2754
#: modules/printbackends/gtkprintbackendcups.c:5646 #: modules/printbackends/gtkprintbackendcups.c:5673
msgid "Right to left, top to bottom" msgid "Right to left, top to bottom"
msgstr "De droite à gauche, du haut vers le bas" msgstr "De droite à gauche, du haut vers le bas"
#: gtk/print/gtkprintunixdialog.c:2754 #: gtk/print/gtkprintunixdialog.c:2754
#: modules/printbackends/gtkprintbackendcups.c:5646 #: modules/printbackends/gtkprintbackendcups.c:5673
msgid "Right to left, bottom to top" msgid "Right to left, bottom to top"
msgstr "De droite à gauche, du bas vers le haut" msgstr "De droite à gauche, du bas vers le haut"
#: gtk/print/gtkprintunixdialog.c:2755 #: gtk/print/gtkprintunixdialog.c:2755
#: modules/printbackends/gtkprintbackendcups.c:5647 #: modules/printbackends/gtkprintbackendcups.c:5674
msgid "Top to bottom, left to right" msgid "Top to bottom, left to right"
msgstr "Du haut vers le bas, de gauche à droite" msgstr "Du haut vers le bas, de gauche à droite"
#: gtk/print/gtkprintunixdialog.c:2755 #: gtk/print/gtkprintunixdialog.c:2755
#: modules/printbackends/gtkprintbackendcups.c:5647 #: modules/printbackends/gtkprintbackendcups.c:5674
msgid "Top to bottom, right to left" msgid "Top to bottom, right to left"
msgstr "Du haut vers le bas, de droite à gauche" msgstr "Du haut vers le bas, de droite à gauche"
#: gtk/print/gtkprintunixdialog.c:2756 #: gtk/print/gtkprintunixdialog.c:2756
#: modules/printbackends/gtkprintbackendcups.c:5648 #: modules/printbackends/gtkprintbackendcups.c:5675
msgid "Bottom to top, left to right" msgid "Bottom to top, left to right"
msgstr "Du bas vers le haut, de gauche à droite" msgstr "Du bas vers le haut, de gauche à droite"
#: gtk/print/gtkprintunixdialog.c:2756 #: gtk/print/gtkprintunixdialog.c:2756
#: modules/printbackends/gtkprintbackendcups.c:5648 #: modules/printbackends/gtkprintbackendcups.c:5675
msgid "Bottom to top, right to left" msgid "Bottom to top, right to left"
msgstr "Du bas vers le haut, de droite à gauche" msgstr "Du bas vers le haut, de droite à gauche"
@@ -3691,15 +3691,15 @@ msgctxt "accessibility"
msgid "Sidebar" msgid "Sidebar"
msgstr "Panneau latéral" msgstr "Panneau latéral"
#: gtk/gtktext.c:6207 gtk/gtktextview.c:9105 #: gtk/gtktext.c:6208 gtk/gtktextview.c:9125
msgid "Insert _Emoji" msgid "Insert _Emoji"
msgstr "Insérer un _émoji" msgstr "Insérer un _émoji"
#: gtk/gtktextview.c:9087 #: gtk/gtktextview.c:9107
msgid "_Undo" msgid "_Undo"
msgstr "Ann_uler" msgstr "Ann_uler"
#: gtk/gtktextview.c:9091 #: gtk/gtktextview.c:9111
msgid "_Redo" msgid "_Redo"
msgstr "_Rétablir" msgstr "_Rétablir"
@@ -3929,7 +3929,7 @@ msgctxt "Vulkan version"
msgid "None" msgid "None"
msgstr "Aucune" msgstr "Aucune"
#: gtk/inspector/general.c:922 #: gtk/inspector/general.c:923
msgid "IM Context is hardcoded by GTK_IM_MODULE" msgid "IM Context is hardcoded by GTK_IM_MODULE"
msgstr "Le contexte de méthode de saisie est fixé par GTK_IM_MODULE" msgstr "Le contexte de méthode de saisie est fixé par GTK_IM_MODULE"
@@ -4300,27 +4300,27 @@ msgstr "Taille :"
msgid "Trigger" msgid "Trigger"
msgstr "Déclencher" msgstr "Déclencher"
#: gtk/inspector/size-groups.c:225 #: gtk/inspector/size-groups.c:228
msgctxt "sizegroup mode" msgctxt "sizegroup mode"
msgid "None" msgid "None"
msgstr "Aucun" msgstr "Aucun"
#: gtk/inspector/size-groups.c:226 #: gtk/inspector/size-groups.c:229
msgctxt "sizegroup mode" msgctxt "sizegroup mode"
msgid "Horizontal" msgid "Horizontal"
msgstr "Horizontal" msgstr "Horizontal"
#: gtk/inspector/size-groups.c:227 #: gtk/inspector/size-groups.c:230
msgctxt "sizegroup mode" msgctxt "sizegroup mode"
msgid "Vertical" msgid "Vertical"
msgstr "Vertical" msgstr "Vertical"
#: gtk/inspector/size-groups.c:228 #: gtk/inspector/size-groups.c:231
msgctxt "sizegroup mode" msgctxt "sizegroup mode"
msgid "Both" msgid "Both"
msgstr "Les deux" msgstr "Les deux"
#: gtk/inspector/size-groups.c:240 #: gtk/inspector/size-groups.c:243
msgid "Mode" msgid "Mode"
msgstr "Mode" msgstr "Mode"
@@ -4377,14 +4377,10 @@ msgstr "Hiérarchie"
msgid "Implements" msgid "Implements"
msgstr "Implémente" msgstr "Implémente"
#: gtk/inspector/visual.c:674 gtk/inspector/visual.c:693 #: gtk/inspector/visual.c:672 gtk/inspector/visual.c:691
msgid "Theme is hardcoded by GTK_THEME" msgid "Theme is hardcoded by GTK_THEME"
msgstr "Le thème est figé par GTK_THEME" msgstr "Le thème est figé par GTK_THEME"
#: gtk/inspector/visual.c:942
msgid "Backend does not support window scaling"
msgstr "Le moteur ne gère pas la mise à léchelle des fenêtres"
#: gtk/inspector/visual.ui:34 #: gtk/inspector/visual.ui:34
msgid "GTK Theme" msgid "GTK Theme"
msgstr "Thème GTK" msgstr "Thème GTK"
@@ -4405,43 +4401,39 @@ msgstr "Taille de curseur"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Thème dicônes" msgstr "Thème dicônes"
#: gtk/inspector/visual.ui:194 #: gtk/inspector/visual.ui:199
msgid "Font Scale" msgid "Font Scale"
msgstr "Mise à léchelle des polices" msgstr "Mise à léchelle des polices"
#: gtk/inspector/visual.ui:239 #: gtk/inspector/visual.ui:244
msgid "Text Direction" msgid "Text Direction"
msgstr "Direction du texte" msgstr "Direction du texte"
#: gtk/inspector/visual.ui:254 #: gtk/inspector/visual.ui:259
msgid "Left-to-Right" msgid "Left-to-Right"
msgstr "De gauche à droite" msgstr "De gauche à droite"
#: gtk/inspector/visual.ui:255 #: gtk/inspector/visual.ui:260
msgid "Right-to-Left" msgid "Right-to-Left"
msgstr "De droite à gauche" msgstr "De droite à gauche"
#: gtk/inspector/visual.ui:273 #: gtk/inspector/visual.ui:277
msgid "Window Scaling"
msgstr "Mise à léchelle des fenêtres"
#: gtk/inspector/visual.ui:306
msgid "Animations" msgid "Animations"
msgstr "Animations" msgstr "Animations"
#: gtk/inspector/visual.ui:331 #: gtk/inspector/visual.ui:302
msgid "Slowdown" msgid "Slowdown"
msgstr "Ralenti" msgstr "Ralenti"
#: gtk/inspector/visual.ui:385 #: gtk/inspector/visual.ui:356
msgid "Show Framerate" msgid "Show Framerate"
msgstr "Afficher la fréquence dimage" msgstr "Afficher la fréquence dimage"
#: gtk/inspector/visual.ui:410 #: gtk/inspector/visual.ui:381
msgid "Show Graphic Updates" msgid "Show Graphic Updates"
msgstr "Afficher les mises à jour graphiques" msgstr "Afficher les mises à jour graphiques"
#: gtk/inspector/visual.ui:430 #: gtk/inspector/visual.ui:401
msgid "" msgid ""
"Tints all the places where the current renderer uses Cairo instead of the " "Tints all the places where the current renderer uses Cairo instead of the "
"GPU." "GPU."
@@ -4449,47 +4441,47 @@ msgstr ""
"Colore tous les endroits où le moteur de rendu actuel utilise Cairo au lieu " "Colore tous les endroits où le moteur de rendu actuel utilise Cairo au lieu "
"du GPU." "du GPU."
#: gtk/inspector/visual.ui:436 #: gtk/inspector/visual.ui:407
msgid "Show Cairo Rendering" msgid "Show Cairo Rendering"
msgstr "Afficher le rendu de Cairo" msgstr "Afficher le rendu de Cairo"
#: gtk/inspector/visual.ui:461 #: gtk/inspector/visual.ui:432
msgid "Show Baselines" msgid "Show Baselines"
msgstr "Afficher les lignes de base" msgstr "Afficher les lignes de base"
#: gtk/inspector/visual.ui:489 #: gtk/inspector/visual.ui:460
msgid "Show Layout Borders" msgid "Show Layout Borders"
msgstr "Afficher les bords de lagencement" msgstr "Afficher les bords de lagencement"
#: gtk/inspector/visual.ui:546 #: gtk/inspector/visual.ui:517
msgid "CSS Padding" msgid "CSS Padding"
msgstr "Remplissage CSS" msgstr "Remplissage CSS"
#: gtk/inspector/visual.ui:556 #: gtk/inspector/visual.ui:527
msgid "CSS Border" msgid "CSS Border"
msgstr "Bordure CSS" msgstr "Bordure CSS"
#: gtk/inspector/visual.ui:566 #: gtk/inspector/visual.ui:537
msgid "CSS Margin" msgid "CSS Margin"
msgstr "Marge CSS" msgstr "Marge CSS"
#: gtk/inspector/visual.ui:576 #: gtk/inspector/visual.ui:547
msgid "Widget Margin" msgid "Widget Margin"
msgstr "Marge du composant graphique" msgstr "Marge du composant graphique"
#: gtk/inspector/visual.ui:611 #: gtk/inspector/visual.ui:582
msgid "Show Focus" msgid "Show Focus"
msgstr "Montrer le focus" msgstr "Montrer le focus"
#: gtk/inspector/visual.ui:636 #: gtk/inspector/visual.ui:607
msgid "Show Accessibility warnings" msgid "Show Accessibility warnings"
msgstr "Afficher les avertissements daccessibilité" msgstr "Afficher les avertissements daccessibilité"
#: gtk/inspector/visual.ui:661 #: gtk/inspector/visual.ui:632
msgid "Show Graphics Offload" msgid "Show Graphics Offload"
msgstr "Afficher le déchargement graphique" msgstr "Afficher le déchargement graphique"
#: gtk/inspector/visual.ui:693 #: gtk/inspector/visual.ui:664
msgid "Inspect Inspector" msgid "Inspect Inspector"
msgstr "Inspecter linspecteur" msgstr "Inspecter linspecteur"
@@ -4519,7 +4511,7 @@ msgstr "Objets"
#: gtk/inspector/window.ui:231 #: gtk/inspector/window.ui:231
msgid "Toggle Sidebar" msgid "Toggle Sidebar"
msgstr "Bascule de la barre latérale" msgstr "Bascule du panneau latéral"
#: gtk/inspector/window.ui:253 #: gtk/inspector/window.ui:253
msgid "Refresh action state" msgid "Refresh action state"
@@ -6621,22 +6613,22 @@ msgstr "Certains paramètres dans la boîte de dialogue sont en conflit"
#. * job priority option in the print dialog #. * job priority option in the print dialog
#. #.
#: modules/printbackends/gtkprintbackendcpdb.c:541 #: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640 #: modules/printbackends/gtkprintbackendcups.c:5667
msgid "Urgent" msgid "Urgent"
msgstr "Urgent" msgstr "Urgent"
#: modules/printbackends/gtkprintbackendcpdb.c:541 #: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640 #: modules/printbackends/gtkprintbackendcups.c:5667
msgid "High" msgid "High"
msgstr "Haute" msgstr "Haute"
#: modules/printbackends/gtkprintbackendcpdb.c:541 #: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640 #: modules/printbackends/gtkprintbackendcups.c:5667
msgid "Medium" msgid "Medium"
msgstr "Moyenne" msgstr "Moyenne"
#: modules/printbackends/gtkprintbackendcpdb.c:541 #: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640 #: modules/printbackends/gtkprintbackendcups.c:5667
msgid "Low" msgid "Low"
msgstr "Basse" msgstr "Basse"
@@ -6644,7 +6636,7 @@ msgstr "Basse"
#. * dialog that controls the front cover page. #. * dialog that controls the front cover page.
#. #.
#: modules/printbackends/gtkprintbackendcpdb.c:562 #: modules/printbackends/gtkprintbackendcpdb.c:562
#: modules/printbackends/gtkprintbackendcups.c:5782 #: modules/printbackends/gtkprintbackendcups.c:5809
msgctxt "printer option" msgctxt "printer option"
msgid "Before" msgid "Before"
msgstr "Avant" msgstr "Avant"
@@ -6653,7 +6645,7 @@ msgstr "Avant"
#. * dialog that controls the back cover page. #. * dialog that controls the back cover page.
#. #.
#: modules/printbackends/gtkprintbackendcpdb.c:569 #: modules/printbackends/gtkprintbackendcpdb.c:569
#: modules/printbackends/gtkprintbackendcups.c:5797 #: modules/printbackends/gtkprintbackendcups.c:5824
msgctxt "printer option" msgctxt "printer option"
msgid "After" msgid "After"
msgstr "Après" msgstr "Après"
@@ -6838,266 +6830,266 @@ msgstr "Il y a un problème avec limprimante « %s »."
msgid "; " msgid "; "
msgstr " ; " msgstr " ; "
#: modules/printbackends/gtkprintbackendcups.c:4582 #: modules/printbackends/gtkprintbackendcups.c:4609
#: modules/printbackends/gtkprintbackendcups.c:4649 #: modules/printbackends/gtkprintbackendcups.c:4676
msgctxt "printing option" msgctxt "printing option"
msgid "Two Sided" msgid "Two Sided"
msgstr "Recto verso" msgstr "Recto verso"
#: modules/printbackends/gtkprintbackendcups.c:4583 #: modules/printbackends/gtkprintbackendcups.c:4610
msgctxt "printing option" msgctxt "printing option"
msgid "Paper Type" msgid "Paper Type"
msgstr "Type de papier" msgstr "Type de papier"
#: modules/printbackends/gtkprintbackendcups.c:4584 #: modules/printbackends/gtkprintbackendcups.c:4611
msgctxt "printing option" msgctxt "printing option"
msgid "Paper Source" msgid "Paper Source"
msgstr "Source du papier" msgstr "Source du papier"
#: modules/printbackends/gtkprintbackendcups.c:4585 #: modules/printbackends/gtkprintbackendcups.c:4612
#: modules/printbackends/gtkprintbackendcups.c:4650 #: modules/printbackends/gtkprintbackendcups.c:4677
msgctxt "printing option" msgctxt "printing option"
msgid "Output Tray" msgid "Output Tray"
msgstr "Bac de sortie" msgstr "Bac de sortie"
#: modules/printbackends/gtkprintbackendcups.c:4586 #: modules/printbackends/gtkprintbackendcups.c:4613
msgctxt "printing option" msgctxt "printing option"
msgid "Resolution" msgid "Resolution"
msgstr "Résolution" msgstr "Résolution"
#: modules/printbackends/gtkprintbackendcups.c:4587 #: modules/printbackends/gtkprintbackendcups.c:4614
msgctxt "printing option" msgctxt "printing option"
msgid "GhostScript pre-filtering" msgid "GhostScript pre-filtering"
msgstr "Pré-filtrage GhostScript" msgstr "Pré-filtrage GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4596 #: modules/printbackends/gtkprintbackendcups.c:4623
msgctxt "printing option value" msgctxt "printing option value"
msgid "One Sided" msgid "One Sided"
msgstr "Recto" msgstr "Recto"
#. Translators: this is an option of "Two Sided" #. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4598 #: modules/printbackends/gtkprintbackendcups.c:4625
msgctxt "printing option value" msgctxt "printing option value"
msgid "Long Edge (Standard)" msgid "Long Edge (Standard)"
msgstr "Bord long (standard)" msgstr "Bord long (standard)"
#. Translators: this is an option of "Two Sided" #. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4600 #: modules/printbackends/gtkprintbackendcups.c:4627
msgctxt "printing option value" msgctxt "printing option value"
msgid "Short Edge (Flip)" msgid "Short Edge (Flip)"
msgstr "Bord court (retourné)" msgstr "Bord court (retourné)"
#. Translators: this is an option of "Paper Source" #. Translators: this is an option of "Paper Source"
#: modules/printbackends/gtkprintbackendcups.c:4602 #: modules/printbackends/gtkprintbackendcups.c:4629
#: modules/printbackends/gtkprintbackendcups.c:4604 #: modules/printbackends/gtkprintbackendcups.c:4631
#: modules/printbackends/gtkprintbackendcups.c:4612 #: modules/printbackends/gtkprintbackendcups.c:4639
msgctxt "printing option value" msgctxt "printing option value"
msgid "Auto Select" msgid "Auto Select"
msgstr "Sélection automatique" msgstr "Sélection automatique"
#. Translators: this is an option of "Paper Source" #. Translators: this is an option of "Paper Source"
#. Translators: this is an option of "Resolution" #. Translators: this is an option of "Resolution"
#: modules/printbackends/gtkprintbackendcups.c:4606 #: modules/printbackends/gtkprintbackendcups.c:4633
#: modules/printbackends/gtkprintbackendcups.c:4608 #: modules/printbackends/gtkprintbackendcups.c:4635
#: modules/printbackends/gtkprintbackendcups.c:4610 #: modules/printbackends/gtkprintbackendcups.c:4637
#: modules/printbackends/gtkprintbackendcups.c:4614 #: modules/printbackends/gtkprintbackendcups.c:4641
msgctxt "printing option value" msgctxt "printing option value"
msgid "Printer Default" msgid "Printer Default"
msgstr "Selon limprimante" msgstr "Selon limprimante"
#. Translators: this is an option of "GhostScript" #. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4616 #: modules/printbackends/gtkprintbackendcups.c:4643
msgctxt "printing option value" msgctxt "printing option value"
msgid "Embed GhostScript fonts only" msgid "Embed GhostScript fonts only"
msgstr "Inclure uniquement les polices GhostScript" msgstr "Inclure uniquement les polices GhostScript"
#. Translators: this is an option of "GhostScript" #. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4618 #: modules/printbackends/gtkprintbackendcups.c:4645
msgctxt "printing option value" msgctxt "printing option value"
msgid "Convert to PS level 1" msgid "Convert to PS level 1"
msgstr "Convertir en PS niveau 1" msgstr "Convertir en PS niveau 1"
#. Translators: this is an option of "GhostScript" #. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4620 #: modules/printbackends/gtkprintbackendcups.c:4647
msgctxt "printing option value" msgctxt "printing option value"
msgid "Convert to PS level 2" msgid "Convert to PS level 2"
msgstr "Convertir en PS niveau 2" msgstr "Convertir en PS niveau 2"
#. Translators: this is an option of "GhostScript" #. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4622 #: modules/printbackends/gtkprintbackendcups.c:4649
msgctxt "printing option value" msgctxt "printing option value"
msgid "No pre-filtering" msgid "No pre-filtering"
msgstr "Pas de pré-filtrage" msgstr "Pas de pré-filtrage"
#. Translators: "Miscellaneous" is the label for a button, that opens #. Translators: "Miscellaneous" is the label for a button, that opens
#. up an extra panel of settings in a print dialog. #. up an extra panel of settings in a print dialog.
#: modules/printbackends/gtkprintbackendcups.c:4631 #: modules/printbackends/gtkprintbackendcups.c:4658
msgctxt "printing option group" msgctxt "printing option group"
msgid "Miscellaneous" msgid "Miscellaneous"
msgstr "Divers" msgstr "Divers"
#: modules/printbackends/gtkprintbackendcups.c:4658 #: modules/printbackends/gtkprintbackendcups.c:4685
msgctxt "sides" msgctxt "sides"
msgid "One Sided" msgid "One Sided"
msgstr "Recto" msgstr "Recto"
#. Translators: this is an option of "Two Sided" #. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4660 #: modules/printbackends/gtkprintbackendcups.c:4687
msgctxt "sides" msgctxt "sides"
msgid "Long Edge (Standard)" msgid "Long Edge (Standard)"
msgstr "Bord long (standard)" msgstr "Bord long (standard)"
#. Translators: this is an option of "Two Sided" #. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4662 #: modules/printbackends/gtkprintbackendcups.c:4689
msgctxt "sides" msgctxt "sides"
msgid "Short Edge (Flip)" msgid "Short Edge (Flip)"
msgstr "Bord court (retourné)" msgstr "Bord court (retourné)"
#. Translators: Top output bin #. Translators: Top output bin
#: modules/printbackends/gtkprintbackendcups.c:4665 #: modules/printbackends/gtkprintbackendcups.c:4692
msgctxt "output-bin" msgctxt "output-bin"
msgid "Top Bin" msgid "Top Bin"
msgstr "Bac supérieur" msgstr "Bac supérieur"
#. Translators: Middle output bin #. Translators: Middle output bin
#: modules/printbackends/gtkprintbackendcups.c:4667 #: modules/printbackends/gtkprintbackendcups.c:4694
msgctxt "output-bin" msgctxt "output-bin"
msgid "Middle Bin" msgid "Middle Bin"
msgstr "Bac intermédiaire" msgstr "Bac intermédiaire"
#. Translators: Bottom output bin #. Translators: Bottom output bin
#: modules/printbackends/gtkprintbackendcups.c:4669 #: modules/printbackends/gtkprintbackendcups.c:4696
msgctxt "output-bin" msgctxt "output-bin"
msgid "Bottom Bin" msgid "Bottom Bin"
msgstr "Bac inférieur" msgstr "Bac inférieur"
#. Translators: Side output bin #. Translators: Side output bin
#: modules/printbackends/gtkprintbackendcups.c:4671 #: modules/printbackends/gtkprintbackendcups.c:4698
msgctxt "output-bin" msgctxt "output-bin"
msgid "Side Bin" msgid "Side Bin"
msgstr "Bac latéral" msgstr "Bac latéral"
#. Translators: Left output bin #. Translators: Left output bin
#: modules/printbackends/gtkprintbackendcups.c:4673 #: modules/printbackends/gtkprintbackendcups.c:4700
msgctxt "output-bin" msgctxt "output-bin"
msgid "Left Bin" msgid "Left Bin"
msgstr "Bac de gauche" msgstr "Bac de gauche"
#. Translators: Right output bin #. Translators: Right output bin
#: modules/printbackends/gtkprintbackendcups.c:4675 #: modules/printbackends/gtkprintbackendcups.c:4702
msgctxt "output-bin" msgctxt "output-bin"
msgid "Right Bin" msgid "Right Bin"
msgstr "Bac de droite" msgstr "Bac de droite"
#. Translators: Center output bin #. Translators: Center output bin
#: modules/printbackends/gtkprintbackendcups.c:4677 #: modules/printbackends/gtkprintbackendcups.c:4704
msgctxt "output-bin" msgctxt "output-bin"
msgid "Center Bin" msgid "Center Bin"
msgstr "Bac central" msgstr "Bac central"
#. Translators: Rear output bin #. Translators: Rear output bin
#: modules/printbackends/gtkprintbackendcups.c:4679 #: modules/printbackends/gtkprintbackendcups.c:4706
msgctxt "output-bin" msgctxt "output-bin"
msgid "Rear Bin" msgid "Rear Bin"
msgstr "Bac arrière" msgstr "Bac arrière"
#. Translators: Output bin where one sided output is oriented in the face-up position #. Translators: Output bin where one sided output is oriented in the face-up position
#: modules/printbackends/gtkprintbackendcups.c:4681 #: modules/printbackends/gtkprintbackendcups.c:4708
msgctxt "output-bin" msgctxt "output-bin"
msgid "Face Up Bin" msgid "Face Up Bin"
msgstr "Bac à face vers le haut" msgstr "Bac à face vers le haut"
#. Translators: Output bin where one sided output is oriented in the face-down position #. Translators: Output bin where one sided output is oriented in the face-down position
#: modules/printbackends/gtkprintbackendcups.c:4683 #: modules/printbackends/gtkprintbackendcups.c:4710
msgctxt "output-bin" msgctxt "output-bin"
msgid "Face Down Bin" msgid "Face Down Bin"
msgstr "Bac à face vers le bas" msgstr "Bac à face vers le bas"
#. Translators: Large capacity output bin #. Translators: Large capacity output bin
#: modules/printbackends/gtkprintbackendcups.c:4685 #: modules/printbackends/gtkprintbackendcups.c:4712
msgctxt "output-bin" msgctxt "output-bin"
msgid "Large Capacity Bin" msgid "Large Capacity Bin"
msgstr "Bac de grande capacité" msgstr "Bac de grande capacité"
#. Translators: Output stacker number %d #. Translators: Output stacker number %d
#: modules/printbackends/gtkprintbackendcups.c:4707 #: modules/printbackends/gtkprintbackendcups.c:4734
#, c-format #, c-format
msgctxt "output-bin" msgctxt "output-bin"
msgid "Stacker %d" msgid "Stacker %d"
msgstr "Empileur %d" msgstr "Empileur %d"
#. Translators: Output mailbox number %d #. Translators: Output mailbox number %d
#: modules/printbackends/gtkprintbackendcups.c:4711 #: modules/printbackends/gtkprintbackendcups.c:4738
#, c-format #, c-format
msgctxt "output-bin" msgctxt "output-bin"
msgid "Mailbox %d" msgid "Mailbox %d"
msgstr "Boîte de messagerie %d" msgstr "Boîte de messagerie %d"
#. Translators: Private mailbox #. Translators: Private mailbox
#: modules/printbackends/gtkprintbackendcups.c:4715 #: modules/printbackends/gtkprintbackendcups.c:4742
msgctxt "output-bin" msgctxt "output-bin"
msgid "My Mailbox" msgid "My Mailbox"
msgstr "Ma boîte de messagerie" msgstr "Ma boîte de messagerie"
#. Translators: Output tray number %d #. Translators: Output tray number %d
#: modules/printbackends/gtkprintbackendcups.c:4719 #: modules/printbackends/gtkprintbackendcups.c:4746
#, c-format #, c-format
msgctxt "output-bin" msgctxt "output-bin"
msgid "Tray %d" msgid "Tray %d"
msgstr "Plateau %d" msgstr "Plateau %d"
#: modules/printbackends/gtkprintbackendcups.c:5196 #: modules/printbackends/gtkprintbackendcups.c:5223
msgid "Printer Default" msgid "Printer Default"
msgstr "Selon limprimante" msgstr "Selon limprimante"
#. Translators, this string is used to label the job priority option #. Translators, this string is used to label the job priority option
#. * in the print dialog #. * in the print dialog
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5670 #: modules/printbackends/gtkprintbackendcups.c:5697
msgid "Job Priority" msgid "Job Priority"
msgstr "Priorité de la tâche" msgstr "Priorité de la tâche"
#. Translators, this string is used to label the billing info entry #. Translators, this string is used to label the billing info entry
#. * in the print dialog #. * in the print dialog
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5681 #: modules/printbackends/gtkprintbackendcups.c:5708
msgid "Billing Info" msgid "Billing Info"
msgstr "Informations de facturation" msgstr "Informations de facturation"
#. Translators, these strings are names for various 'standard' cover #. Translators, these strings are names for various 'standard' cover
#. * pages that the printing system may support. #. * pages that the printing system may support.
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5705 #: modules/printbackends/gtkprintbackendcups.c:5732
msgctxt "cover page" msgctxt "cover page"
msgid "None" msgid "None"
msgstr "Aucune" msgstr "Aucune"
#: modules/printbackends/gtkprintbackendcups.c:5706 #: modules/printbackends/gtkprintbackendcups.c:5733
msgctxt "cover page" msgctxt "cover page"
msgid "Classified" msgid "Classified"
msgstr "Classifié" msgstr "Classifié"
#: modules/printbackends/gtkprintbackendcups.c:5707 #: modules/printbackends/gtkprintbackendcups.c:5734
msgctxt "cover page" msgctxt "cover page"
msgid "Confidential" msgid "Confidential"
msgstr "Confidentiel" msgstr "Confidentiel"
#: modules/printbackends/gtkprintbackendcups.c:5708 #: modules/printbackends/gtkprintbackendcups.c:5735
msgctxt "cover page" msgctxt "cover page"
msgid "Secret" msgid "Secret"
msgstr "Secret" msgstr "Secret"
#: modules/printbackends/gtkprintbackendcups.c:5709 #: modules/printbackends/gtkprintbackendcups.c:5736
msgctxt "cover page" msgctxt "cover page"
msgid "Standard" msgid "Standard"
msgstr "Standard" msgstr "Standard"
#: modules/printbackends/gtkprintbackendcups.c:5710 #: modules/printbackends/gtkprintbackendcups.c:5737
msgctxt "cover page" msgctxt "cover page"
msgid "Top Secret" msgid "Top Secret"
msgstr "Top secret" msgstr "Top secret"
#: modules/printbackends/gtkprintbackendcups.c:5711 #: modules/printbackends/gtkprintbackendcups.c:5738
msgctxt "cover page" msgctxt "cover page"
msgid "Unclassified" msgid "Unclassified"
msgstr "Non classifié" msgstr "Non classifié"
@@ -7105,7 +7097,7 @@ msgstr "Non classifié"
#. Translators, this string is used to label the pages-per-sheet option #. Translators, this string is used to label the pages-per-sheet option
#. * in the print dialog #. * in the print dialog
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5723 #: modules/printbackends/gtkprintbackendcups.c:5750
msgctxt "printer option" msgctxt "printer option"
msgid "Pages per Sheet" msgid "Pages per Sheet"
msgstr "Pages par feuille" msgstr "Pages par feuille"
@@ -7113,7 +7105,7 @@ msgstr "Pages par feuille"
#. Translators, this string is used to label the option in the print #. Translators, this string is used to label the option in the print
#. * dialog that controls in what order multiple pages are arranged #. * dialog that controls in what order multiple pages are arranged
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5740 #: modules/printbackends/gtkprintbackendcups.c:5767
msgctxt "printer option" msgctxt "printer option"
msgid "Page Ordering" msgid "Page Ordering"
msgstr "Ordre des pages" msgstr "Ordre des pages"
@@ -7122,7 +7114,7 @@ msgstr "Ordre des pages"
#. * a print job is printed. Possible values are 'now', a specified time, #. * a print job is printed. Possible values are 'now', a specified time,
#. * or 'on hold' #. * or 'on hold'
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5817 #: modules/printbackends/gtkprintbackendcups.c:5844
msgctxt "printer option" msgctxt "printer option"
msgid "Print at" msgid "Print at"
msgstr "Imprimer à" msgstr "Imprimer à"
@@ -7130,7 +7122,7 @@ msgstr "Imprimer à"
#. Translators: this is the name of the option that allows the user #. Translators: this is the name of the option that allows the user
#. * to specify a time when a print job will be printed. #. * to specify a time when a print job will be printed.
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5828 #: modules/printbackends/gtkprintbackendcups.c:5855
msgctxt "printer option" msgctxt "printer option"
msgid "Print at time" msgid "Print at time"
msgstr "Imprimer à lheure" msgstr "Imprimer à lheure"
@@ -7140,19 +7132,19 @@ msgstr "Imprimer à lheure"
#. * the width and height in points. E.g: "Custom #. * the width and height in points. E.g: "Custom
#. * 230.4x142.9" #. * 230.4x142.9"
#. #.
#: modules/printbackends/gtkprintbackendcups.c:5875 #: modules/printbackends/gtkprintbackendcups.c:5902
#, c-format #, c-format
msgid "Custom %s×%s" msgid "Custom %s×%s"
msgstr "Personnalisé %s×%s" msgstr "Personnalisé %s×%s"
#. TRANSLATORS: this is the ICC color profile to use for this job #. TRANSLATORS: this is the ICC color profile to use for this job
#: modules/printbackends/gtkprintbackendcups.c:5986 #: modules/printbackends/gtkprintbackendcups.c:6013
msgctxt "printer option" msgctxt "printer option"
msgid "Printer Profile" msgid "Printer Profile"
msgstr "Profil dimprimante" msgstr "Profil dimprimante"
#. TRANSLATORS: this is when color profile information is unavailable #. TRANSLATORS: this is when color profile information is unavailable
#: modules/printbackends/gtkprintbackendcups.c:5993 #: modules/printbackends/gtkprintbackendcups.c:6020
msgctxt "printer option value" msgctxt "printer option value"
msgid "Unavailable" msgid "Unavailable"
msgstr "Non disponible" msgstr "Non disponible"
@@ -8141,6 +8133,12 @@ msgstr ""
"Si vous souhaitez vraiment créer un cache dicônes ici, utilisez --ignore-" "Si vous souhaitez vraiment créer un cache dicônes ici, utilisez --ignore-"
"theme-index.\n" "theme-index.\n"
#~ msgid "Backend does not support window scaling"
#~ msgstr "Le moteur ne gère pas la mise à léchelle des fenêtres"
#~ msgid "Window Scaling"
#~ msgstr "Mise à léchelle des fenêtres"
#~ msgid "Show _Size Column" #~ msgid "Show _Size Column"
#~ msgstr "Afficher la colonne _Taille" #~ msgstr "Afficher la colonne _Taille"

View File

@@ -11,8 +11,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gtk+ master\n" "Project-Id-Version: gtk+ master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n"
"POT-Creation-Date: 2024-03-16 23:08+0000\n" "POT-Creation-Date: 2024-03-17 10:28+0000\n"
"PO-Revision-Date: 2024-03-17 11:25+0100\n" "PO-Revision-Date: 2024-03-18 18:36+0100\n"
"Last-Translator: Martin Srebotnjak <miles@filmsi.net>\n" "Last-Translator: Martin Srebotnjak <miles@filmsi.net>\n"
"Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n" "Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
"Language: sl_SI\n" "Language: sl_SI\n"
@@ -52,7 +52,7 @@ msgstr "Ni mogoče določiti vsebine kot »%s«."
msgid "Cannot provide contents as %s" msgid "Cannot provide contents as %s"
msgstr "Ni mogoče določiti vsebine kot %s." msgstr "Ni mogoče določiti vsebine kot %s."
#: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:463 #: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:464
msgid "The current backend does not support OpenGL" msgid "The current backend does not support OpenGL"
msgstr "Trenutno zagnan ozadnji program ne podpira OpenGL" msgstr "Trenutno zagnan ozadnji program ne podpira OpenGL"
@@ -118,32 +118,32 @@ msgstr "Funkcija Poteg/Spust iz drugih programov ni podprta."
msgid "No compatible formats to transfer contents." msgid "No compatible formats to transfer contents."
msgstr "Ni skladnih zapisov za prenos vsebine." msgstr "Ni skladnih zapisov za prenos vsebine."
#: gdk/gdkglcontext.c:423 gdk/x11/gdkglcontext-glx.c:645 #: gdk/gdkglcontext.c:424 gdk/x11/gdkglcontext-glx.c:645
msgid "No GL API allowed." msgid "No GL API allowed."
msgstr "API GL ni dovoljen." msgstr "API GL ni dovoljen."
#: gdk/gdkglcontext.c:446 gdk/win32/gdkglcontext-win32-wgl.c:395 #: gdk/gdkglcontext.c:447 gdk/win32/gdkglcontext-win32-wgl.c:395
#: gdk/win32/gdkglcontext-win32-wgl.c:538 #: gdk/win32/gdkglcontext-win32-wgl.c:538
#: gdk/win32/gdkglcontext-win32-wgl.c:582 gdk/x11/gdkglcontext-glx.c:691 #: gdk/win32/gdkglcontext-win32-wgl.c:582 gdk/x11/gdkglcontext-glx.c:691
msgid "Unable to create a GL context" msgid "Unable to create a GL context"
msgstr "Ni mogoče ustvariti vsebine GL" msgstr "Ni mogoče ustvariti vsebine GL"
#: gdk/gdkglcontext.c:1309 #: gdk/gdkglcontext.c:1310
msgid "OpenGL ES disabled via GDK_DEBUG" msgid "OpenGL ES disabled via GDK_DEBUG"
msgstr "Podpora OpenGL ES je onemogočena z GDK_DEBUG" msgstr "Podpora OpenGL ES je onemogočena z GDK_DEBUG"
#: gdk/gdkglcontext.c:1321 #: gdk/gdkglcontext.c:1322
msgid "OpenGL disabled via GDK_DEBUG" msgid "OpenGL disabled via GDK_DEBUG"
msgstr "Podpora GL je onemogočena z GDK_DEBUG" msgstr "Podpora GL je onemogočena z GDK_DEBUG"
#: gdk/gdkglcontext.c:1332 #: gdk/gdkglcontext.c:1333
#, c-format #, c-format
msgid "Application does not support %s API" msgid "Application does not support %s API"
msgstr "Program ne podpira vmesnika API %s" msgstr "Program ne podpira vmesnika API %s"
#. translators: This is about OpenGL backend names, like #. translators: This is about OpenGL backend names, like
#. * "Trying to use X11 GLX, but EGL is already in use" #. * "Trying to use X11 GLX, but EGL is already in use"
#: gdk/gdkglcontext.c:2117 #: gdk/gdkglcontext.c:2123
#, c-format #, c-format
msgid "Trying to use %s, but %s is already in use" msgid "Trying to use %s, but %s is already in use"
msgstr "Podana je zahteva za uporabo %s, a je %s že v uporabi." msgstr "Podana je zahteva za uporabo %s, a je %s že v uporabi."
@@ -872,8 +872,9 @@ msgid "OpenGL ES 3.0 is not supported by this renderer."
msgstr "Izrisovalnik ne podpira OpenGL ES 3.0" msgstr "Izrisovalnik ne podpira OpenGL ES 3.0"
#: gsk/gpu/gsknglrenderer.c:62 #: gsk/gpu/gsknglrenderer.c:62
#, fuzzy
msgid "OpenGL 3.3 required" msgid "OpenGL 3.3 required"
msgstr "" msgstr "Potrebujete OpenGL 3.3"
#: gtk/a11y/gtkatspiaction.c:239 #: gtk/a11y/gtkatspiaction.c:239
msgctxt "accessibility" msgctxt "accessibility"
@@ -4411,7 +4412,6 @@ msgid "Show Graphic Updates"
msgstr "Pokaži grafične posodobitve" msgstr "Pokaži grafične posodobitve"
#: gtk/inspector/visual.ui:401 #: gtk/inspector/visual.ui:401
#, fuzzy
msgid "" msgid ""
"Tints all the places where the current renderer uses Cairo instead of the " "Tints all the places where the current renderer uses Cairo instead of the "
"GPU." "GPU."
@@ -4456,9 +4456,8 @@ msgstr "Pokaži opozorila o dostopnosti"
#: gtk/inspector/visual.ui:632 #: gtk/inspector/visual.ui:632
#, fuzzy #, fuzzy
#| msgid "Show Graphic Updates"
msgid "Show Graphics Offload" msgid "Show Graphics Offload"
msgstr "Pokaži grafične posodobitve" msgstr "Pokaži grafično razbremenitev"
#: gtk/inspector/visual.ui:664 #: gtk/inspector/visual.ui:664
msgid "Inspect Inspector" msgid "Inspect Inspector"
@@ -7627,8 +7626,9 @@ msgid "Point color"
msgstr "Barva točke" msgstr "Barva točke"
#: tools/gtk-path-tool-render.c:129 tools/gtk-path-tool-show.c:151 #: tools/gtk-path-tool-render.c:129 tools/gtk-path-tool-show.c:151
#, fuzzy
msgid "Fill rule (winding, even-odd)" msgid "Fill rule (winding, even-odd)"
msgstr "" msgstr "Pravilo polnjenja (navijajoče, sodo-liho)"
#: tools/gtk-path-tool-render.c:129 tools/gtk-path-tool-render.c:133 #: tools/gtk-path-tool-render.c:129 tools/gtk-path-tool-render.c:133
#: tools/gtk-path-tool-render.c:134 tools/gtk-path-tool-render.c:135 #: tools/gtk-path-tool-render.c:134 tools/gtk-path-tool-render.c:135
@@ -7645,25 +7645,23 @@ msgid "Line width (number)"
msgstr "Širina vrstice (številka)" msgstr "Širina vrstice (številka)"
#: tools/gtk-path-tool-render.c:134 tools/gtk-path-tool-show.c:156 #: tools/gtk-path-tool-render.c:134 tools/gtk-path-tool-show.c:156
#, fuzzy
msgid "Line cap (butt, round, square)" msgid "Line cap (butt, round, square)"
msgstr "" msgstr "Konec črte (zaobljeno, okroglo, oglato)"
#: tools/gtk-path-tool-render.c:135 tools/gtk-path-tool-show.c:157 #: tools/gtk-path-tool-render.c:135 tools/gtk-path-tool-show.c:157
msgid "Line join (miter, miter-clip, round, bevel, arcs)" msgid "Line join (miter, miter-clip, round, bevel, arcs)"
msgstr "" msgstr ""
#: tools/gtk-path-tool-render.c:136 tools/gtk-path-tool-show.c:158 #: tools/gtk-path-tool-render.c:136 tools/gtk-path-tool-show.c:158
#, fuzzy
msgid "Miter limit (number)" msgid "Miter limit (number)"
msgstr "Meja sredice (število)" msgstr "Meja sredice (število)"
#: tools/gtk-path-tool-render.c:137 tools/gtk-path-tool-show.c:159 #: tools/gtk-path-tool-render.c:137 tools/gtk-path-tool-show.c:159
#, fuzzy
msgid "Dash pattern (comma-separated numbers)" msgid "Dash pattern (comma-separated numbers)"
msgstr "Črtkan vzorec (številke, ločene z vejico)" msgstr "Črtkan vzorec (številke, ločene z vejico)"
#: tools/gtk-path-tool-render.c:138 tools/gtk-path-tool-show.c:160 #: tools/gtk-path-tool-render.c:138 tools/gtk-path-tool-show.c:160
#, fuzzy
msgid "Dash offset (number)" msgid "Dash offset (number)"
msgstr "Zamik črtic (številka)" msgstr "Zamik črtic (številka)"
@@ -7700,16 +7698,19 @@ msgid "Can only render a single path"
msgstr "Izrisati je mogoče le eno pot" msgstr "Izrisati je mogoče le eno pot"
#: tools/gtk-path-tool-render.c:250 tools/gtk-path-tool-show.c:221 #: tools/gtk-path-tool-render.c:250 tools/gtk-path-tool-show.c:221
#, fuzzy
msgid "fill rule" msgid "fill rule"
msgstr "" msgstr "pravilo polnjenja"
#: tools/gtk-path-tool-render.c:255 tools/gtk-path-tool-show.c:226 #: tools/gtk-path-tool-render.c:255 tools/gtk-path-tool-show.c:226
#, fuzzy
msgid "line cap" msgid "line cap"
msgstr "" msgstr "konec črte"
#: tools/gtk-path-tool-render.c:256 tools/gtk-path-tool-show.c:227 #: tools/gtk-path-tool-render.c:256 tools/gtk-path-tool-show.c:227
#, fuzzy
msgid "line join" msgid "line join"
msgstr "" msgstr "spoj črte"
#: tools/gtk-path-tool-render.c:310 #: tools/gtk-path-tool-render.c:310
#, c-format #, c-format
@@ -7722,19 +7723,20 @@ msgid "Output written to '%s'."
msgstr "Odvod je zapisan v »%s«." msgstr "Odvod je zapisan v »%s«."
#: tools/gtk-path-tool-restrict.c:36 #: tools/gtk-path-tool-restrict.c:36
#, fuzzy
msgid "Beginning of segment" msgid "Beginning of segment"
msgstr "" msgstr "Začetek odseka"
#: tools/gtk-path-tool-restrict.c:36 tools/gtk-path-tool-restrict.c:37 #: tools/gtk-path-tool-restrict.c:36 tools/gtk-path-tool-restrict.c:37
msgid "LENGTH" msgid "LENGTH"
msgstr "DOLŽINA" msgstr "DOLŽINA"
#: tools/gtk-path-tool-restrict.c:37 #: tools/gtk-path-tool-restrict.c:37
#, fuzzy
msgid "End of segment" msgid "End of segment"
msgstr "" msgstr "Konec odseka"
#: tools/gtk-path-tool-restrict.c:51 #: tools/gtk-path-tool-restrict.c:51
#, fuzzy
msgid "Restrict a path to a segment." msgid "Restrict a path to a segment."
msgstr "Omejite pot na odsek." msgstr "Omejite pot na odsek."
@@ -7839,12 +7841,14 @@ msgid "RUNS"
msgstr "PONOVITVE" msgstr "PONOVITVE"
#: tools/gtk-rendernode-tool-benchmark.c:96 #: tools/gtk-rendernode-tool-benchmark.c:96
#, fuzzy
msgid "Dont download result/wait for GPU to finish" msgid "Dont download result/wait for GPU to finish"
msgstr "" msgstr "Ne prenašaj rezultatov/čakajte na zaključek dela GPE"
#: tools/gtk-rendernode-tool-benchmark.c:114 #: tools/gtk-rendernode-tool-benchmark.c:114
#, fuzzy
msgid "Benchmark rendering of a .node file." msgid "Benchmark rendering of a .node file."
msgstr "" msgstr "Preizkusno izrisovanje datoteke .node."
#: tools/gtk-rendernode-tool-benchmark.c:127 #: tools/gtk-rendernode-tool-benchmark.c:127
#: tools/gtk-rendernode-tool-info.c:236 tools/gtk-rendernode-tool-render.c:224 #: tools/gtk-rendernode-tool-info.c:236 tools/gtk-rendernode-tool-render.c:224
@@ -7855,9 +7859,8 @@ msgstr "Ni določene nobene datoteke .node\n"
#: tools/gtk-rendernode-tool-benchmark.c:133 #: tools/gtk-rendernode-tool-benchmark.c:133
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "Can only accept a single .node file\n"
msgid "Can only benchmark a single .node file\n" msgid "Can only benchmark a single .node file\n"
msgstr "Sprejeti je mogoče le eno datoteko .node\n" msgstr "Preizkušati je mogoče le eno datoteko .node\n"
#: tools/gtk-rendernode-tool-compare.c:65 #: tools/gtk-rendernode-tool-compare.c:65
#: tools/gtk-rendernode-tool-render.c:195 #: tools/gtk-rendernode-tool-render.c:195
@@ -7896,9 +7899,8 @@ msgstr "Datoteke %s ni mogoče naložiti: %s\n"
#: tools/gtk-rendernode-tool-compare.c:122 #: tools/gtk-rendernode-tool-compare.c:122
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "Could not rename %s back to %s: %s.\n"
msgid "Could not save diff image to %s\n" msgid "Could not save diff image to %s\n"
msgstr "%s ni mogoče preimenovati nazaj v %s: %s\n" msgstr "Datoteke diff ni možno shraniti v %s\n"
#: tools/gtk-rendernode-tool-compare.c:132 #: tools/gtk-rendernode-tool-compare.c:132
#, c-format #, c-format