Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

category name correction : "others" to "more"

shun-iwasawaeb8f34658f7a
diff --git a/toonz/sources/toonz/outputsettingspopup.cpp b/toonz/sources/toonz/outputsettingspopup.cpp
index d6ed11fc3..eeb7bc85b 100644
--- a/toonz/sources/toonz/outputsettingspopup.cpp
+++ b/toonz/sources/toonz/outputsettingspopup.cpp
@@ -201,7 +201,7 @@ OutputSettingsPopup::OutputSettingsPopup(bool isPreview)
QListWidget *categoryList = new QListWidget(this);
QStringList categories;
- categories << tr("Camera") << tr("File") << tr("Others");
+ categories << tr("Camera") << tr("File") << tr("More");
categoryList->addItems(categories);
categoryList->setFixedWidth(100);
categoryList->setCurrentRow(0);
@@ -268,9 +268,9 @@ void OutputSettingsPopup::onCategoryActivated(QListWidgetItem *item) {
} else if (item->text() == tr("File")) {
label = m_fileLabel;
frame = m_fileBox;
- } else if (item->text() == tr("Others")) {
- label = m_othersLabel;
- frame = m_othersBox;
+ } else if (item->text() == tr("More")) {
+ label = m_moreLabel;
+ frame = m_moreBox;
} else
return;
@@ -293,8 +293,8 @@ QFrame *OutputSettingsPopup::createPanel(bool isPreview) {
m_cameraBox = createCameraSettingsBox(isPreview);
m_fileBox = createFileSettingsBox(isPreview);
if (!isPreview) {
- m_othersLabel = new AnimatedLabel(tr("Other Settings"), this);
- m_othersBox = createOtherSettingsBox();
+ m_moreLabel = new AnimatedLabel(tr("More Settings"), this);
+ m_moreBox = createMoreSettingsBox();
}
QVBoxLayout *lay = new QVBoxLayout();
lay->setMargin(5);
@@ -309,8 +309,8 @@ QFrame *OutputSettingsPopup::createPanel(bool isPreview) {
if (!isPreview) {
lay->addSpacing(10);
- lay->addWidget(m_othersLabel, 0);
- lay->addWidget(m_othersBox, 0);
+ lay->addWidget(m_moreLabel, 0);
+ lay->addWidget(m_moreBox, 0);
}
lay->addStretch(1);
}
@@ -577,9 +577,9 @@ QFrame *OutputSettingsPopup::createFileSettingsBox(bool isPreview) {
//-----------------------------------------------------------------------------
-QFrame *OutputSettingsPopup::createOtherSettingsBox() {
- QFrame *otherSettingsBox = new QFrame(this);
- otherSettingsBox->setObjectName("OutputSettingsBox");
+QFrame *OutputSettingsPopup::createMoreSettingsBox() {
+ QFrame *moreSettingsBox = new QFrame(this);
+ moreSettingsBox->setObjectName("OutputSettingsBox");
// Board
m_addBoard = new DVGui::CheckBox(tr("Add Clapperboard"), this);
@@ -664,7 +664,7 @@ QFrame *OutputSettingsPopup::createOtherSettingsBox() {
}
lay->setColumnStretch(4, 1);
- otherSettingsBox->setLayout(lay);
+ moreSettingsBox->setLayout(lay);
//-----
@@ -692,7 +692,7 @@ QFrame *OutputSettingsPopup::createOtherSettingsBox() {
ret = ret && connect(m_stereoShift, SIGNAL(editingFinished()),
SLOT(onStereoChanged()));
assert(ret);
- return otherSettingsBox;
+ return moreSettingsBox;
}
//-----------------------------------------------------------------------------
diff --git a/toonz/sources/toonz/outputsettingspopup.h b/toonz/sources/toonz/outputsettingspopup.h
index b24fe5fe3..a07a443af 100644
--- a/toonz/sources/toonz/outputsettingspopup.h
+++ b/toonz/sources/toonz/outputsettingspopup.h
@@ -78,8 +78,8 @@ class OutputSettingsPopup : public DVGui::Dialog {
QPushButton *m_boardSettingsBtn;
QScrollArea *m_scrollArea;
- AnimatedLabel *m_cameraLabel, *m_fileLabel, *m_othersLabel;
- QFrame *m_cameraBox, *m_fileBox, *m_othersBox;
+ AnimatedLabel *m_cameraLabel, *m_fileLabel, *m_moreLabel;
+ QFrame *m_cameraBox, *m_fileBox, *m_moreBox;
bool m_isPreviewSettings;
@@ -89,7 +89,7 @@ class OutputSettingsPopup : public DVGui::Dialog {
QFrame *createPanel(bool isPreview);
QFrame *createCameraSettingsBox(bool isPreview);
QFrame *createFileSettingsBox(bool isPreview);
- QFrame *createOtherSettingsBox();
+ QFrame *createMoreSettingsBox();
public:
OutputSettingsPopup(bool isPreview = false);