summaryrefslogtreecommitdiffstats
path: root/src/preferences.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-02-10 17:29:12 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-02-10 17:29:12 +0000
commit70b31017f155db9a052073656248fd43e675f591 (patch)
tree5309fd9825c210af023441ae7af07aae58bd4af1 /src/preferences.cpp
parentMeshToolbar: GtkAction migration (diff)
downloadinkscape-70b31017f155db9a052073656248fd43e675f591.tar.gz
inkscape-70b31017f155db9a052073656248fd43e675f591.zip
Fix (hopefully) Internationalization of default Calligraphy presets.
Diffstat (limited to 'src/preferences.cpp')
-rw-r--r--src/preferences.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 84a56e0f8..12a860cac 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -126,6 +126,15 @@ void Preferences::_loadDefaults()
// No maximise for Quartz, see lp:1302627
setInt("/options/defaultwindowsize/value", -1);
#endif
+
+ // Raw string literal cannot contain translatable strings. Fortunately, we only translate
+ // caligraphy presets.
+ setString("/tools/calligraphic/preset/cp0/name", _("Dip pen"));
+ setString("/tools/calligraphic/preset/cp1/name", _("Marker"));
+ setString("/tools/calligraphic/preset/cp2/name", _("Brush"));
+ setString("/tools/calligraphic/preset/cp3/name", _("Wiggly"));
+ setString("/tools/calligraphic/preset/cp4/name", _("Splotchy"));
+ setString("/tools/calligraphic/preset/cp5/name", _("Tracing"));
}
/**