Code

Adding the Interpolate tutorial in Help>Tutorials
authorJazzyNico <nicoduf@yahoo.fr>
Sun, 24 Jan 2010 17:28:26 +0000 (18:28 +0100)
committerJazzyNico <nicoduf@yahoo.fr>
Sun, 24 Jan 2010 17:28:26 +0000 (18:28 +0100)
po/de.po
po/hu.po
po/pl.po
po/sl.po
po/vi.po
src/menus-skeleton.h
src/verbs.cpp
src/verbs.h

index 634bee858d77638b9631aaa1a4589fc74de20a01..413b6098bb96873fdc590c43a837463e3e9c5d47 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -20450,9 +20450,8 @@ msgstr "tutorial-calligraphy.de.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1881
-#, fuzzy
 msgid "tutorial-interpolate.svg"
-msgstr "tutorial-tips.de.svg"
+msgstr "tutorial-interpolate.de.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1885
index aa27124289a5f959137e213933ed05ba00ea8f2c..15c8b4d7fb3b576274953a508f87a203902a9ea9 100644 (file)
--- a/po/hu.po
+++ b/po/hu.po
@@ -20608,9 +20608,8 @@ msgstr "tutorial-calligraphy.hu.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1881
-#, fuzzy
 msgid "tutorial-interpolate.svg"
-msgstr "tutorial-tips.hu.svg"
+msgstr "tutorial-interpolate.hu.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1885
index f149392378fb76967a4833c158890f9fd66de4dd..492b01f2371cbb124da6c965f1ba766cbe9a3865 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -20469,9 +20469,8 @@ msgstr "tutorial-calligraphy.pl.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1881
-#, fuzzy
 msgid "tutorial-interpolate.svg"
-msgstr "tutorial-tips.pl.svg"
+msgstr "tutorial-interpolate.pl.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1885
index 18d4a41071812ec7c5bf0a78b60bdb68c5c49fb3..559c5be4ace09506c536b9f28d606a58c6a25e2d 100644 (file)
--- a/po/sl.po
+++ b/po/sl.po
@@ -20307,9 +20307,8 @@ msgstr "tutorial-calligraphy.sl.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1881
-#, fuzzy
 msgid "tutorial-interpolate.svg"
-msgstr "tutorial-tips.sl.svg"
+msgstr "tutorial-interpolate.sl.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1885
index eb546cb7db526bcd27d07a5aeafe359245c56ce4..0c63676e2e9cb01aaca29572575f9585e938380c 100644 (file)
--- a/po/vi.po
+++ b/po/vi.po
@@ -20289,9 +20289,8 @@ msgstr "tutorial-calligraphy.vi.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1881
-#, fuzzy
 msgid "tutorial-interpolate.svg"
-msgstr "tutorial-tips.vi.svg"
+msgstr "tutorial-interpolate.vi.svg"
 
 #. TRANSLATORS: See "tutorial-basic.svg" comment.
 #: ../src/verbs.cpp:1885
index aeb6500bf4c958782e2d8f962f4bfc939e3bf272..581b8b39c2d1b77f92f0fe8c11320c800070cb15 100644 (file)
@@ -269,6 +269,7 @@ static char const menus_skeleton[] =
 "           <verb verb-id=\"TutorialsAdvanced\" />\n"
 "           <verb verb-id=\"TutorialsTracing\" />\n"
 "           <verb verb-id=\"TutorialsCalligraphy\" />\n"
+"           <verb verb-id=\"TutorialsInterpolate\" />\n"
 "           <verb verb-id=\"TutorialsDesign\" />\n"
 "           <verb verb-id=\"TutorialsTips\" />\n"
 "       </submenu>\n"
index 7c3652b36012bba485fea83be0d7c132bc2c944c..421736b7f8dc0a9dcf758c3e3752d8f54e912e18 100644 (file)
@@ -1855,8 +1855,8 @@ TutorialVerb::perform(SPAction */*action*/, void *data, void */*pdata*/)
 {
     switch (reinterpret_cast<std::size_t>(data)) {
         case SP_VERB_TUTORIAL_BASIC:
-            /* TRANSLATORS: If you have translated the tutorial-basic.svg file to your language,
-               then translate this string as "tutorial-basic.LANG.svg" (where LANG is your language
+            /* TRANSLATORS: If you have translated the tutorial-basic.en.svgz file to your language,
+               then translate this string as "tutorial-basic.LANG.svgz" (where LANG is your language
                code); otherwise leave as "tutorial-basic.svg". */
             sp_help_open_tutorial(NULL, (gpointer)_("tutorial-basic.svg"));
             break;
@@ -1876,6 +1876,10 @@ TutorialVerb::perform(SPAction */*action*/, void *data, void */*pdata*/)
             // TRANSLATORS: See "tutorial-basic.svg" comment.
             sp_help_open_tutorial(NULL, (gpointer)_("tutorial-calligraphy.svg"));
             break;
+        case SP_VERB_TUTORIAL_INTERPOLATE:
+            // TRANSLATORS: See "tutorial-basic.svg" comment.
+            sp_help_open_tutorial(NULL, (gpointer)_("tutorial-interpolate.svg"));
+            break;
         case SP_VERB_TUTORIAL_DESIGN:
             // TRANSLATORS: See "tutorial-basic.svg" comment.
             sp_help_open_tutorial(NULL, (gpointer)_("tutorial-elements.svg"));
@@ -2667,6 +2671,8 @@ Verb *Verb::_base_verbs[] = {
                      N_("Using bitmap tracing"), NULL/*"tutorial_tracing"*/),
     new TutorialVerb(SP_VERB_TUTORIAL_CALLIGRAPHY, "TutorialsCalligraphy", N_("Inkscape: _Calligraphy"),
                      N_("Using the Calligraphy pen tool"), NULL),
+    new TutorialVerb(SP_VERB_TUTORIAL_INTERPOLATE, "TutorialsInterpolate", N_("Inkscape: _Interpolate"),
+                     N_("Using the interpolate extension"), NULL/*"tutorial_interpolate"*/),
     new TutorialVerb(SP_VERB_TUTORIAL_DESIGN, "TutorialsDesign", N_("_Elements of Design"),
                      N_("Principles of design in the tutorial form"), NULL/*"tutorial_design"*/),
     new TutorialVerb(SP_VERB_TUTORIAL_TIPS, "TutorialsTips", N_("_Tips and Tricks"),
index d0abcdca28ef53ac834dfa90e0da8bc0bf850be7..7cc580f261c08bf44b0c0ef3a1e5e045c32297b7 100644 (file)
@@ -264,6 +264,7 @@ enum {
     SP_VERB_TUTORIAL_ADVANCED,
     SP_VERB_TUTORIAL_TRACING,
     SP_VERB_TUTORIAL_CALLIGRAPHY,
+    SP_VERB_TUTORIAL_INTERPOLATE,
     SP_VERB_TUTORIAL_DESIGN,
     SP_VERB_TUTORIAL_TIPS,
     /* Effects */