diff options
author | Wu Xiaotian <[email protected]> | 2019-05-15 19:04:00 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 18:35:04 +0200 |
commit | fe31c9defdc7f69d1e33bcef19cc5ade65da9a4a (patch) | |
tree | 46e08bc153dd341b9458c11545cae8524977ee93 /src | |
parent | 90ac01d98d622deec25cae25a2b3213880f475e3 (diff) | |
download | caja-fe31c9defdc7f69d1e33bcef19cc5ade65da9a4a.tar.bz2 caja-fe31c9defdc7f69d1e33bcef19cc5ade65da9a4a.tar.xz |
migrate intltool to gettext
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/mate-network-scheme.desktop.in | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 06bd831d..0f917ea4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,6 +19,7 @@ AM_CPPFLAGS = \ -DDATADIR=\""$(datadir)"\" \ -DLIBDIR=\""$(libdir)"\" \ -DCAJA_DATADIR=\""$(datadir)/caja"\" \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DUIDIR=\""$(datadir)/caja/ui"\" \ -DCAJA_PIXMAPDIR=\""$(datadir)/pixmaps/caja"\" \ -DPREFIX=\""$(prefix)"\" \ @@ -50,12 +51,13 @@ $(dbus_freedesktop_built_sources) : Makefile.am $(top_srcdir)/data/freedesktop-d $(top_srcdir)/data/freedesktop-dbus-interfaces.xml \ $(NULL) -@INTLTOOL_DESKTOP_RULE@ - desktop_in_files=mate-network-scheme.desktop.in desktop_files=$(desktop_in_files:.desktop.in=.desktop) desktopdir = $(datadir)/mate/network/ +$(desktop_files): $(desktop_in_files) + $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ + schemedir = $(datadir)/applications scheme_DATA = mate-network-scheme.desktop @@ -206,8 +208,6 @@ if ENABLE_SELF_CHECK TESTS=check-caja endif -@INTLTOOL_SERVER_RULE@ - uidir = $(datadir)/caja/ui ui_DATA = \ caja-shell-ui.xml \ diff --git a/src/mate-network-scheme.desktop.in b/src/mate-network-scheme.desktop.in index 023c2cd3..d3449fa5 100644 --- a/src/mate-network-scheme.desktop.in +++ b/src/mate-network-scheme.desktop.in @@ -1,6 +1,6 @@ [Desktop Entry] -_Name=Network -_Comment=Browse bookmarked and local network locations +Name=Network +Comment=Browse bookmarked and local network locations TryExec=caja Exec=caja --no-desktop network: Terminal=false |