diff options
author | Wu Xiaotian <[email protected]> | 2019-05-15 19:04:00 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-01 12:53:07 +0200 |
commit | 21770a3057ad62d692787d19e9e23d4350076d4d (patch) | |
tree | 900d4e7f88b0a23e7cb24210aa14485374586940 /src | |
parent | 412abbbe7bacf7dfc11633a9680d268c06e56e30 (diff) | |
download | caja-21770a3057ad62d692787d19e9e23d4350076d4d.tar.bz2 caja-21770a3057ad62d692787d19e9e23d4350076d4d.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 |