diff options
| author | Ted Gould <ted@gould.cx> | 2009-09-04 02:50:20 +0000 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2009-09-04 02:50:20 +0000 |
| commit | fc45282a2bdcd65fe35ab5d766f3ff143dab4968 (patch) | |
| tree | 8c7a10669a39c3580d30d3d129b1a6c2ea0be9a2 /src | |
| parent | update from Chris Morgan (diff) | |
| download | inkscape-fc45282a2bdcd65fe35ab5d766f3ff143dab4968.tar.gz inkscape-fc45282a2bdcd65fe35ab5d766f3ff143dab4968.zip | |
Removing the caligraphic presets file and making the same strings translatable in the preferences-skeleton.h
(bzr r8558)
Diffstat (limited to 'src')
| -rw-r--r-- | src/preferences-skeleton.h | 17 | ||||
| -rw-r--r-- | src/ui/dialog/calligraphic-presets.h | 14 |
2 files changed, 11 insertions, 20 deletions
diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index db21697ca..6185ff729 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -3,6 +3,11 @@ #include <inkscape-version.h> +#ifdef N_ +#undef N_ +#endif +#define N_(x) x + /* The root's "version" attribute describes the preferences file format version. * It should only increase when a backwards-incompatible change is made, * and special handling has to be added to the preferences class to update @@ -90,12 +95,12 @@ static char const preferences_skeleton[] = " mass=\"2\" angle=\"30\" width=\"15\" thinning=\"10\" flatness=\"90\" cap_rounding=\"0.0\" usecurrent=\"1\"\n" " tracebackground=\"0\" usepressure=\"1\" usetilt=\"0\" keep_selected=\"1\">\n" " <group id=\"preset\">\n" -" <group id=\"cp0\" name=\"Dip pen\" mass=\"2\" wiggle=\"0.0\" angle=\"30.0\" thinning=\"10\" tremor=\"0.0\" flatness=\"90\" cap_rounding=\"0.0\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n" -" <group id=\"cp1\" name=\"Marker\" mass=\"2\" wiggle=\"0.0\" angle=\"90.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"0.0\" cap_rounding=\"1.0\" tracebackground=\"0\" usepressure=\"0\" usetilt=\"0\" />\n" -" <group id=\"cp2\" name=\"Brush\" mass=\"2\" wiggle=\"25\" angle=\"45.0\" thinning=\"-40\" tremor=\"0.0\" flatness=\"16\" cap_rounding=\".1\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n" -" <group id=\"cp3\" name=\"Wiggly\" usetilt=\"1\" tracebackground=\"0\" usepressure=\"1\" cap_rounding=\"0.1\" flatness=\"16\" tremor=\"18\" thinning=\"-30\" angle=\"30\" wiggle=\"50\" mass=\"0\" />\n" -" <group id=\"cp4\" name=\"Splotchy\" width=\"100\" usetilt=\"1\" tracebackground=\"0\" usepressure=\"0\" cap_rounding=\"1\" flatness=\"0\" tremor=\"10\" thinning=\"30\" angle=\"30\" wiggle=\"0\" mass=\"0\" />\n" -" <group id=\"cp5\" name=\"Tracing\" width=\"50\" mass=\"0\" wiggle=\"0.0\" angle=\"0.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"0\" cap_rounding=\"0.0\" tracebackground=\"1\" usepressure=\"1\" usetilt=\"1\"/>\n" +" <group id=\"cp0\" name=\"" N_("Dip pen") "\" mass=\"2\" wiggle=\"0.0\" angle=\"30.0\" thinning=\"10\" tremor=\"0.0\" flatness=\"90\" cap_rounding=\"0.0\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n" +" <group id=\"cp1\" name=\"" N_("Marker") "\" mass=\"2\" wiggle=\"0.0\" angle=\"90.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"0.0\" cap_rounding=\"1.0\" tracebackground=\"0\" usepressure=\"0\" usetilt=\"0\" />\n" +" <group id=\"cp2\" name=\"" N_("Brush") "\" mass=\"2\" wiggle=\"25\" angle=\"45.0\" thinning=\"-40\" tremor=\"0.0\" flatness=\"16\" cap_rounding=\".1\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n" +" <group id=\"cp3\" name=\"" N_("Wiggly") "\" usetilt=\"1\" tracebackground=\"0\" usepressure=\"1\" cap_rounding=\"0.1\" flatness=\"16\" tremor=\"18\" thinning=\"-30\" angle=\"30\" wiggle=\"50\" mass=\"0\" />\n" +" <group id=\"cp4\" name=\"" N_("Splotchy") "\" width=\"100\" usetilt=\"1\" tracebackground=\"0\" usepressure=\"0\" cap_rounding=\"1\" flatness=\"0\" tremor=\"10\" thinning=\"30\" angle=\"30\" wiggle=\"0\" mass=\"0\" />\n" +" <group id=\"cp5\" name=\"" N_("Tracing") "\" width=\"50\" mass=\"0\" wiggle=\"0.0\" angle=\"0.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"0\" cap_rounding=\"0.0\" tracebackground=\"1\" usepressure=\"1\" usetilt=\"1\"/>\n" " </group>\n" " </eventcontext>\n" " <eventcontext id=\"eraser\" mode=\"0\" style=\"fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;\"\n" diff --git a/src/ui/dialog/calligraphic-presets.h b/src/ui/dialog/calligraphic-presets.h deleted file mode 100644 index 89f963ee8..000000000 --- a/src/ui/dialog/calligraphic-presets.h +++ /dev/null @@ -1,14 +0,0 @@ -char * stringlst = [ -/* TRANSLATORS: calligraphic pen type */ -N_("Dip pen"), -/* TRANSLATORS: calligraphic pen type */ -N_("Marker"), -/* TRANSLATORS: calligraphic pen type */ -N_("Brush"), -/* TRANSLATORS: calligraphic pen type */ -N_("Wiggly"), -/* TRANSLATORS: calligraphic pen type */ -N_("Splotchy"), -/* TRANSLATORS: calligraphic pen type */ -N_("Tracing"), -]; |
