From 147a7fa8376429e78fe17f4a199c2394149c33a9 Mon Sep 17 00:00:00 2001 From: Ludovic Court`es Date: Fri, 2 Feb 2007 17:15:33 +0000 Subject: Added basic GNU Gettext support. * .arch-inventory: Mark `ABOUT-NLS' as precious. * Makefile.am (SUBDIRS): Added `po'. (ACLOCAL_AMFLAGS): New. (EXTRA_DIST): New. * configure.ac: Look for `gettext', output `po/Makefile.in'. * src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Internationalized a bit. (make-bib-entry-template/skribe): Likewise. * src/guile/skribilo/utils/syntax.scm (%skribilo-module-reader): I18ned. (_): New. (N_): New. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-11 --- po/.arch-inventory | 5 +++++ po/LINGUAS | 7 +++++++ po/Makevars | 47 +++++++++++++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 6 ++++++ po/fr.po | 26 ++++++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 po/.arch-inventory create mode 100644 po/LINGUAS create mode 100644 po/Makevars create mode 100644 po/POTFILES.in create mode 100644 po/fr.po (limited to 'po') diff --git a/po/.arch-inventory b/po/.arch-inventory new file mode 100644 index 0000000..05e3ab1 --- /dev/null +++ b/po/.arch-inventory @@ -0,0 +1,5 @@ +# Everything but `.po' files is generated. + +precious ^(Makefile(\.in)*|POTFILES|.*\.(sed|header|sin)|Rules-quot|skribilo\.pot|stamp-.*|.*\.g?mo)$ + +# arch-tag: 4e7d09c2-0d78-4663-931c-ad2b02ffd6a2 diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..e0f3ea1 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,7 @@ +# Set of available languages. + +#eq@boldquot +#eq@quot +fr + +# arch-tag: 1b94e2b2-79ae-40e0-87fa-e999d0774e38 diff --git a/po/Makevars b/po/Makevars new file mode 100644 index 0000000..180fc90 --- /dev/null +++ b/po/Makevars @@ -0,0 +1,47 @@ +# 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_ --language=Scheme + +# 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 = Ludovic Courtès + +# 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 = ludovic.courtes@laas.fr + +# 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 = + +# Local Variables: +# coding: utf-8 +# End: + +# arch-tag: 2111079c-04fd-4ea1-b078-f857135897ad diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..7bb5466 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,6 @@ +# List of source files which contain translatable strings. +# +# Copyright 2007 Ludovic Courtès + +src/guile/skribilo/utils/syntax.scm +src/guile/skribilo/biblio/template.scm diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..afe1181 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,26 @@ +# French translation. +# Copyright (C) 2007 Ludovic Courtès +# This file is distributed under the same license as the PACKAGE package. +# Ludovic Courtès , 2007. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: ludovic.courtes@laas.fr\n" +"POT-Creation-Date: 2007-02-02 18:03+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Ludovic Courtès \n" +"Language-Team: fr \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/guile/skribilo/utils/syntax.scm:53 +msgid "unexpected character in Skribilo module" +msgstr "caractère inattendu dans le module Skribilo" + +#: src/guile/skribilo/biblio/template.scm:118 +#: src/guile/skribilo/biblio/template.scm:162 +msgid "Technical Report" +msgstr "Rapport Technique" -- cgit v1.2.3