Add translate.h for HAVE_NLS includes/defines

...to shrink labwc.h footprint
This commit is contained in:
Johan Malm 2025-09-24 20:25:27 +01:00 committed by John Lindgren
parent 1692c47fa0
commit 26bd02d457
7 changed files with 19 additions and 8 deletions

View file

@ -5,8 +5,8 @@
#include <wlr/util/log.h>
#include "action.h"
#include "common/buf.h"
#include "labwc.h" /* for gettext */
#include "theme.h"
#include "translate.h"
enum {
LAB_PROMPT_NONE = 0,

View file

@ -33,6 +33,7 @@
#include "osd.h"
#include "regions.h"
#include "ssd.h"
#include "translate.h"
#include "view.h"
#include "window-rules.h"
#include "workspaces.h"

View file

@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "desktop-entry.h"
#include <locale.h>
#include <sfdo-desktop.h>
#include <sfdo-icon.h>
#include <sfdo-basedir.h>

View file

@ -11,6 +11,7 @@
#include "config/session.h"
#include "labwc.h"
#include "theme.h"
#include "translate.h"
#include "menu/menu.h"
struct rcxml rc = { 0 };

View file

@ -29,6 +29,7 @@
#include "scaled-buffer/scaled-font-buffer.h"
#include "scaled-buffer/scaled-icon-buffer.h"
#include "theme.h"
#include "translate.h"
#include "view.h"
#include "workspaces.h"