summaryrefslogtreecommitdiffstats
path: root/src/preferences-skeleton.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-03-13 10:46:40 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-03-13 10:46:40 +0000
commite1b67bb9b79034edc3b09348ff8653211a147ede (patch)
treef3450e78dad5801148a24a4057b651da83fbaceb /src/preferences-skeleton.h
parentBasque translation update (diff)
downloadinkscape-e1b67bb9b79034edc3b09348ff8653211a147ede.tar.gz
inkscape-e1b67bb9b79034edc3b09348ff8653211a147ede.zip
Move Calligraphy preset names to more appropriate place.
Diffstat (limited to 'src/preferences-skeleton.h')
-rw-r--r--src/preferences-skeleton.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h
index 061d49956..8098fa58e 100644
--- a/src/preferences-skeleton.h
+++ b/src/preferences-skeleton.h
@@ -504,6 +504,18 @@ R"=====(
#define PREFERENCES_SKELETON_SIZE (sizeof(preferences_skeleton) - 1)
+// Raw string literal cannot contain translatable strings. Fortunately, we only translate
+// caligraphy presets.
+// Note: actual translation is done in CalligraphyToolbar::build_presets_list(), we just
+// mark the strings as translatable here (see GitLab issue 128):
+Glib::ustring calligraphy_name_array[] = {
+ _("Dip pen"),
+ _("Marker"),
+ _("Brush"),
+ _("Wiggly"),
+ _("Splotchy"),
+ _("Tracing")
+};
#endif /* !SEEN_PREFERENCES_SKELETON_H */