[lasem] Added files to translate to POTFILES.in, marked some strings as translatable
- From: Mario Blättermann <mariobl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] Added files to translate to POTFILES.in, marked some strings as translatable
- Date: Sat, 4 Dec 2010 21:55:54 +0000 (UTC)
commit e3a949ae5bd9270386b581072b91dd9866c09c41
Author: Mario Blättermann <mariobl gnome org>
Date: Sat Dec 4 22:52:38 2010 +0100
Added files to translate to POTFILES.in, marked some strings as translatable
po/POTFILES.in | 192 +++++++++++++++++++++++++++++++++++++++++++++++++++++
src/lasemrender.c | 16 ++--
2 files changed, 200 insertions(+), 8 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5b882fb..e2cd0c9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1 +1,193 @@
# List of source files containing translatable strings.
+src/lasemrender.c
+src/lsmattributes.c
+src/lsmattributes.h
+src/lsm.c
+src/lsmcairo.c
+src/lsmcairo.h
+src/lsmdebug.c
+src/lsmdebug.h
+src/lsmdomcharacterdata.c
+src/lsmdomcharacterdata.h
+src/lsmdomdocument.c
+src/lsmdomdocumentfragment.c
+src/lsmdomdocumentfragment.h
+src/lsmdomdocument.h
+src/lsmdomelement.c
+src/lsmdomelement.h
+src/lsmdomenumtypes.c.template
+src/lsmdomenumtypes.h.template
+src/lsmdom.h
+src/lsmdomimplementation.c
+src/lsmdomimplementation.h
+src/lsmdomnamednodemap.c
+src/lsmdomnamednodemap.h
+src/lsmdomnode.c
+src/lsmdomnode.h
+src/lsmdomnodelist.c
+src/lsmdomnodelist.h
+src/lsmdomparser.c
+src/lsmdomparser.h
+src/lsmdomtext.c
+src/lsmdomtext.h
+src/lsmdomtypes.h
+src/lsmdomview.c
+src/lsmdomview.h
+src/lsm.h
+src/lsmmathmlactionelement.c
+src/lsmmathmlactionelement.h
+src/lsmmathmlaligngroupelement.c
+src/lsmmathmlaligngroupelement.h
+src/lsmmathmlalignmarkelement.c
+src/lsmmathmlalignmarkelement.h
+src/lsmmathmlattributes.c
+src/lsmmathmlattributes.h
+src/lsmmathmldocument.c
+src/lsmmathmldocument.h
+src/lsmmathmlelement.c
+src/lsmmathmlelement.h
+src/lsmmathmlentitydictionary.c
+src/lsmmathmlentitydictionary.h
+src/lsmmathmlenums.c
+src/lsmmathmlenums.h
+src/lsmmathmlenumtypes.c.template
+src/lsmmathmlenumtypes.h.template
+src/lsmmathmlerrorelement.c
+src/lsmmathmlerrorelement.h
+src/lsmmathmlfencedelement.c
+src/lsmmathmlfencedelement.h
+src/lsmmathmlfractionelement.c
+src/lsmmathmlfractionelement.h
+src/lsmmathmlglyphtableams.c
+src/lsmmathmlglyphtableams.h
+src/lsmmathml.h
+src/lsmmathmlitexelement.c
+src/lsmmathmlitexelement.h
+src/lsmmathmllayoututils.c
+src/lsmmathmllayoututils.h
+src/lsmmathmlmathelement.c
+src/lsmmathmlmathelement.h
+src/lsmmathmloperatordictionary.c
+src/lsmmathmloperatordictionary.h
+src/lsmmathmloperatorelement.c
+src/lsmmathmloperatorelement.h
+src/lsmmathmlpaddedelement.c
+src/lsmmathmlpaddedelement.h
+src/lsmmathmlphantomelement.c
+src/lsmmathmlphantomelement.h
+src/lsmmathmlpresentationcontainer.c
+src/lsmmathmlpresentationcontainer.h
+src/lsmmathmlpresentationtoken.c
+src/lsmmathmlpresentationtoken.h
+src/lsmmathmlradicalelement.c
+src/lsmmathmlradicalelement.h
+src/lsmmathmlrowelement.c
+src/lsmmathmlrowelement.h
+src/lsmmathmlscriptelement.c
+src/lsmmathmlscriptelement.h
+src/lsmmathmlspaceelement.c
+src/lsmmathmlspaceelement.h
+src/lsmmathmlstringelement.c
+src/lsmmathmlstringelement.h
+src/lsmmathmlstyle.c
+src/lsmmathmlstyleelement.c
+src/lsmmathmlstyleelement.h
+src/lsmmathmlstyle.h
+src/lsmmathmltablecellelement.c
+src/lsmmathmltablecellelement.h
+src/lsmmathmltableelement.c
+src/lsmmathmltableelement.h
+src/lsmmathmltablerowelement.c
+src/lsmmathmltablerowelement.h
+src/lsmmathmltraits.c
+src/lsmmathmltraits.h
+src/lsmmathmltypes.h
+src/lsmmathmlunderoverelement.c
+src/lsmmathmlunderoverelement.h
+src/lsmmathmlutils.c
+src/lsmmathmlutils.h
+src/lsmmathmlview.c
+src/lsmmathmlview.h
+src/lsmproperties.c
+src/lsmproperties.h
+src/lsmstr.c
+src/lsmstr.h
+src/lsmsvgattributes.h
+src/lsmsvgcircleelement.c
+src/lsmsvgcircleelement.h
+src/lsmsvgclippathelement.c
+src/lsmsvgclippathelement.h
+src/lsmsvgcolors.c
+src/lsmsvgcolors.h
+src/lsmsvgdefselement.c
+src/lsmsvgdefselement.h
+src/lsmsvgdocument.c
+src/lsmsvgdocument.h
+src/lsmsvgelement.c
+src/lsmsvgelement.h
+src/lsmsvgellipseelement.c
+src/lsmsvgellipseelement.h
+src/lsmsvgenums.c
+src/lsmsvgenums.h
+src/lsmsvgenumtypes.c.template
+src/lsmsvgenumtypes.h.template
+src/lsmsvgfilterelement.c
+src/lsmsvgfilterelement.h
+src/lsmsvgfiltergaussianblur.c
+src/lsmsvgfiltergaussianblur.h
+src/lsmsvgfilterprimitive.c
+src/lsmsvgfilterprimitive.h
+src/lsmsvggelement.c
+src/lsmsvggelement.h
+src/lsmsvggradientelement.c
+src/lsmsvggradientelement.h
+src/lsmsvg.h
+src/lsmsvgimageelement.c
+src/lsmsvgimageelement.h
+src/lsmsvglength.c
+src/lsmsvglength.h
+src/lsmsvglineargradientelement.c
+src/lsmsvglineargradientelement.h
+src/lsmsvglineelement.c
+src/lsmsvglineelement.h
+src/lsmsvgmarkerelement.c
+src/lsmsvgmarkerelement.h
+src/lsmsvgmaskelement.c
+src/lsmsvgmaskelement.h
+src/lsmsvgmatrix.c
+src/lsmsvgmatrix.h
+src/lsmsvgpathelement.c
+src/lsmsvgpathelement.h
+src/lsmsvgpatternelement.c
+src/lsmsvgpatternelement.h
+src/lsmsvgpolygonelement.c
+src/lsmsvgpolygonelement.h
+src/lsmsvgpolylineelement.c
+src/lsmsvgpolylineelement.h
+src/lsmsvgradialgradientelement.c
+src/lsmsvgradialgradientelement.h
+src/lsmsvgrectelement.c
+src/lsmsvgrectelement.h
+src/lsmsvgstopelement.c
+src/lsmsvgstopelement.h
+src/lsmsvgstyle.c
+src/lsmsvgstyle.h
+src/lsmsvgsvgelement.c
+src/lsmsvgsvgelement.h
+src/lsmsvgsymbolelement.c
+src/lsmsvgsymbolelement.h
+src/lsmsvgtextelement.c
+src/lsmsvgtextelement.h
+src/lsmsvgtraits.c
+src/lsmsvgtraits.h
+src/lsmsvgtspanelement.c
+src/lsmsvgtspanelement.h
+src/lsmsvgtypes.h
+src/lsmsvguseelement.c
+src/lsmsvguseelement.h
+src/lsmsvgview.c
+src/lsmsvgview.h
+src/lsmtraits.c
+src/lsmtraits.h
+src/lsmtypes.h
+
diff --git a/src/lasemrender.c b/src/lasemrender.c
index c3abcf8..58bee0b 100644
--- a/src/lasemrender.c
+++ b/src/lasemrender.c
@@ -61,13 +61,13 @@ static const GOptionEntry entries[] =
{ G_OPTION_REMAINING, ' ', 0, G_OPTION_ARG_FILENAME_ARRAY,
&option_input_filenames, NULL, NULL},
{ "output", 'o', 0, G_OPTION_ARG_FILENAME,
- &option_output_filename, "Output filename", NULL},
+ &option_output_filename, _("Output filename"), NULL},
{ "format", 'f', 0, G_OPTION_ARG_STRING,
- &option_output_file_format, "Output format", NULL },
+ &option_output_file_format, _("Output format"), NULL },
{ "ppi", 'p', 0, G_OPTION_ARG_DOUBLE,
- &option_ppi, "Pixel per inch", NULL },
+ &option_ppi, _("Pixel per inch"), NULL },
{ "debug", 'd', 0, G_OPTION_ARG_STRING,
- &option_debug_domains, "Debug domains", NULL },
+ &option_debug_domains, _("Debug domains"), NULL },
{ NULL }
};
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
if (!g_option_context_parse (context, &argc, &argv, &error))
{
g_option_context_free (context);
- g_print ("Option parsing failed: %s\n", error->message);
+ g_print (_("Option parsing failed: %s\n"), error->message);
return 1;
}
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
lsm_debug_enable (option_debug_domains);
if (option_input_filenames == NULL || g_strv_length (option_input_filenames) > 1) {
- g_print ("One input file name is required\n");
+ g_print (_("One input file name is required\n"));
return 1;
}
@@ -113,7 +113,7 @@ int main(int argc, char **argv)
if (g_ascii_strcasecmp (option_output_file_format, file_formats[format]) == 0)
break;
if (FORMAT_UNKNOWN == format) {
- g_print ("Unknown format : %s\n", option_output_file_format);
+ g_print (_("Unknown format : %s\n"), option_output_file_format);
return 1;
}
} else
@@ -235,7 +235,7 @@ int main(int argc, char **argv)
lsm_debug ("render", "width = %g pt, height = %g pt", width_pt, height_pt);
} else
- g_warning ("Can't load %s", input_filename);
+ g_warning (_("Can't load %s"), input_filename);
return (0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]