From ca9450b29be01e0f0be547c805b4b6585097c2e8 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sun, 18 May 2014 15:32:10 +0200 Subject: [PATCH] Spell 'serialize' with a 'z' --- ioncore/saveload.c | 2 +- libextl/luaextl.c | 8 ++++---- libextl/luaextl.h | 2 +- libextl/readconfig.c | 2 +- po/cs.po | 2 +- po/de.po | 2 +- po/fi.po | 2 +- po/fr.po | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ioncore/saveload.c b/ioncore/saveload.c index 8396e08a..150bf8dc 100644 --- a/ioncore/saveload.c +++ b/ioncore/saveload.c @@ -249,7 +249,7 @@ bool ioncore_init_layout() return FALSE; } warn(TR(backup_msg), backup); - if(!extl_serialise(backup, tab)) + if(!extl_serialize(backup, tab)) warn(TR("Failed backup.")); free(backup); } diff --git a/libextl/luaextl.c b/libextl/luaextl.c index 6e7a9221..6f85fced 100644 --- a/libextl/luaextl.c +++ b/libextl/luaextl.c @@ -2506,7 +2506,7 @@ static bool ser(lua_State *st, FILE *f, int lvl) fprintf(f, "}"); break; default: - extl_warn(TR("Unable to serialise type %s."), + extl_warn(TR("Unable to serialize type %s."), lua_typename(st, lua_type(st, -1))); } lua_pop(st, 1); @@ -2514,7 +2514,7 @@ static bool ser(lua_State *st, FILE *f, int lvl) } -static bool extl_do_serialise(lua_State *st, SerData *d) +static bool extl_do_serialize(lua_State *st, SerData *d) { if(!extl_getref(st, d->tab)) return FALSE; @@ -2524,7 +2524,7 @@ static bool extl_do_serialise(lua_State *st, SerData *d) /* Tab must not contain recursive references! */ -extern bool extl_serialise(const char *file, ExtlTab tab) +extern bool extl_serialize(const char *file, ExtlTab tab) { SerData d; bool ret; @@ -2552,7 +2552,7 @@ extern bool extl_serialise(const char *file, ExtlTab tab) fprintf(d.f, TR("-- This file has been generated by %s. Do not edit.\n"), libtu_progname()); fprintf(d.f, "return "); - ret=extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_serialise, &d); + ret=extl_cpcall(l_st, (ExtlCPCallFn*)extl_do_serialize, &d); fprintf(d.f, "\n\n"); diff --git a/libextl/luaextl.h b/libextl/luaextl.h index d3276030..153a66a0 100644 --- a/libextl/luaextl.h +++ b/libextl/luaextl.h @@ -164,7 +164,7 @@ extern bool extl_call(ExtlFn fnref, const char *spec, extern bool extl_loadfile(const char *file, ExtlFn *ret); extern bool extl_loadstring(const char *str, ExtlFn *ret); -extern bool extl_serialise(const char *file, ExtlTab tab); +extern bool extl_serialize(const char *file, ExtlTab tab); /* Register */ diff --git a/libextl/readconfig.c b/libextl/readconfig.c index db9dca4d..31581f60 100644 --- a/libextl/readconfig.c +++ b/libextl/readconfig.c @@ -500,7 +500,7 @@ bool extl_write_savefile(const char *basename, ExtlTab tab) char *fname=extl_get_savefile(basename); if(fname!=NULL){ - ret=extl_serialise(fname, tab); + ret=extl_serialize(fname, tab); free(fname); } diff --git a/po/cs.po b/po/cs.po index 504fe8a8..a43ded6f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -896,7 +896,7 @@ msgstr "Dosažena maximální hloubka serializace." #: ../../libextl-3/luaextl.c:2501 #, c-format -msgid "Unable to serialise type %s." +msgid "Unable to serialize type %s." msgstr "Nemohu serializovat typ %s." #: ../../libextl-3/luaextl.c:2532 diff --git a/po/de.po b/po/de.po index b5731049..e474522c 100644 --- a/po/de.po +++ b/po/de.po @@ -866,7 +866,7 @@ msgstr "Maximale Serialisierungstiefe erreicht." #: ../libextl/luaextl.c:2501 #, c-format -msgid "Unable to serialise type %s." +msgid "Unable to serialize type %s." msgstr "Typ %s kann nicht serialisiert werden." #: ../libextl/luaextl.c:2532 diff --git a/po/fi.po b/po/fi.po index 9f6f6ecb..95ab86b7 100644 --- a/po/fi.po +++ b/po/fi.po @@ -909,7 +909,7 @@ msgstr "Suurin mahdollinen talletuksen rekursiosyvyys saavutettu." #: ../../libextl-3/luaextl.c:2501 #, c-format -msgid "Unable to serialise type %s." +msgid "Unable to serialize type %s." msgstr "Tyyppiä %s ei voida tallettaa." #: ../../libextl-3/luaextl.c:2532 diff --git a/po/fr.po b/po/fr.po index acc86b1a..0decd018 100644 --- a/po/fr.po +++ b/po/fr.po @@ -906,7 +906,7 @@ msgstr "Profondeur de sérialisation maximale atteinte." #: ../libextl/luaextl.c:2368 #, c-format -msgid "Unable to serialise type %s." +msgid "Unable to serialize type %s." msgstr "Incapable de sérialiser le type %s." #: ../libextl/luaextl.c:2399 -- 2.11.4.GIT