Commit Graph

427 Commits

Author SHA1 Message Date
Joseph Myers
688903eb3e Update copyright dates with scripts/update-copyrights.
* All files with FSF copyright notices: Update copyright dates
	using scripts/update-copyrights.
	* locale/programs/charmap-kw.h: Regenerated.
	* locale/programs/locfile-kw.h: Likewise.
2018-01-01 00:32:25 +00:00
Joseph Myers
f2da2fd81f Do not build .mo files in source directory (bug 14121).
Building and installing glibc leaves .mo files (compiled message
translations) behind in the source directory.  Building those files in
the source directory may once have made sense, if they were included
in release tarballs; now that release tarballs are just the output of
"git archive", building any non-checked-in files in the source
directory does not make sense.  This patch changes these files to be
built in the build directory instead.  The realclean rule is changed
to simply adding the .mo files to the "generated" variable, since once
the files are in the build directory it make no sense to exclude them
from normal cleanup rules.

This is necessary but not sufficient to avoid build-many-glibcs.py
needing to copy the glibc source directory.  Its list of files to
touch on checkout to avoid subsequent regeneration (configure,
preconfigure, *-kw.h) is incomplete (missing at least INSTALL,
sysdeps/gnu/errlist.c, posix/testcases.h, posix/ptestcases.h,
locale/C-translit.h, (only regenerated for Hurd builds)
sysdeps/mach/hurd/bits/errno.h, (only regenerated for 32-bit SPARC
builds) sysdeps/sparc/sparc32/{sdiv,udiv,rem,urem}.S) - the existing
list may be sufficient to prevent regeneration that actually changes
the file contents depending on the installed build tools, but not to
ensure there is no regeneration at all - and there might well be other
things writing into the source directory in the course of building and
testing (so needing appropriate testing with read-only source
directories with different timestamp orderings to find and eliminate
all such cases).

