Skip to content

Commit

Permalink
Rename "map" to "chart"
Browse files Browse the repository at this point in the history
  • Loading branch information
trots committed Oct 20, 2024
1 parent c808dab commit 2cd232c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
<name>AnalyticsWidget</name>
<message>
<location filename="../widgets.py" line="239"/>
<source>Channels distribution map</source>
<translation>Channels distribution map</translation>
<source>Channels distribution chart</source>
<translation>Channels distribution chart</translation>
</message>
<message>
<location filename="../widgets.py" line="240"/>
<source>Video duration map</source>
<translation>Video duration map</translation>
<source>Video duration chart</source>
<translation>Video duration chart</translation>
</message>
</context>
<context>
Expand Down
8 changes: 4 additions & 4 deletions translations/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
<name>AnalyticsWidget</name>
<message>
<location filename="../widgets.py" line="239"/>
<source>Channels distribution map</source>
<translation>Карта распределения каналов</translation>
<source>Channels distribution chart</source>
<translation>График распределения каналов</translation>
</message>
<message>
<location filename="../widgets.py" line="240"/>
<source>Video duration map</source>
<translation>Карта продолжительности видео</translation>
<source>Video duration chart</source>
<translation>График продолжительности видео</translation>
</message>
</context>
<context>
Expand Down
4 changes: 2 additions & 2 deletions widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ def __init__(self, model: ResultTableModel, parent: QWidget = None):
self.setLayout(main_layout)

self._chart_combobox = QComboBox()
self._chart_combobox.addItem(self.tr("Channels distribution map"))
self._chart_combobox.addItem(self.tr("Video duration map"))
self._chart_combobox.addItem(self.tr("Channels distribution chart"))
self._chart_combobox.addItem(self.tr("Video duration chart"))
self._chart_combobox.currentIndexChanged.connect(self._on_current_chart_changed)
main_layout.addWidget(self._chart_combobox)

Expand Down

0 comments on commit 2cd232c

Please sign in to comment.