summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ae16a2)
raw | patch | inline | side by side (parent: 2ae16a2)
author | helix84 <helix84@users.sourceforge.net> | |
Tue, 26 May 2009 15:22:40 +0000 (15:22 +0000) | ||
committer | helix84 <helix84@users.sourceforge.net> | |
Tue, 26 May 2009 15:22:40 +0000 (15:22 +0000) |
* [INTL:*] make inkscape.pot
* [INTL: sk] Slovak translation update (trunk)
* [INTL: sk] Slovak translation update (trunk)
po/POTFILES.in | patch | blob | history | |
po/inkscape.pot | patch | blob | history | |
po/sk.po | patch | blob | history | |
share/patterns/Makefile.am | patch | blob | history | |
share/patterns/README | patch | blob | history | |
share/patterns/i18n.py | [new file with mode: 0755] | patch | blob |
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 8be1349073b4d5cccfa165a6c1313b87b0277fa9..943c4b617888146525f8271225697416295b79b0 100644 (file)
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
[encoding: UTF-8]
inkscape.desktop.in
share/filters/filters.svg.h
+share/patterns/patterns.svg.h
src/arc-context.cpp
src/box3d-context.cpp
src/box3d.cpp
diff --git a/po/inkscape.pot b/po/inkscape.pot
index 181c2f338c74ae326a41f49574ca69053c161392..54a44d1c14e2a7e50e1fe548615dd480c788c68a 100644 (file)
--- a/po/inkscape.pot
+++ b/po/inkscape.pot
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2009-05-26 13:43+0200\n"
+"POT-Creation-Date: 2009-05-26 16:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Darken the edges with an inner blur"
msgstr ""
+#: ../share/patterns/patterns.svg.h:2
+msgid "Stripes 1:1"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:3
+msgid "Stripes 1:1 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:4
+msgid "Stripes 1:1.5"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:5
+msgid "Stripes 1:1.5 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:6
+msgid "Stripes 1:2"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:7
+msgid "Stripes 1:2 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:8
+msgid "Stripes 1:3"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:9
+msgid "Stripes 1:3 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:10
+msgid "Stripes 1:4"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:11
+msgid "Stripes 1:4 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:12
+msgid "Stripes 1:5"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:13
+msgid "Stripes 1:5 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:14
+msgid "Stripes 1:8"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:15
+msgid "Stripes 1:8 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:16
+msgid "Stripes 1:10"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:17
+msgid "Stripes 1:10 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:18
+msgid "Stripes 1:16"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:19
+msgid "Stripes 1:16 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:20
+msgid "Stripes 1:32"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:21
+msgid "Stripes 1:32 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:22
+msgid "Stripes 1:64"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:23
+msgid "Stripes 2:1"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:24
+msgid "Stripes 2:1 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:25
+msgid "Stripes 4:1"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:26
+msgid "Stripes 4:1 white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:27
+msgid "Checkerboard"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:28
+msgid "Checkerboard white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:29
+msgid "Packed circles"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:30
+msgid "Polka dots, small"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:31
+msgid "Polka dots, small white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:32
+msgid "Polka dots, medium"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:33
+msgid "Polka dots, medium white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:34
+msgid "Polka dots, large"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:35
+msgid "Polka dots, large white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:36
+msgid "Wavy"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:37
+msgid "Wavy white"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:38
+msgid "Camouflage"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:39
+msgid "Ermine"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:40
+msgid "Sand (bitmap)"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:41
+msgid "Cloth (bitmap)"
+msgstr ""
+
+#: ../share/patterns/patterns.svg.h:42
+msgid "Old paint (bitmap)"
+msgstr ""
+
#: ../src/arc-context.cpp:303
msgid ""
"<b>Ctrl</b>: make circle or integer-ratio ellipse, snap arc/segment angle"
diff --git a/po/sk.po b/po/sk.po
index a7bdeac22d97c4aa37e22dafc0110502ecbf8f8e..561bb3ef1b018e62f9417b81a51b3699e14c23b2 100644 (file)
--- a/po/sk.po
+++ b/po/sk.po
msgstr ""
"Project-Id-Version: inkscape\n"
"Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2009-05-26 13:32+0200\n"
-"PO-Revision-Date: 2009-05-26 13:58+0100\n"
+"POT-Creation-Date: 2009-05-26 16:30+0200\n"
+"PO-Revision-Date: 2009-05-26 16:35+0100\n"
"Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
"MIME-Version: 1.0\n"
msgid "Darken the edges with an inner blur"
msgstr "Stmaviť okraj s vnútorným rozostrením"
+#: ../share/patterns/patterns.svg.h:2
+msgid "Stripes 1:1"
+msgstr "Prúžky 1:1"
+
+#: ../share/patterns/patterns.svg.h:3
+msgid "Stripes 1:1 white"
+msgstr "Prúžky 1:1 biele"
+
+#: ../share/patterns/patterns.svg.h:4
+msgid "Stripes 1:1.5"
+msgstr "Prúžky 1:1.5"
+
+#: ../share/patterns/patterns.svg.h:5
+msgid "Stripes 1:1.5 white"
+msgstr "Prúžky 1:1.5 biele"
+
+#: ../share/patterns/patterns.svg.h:6
+msgid "Stripes 1:2"
+msgstr "Prúžky 1:2"
+
+#: ../share/patterns/patterns.svg.h:7
+msgid "Stripes 1:2 white"
+msgstr "Prúžky 1:2 biele"
+
+#: ../share/patterns/patterns.svg.h:8
+msgid "Stripes 1:3"
+msgstr "Prúžky 1:3"
+
+#: ../share/patterns/patterns.svg.h:9
+msgid "Stripes 1:3 white"
+msgstr "Prúžky 1:3 biele"
+
+#: ../share/patterns/patterns.svg.h:10
+msgid "Stripes 1:4"
+msgstr "Prúžky 1:4"
+
+#: ../share/patterns/patterns.svg.h:11
+msgid "Stripes 1:4 white"
+msgstr "Prúžky 1:4 biele"
+
+#: ../share/patterns/patterns.svg.h:12
+msgid "Stripes 1:5"
+msgstr "Prúžky 1:5"
+
+#: ../share/patterns/patterns.svg.h:13
+msgid "Stripes 1:5 white"
+msgstr "Prúžky 1:5 biele"
+
+#: ../share/patterns/patterns.svg.h:14
+msgid "Stripes 1:8"
+msgstr "Prúžky 1:8"
+
+#: ../share/patterns/patterns.svg.h:15
+msgid "Stripes 1:8 white"
+msgstr "Prúžky 1:8 biele"
+
+#: ../share/patterns/patterns.svg.h:16
+msgid "Stripes 1:10"
+msgstr "Prúžky 1:10"
+
+#: ../share/patterns/patterns.svg.h:17
+msgid "Stripes 1:10 white"
+msgstr "Prúžky 1:10 biele"
+
+#: ../share/patterns/patterns.svg.h:18
+msgid "Stripes 1:16"
+msgstr "Prúžky 1:16"
+
+#: ../share/patterns/patterns.svg.h:19
+msgid "Stripes 1:16 white"
+msgstr "Prúžky 1:16 biele"
+
+#: ../share/patterns/patterns.svg.h:20
+msgid "Stripes 1:32"
+msgstr "Prúžky 1:32"
+
+#: ../share/patterns/patterns.svg.h:21
+msgid "Stripes 1:32 white"
+msgstr "Prúžky 1:32 biele"
+
+#: ../share/patterns/patterns.svg.h:22
+msgid "Stripes 1:64"
+msgstr "Prúžky 1:64"
+
+#: ../share/patterns/patterns.svg.h:23
+msgid "Stripes 2:1"
+msgstr "Prúžky 2:1"
+
+#: ../share/patterns/patterns.svg.h:24
+msgid "Stripes 2:1 white"
+msgstr "Prúžky 2:1 biele"
+
+#: ../share/patterns/patterns.svg.h:25
+msgid "Stripes 4:1"
+msgstr "Prúžky 4:1"
+
+#: ../share/patterns/patterns.svg.h:26
+msgid "Stripes 4:1 white"
+msgstr "Prúžky 4:1 bielewhite"
+
+#: ../share/patterns/patterns.svg.h:27
+msgid "Checkerboard"
+msgstr "Šachovnica"
+
+#: ../share/patterns/patterns.svg.h:28
+msgid "Checkerboard white"
+msgstr "Šachovnica biela"
+
+#: ../share/patterns/patterns.svg.h:29
+msgid "Packed circles"
+msgstr "Výplň kružnicami"
+
+#: ../share/patterns/patterns.svg.h:30
+msgid "Polka dots, small"
+msgstr "Polka, malé bodky"
+
+#: ../share/patterns/patterns.svg.h:31
+msgid "Polka dots, small white"
+msgstr "Polka, malé biele bodky"
+
+#: ../share/patterns/patterns.svg.h:32
+msgid "Polka dots, medium"
+msgstr "Polka, stredné bodky"
+
+#: ../share/patterns/patterns.svg.h:33
+msgid "Polka dots, medium white"
+msgstr "Polka, stredné biele bodky"
+
+#: ../share/patterns/patterns.svg.h:34
+msgid "Polka dots, large"
+msgstr "Polka, veľké bodky"
+
+#: ../share/patterns/patterns.svg.h:35
+msgid "Polka dots, large white"
+msgstr "Polka, veľké biele bodky"
+
+#: ../share/patterns/patterns.svg.h:36
+msgid "Wavy"
+msgstr "Vlnité"
+
+#: ../share/patterns/patterns.svg.h:37
+msgid "Wavy white"
+msgstr "Vlnité biele"
+
+#: ../share/patterns/patterns.svg.h:38
+msgid "Camouflage"
+msgstr "Kamufláž"
+
+#: ../share/patterns/patterns.svg.h:39
+msgid "Ermine"
+msgstr "Hermelín"
+
+#: ../share/patterns/patterns.svg.h:40
+msgid "Sand (bitmap)"
+msgstr "Piesok (bitmapa)"
+
+#: ../share/patterns/patterns.svg.h:41
+msgid "Cloth (bitmap)"
+msgstr "Látka (bitmapa)"
+
+#: ../share/patterns/patterns.svg.h:42
+msgid "Old paint (bitmap)"
+msgstr "Stará farba (bitmapa)"
+
#: ../src/arc-context.cpp:303
msgid ""
"<b>Ctrl</b>: make circle or integer-ratio ellipse, snap arc/segment angle"
#: ../src/dialogs/item-properties.cpp:161
msgid "A freeform label for the object"
-msgstr "Voľný štítok objektu"
+msgstr "Označenie objektu bez predpísaného tvaru"
#. Create the label for the object title
#: ../src/dialogs/item-properties.cpp:173
#: ../src/ui/widget/selected-style.cpp:161
#: ../src/ui/widget/style-swatch.cpp:296
msgid "<i>None</i>"
-msgstr "<i>Žiadne</i>"
+msgstr "<i>žiadna</i>"
#: ../src/ui/widget/selected-style.cpp:164
#: ../src/ui/widget/style-swatch.cpp:298
#: ../src/ui/widget/selected-style.cpp:164
#: ../src/ui/widget/style-swatch.cpp:298
msgid "No stroke"
-msgstr "Bez ťahu"
+msgstr "bez ťahu"
#: ../src/ui/widget/selected-style.cpp:166
#: ../src/ui/widget/style-swatch.cpp:277 ../src/widgets/paint-selector.cpp:189
#: ../src/verbs.cpp:2668
msgid "_Object Properties..."
-msgstr "Nastavenia objektu..."
+msgstr "Vlastnosti objektu..."
#: ../src/verbs.cpp:2669
msgid "Edit the ID, locked and visible status, and other object properties"
#~ "možné ľubovoľne meniť jeho veľkosť, avšak sa stratí alfa priehľadnosť, "
#~ "značky a vzory."
-#~ msgid "Print as bitmap"
-#~ msgstr "Tlačiť ako bitmapu"
-
#~ msgid ""
#~ "Print everything as bitmap. The resulting image is usually larger in file "
#~ "size and cannot be arbitrarily scaled without quality loss, but all "
index c92123e245b827f2013ddec8812d3cb6204cdf16..e79e262aa49e356bd0b40eb1e34905f90d2f9fd6 100644 (file)
patternsdir = $(datadir)/inkscape/patterns
patterns_DATA = \
- patterns.svg \
- README
+ README \
+ patterns.svg \
+ patterns.svg.h
+
+patterns.svg.h: patterns.svg i18n.py
+ $(srcdir)/i18n.py $(srcdir)/patterns.svg > $(srcdir)/patterns.svg.h
EXTRA_DIST = $(patterns_DATA)
diff --git a/share/patterns/README b/share/patterns/README
index b650370e4a2557ca315333dd2b6f93282b6bf84b..7035a58a9afed9294db3434ba0b9ccd0dc1503dc 100644 (file)
--- a/share/patterns/README
+++ b/share/patterns/README
Fill or Stroke tab of the Fill & Stroke dialog (Ctrl+Shift+F). You
can also create a new pattern from selected objects by the Objects
to Pattern command.
+
+Internationalization
+
+This file is internationalized the same way as share/filters/filters/svg
+The i18n.py script called from the makefile will extract strings from
+patterns.svg into a patterns.svg.h file. Intltool is then able to extracts
+these strings just like from normal .h files.
+
diff --git a/share/patterns/i18n.py b/share/patterns/i18n.py
--- /dev/null
+++ b/share/patterns/i18n.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+from xml.dom import minidom
+import sys
+
+doc = minidom.parse(sys.argv[1])
+
+filters = doc.getElementsByTagName('pattern')
+
+print "char * stringlst = ["
+
+for filter in filters:
+ id = filter.getAttribute('id')
+ stockid = filter.getAttribute('inkscape:stockid')
+
+ print "N_(\"" + stockid + "\"),"
+
+print "];"