Tested for x86_64.

	[BZ #14121]
	* po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
	(%.mo): Change to $(objpfx)%.mo.  Use $(make-target-directory).
	($(mo-installed)): Use $(objpfx)%.mo.
	(realclean): Remove rule.
2017-12-15 14:27:20 +00:00
Joseph Myers
0c4fe28d7a Remove old po/ code for copying .po files from shared directory.
po/Makefile has both old code for copying .po files from a shared
directory /com/share/ftp/gnu/po/maint/glibc (presumably once present
on some GNU server), and new code for downloading them from the
Translation Project.  This patch removes the old code, leading only
the new code.

Tested for x86_64.

	* po/Makefile (linguas): Remove rule and dependencies.
	(linguas.mo): Likewise.
	(.PHONY): Do not depend on linguas and linguas.mo.
	(podir): Remove variable.
	(pofiles): Likewise.
	[$(pofiles)] (%.po): Remove rule.
2017-12-15 14:20:52 +00:00
Dmitry V. Levin
ba0e6668f4 Update translations from the Translation Project
* po/de.po: Update translations.
* po/ru.po: Likewise.
2017-11-03 23:30:23 +00:00
Siddhesh Poyarekar
891abfd3c0 Update translations 2017-09-11 05:50:49 +05:30
Mike FABIAN
dbc303ef76 Fix spelling mistake in fr.po
[BZ #19982]
	* po/fr.po: Fix spelling mistake.
2017-08-14 09:30:54 +02:00
Siddhesh Poyarekar
9938cc545d Update translations 2017-08-02 08:07:58 +05:30
Siddhesh Poyarekar
930324b356 Update translations 2017-07-31 00:13:08 +05:30
Siddhesh Poyarekar
a352570d6b Update translations
* po/bg.po: Update translations.
       * po/cs.po: Likewise.
       * po/de.po: Likewise.
       * po/pl.po: Likewise.
       * po/uk.po: Likewise.
       * po/vi.po: Likewise.
2017-07-26 18:27:41 +05:30
Siddhesh Poyarekar
f4ecd7ddc7 sv: Update translation 2017-07-26 07:09:50 +05:30
Siddhesh Poyarekar
94955362dd zic: Use PRIdMAX to print line numbers
The PRIdLINENUM abstraction is unnecessary and breaks libc.pot
generation.

	* timezone.zic (PRIdLINENO): Remove.
	(verror): Use PRIdMAX.
	* po/libc.pot: Regenerate.
2017-07-25 12:34:14 +05:30
Siddhesh Poyarekar
66cd050f26 Regenerate libc.pot 2017-07-16 15:30:27 +05:30
Siddhesh Poyarekar
56009aa33c Add target to incorporate translations from translations.org
Add a convenience target for maintainers to download and incorporate
translation updates from translations.org.  Invoke as follows:

  make -r PARALLELMFLAGS="" -C ../po objdir=`pwd` update-translations

similar to generating libc.pot.

	* po/Makefile (update-translations): New target.
2017-01-20 12:32:46 +05:30
Siddhesh Poyarekar
0e8bac37d5 Merge translations from the Translation Project
* po/bg.po: Merge from Translation Project.
	* po/fr.po: Likewise.
	* po/ko.po: Likewise.
	* po/nl.po: Likewise.
	* po/sv.po: Likewise.
2017-01-19 00:21:00 +05:30
Siddhesh Poyarekar
468e525c81 Merge translations from the Translation Project
Update translations from the 2.25 candidate libc.pot.

	* po/cs.po: Merge translations from the Translation Project.
	* po/de.po: Likewise.
	* po/pl.po: Likewise.
	* po/ru.po: Likewise.
	* po/tr.po: Likewise.
	* po/uk.po: Likewise.
	* po/vi.po: Likewise.
	* po/zh_CN.po: Likewise.
2017-01-12 15:07:01 +05:30
Siddhesh Poyarekar
bb44015143 Update translations from the Translation Project
Pulled from:

http://translationproject.org/latest/libc/
2017-01-11 19:35:35 +05:30
Siddhesh Poyarekar
77847b5cc3 Regenerate libc.pot 2017-01-11 17:28:58 +05:30
Joseph Myers
bfff8b1bec Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Carlos O'Donell
412ac69ba9 Update PO files.
Update the PO files from the latest available from the Translation
Project.
2016-08-04 11:41:27 -04:00
Carlos O'Donell
3c4f81eccc Update libc.pot and NEWS. 2016-08-01 21:24:59 -04:00
Carlos O'Donell
314f6deec9 Enable --localedir to set message catalog directory (Bug 14259)
In 1999 the project split "localedir" into "localedir" (path to compiled
locale archives) and "msgcatdir" (path to message catalogs). This
predates the 2002 change in the GNU Coding Standard to document the use
of "localedir" for the path to the message catalogs. It appears that
newlib, gcc, and several other projects also used "msgcatdir" at one
point or another in the past, and so it is in line with historical
precedent that glibc would also use "msgcatdir." However, given that the
GNU Coding Standard uses "localedir", we will switch to that for
consistency as a GNU project. Previous uses of --localdir didn't work
anyway (see bug 14259).

I am committing this patch in the understanding that nobody would object
to fixing #14259 as part of aligning our variable usage to the GNU
Coding Standard.

Given that previous "localedir" uses were converted to "complocaledir"
by [1], we can now convert "msgcatdir" to "localedir" and complete the
transition. With an addition to config.make.in we also fix bug 14259 and
allow users to specify the locale dependent data directory with
"--localedir" at configure time. There is still no way to control at
configure time the location of the *compiled* locale directory.

Tested on x86_64 with no regressions.

Tested using "--localedir" to specify alternate locale dependent data
directory and verified with "make install DESTDIR=/tmp/glibc".

[1] 90fe682d30
2016-02-24 20:06:04 -05:00
Adhemerval Zanella
eabd6f49d1 Regenerate libc.pot for 2.23. 2016-02-18 17:48:27 -02:00
Adhemerval Zanella
31ef23afe2 Updated translations for 2.23. 2016-02-18 17:48:22 -02:00
Joseph Myers
f7a9f785e5 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Joseph Myers
c88b3da93e Update de.po from Translation Project (bug 4404).
[BZ #4404]
	* po/de.po: Update from Translation Project.
2015-09-16 16:51:28 +00:00
Mike Frysinger
30da407eca de.po: fix SIGALRM typo [BZ #4404] 2015-08-29 16:44:54 -04:00
Carlos O'Donell
8cf0ac959d Updated translations for 2.22. 2015-08-01 14:48:31 -04:00
Carlos O'Donell
f4ddb3557e Regenerate libc.pot for 2.22 release. 2015-07-31 00:13:33 -04:00
Carlos O'Donell
04cb913ddf glibc 2.21 pre-release update.
Update all translations.

Update contributions in the manual.

Update installation notes with information about newest working tools.

Reconfigure using exactly autoconf 2.69.

Regenerate INSTALL.
2015-02-05 23:14:38 -05:00
Carlos O'Donell
fe0e85afcb Update libc.pot:
In preparation for providing a tarball to the translation project.

        * po/libc.pot: Regenerated.
2015-01-20 22:18:11 -05:00
Joseph Myers
b168057aaa Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Allan McRae
b6dcfe8c24 Update French translation 2014-10-09 22:11:30 +10:00
Allan McRae
d8f879ee3e Update Russian translation 2014-09-13 15:41:54 +10:00
Allan McRae
1cd9b65cea Update Korean translation 2014-09-07 15:50:34 +10:00
Allan McRae
2c31e102fa Update Esperanto translation 2014-09-01 10:48:22 +10:00
Allan McRae
cb08abc685 Update Catalan translation 2014-09-01 10:47:30 +10:00
Allan McRae
e4e7cfd287 Update Vietnamese translation 2014-08-26 22:44:23 +10:00
Allan McRae
6aa09f710c Update Ukrainian translation 2014-08-26 22:43:31 +10:00
Allan McRae
edc0660e78 Update French translation 2014-08-26 22:42:36 +10:00
Allan McRae
7eea72ac23 Update Russian translation 2014-08-26 22:41:48 +10:00
Allan McRae
93c49eff43 Update Polish translation 2014-08-26 22:41:00 +10:00
Allan McRae
46acaf6361 Update Czech translation 2014-08-26 22:40:01 +10:00
Allan McRae
a9f5ce989c Update German translation 2014-08-26 22:38:47 +10:00
Allan McRae
373f2b7878 Update Bulgarian translation 2014-08-26 22:36:52 +10:00
Allan McRae
e7548bd8c2 Update Sweedish translation 2014-08-26 22:36:02 +10:00
Allan McRae
c526bf4df6 Update Dutch translation 2014-08-26 22:34:42 +10:00
Allan McRae
686ab29055 Update Spanish translation 2014-08-26 22:31:31 +10:00
Allan McRae
7950a4ee59 Regenerate libc.po 2014-08-09 17:14:35 +10:00
Allan McRae
cc5fb300fc Update Spanish translations 2014-07-23 17:06:01 +10:00
Allan McRae
d51d659d11 Update Swedish translations 2014-05-16 14:21:12 +10:00