Skip to content

Commit

Permalink
Clarify labels in temporal controller
Browse files Browse the repository at this point in the history
- Rename "frame" label as "current frame"
- Rename "range" as "Animation range"

An attempt to clarify what these two ranges mean and how they relate
  • Loading branch information
nyalldawson committed Jun 9, 2021
1 parent fedb619 commit ed346d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgstemporalcontrollerwidget.cpp
Expand Up @@ -501,7 +501,7 @@ void QgsTemporalControllerWidget::updateRangeLabel( const QgsDateTimeRange &rang
switch ( mNavigationObject->navigationMode() )
{
case QgsTemporalNavigationObject::Animated:
mCurrentRangeLabel->setText( tr( "Frame: %1 ≤ <i>t</i> &lt; %2" ).arg(
mCurrentRangeLabel->setText( tr( "Current frame: %1 ≤ <i>t</i> &lt; %2" ).arg(
range.begin().toString( timeFrameFormat ),
range.end().toString( timeFrameFormat ) ) );
break;
Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgstemporalcontrollerwidgetbase.ui
Expand Up @@ -123,7 +123,7 @@
<item>
<widget class="QStackedWidget" name="mNavigationModeStackedWidget">
<property name="currentIndex">
<number>1</number>
<number>2</number>
</property>
<widget class="QWidget" name="p1">
<layout class="QVBoxLayout" name="verticalLayoutP1">
Expand Down Expand Up @@ -426,7 +426,7 @@
<item>
<widget class="QLabel" name="mRangeLabel">
<property name="text">
<string>Range</string>
<string>Animation range</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit ed346d8

Please sign in to comment.