From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28484 invoked by alias); 15 Jun 2012 14:27:23 -0000 Received: (qmail 28350 invoked by uid 22791); 15 Jun 2012 14:27:17 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_FP X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 14:27:02 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1SfXUM-0001EP-5y from Carlos_ODonell@mentor.com ; Fri, 15 Jun 2012 07:27:02 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 15 Jun 2012 07:26:25 -0700 Received: from [172.30.1.133] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Fri, 15 Jun 2012 07:27:00 -0700 Message-ID: <4FDB4635.7060306@mentor.com> Date: Fri, 15 Jun 2012 14:27:00 -0000 From: Carlos O'Donell User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: libc-alpha , Subject: [PATCH] Changes to libc.pot for glibc core and ports. Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00047.txt.bz2 Community, I've rebuild libc.pot and I'm getting it ready to send it to the translation team for 2.16. I was shocked to see that our libc.pot support *does not include* ports. We lost the IA64 translations as they moved into ports. I see 6 translations in ports that aren't being handled: sysdeps/mips/dl-lookup.c: N_("relocation error"), sysdeps/mips/dl-lookup.c: N_("symbol lookup error"), sysdeps/unix/sysv/linux/ia64/makecontext.c: fprintf (stderr, _("\ sysdeps/hppa/dl-fptr.c: N_("cannot map pages for fdesc table")); sysdeps/hppa/dl-fptr.c: N_("cannot map pages for fptr table")); sysdeps/hppa/dl-fptr.c: N_("internal error: symidx out of range of fptr table")); Luckily the MIPS and HPPA translations already exist in the main source tree. The IA64 one doesn't which is why I noticed the problem since that translation went away, and that's wrong. I've fixed this by adjusting scripts/list-sources.sh to include ports. This will need to be undone once we merge ports back. This will also effect the TAGS target for emacs users. I've trimmed the diff to the relevant and substantial changes. Comments? 2012-06-15 Carlos O'Donell * scripts/list-sources.sh: Include ports. * po/libc.pot: Regenerate. diff --git a/scripts/list-sources.sh b/scripts/list-sources.sh index 53b6f7f..5944115 100755 --- a/scripts/list-sources.sh +++ b/scripts/list-sources.sh @@ -11,8 +11,12 @@ esac if [ -r .git/HEAD ]; then - exec ${GIT:-git} ls-files - + # List files for glibc core. + ${GIT:-git} ls-files + # List files for glibc ports. + cd "$PWD/ports" + ${GIT:-git} ls-files | sed -e 's,^,ports/,g' + exit 0 fi echo >&2 'Cannot list sources without some version control system in use.' ~~~ ... -"Project-Id-Version: libc 2.13.90\n" -"POT-Creation-Date: 2011-05-31 00:06-0400\n" +"Project-Id-Version: libc 2.15.90\n" +"POT-Creation-Date: 2012-06-15 07:07-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" ... -#: debug/xtrace.sh:33 malloc/memusage.sh:27 -msgid "Try \\`%s --help' or `%s --usage' for more information.\\n" +#: debug/xtrace.sh:32 elf/sotruss.ksh:57 elf/sotruss.ksh:68 +#: elf/sotruss.ksh:136 malloc/memusage.sh:26 +msgid "Try \\`%s --help' or \\`%s --usage' for more information.\\n" msgstr "" ... -#: elf/ldconfig.c:1065 +#: elf/ldconfig.c:1064 #, c-format -msgid "Can't open configuration file %s" +msgid "Warning: ignoring configuration file that cannot be opened: %s" msgstr "" ... -#: elf/readelflib.c:35 +#: elf/pldd-xx.c:105 +#, c-format +msgid "cannot find program header of process" +msgstr "" + +#: elf/pldd-xx.c:110 +#, c-format +msgid "cannot read program header" +msgstr "" + +#: elf/pldd-xx.c:135 +#, c-format +msgid "cannot read dynamic section" +msgstr "" + +#: elf/pldd-xx.c:147 +#, c-format +msgid "cannot read r_debug" +msgstr "" + +#: elf/pldd-xx.c:167 +#, c-format +msgid "cannot read program interpreter" +msgstr "" + +#: elf/pldd-xx.c:196 +#, c-format +msgid "cannot read link map" +msgstr "" + +#: elf/pldd-xx.c:207 +#, c-format +msgid "cannot read object name" +msgstr "" + +#: elf/pldd.c:67 +msgid "List dynamic shared objects loaded into process." +msgstr "" + +#: elf/pldd.c:71 +msgid "PID" +msgstr "" + +#: elf/pldd.c:102 +#, c-format +msgid "Exactly one parameter with process ID required.\n" +msgstr "" + +#: elf/pldd.c:114 +#, c-format +msgid "invalid process ID '%s'" +msgstr "" + +#: elf/pldd.c:122 +#, c-format +msgid "cannot open %s" +msgstr "" + +#: elf/pldd.c:147 +#, c-format +msgid "cannot open %s/task" +msgstr "" + +#: elf/pldd.c:150 +#, c-format +msgid "cannot prepare reading %s/task" +msgstr "" + +#: elf/pldd.c:163 +#, c-format +msgid "invalid thread ID '%s'" +msgstr "" + +#: elf/pldd.c:174 +#, c-format +msgid "cannot attach to process %lu" +msgstr "" + +#: elf/pldd.c:246 +#, c-format +msgid "cannot get information about process %lu" +msgstr "" + +#: elf/pldd.c:259 +#, c-format +msgid "process %lu is no ELF program" +msgstr "" + +#: elf/readelflib.c:34 ... -#: elf/sotruss.ksh:33 +#: elf/sotruss.ksh:32 #, sh-format msgid "" "Usage: sotruss [OPTION...] [--] EXECUTABLE [EXECUTABLE-OPTION...]\n" -" -F, --from FROMLIST trace calls from objects on FORMLIST\n" -" -T, --to TOLIST trace calls to objects on TOLIST\n" +" -F, --from FROMLIST Trace calls from objects on FROMLIST\n" +" -T, --to TOLIST Trace calls to objects on TOLIST\n" "\n" -" -e, --exit also show exits from the function calls\n" -" -f, --follow trace child processes\n" -" -o, --output FILENAME write output to FILENAME (or FILENAME.$PID in " +" -e, --exit Also show exits from the function calls\n" +" -f, --follow Trace child processes\n" +" -o, --output FILENAME Write output to FILENAME (or FILENAME.$PID in " "case\n" "\t\t\t -f is also used) instead of standard error\n" "\n" -" --help print this help and exit\n" -" --version print version information and exit" +" -?, --help Give this help list\n" +" --usage Give a short usage message\n" +" --version Print program version" msgstr "" ... -#: elf/sotruss.ksh:57 elf/sotruss.ksh:68 elf/sotruss.ksh:134 -msgid "Try \\`%s --help' or \\`%s --usage' for more information.\\n" -msgstr "" - #: elf/sotruss.ksh:62 msgid "%s: option is ambiguous; possibilities:" msgstr "" @@ -1096,257 +1183,259 @@ msgstr "" #: elf/sotruss.ksh:87 msgid "" "Usage: %s [-ef] [-F FROMLIST] [-o FILENAME] [-T TOLIST] [--exit]\n" -"\t [--follow] [--from FROMLIST] [--output FILENAME] [--to TOLIST]\\n" +"\t [--follow] [--from FROMLIST] [--output FILENAME] [--to TOLIST]\n" +"\t [--help] [--usage] [--version] [--]\n" +"\t EXECUTABLE [EXECUTABLE-OPTION...]\\n" msgstr "" ... -#: nscd/connections.c:1039 +#: nscd/connections.c:986 +#, c-format +msgid "register trace file %s for database %s" +msgstr "" + +#: nscd/connections.c:1116 ... -#: nscd/nscd.c:101 +#: nscd/netgroupcache.c:77 +#, c-format +msgid "Haven't found \"%s\" in netgroup cache!" +msgstr "" + +#: nscd/netgroupcache.c:79 +#, c-format +msgid "Reloading \"%s\" in netgroup cache!" +msgstr "" + +#: nscd/netgroupcache.c:467 +#, c-format +msgid "Haven't found \"%s (%s,%s,%s)\" in netgroup cache!" +msgstr "" + +#: nscd/netgroupcache.c:470 +#, c-format +msgid "Reloading \"%s (%s,%s,%s)\" in netgroup cache!" +msgstr "" + +#: nscd/nscd.c:116 ... -#: nscd/nscd.c:104 +#: nscd/nscd.c:120 +msgid "Do not fork, but otherwise behave like a daemon" +msgstr "" + +#: nscd/nscd.c:121 ... -#: nss/makedb.c:70 -msgid "Create simple DB database from textual input." +#: nss/makedb.c:123 +msgid "CHAR" msgstr "" -#: nss/makedb.c:73 +#: nss/makedb.c:124 +msgid "Generated line not part of iteration" +msgstr "" + +#: nss/makedb.c:129 +msgid "Create simple database from textual input." +msgstr "" + +#: nss/makedb.c:132 ... -#: nss/makedb.c:142 +#: nss/makedb.c:228 #, c-format -msgid "No usable database library found." +msgid "cannot open database file `%s'" msgstr "" -#: nss/makedb.c:149 +#: nss/makedb.c:273 #, c-format -msgid "cannot open database file `%s': %s" +msgid "no entries to be processed" msgstr "" -#: nss/makedb.c:151 -msgid "incorrectly formatted file" +#: nss/makedb.c:283 +#, c-format +msgid "cannot create temporary file name" msgstr "" -#: nss/makedb.c:331 -msgid "duplicate key" +#: nss/makedb.c:305 +#, c-format +msgid "cannot stat newly created file" +msgstr "" + +#: nss/makedb.c:316 +#, c-format +msgid "cannot rename temporary file" msgstr "" -#: nss/makedb.c:337 +#: nss/makedb.c:529 nss/makedb.c:552 #, c-format -msgid "while writing database file" +msgid "cannot create search tree" +msgstr "" + +#: nss/makedb.c:558 +msgid "duplicate key" msgstr "" ... -#: nss/makedb.c:368 nss/makedb.c:385 +#: nss/makedb.c:794 +#, c-format +msgid "failed to write new database file" +msgstr "" + +#: nss/makedb.c:807 #, c-format -msgid "while reading database" +msgid "cannot stat database file" msgstr "" -#: posix/getconf.c:1036 +#: nss/makedb.c:812 +#, c-format +msgid "cannot map database file" +msgstr "" + +#: nss/makedb.c:815 +#, c-format +msgid "file not a database file" +msgstr "" + +#: nss/makedb.c:866 +#, c-format +msgid "cannot set file creation context for `%s'" +msgstr "" + +#: ports/sysdeps/unix/sysv/linux/ia64/makecontext.c:62 +#, c-format +msgid "makecontext: does not know how to handle more than 8 arguments\n" +msgstr "" + +#: posix/getconf.c:1035 ... -#: sysdeps/mach/_strerror.c:57 +#: sysdeps/gnu/errlist.c:1469 +msgid "Memory page has hardware error" +msgstr "" + +#: sysdeps/mach/_strerror.c:56 ... -#: sysdeps/unix/siglist.c:26 -msgid "Signal 0" -msgstr "" - -#: sysdeps/unix/siglist.c:32 -msgid "IOT trap" -msgstr "" - -#: sysdeps/unix/sysv/linux/i386/readelflib.c:49 +#: sysdeps/unix/sysv/linux/i386/readelflib.c:65 ... -#: sysdeps/unix/sysv/linux/ia64/makecontext.c:63 -#, c-format -msgid "makecontext: does not know how to handle more than 8 arguments\n" -msgstr "" - -#: sysdeps/unix/sysv/linux/lddlibc4.c:61 +#: sysdeps/unix/sysv/linux/lddlibc4.c:60 ... ~~~ Cheers, Carlos. -- Carlos O'Donell Mentor Graphics / CodeSourcery carlos_odonell@mentor.com carlos@codesourcery.com +1 (613) 963 1026