diff --git a/saml/univention-saml/debian/rules b/saml/univention-saml/debian/rules index 0e4866f..9d0c707 100755 --- a/saml/univention-saml/debian/rules +++ b/saml/univention-saml/debian/rules @@ -28,8 +28,12 @@ # /usr/share/common-licenses/AGPL-3; if not, see # . +override_dh_auto_build: + python translate.py + override_dh_auto_install: dh_auto_install + dh-umc-module-install univention-install-config-registry override_dh_auto_test: diff --git a/saml/univention-saml/debian/univention-saml.umc-modules b/saml/univention-saml/debian/univention-saml.umc-modules new file mode 100644 index 0000000..bfac284 --- /dev/null +++ b/saml/univention-saml/debian/univention-saml.umc-modules @@ -0,0 +1,5 @@ +Module: udm-saml +Python: umc/python +Definition: umc/saml-serviceprovider.xml +Javascript: umc/js +Icons: umc/icons diff --git a/saml/univention-saml/translate.py b/saml/univention-saml/translate.py new file mode 100644 index 0000000..279a937 --- /dev/null +++ b/saml/univention-saml/translate.py @@ -0,0 +1,6 @@ +import univention.dh_umc as dh_umc +modules = dh_umc.read_modules('univention-saml', False) +for module in modules: + for lang, po_file in module.xml_po_files: + dh_umc.module_xml2po(module, po_file, lang) + dh_umc.create_mo_file(po_file) diff --git a/saml/univention-saml/umc/saml-serviceprovider.xml b/saml/univention-saml/umc/saml-serviceprovider.xml index 4c6d224..d78ec6d 100644 --- a/saml/univention-saml/umc/saml-serviceprovider.xml +++ b/saml/univention-saml/umc/saml-serviceprovider.xml @@ -5,7 +5,7 @@ - + SAML identity provider Management of service provider configurations for the single sign-on functionality of the SAML identity provider SAML