summaryrefslogtreecommitdiff
path: root/server/po
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-06-15 10:54:09 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-06-17 07:23:24 -0400
commitad4e495fa434f72de37846704cb08bacac3c52da (patch)
treee2327aca6935c1e3bc726b880a70a4e666bab667 /server/po
parent7d2f248b39aa78eaa7708ce64ad146d5a8bb934c (diff)
downloadsssd-ad4e495fa434f72de37846704cb08bacac3c52da.tar.gz
sssd-ad4e495fa434f72de37846704cb08bacac3c52da.tar.bz2
sssd-ad4e495fa434f72de37846704cb08bacac3c52da.zip
Create gettext framework for SSSD daemon
Diffstat (limited to 'server/po')
-rw-r--r--server/po/LINGUAS1
-rw-r--r--server/po/Makevars41
-rw-r--r--server/po/POTFILES.in9
-rw-r--r--server/po/es.po22
-rw-r--r--server/po/sss_daemon.pot22
5 files changed, 95 insertions, 0 deletions
diff --git a/server/po/LINGUAS b/server/po/LINGUAS
new file mode 100644
index 00000000..8357fcaa
--- /dev/null
+++ b/server/po/LINGUAS
@@ -0,0 +1 @@
+es
diff --git a/server/po/Makevars b/server/po/Makevars
new file mode 100644
index 00000000..5dda6915
--- /dev/null
+++ b/server/po/Makevars
@@ -0,0 +1,41 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Red Hat, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = freeipa-devel@redhat.com
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
diff --git a/server/po/POTFILES.in b/server/po/POTFILES.in
new file mode 100644
index 00000000..8de37f6b
--- /dev/null
+++ b/server/po/POTFILES.in
@@ -0,0 +1,9 @@
+# List of source files which contain translatable strings.
+confdb/confdb_setup.c
+tools/sss_groupdel.c
+tools/sss_groupmod.c
+tools/sss_userdel.c
+tools/tools_util.c
+tools/sss_useradd.c
+tools/sss_groupadd.c
+tools/sss_usermod.c
diff --git a/server/po/es.po b/server/po/es.po
new file mode 100644
index 00000000..53320395
--- /dev/null
+++ b/server/po/es.po
@@ -0,0 +1,22 @@
+# English translations for sss_daemon package.
+# Copyright (C) 2009 Red Hat, Inc.
+# This file is distributed under the same license as the sss_daemon package.
+# Automatically generated, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: sss_daemon 0.4.0\n"
+"Report-Msgid-Bugs-To: freeipa-devel@redhat.com\n"
+"POT-Creation-Date: 2009-06-15 10:21-0400\n"
+"PO-Revision-Date: 2009-06-15 10:21-0400\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: tools/sss_useradd.c:484
+#, c-format
+msgid "The user %s already exists\n"
+msgstr "The user %s already exists\n"
diff --git a/server/po/sss_daemon.pot b/server/po/sss_daemon.pot
new file mode 100644
index 00000000..73457d07
--- /dev/null
+++ b/server/po/sss_daemon.pot
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Red Hat, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: sss_daemon 0.4.0\n"
+"Report-Msgid-Bugs-To: freeipa-devel@redhat.com\n"
+"POT-Creation-Date: 2009-06-15 10:21-0400\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: tools/sss_useradd.c:484
+#, c-format
+msgid "The user %s already exists\n"
+msgstr ""