0da684c
diff --git selinux-gui-2.8/Makefile selinux-gui-2.8/Makefile
0da684c
index a72e58c..ffe8b97 100644
0da684c
--- selinux-gui-2.8/Makefile
0da684c
+++ selinux-gui-2.8/Makefile
0da684c
@@ -21,6 +21,7 @@ system-config-selinux.ui \
0da684c
 usersPage.py
0da684c
 
0da684c
 all: $(TARGETS) system-config-selinux.py polgengui.py
0da684c
+	(cd po && $(MAKE) $@)
0da684c
 
0da684c
 install: all
0da684c
 	-mkdir -p $(DESTDIR)$(MANDIR)/man8
0da684c
@@ -46,6 +47,8 @@ install: all
0da684c
 		install -m 644 sepolicy_$${i}.png $(DESTDIR)$(DATADIR)/icons/hicolor/$${i}x$${i}/apps/sepolicy.png; \
0da684c
 	done
0da684c
 	install -m 644 org.selinux.config.policy $(DESTDIR)$(DATADIR)/polkit-1/actions/
0da684c
+	(cd po && $(MAKE) $@)
0da684c
+
0da684c
 clean:
0da684c
 
0da684c
 indent:
0da684c
diff --git selinux-gui-2.8/booleansPage.py selinux-gui-2.8/booleansPage.py
0da684c
index 7849bea..dd12b6d 100644
0da684c
--- selinux-gui-2.8/booleansPage.py
0da684c
+++ selinux-gui-2.8/booleansPage.py
0da684c
@@ -38,7 +38,7 @@ DISABLED = 2
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/domainsPage.py selinux-gui-2.8/domainsPage.py
0da684c
index bad5140..6bbe4de 100644
0da684c
--- selinux-gui-2.8/domainsPage.py
0da684c
+++ selinux-gui-2.8/domainsPage.py
0da684c
@@ -30,7 +30,7 @@ from semanagePage import *
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/fcontextPage.py selinux-gui-2.8/fcontextPage.py
0da684c
index 370bbee..e424366 100644
0da684c
--- selinux-gui-2.8/fcontextPage.py
0da684c
+++ selinux-gui-2.8/fcontextPage.py
0da684c
@@ -47,7 +47,7 @@ class context:
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/loginsPage.py selinux-gui-2.8/loginsPage.py
0da684c
index b67eb8b..cbfb0cc 100644
0da684c
--- selinux-gui-2.8/loginsPage.py
0da684c
+++ selinux-gui-2.8/loginsPage.py
0da684c
@@ -29,7 +29,7 @@ from semanagePage import *
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/modulesPage.py selinux-gui-2.8/modulesPage.py
0da684c
index 34c5d9e..627ad95 100644
0da684c
--- selinux-gui-2.8/modulesPage.py
0da684c
+++ selinux-gui-2.8/modulesPage.py
0da684c
@@ -30,7 +30,7 @@ from semanagePage import *
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/po/Makefile selinux-gui-2.8/po/Makefile
0da684c
new file mode 100644
0da684c
index 0000000..a0f5439
0da684c
--- /dev/null
0da684c
+++ selinux-gui-2.8/po/Makefile
0da684c
@@ -0,0 +1,82 @@
0da684c
+#
0da684c
+# Makefile for the PO files (translation) catalog
0da684c
+#
0da684c
+
0da684c
+PREFIX ?= /usr
0da684c
+
0da684c
+# What is this package?
0da684c
+NLSPACKAGE	= gui
0da684c
+POTFILE		= $(NLSPACKAGE).pot
0da684c
+INSTALL		= /usr/bin/install -c -p
0da684c
+INSTALL_DATA	= $(INSTALL) -m 644
0da684c
+INSTALL_DIR	= /usr/bin/install -d
0da684c
+
0da684c
+# destination directory
0da684c
+INSTALL_NLS_DIR = $(PREFIX)/share/locale
0da684c
+
0da684c
+# PO catalog handling
0da684c
+MSGMERGE	= msgmerge
0da684c
+MSGMERGE_FLAGS	= -q
0da684c
+XGETTEXT	= xgettext --default-domain=$(NLSPACKAGE)
0da684c
+MSGFMT		= msgfmt
0da684c
+
0da684c
+# All possible linguas
0da684c
+PO_LINGUAS := $(sort $(patsubst %.po,%,$(wildcard *.po)))
0da684c
+
0da684c
+# Only the files matching what the user has set in LINGUAS
0da684c
+USER_LINGUAS := $(filter $(patsubst %,%%,$(LINGUAS)),$(PO_LINGUAS))
0da684c
+
0da684c
+# if no valid LINGUAS, build all languages
0da684c
+USE_LINGUAS := $(if $(USER_LINGUAS),$(USER_LINGUAS),$(PO_LINGUAS))
0da684c
+
0da684c
+POFILES		= $(patsubst %,%.po,$(USE_LINGUAS))
0da684c
+MOFILES		= $(patsubst %.po,%.mo,$(POFILES))
0da684c
+POTFILES  = $(shell cat POTFILES)
0da684c
+
0da684c
+#default:: clean
0da684c
+
0da684c
+all::  $(MOFILES)
0da684c
+
0da684c
+$(POTFILE): $(POTFILES)
0da684c
+	$(XGETTEXT) --keyword=_ --keyword=N_ $(POTFILES)
0da684c
+	@if cmp -s $(NLSPACKAGE).po $(POTFILE); then \
0da684c
+	    rm -f $(NLSPACKAGE).po; \
0da684c
+	else \
0da684c
+	    mv -f $(NLSPACKAGE).po $(POTFILE); \
0da684c
+	fi; \
0da684c
+
0da684c
+
0da684c
+refresh-po: Makefile
0da684c
+	for cat in $(POFILES); do \
0da684c
+		lang=`basename $$cat .po`; \
0da684c
+		if $(MSGMERGE) $(MSGMERGE_FLAGS) $$lang.po $(POTFILE) > $$lang.pot ; then \
0da684c
+			mv -f $$lang.pot $$lang.po ; \
0da684c
+			echo "$(MSGMERGE) of $$lang succeeded" ; \
0da684c
+		else \
0da684c
+			echo "$(MSGMERGE) of $$lang failed" ; \
0da684c
+			rm -f $$lang.pot ; \
0da684c
+		fi \
0da684c
+	done
0da684c
+
0da684c
+clean:
0da684c
+	@rm -fv *mo *~ .depend
0da684c
+	@rm -rf tmp
0da684c
+
0da684c
+install: $(MOFILES)
0da684c
+	@for n in $(MOFILES); do \
0da684c
+	    l=`basename $$n .mo`; \
0da684c
+	    $(INSTALL_DIR) $(DESTDIR)$(INSTALL_NLS_DIR)/$$l/LC_MESSAGES; \
0da684c
+	    $(INSTALL_DATA) --verbose $$n $(DESTDIR)$(INSTALL_NLS_DIR)/$$l/LC_MESSAGES/selinux-$(NLSPACKAGE).mo; \
0da684c
+	done
0da684c
+
0da684c
+%.mo: %.po
0da684c
+	$(MSGFMT) -o $@ $<
0da684c
+report:
0da684c
+	@for cat in $(wildcard *.po); do \
0da684c
+                echo -n "$$cat: "; \
0da684c
+                msgfmt -v --statistics -o /dev/null $$cat; \
0da684c
+        done
0da684c
+
0da684c
+.PHONY: missing depend
0da684c
+
0da684c
+relabel:
0da684c
diff --git selinux-gui-2.8/po/POTFILES selinux-gui-2.8/po/POTFILES
0da684c
new file mode 100644
0da684c
index 0000000..1795c5c
0da684c
--- /dev/null
0da684c
+++ selinux-gui-2.8/po/POTFILES
0da684c
@@ -0,0 +1,17 @@
0da684c
+../booleansPage.py
0da684c
+../domainsPage.py
0da684c
+../fcontextPage.py
0da684c
+../loginsPage.py
0da684c
+../modulesPage.py
0da684c
+../org.selinux.config.policy
0da684c
+../polgengui.py
0da684c
+../polgen.ui
0da684c
+../portsPage.py
0da684c
+../selinux-polgengui.desktop
0da684c
+../semanagePage.py
0da684c
+../sepolicy.desktop
0da684c
+../statusPage.py
0da684c
+../system-config-selinux.desktop
0da684c
+../system-config-selinux.py
0da684c
+../system-config-selinux.ui
0da684c
+../usersPage.py
0da684c
diff --git selinux-gui-2.8/polgengui.py selinux-gui-2.8/polgengui.py
0da684c
index 1601dbe..7e0d9d0 100644
0da684c
--- selinux-gui-2.8/polgengui.py
0da684c
+++ selinux-gui-2.8/polgengui.py
0da684c
@@ -63,7 +63,7 @@ def get_all_modules():
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/portsPage.py selinux-gui-2.8/portsPage.py
0da684c
index 30f5838..a537ecc 100644
0da684c
--- selinux-gui-2.8/portsPage.py
0da684c
+++ selinux-gui-2.8/portsPage.py
0da684c
@@ -35,7 +35,7 @@ from semanagePage import *
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/semanagePage.py selinux-gui-2.8/semanagePage.py
0da684c
index 4127804..5361d69 100644
0da684c
--- selinux-gui-2.8/semanagePage.py
0da684c
+++ selinux-gui-2.8/semanagePage.py
0da684c
@@ -22,7 +22,7 @@ from gi.repository import Gdk, Gtk
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/statusPage.py selinux-gui-2.8/statusPage.py
0da684c
index 766854b..a8f079b 100644
0da684c
--- selinux-gui-2.8/statusPage.py
0da684c
+++ selinux-gui-2.8/statusPage.py
0da684c
@@ -35,7 +35,7 @@ RELABELFILE = "/.autorelabel"
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/system-config-selinux.py selinux-gui-2.8/system-config-selinux.py
0da684c
index ce7c74b..a81e9dd 100644
0da684c
--- selinux-gui-2.8/system-config-selinux.py
0da684c
+++ selinux-gui-2.8/system-config-selinux.py
0da684c
@@ -45,7 +45,7 @@ import selinux
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}
0da684c
diff --git selinux-gui-2.8/usersPage.py selinux-gui-2.8/usersPage.py
0da684c
index 26794ed..d15d4c5 100644
0da684c
--- selinux-gui-2.8/usersPage.py
0da684c
+++ selinux-gui-2.8/usersPage.py
0da684c
@@ -29,7 +29,7 @@ from semanagePage import *
0da684c
 ##
0da684c
 ## I18N
0da684c
 ##
0da684c
-PROGNAME = "policycoreutils"
0da684c
+PROGNAME = "selinux-gui"
0da684c
 try:
0da684c
     import gettext
0da684c
     kwargs = {}