Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more localization notes to things #3084

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/editor/node_marker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ ObjectSettings
NodeMarker::get_settings()
{
ObjectSettings result(_("Path Node"));
result.add_label(_("Press CTRL to move Bezier handles"));
result.add_label(_("Press CTRL to move Bézier handles"));
result.add_float(_("Time"), &(m_node->time));
result.add_float(_("Speed"), &(m_node->speed));

Expand Down
18 changes: 16 additions & 2 deletions src/object/textscroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,25 @@ TextScroller::get_settings()
result.add_float(_("X-offset"), &m_x_offset, "x-offset");
result.add_bool(_("Controllable"), &m_controllable, "controllable", true);
result.add_enum(_("Anchor"), reinterpret_cast<int*>(&m_x_anchor),
{ _("Left"), _("Center"), _("Right") },
{
_("Left"),
/* l10n: Since "center" can be both a verb and an adjective: What we want
here is the adjective (this refers to an anchor position so this setting
refers to where the textscroller is anchored) */
_("Center"),
_("Right")
},
{ "left", "center", "right" },
static_cast<int>(XAnchor::SCROLLER_ANCHOR_CENTER), "x-anchor");
result.add_enum(_("Text Alignment"), reinterpret_cast<int*>(&m_text_align),
{ _("Left"), _("Center"), _("Right") },
{
_("Left"),
/* l10n: Since "center" can be both a verb and an adjective: What we want
here is the adjective (this refers to a text alignment so this setting
refers to where the text is aligned) */
_("Center"),
_("Right")
},
{ "left", "center", "right" },
static_cast<int>(TextAlign::SCROLLER_ALIGN_CENTER), "text-align");
result.add_remove();
Expand Down