diff options
author | Ted Gould <ted@gould.cx> | 2011-05-12 11:28:06 +0200 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-05-12 11:28:06 +0200 |
commit | b3c1ec1c84b26d1cf70b009eb3312d12cec622b1 (patch) | |
tree | 970e146f22bf5a74c33ba5542d5c0172c3b09633 | |
parent | eb2890fecd65d4c2b7750c0f9537dc8b661d0821 (diff) | |
download | ayatana-indicator-session-b3c1ec1c84b26d1cf70b009eb3312d12cec622b1.tar.gz ayatana-indicator-session-b3c1ec1c84b26d1cf70b009eb3312d12cec622b1.tar.bz2 ayatana-indicator-session-b3c1ec1c84b26d1cf70b009eb3312d12cec622b1.zip |
Making the desktop translatable
-rw-r--r-- | data/extra-sessions/Makefile.am | 18 | ||||
-rw-r--r-- | data/extra-sessions/classic-desktop.desktop.in | 4 | ||||
-rw-r--r-- | data/extra-sessions/classic-desktop.desktop.in.in | 6 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
4 files changed, 21 insertions, 8 deletions
diff --git a/data/extra-sessions/Makefile.am b/data/extra-sessions/Makefile.am index 2a157ad..e6b81a8 100644 --- a/data/extra-sessions/Makefile.am +++ b/data/extra-sessions/Makefile.am @@ -1,14 +1,24 @@ -extra_guests_desktop_in_files = \ - classic-desktop.desktop.in +################################### +# The files that are actually here +################################### + +extra_guests_desktop_in_in_files = \ + classic-desktop.desktop.in.in extra_guests_sh_files = \ classic-desktop.sh +################################### +# Rules to make things work +################################### + extra_guestsdir = $(datadir)/indicators/session/applications/ extra_guests_desktop_files = \ - $(extra_guests_desktop_in_files:.desktop.in=.desktop) + $(extra_guests_desktop_in_in_files:.desktop.in.in=.desktop) + +@INTLTOOL_DESKTOP_RULE@ -%.desktop: %.desktop.in +%.desktop.in: %.desktop.in.in sed -e "s|\@guestdir\@|$(extra_guestsdir)|" $< > $@ extra_guests_DATA = \ diff --git a/data/extra-sessions/classic-desktop.desktop.in b/data/extra-sessions/classic-desktop.desktop.in deleted file mode 100644 index fad4516..0000000 --- a/data/extra-sessions/classic-desktop.desktop.in +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Name=Classic Guest Session -Exec=@guestdir@/test.sh -Type=Application diff --git a/data/extra-sessions/classic-desktop.desktop.in.in b/data/extra-sessions/classic-desktop.desktop.in.in new file mode 100644 index 0000000..d7ca3da --- /dev/null +++ b/data/extra-sessions/classic-desktop.desktop.in.in @@ -0,0 +1,6 @@ +[Desktop Entry] +Version=1.0 +_Name=Classic Guest Session +_Comment=Start a guest session using the classic desktop +Exec=@guestdir@/test.sh +Type=Application diff --git a/po/POTFILES.in b/po/POTFILES.in index 3a8bad7..c2256c1 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,5 +1,6 @@ [encoding: UTF-8] data/indicator-session.schemas.in +data/extra-sessions/classic-desktop.desktop.in.in src/gconf-helper.c src/lock-helper.c src/gtk-logout-helper.c |