// SPDX-License-Identifier: GPL-2.0-or-later /** @file * TODO: insert short description here *//* * Authors: see git history * * Copyright (C) 2018 Authors * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #ifndef SEEN_PREFERENCES_SKELETON_H #define SEEN_PREFERENCES_SKELETON_H #include "inkscape-version.h" // FIXME why is this here? #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 * obsolete versions the user might have. */ static char const preferences_skeleton[] = R"=====( )====="; #define PREFERENCES_SKELETON_SIZE (sizeof(preferences_skeleton) - 1) // Raw string literal cannot contain translatable strings. Fortunately, we only translate // calligraphy 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 */ /* Local Variables: mode:c++ c-file-style:"stroustrup" c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) indent-tabs-mode:nil fill-column:99 End: */ // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :