From 04166e0d214f2438029fd20e98acee77b5f33c8e Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Sun, 24 Jan 2010 18:28:26 +0100 Subject: [PATCH] Adding the Interpolate tutorial in Help>Tutorials --- po/de.po | 3 +-- po/hu.po | 3 +-- po/pl.po | 3 +-- po/sl.po | 3 +-- po/vi.po | 3 +-- src/menus-skeleton.h | 1 + src/verbs.cpp | 10 ++++++++-- src/verbs.h | 1 + 8 files changed, 15 insertions(+), 12 deletions(-) diff --git a/po/de.po b/po/de.po index 634bee858..413b6098b 100644 --- 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 diff --git a/po/hu.po b/po/hu.po index aa2712428..15c8b4d7f 100644 --- 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 diff --git a/po/pl.po b/po/pl.po index f14939237..492b01f23 100644 --- 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 diff --git a/po/sl.po b/po/sl.po index 18d4a4107..559c5be4a 100644 --- 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 diff --git a/po/vi.po b/po/vi.po index eb546cb7d..0c63676e2 100644 --- 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 diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h index aeb6500bf..581b8b39c 100644 --- a/src/menus-skeleton.h +++ b/src/menus-skeleton.h @@ -269,6 +269,7 @@ static char const menus_skeleton[] = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" diff --git a/src/verbs.cpp b/src/verbs.cpp index 7c3652b36..421736b7f 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -1855,8 +1855,8 @@ TutorialVerb::perform(SPAction */*action*/, void *data, void */*pdata*/) { switch (reinterpret_cast(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"), diff --git a/src/verbs.h b/src/verbs.h index d0abcdca2..7cc580f26 100644 --- a/src/verbs.h +++ b/src/verbs.h @@ -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 */ -- 2.30.2