projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New translations from http://translationproject.org
[pspp-builds.git]
/
src
/
libpspp
/
i18n.c
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index d443619ac5bc9e6deb39860099dc788d53ab5e6d..80a0ed35dd57a388f622146482e56fddca9b7211 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-73,13
+73,13
@@
create_iconv (const char* tocode, const char* fromcode)
hmapx_insert (&map, converter, hash);
/* I don't think it's safe to translate this string or to use messaging
hmapx_insert (&map, converter, hash);
/* I don't think it's safe to translate this string or to use messaging
- as the convert
o
rs have not yet been set up */
+ as the convert
e
rs have not yet been set up */
if ( (iconv_t) -1 == converter->conv && 0 != strcmp (tocode, fromcode))
{
const int err = errno;
fprintf (stderr,
"Warning: "
if ( (iconv_t) -1 == converter->conv && 0 != strcmp (tocode, fromcode))
{
const int err = errno;
fprintf (stderr,
"Warning: "
- "cannot create a convert
o
r for \"%s\" to \"%s\": %s\n",
+ "cannot create a convert
e
r for \"%s\" to \"%s\": %s\n",
fromcode, tocode, strerror (err));
}
fromcode, tocode, strerror (err));
}
@@
-94,7
+94,8
@@
recode_string (const char *to, const char *from,
}
}
-/* Return a string based on TEXT converted according to HOW.
+/* Return a string based on TEXT which must be encoded using FROM.
+ The returned string will be encoded in TO.
If length is not -1, then it must be the number of bytes in TEXT.
The returned string must be freed when no longer required.
*/
If length is not -1, then it must be the number of bytes in TEXT.
The returned string must be freed when no longer required.
*/
@@
-119,7
+120,6
@@
recode_string_pool (const char *to, const char *from,
if ( length == -1 )
length = strlen(text);
if ( length == -1 )
length = strlen(text);
-
if (to == NULL)
to = default_encoding;
if (to == NULL)
to = default_encoding;