From 0c4cf21c7442073fa9cd63e37483cc759b9955b1 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 3 Sep 2009 21:50:20 -0500 Subject: [PATCH] Removing the caligraphic presets file and making the same strings translatable in the preferences-skeleton.h --- po/POTFILES.in | 1 + src/preferences-skeleton.h | 17 +++++++++++------ src/ui/dialog/calligraphic-presets.h | 14 -------------- 3 files changed, 12 insertions(+), 20 deletions(-) delete mode 100644 src/ui/dialog/calligraphic-presets.h diff --git a/po/POTFILES.in b/po/POTFILES.in index b3ca8fee1..f076bff92 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -164,6 +164,7 @@ src/pencil-context.cpp src/pen-context.cpp src/persp3d.cpp src/preferences.cpp +src/preferences-skeleton.h src/rdf.cpp src/rect-context.cpp src/select-context.cpp 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 +#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" " \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" " \n" " \n" "