summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/preferences-skeleton.h12
-rw-r--r--src/preferences.cpp12
2 files changed, 12 insertions, 12 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 */
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 326647aad..053ff317b 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -127,18 +127,6 @@ void Preferences::_loadDefaults()
setInt("/options/defaultwindowsize/value", -1);
#endif
- // 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 dummy_array[] = {
- _("Dip pen"),
- _("Marker"),
- _("Brush"),
- _("Wiggly"),
- _("Splotchy"),
- _("Tracing")
- };
}
/**