From: JazzyNico Date: Sun, 24 Oct 2010 13:13:58 +0000 (+0200) Subject: i18n. Metadata labels now fully translatable (with colon). X-Git-Url: https://git.tokkee.org/?p=inkscape.git;a=commitdiff_plain;h=55babf8cd6f750186f3c885fbd8b5ed1400fdb5f i18n. Metadata labels now fully translatable (with colon). --- diff --git a/po/inkscape.pot b/po/inkscape.pot index 01250dcb4..49a8a3ae0 100644 --- a/po/inkscape.pot +++ b/po/inkscape.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2010-10-24 12:55+0200\n" +"POT-Creation-Date: 2010-10-24 14:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1774,7 +1774,7 @@ msgstr "" #: ../share/extensions/jessyInk_transitions.inx.h:14 #: ../share/extensions/webslicer_create_rect.inx.h:40 #: ../src/dialogs/object-attributes.cpp:34 -#: ../src/extension/internal/bitmap/addNoise.cpp:46 +#: ../src/extension/internal/bitmap/addNoise.cpp:46 ../src/rdf.cpp:238 #: ../src/ui/dialog/filter-effects-dialog.cpp:2172 #: ../src/ui/dialog/filter-effects-dialog.cpp:2251 msgid "Type:" @@ -3679,7 +3679,7 @@ msgstr "" msgid "Force Dimension:" msgstr "" -#: ../share/extensions/webslicer_create_rect.inx.h:14 +#: ../share/extensions/webslicer_create_rect.inx.h:14 ../src/rdf.cpp:235 msgid "Format:" msgstr "" @@ -7829,7 +7829,7 @@ msgid "Arcrole:" msgstr "" #. TRANSLATORS: for info, see http://www.w3.org/TR/2000/CR-SVG-20000802/linking.html#AElementXLinkTitleAttribute -#: ../src/dialogs/object-attributes.cpp:42 +#: ../src/dialogs/object-attributes.cpp:42 ../src/rdf.cpp:229 msgid "Title:" msgstr "" @@ -12705,154 +12705,142 @@ msgstr "" msgid "Open Font License" msgstr "" -#: ../src/rdf.cpp:229 -msgid "Title" -msgstr "" - #: ../src/rdf.cpp:230 -msgid "Name by which this document is formally known." +msgid "Name by which this document is formally known" msgstr "" #: ../src/rdf.cpp:232 -msgid "Date" +msgid "Date:" msgstr "" #: ../src/rdf.cpp:233 -msgid "Date associated with the creation of this document (YYYY-MM-DD)." -msgstr "" - -#: ../src/rdf.cpp:235 -msgid "Format" +msgid "Date associated with the creation of this document (YYYY-MM-DD)" msgstr "" #: ../src/rdf.cpp:236 -msgid "The physical or digital manifestation of this document (MIME type)." -msgstr "" - -#: ../src/rdf.cpp:238 -msgid "Type" +msgid "The physical or digital manifestation of this document (MIME type)" msgstr "" #: ../src/rdf.cpp:239 -msgid "Type of document (DCMI Type)." +msgid "Type of document (DCMI Type)" msgstr "" #: ../src/rdf.cpp:242 -msgid "Creator" +msgid "Creator:" msgstr "" #: ../src/rdf.cpp:243 msgid "" -"Name of entity primarily responsible for making the content of this document." +"Name of entity primarily responsible for making the content of this document" msgstr "" #: ../src/rdf.cpp:245 -msgid "Rights" +msgid "Rights:" msgstr "" #: ../src/rdf.cpp:246 msgid "" -"Name of entity with rights to the Intellectual Property of this document." +"Name of entity with rights to the Intellectual Property of this document" msgstr "" #: ../src/rdf.cpp:248 -msgid "Publisher" +msgid "Publisher:" msgstr "" #: ../src/rdf.cpp:249 -msgid "Name of entity responsible for making this document available." +msgid "Name of entity responsible for making this document available" msgstr "" #: ../src/rdf.cpp:252 -msgid "Identifier" +msgid "Identifier:" msgstr "" #: ../src/rdf.cpp:253 -msgid "Unique URI to reference this document." +msgid "Unique URI to reference this document" msgstr "" -#: ../src/rdf.cpp:255 ../src/ui/dialog/filedialogimpl-gtkmm.cpp:1438 -msgid "Source" +#: ../src/rdf.cpp:255 +msgid "Source:" msgstr "" #: ../src/rdf.cpp:256 -msgid "Unique URI to reference the source of this document." +msgid "Unique URI to reference the source of this document" msgstr "" #: ../src/rdf.cpp:258 -msgid "Relation" +msgid "Relation:" msgstr "" #: ../src/rdf.cpp:259 -msgid "Unique URI to a related document." +msgid "Unique URI to a related document" msgstr "" -#: ../src/rdf.cpp:261 -msgid "Language" +#: ../src/rdf.cpp:261 ../src/ui/dialog/inkscape-preferences.cpp:1297 +msgid "Language:" msgstr "" #: ../src/rdf.cpp:262 msgid "" "Two-letter language tag with optional subtags for the language of this " -"document. (e.g. 'en-GB')" +"document (e.g. 'en-GB')" msgstr "" #: ../src/rdf.cpp:264 -msgid "Keywords" +msgid "Keywords:" msgstr "" #: ../src/rdf.cpp:265 msgid "" "The topic of this document as comma-separated key words, phrases, or " -"classifications." +"classifications" msgstr "" #. TRANSLATORS: "Coverage": the spatial or temporal characteristics of the content. #. For info, see Appendix D of http://www.w3.org/TR/1998/WD-rdf-schema-19980409/ #: ../src/rdf.cpp:269 -msgid "Coverage" +msgid "Coverage:" msgstr "" #: ../src/rdf.cpp:270 -msgid "Extent or scope of this document." +msgid "Extent or scope of this document" msgstr "" -#: ../src/rdf.cpp:273 ../src/ui/widget/page-sizer.cpp:245 -msgid "Description" +#: ../src/rdf.cpp:273 +msgid "Description:" msgstr "" #: ../src/rdf.cpp:274 -msgid "A short account of the content of this document." +msgid "A short account of the content of this document" msgstr "" #. FIXME: need to handle 1 agent per line of input #: ../src/rdf.cpp:278 -msgid "Contributors" +msgid "Contributors:" msgstr "" #: ../src/rdf.cpp:279 msgid "" "Names of entities responsible for making contributions to the content of " -"this document." +"this document" msgstr "" #. TRANSLATORS: URL to a page that defines the license for the document #: ../src/rdf.cpp:283 -msgid "URI" +msgid "URI:" msgstr "" #. TRANSLATORS: this is where you put a URL to a page that defines the license #: ../src/rdf.cpp:285 -msgid "URI to this document's license's namespace definition." +msgid "URI to this document's license's namespace definition" msgstr "" #. TRANSLATORS: fragment of XML representing the license of the document #: ../src/rdf.cpp:289 -msgid "Fragment" +msgid "Fragment:" msgstr "" #: ../src/rdf.cpp:290 -msgid "XML fragment for the RDF 'License' section." +msgid "XML fragment for the RDF 'License' section" msgstr "" #: ../src/rect-context.cpp:372 @@ -15335,6 +15323,10 @@ msgstr "" msgid "Document" msgstr "" +#: ../src/ui/dialog/filedialogimpl-gtkmm.cpp:1438 +msgid "Source" +msgstr "" + #: ../src/ui/dialog/filedialogimpl-gtkmm.cpp:1458 msgid "Cairo" msgstr "" @@ -18612,10 +18604,6 @@ msgstr "" msgid "Bitmaps" msgstr "" -#: ../src/ui/dialog/inkscape-preferences.cpp:1297 -msgid "Language:" -msgstr "" - #: ../src/ui/dialog/inkscape-preferences.cpp:1298 msgid "Set the main spell check language" msgstr "" @@ -20259,6 +20247,10 @@ msgstr "" msgid "Bottom margin" msgstr "" +#: ../src/ui/widget/page-sizer.cpp:245 +msgid "Description" +msgstr "" + #: ../src/ui/widget/page-sizer.cpp:286 msgid "Orientation:" msgstr "" diff --git a/src/rdf.cpp b/src/rdf.cpp index 0a8fd51f6..32f5fb5fe 100644 --- a/src/rdf.cpp +++ b/src/rdf.cpp @@ -226,68 +226,68 @@ struct rdf_license_t rdf_licenses [] = { // Remember when using the "title" and "tip" elements to pass them through // the localization functions when you use them! struct rdf_work_entity_t rdf_work_entities [] = { - { "title", N_("Title"), "dc:title", RDF_CONTENT, - N_("Name by which this document is formally known."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "title", N_("Title:"), "dc:title", RDF_CONTENT, + N_("Name by which this document is formally known"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "date", N_("Date"), "dc:date", RDF_CONTENT, - N_("Date associated with the creation of this document (YYYY-MM-DD)."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "date", N_("Date:"), "dc:date", RDF_CONTENT, + N_("Date associated with the creation of this document (YYYY-MM-DD)"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "format", N_("Format"), "dc:format", RDF_CONTENT, - N_("The physical or digital manifestation of this document (MIME type)."), RDF_FORMAT_LINE, RDF_EDIT_HARDCODED, + { "format", N_("Format:"), "dc:format", RDF_CONTENT, + N_("The physical or digital manifestation of this document (MIME type)"), RDF_FORMAT_LINE, RDF_EDIT_HARDCODED, }, - { "type", N_("Type"), "dc:type", RDF_RESOURCE, - N_("Type of document (DCMI Type)."), RDF_FORMAT_LINE, RDF_EDIT_HARDCODED, + { "type", N_("Type:"), "dc:type", RDF_RESOURCE, + N_("Type of document (DCMI Type)"), RDF_FORMAT_LINE, RDF_EDIT_HARDCODED, }, - { "creator", N_("Creator"), "dc:creator", RDF_AGENT, - N_("Name of entity primarily responsible for making the content of this document."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "creator", N_("Creator:"), "dc:creator", RDF_AGENT, + N_("Name of entity primarily responsible for making the content of this document"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "rights", N_("Rights"), "dc:rights", RDF_AGENT, - N_("Name of entity with rights to the Intellectual Property of this document."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "rights", N_("Rights:"), "dc:rights", RDF_AGENT, + N_("Name of entity with rights to the Intellectual Property of this document"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "publisher", N_("Publisher"), "dc:publisher", RDF_AGENT, - N_("Name of entity responsible for making this document available."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "publisher", N_("Publisher:"), "dc:publisher", RDF_AGENT, + N_("Name of entity responsible for making this document available"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "identifier", N_("Identifier"), "dc:identifier", RDF_CONTENT, - N_("Unique URI to reference this document."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "identifier", N_("Identifier:"), "dc:identifier", RDF_CONTENT, + N_("Unique URI to reference this document"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "source", N_("Source"), "dc:source", RDF_CONTENT, - N_("Unique URI to reference the source of this document."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "source", N_("Source:"), "dc:source", RDF_CONTENT, + N_("Unique URI to reference the source of this document"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "relation", N_("Relation"), "dc:relation", RDF_CONTENT, - N_("Unique URI to a related document."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "relation", N_("Relation:"), "dc:relation", RDF_CONTENT, + N_("Unique URI to a related document"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "language", N_("Language"), "dc:language", RDF_CONTENT, - N_("Two-letter language tag with optional subtags for the language of this document. (e.g. 'en-GB')"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "language", N_("Language:"), "dc:language", RDF_CONTENT, + N_("Two-letter language tag with optional subtags for the language of this document (e.g. 'en-GB')"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "subject", N_("Keywords"), "dc:subject", RDF_BAG, - N_("The topic of this document as comma-separated key words, phrases, or classifications."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "subject", N_("Keywords:"), "dc:subject", RDF_BAG, + N_("The topic of this document as comma-separated key words, phrases, or classifications"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, // TRANSLATORS: "Coverage": the spatial or temporal characteristics of the content. // For info, see Appendix D of http://www.w3.org/TR/1998/WD-rdf-schema-19980409/ - { "coverage", N_("Coverage"), "dc:coverage", RDF_CONTENT, - N_("Extent or scope of this document."), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, + { "coverage", N_("Coverage:"), "dc:coverage", RDF_CONTENT, + N_("Extent or scope of this document"), RDF_FORMAT_LINE, RDF_EDIT_GENERIC, }, - { "description", N_("Description"), "dc:description", RDF_CONTENT, - N_("A short account of the content of this document."), RDF_FORMAT_MULTILINE, RDF_EDIT_GENERIC, + { "description", N_("Description:"), "dc:description", RDF_CONTENT, + N_("A short account of the content of this document"), RDF_FORMAT_MULTILINE, RDF_EDIT_GENERIC, }, // FIXME: need to handle 1 agent per line of input - { "contributor", N_("Contributors"), "dc:contributor", RDF_AGENT, - N_("Names of entities responsible for making contributions to the content of this document."), RDF_FORMAT_MULTILINE, RDF_EDIT_GENERIC, + { "contributor", N_("Contributors:"), "dc:contributor", RDF_AGENT, + N_("Names of entities responsible for making contributions to the content of this document"), RDF_FORMAT_MULTILINE, RDF_EDIT_GENERIC, }, // TRANSLATORS: URL to a page that defines the license for the document - { "license_uri", N_("URI"), "cc:license", RDF_RESOURCE, + { "license_uri", N_("URI:"), "cc:license", RDF_RESOURCE, // TRANSLATORS: this is where you put a URL to a page that defines the license - N_("URI to this document's license's namespace definition."), RDF_FORMAT_LINE, RDF_EDIT_SPECIAL, + N_("URI to this document's license's namespace definition"), RDF_FORMAT_LINE, RDF_EDIT_SPECIAL, }, // TRANSLATORS: fragment of XML representing the license of the document - { "license_fragment", N_("Fragment"), "License", RDF_XML, - N_("XML fragment for the RDF 'License' section."), RDF_FORMAT_MULTILINE, RDF_EDIT_SPECIAL, + { "license_fragment", N_("Fragment:"), "License", RDF_XML, + N_("XML fragment for the RDF 'License' section"), RDF_FORMAT_MULTILINE, RDF_EDIT_SPECIAL, }, { NULL, NULL, NULL, RDF_CONTENT, diff --git a/src/ui/widget/entity-entry.cpp b/src/ui/widget/entity-entry.cpp index e9f09f574..968e35b6c 100644 --- a/src/ui/widget/entity-entry.cpp +++ b/src/ui/widget/entity-entry.cpp @@ -56,7 +56,7 @@ EntityEntry::create (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr) } EntityEntry::EntityEntry (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr) -: _label(Glib::ustring(_(ent->title))+":", 1.0, 0.5), _packable(0), +: _label(Glib::ustring(_(ent->title)), 1.0, 0.5), _packable(0), _entity(ent), _tt(&tt), _wr(&wr) { }