OpenToonz - An open-source full-featured 2D animation creation software
C
reword reverse sheet symbol
shun-iwasawa160ef45a47f7
diff --git "a/stuff/config/loc/\346\227\245\346\234\254\350\252\236/toonz.qm" "b/stuff/config/loc/\346\227\245\346\234\254\350\252\236/toonz.qm"index de270fe5d..bf6f8dbb4 100644Binary files "a/stuff/config/loc/\346\227\245\346\234\254\350\252\236/toonz.qm" and "b/stuff/config/loc/\346\227\245\346\234\254\350\252\236/toonz.qm" differdiff --git a/toonz/sources/toonz/exportxsheetpdf.cpp b/toonz/sources/toonz/exportxsheetpdf.cppindex 8f1e0181c..10ce82a8c 100644--- a/toonz/sources/toonz/exportxsheetpdf.cpp+++ b/toonz/sources/toonz/exportxsheetpdf.cpp@@ -1229,7 +1229,7 @@ void XSheetPDFTemplate::drawDialogue(QPainter& painter, int framePage) {if (row < drawStart) {int partialBlockLength = rowTo - drawStart + 1;int partialTextCount = (int)std::round(- (double)(textCount * partialBlockLength) / (double)blockLength);+ (double)(textCount * partialBlockLength) / (double)blockLength);text = text.mid(textCount - partialTextCount);textCount = partialTextCount;row = drawStart;@@ -1245,7 +1245,7 @@ void XSheetPDFTemplate::drawDialogue(QPainter& painter, int framePage) {if (rowTo > drawEnd) {int partialBlockLength = drawEnd - row + 1;int partialTextCount = (int)std::round(- (double)(textCount * partialBlockLength) / (double)blockLength);+ (double)(textCount * partialBlockLength) / (double)blockLength);text = text.mid(0, partialTextCount);textCount = partialTextCount;rowTo = drawEnd;@@ -1310,9 +1310,9 @@ XSheetPDFTemplate::XSheetPDFTemplate(void XSheetPDFTemplate::setInfo(const XSheetPDFFormatInfo& info) {m_info = info;thinPen = QPen(info.lineColor, param(ThinLineWidth, mm2px(0.25)),- Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);+ Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);thickPen = QPen(info.lineColor, param(ThickLineWidth, mm2px(0.5)),- Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);+ Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);bodyOutlinePen = QPen(info.lineColor, param(BodyOutlineWidth, mm2px(0.5)),Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);blockBorderPen = (param(IsBlockBorderThick, 0) > 0) ? thickPen : thinPen;@@ -2074,13 +2074,13 @@ ExportXsheetPdfPopup::ExportXsheetPdfPopup()checksLay->setColumnStretch(2, 1);exportLay->addLayout(checksLay, 3, 0, 1, 3);- exportLay->addWidget(new QLabel(tr("Inbetween mark:"), this), 4, 0,+ exportLay->addWidget(new QLabel(tr("Inbetween mark 1:"), this), 4, 0,Qt::AlignRight | Qt::AlignVCenter);exportLay->addWidget(m_tick1IdCombo, 4, 1);exportLay->addWidget(m_tick1MarkCombo, 4, 2,Qt::AlignLeft | Qt::AlignVCenter);- exportLay->addWidget(new QLabel(tr("Reverse sheet mark:"), this), 5,- 0, Qt::AlignRight | Qt::AlignVCenter);+ exportLay->addWidget(new QLabel(tr("Inbetween mark 2:"), this), 5, 0,+ Qt::AlignRight | Qt::AlignVCenter);exportLay->addWidget(m_tick2IdCombo, 5, 1);exportLay->addWidget(m_tick2MarkCombo, 5, 2,Qt::AlignLeft | Qt::AlignVCenter);@@ -2355,8 +2355,9 @@ void ExportXsheetPdfPopup::saveSettings() {ContinuousLineMode clMode =(ContinuousLineMode)(m_continuousLineCombo->currentData().toInt());- XShPdfExportContinuousLineThres =- (clMode == Line_Always) ? 0 : (clMode == Line_None) ? -1 : 3;+ XShPdfExportContinuousLineThres = (clMode == Line_Always) ? 0+ : (clMode == Line_None) ? -1+ : 3;XShPdfExportTick1Id = m_tick1IdCombo->currentData().toInt();XShPdfExportTick2Id = m_tick2IdCombo->currentData().toInt();@@ -2393,11 +2394,10 @@ void ExportXsheetPdfPopup::loadSettings() {m_logoTextEdit->setText(QString::fromStdString(XShPdfExportLogoText));m_logoImgPathField->setPath(QString::fromStdString(XShPdfExportImgPath));- ContinuousLineMode clMode = (XShPdfExportContinuousLineThres == 0)- ? Line_Always- : (XShPdfExportContinuousLineThres == -1)- ? Line_None- : Line_MoreThan3s;+ ContinuousLineMode clMode =+ (XShPdfExportContinuousLineThres == 0) ? Line_Always+ : (XShPdfExportContinuousLineThres == -1) ? Line_None+ : Line_MoreThan3s;m_continuousLineCombo->setCurrentIndex(m_continuousLineCombo->findData(clMode));@@ -2578,8 +2578,8 @@ void ExportXsheetPdfPopup::onExport() {QString question =tr("The file %1 already exists.\nDo you want to overwrite it?").arg(fp.getQString());- int ret =- DVGui::MsgBox(question, QObject::tr("Overwrite"), QObject::tr("Cancel"));+ int ret = DVGui::MsgBox(question, QObject::tr("Overwrite"),+ QObject::tr("Cancel"));if (ret == 0 || ret == 2) {return;}@@ -2648,8 +2648,8 @@ void ExportXsheetPdfPopup::onExportPNG() {QString question =tr("The file %1 already exists.\nDo you want to overwrite it?").arg(fp.getQString());- int ret =- DVGui::MsgBox(question, QObject::tr("Overwrite"), QObject::tr("Cancel"));+ int ret = DVGui::MsgBox(question, QObject::tr("Overwrite"),+ QObject::tr("Cancel"));if (ret == 0 || ret == 2) {return;}diff --git a/toonz/sources/toonz/xdtsimportpopup.cpp b/toonz/sources/toonz/xdtsimportpopup.cppindex c426f8adc..8af17cc5b 100644--- a/toonz/sources/toonz/xdtsimportpopup.cpp+++ b/toonz/sources/toonz/xdtsimportpopup.cpp@@ -101,12 +101,14 @@ XDTSImportPopup::XDTSImportPopup(QStringList levelNames, ToonzScene* scene,markLay->setHorizontalSpacing(10);markLay->setVerticalSpacing(10);{- markLay->addWidget(new QLabel(tr("Inbetween symbol mark"), this), 0, 0,- Qt::AlignRight | Qt::AlignVCenter);+ markLay->addWidget(+ new QLabel(tr("Cell Mark for Inbetween Symbol 1 (O)"), this), 0, 0,+ Qt::AlignRight | Qt::AlignVCenter);markLay->addWidget(m_tick1Combo, 0, 1);- markLay->addWidget(new QLabel(tr("Reverse sheet symbol mark"), this), 1, 0,- Qt::AlignRight | Qt::AlignVCenter);+ markLay->addWidget(+ new QLabel(tr("Cell Mark for Inbetween Symbol 2 (*)"), this), 1, 0,+ Qt::AlignRight | Qt::AlignVCenter);markLay->addWidget(m_tick2Combo, 1, 1);}markLay->setColumnStretch(2, 1);diff --git a/toonz/sources/toonz/xdtsio.cpp b/toonz/sources/toonz/xdtsio.cppindex 21bdcca20..8f57c4fcf 100644--- a/toonz/sources/toonz/xdtsio.cpp+++ b/toonz/sources/toonz/xdtsio.cpp@@ -110,7 +110,9 @@ void XdtsFrameDataItem::read(const QJsonObject &json) {void XdtsFrameDataItem::write(QJsonObject &json) const {json["id"] = int(m_id);QJsonArray valuesArray;- foreach (const QString &value, m_values) { valuesArray.append(value); }+ foreach (const QString &value, m_values) {+ valuesArray.append(value);+ }json["values"] = valuesArray;}@@ -351,7 +353,9 @@ void XdtsTimeTableHeaderItem::read(const QJsonObject &json) {void XdtsTimeTableHeaderItem::write(QJsonObject &json) const {json["fieldId"] = int(m_fieldId);QJsonArray namesArray;- foreach (const QString name, m_names) { namesArray.append(name); }+ foreach (const QString name, m_names) {+ namesArray.append(name);+ }json["names"] = namesArray;}@@ -684,21 +688,23 @@ void ExportXDTSCommand::execute() {tick1Id->setCurrentIndex(tick1Id->findData(0));tick2Id->setCurrentIndex(tick2Id->findData(1));targetColumnCombo = new QComboBox();- targetColumnCombo->addItem(tr("All columns"), true);- targetColumnCombo->addItem(tr("Only active columns"), false);+ targetColumnCombo->addItem(QObject::tr("All columns"), true);+ targetColumnCombo->addItem(QObject::tr("Only active columns"), false);targetColumnCombo->setCurrentIndex(targetColumnCombo->findData(true));QGridLayout *customLay = new QGridLayout();customLay->setMargin(0);customLay->setSpacing(10);{- customLay->addWidget(new QLabel(tr("Inbetween symbol mark")), 0, 0,- Qt::AlignRight | Qt::AlignVCenter);+ customLay->addWidget(+ new QLabel(QObject::tr("Cell Mark for Inbetween Symbol 1 (O)")), 0, 0,+ Qt::AlignRight | Qt::AlignVCenter);customLay->addWidget(tick1Id, 0, 1);- customLay->addWidget(new QLabel(tr("Reverse sheet symbol mark")), 1, 0,- Qt::AlignRight | Qt::AlignVCenter);+ customLay->addWidget(+ new QLabel(QObject::tr("Cell Mark for Inbetween Symbol 2 (*)")), 1, 0,+ Qt::AlignRight | Qt::AlignVCenter);customLay->addWidget(tick2Id, 1, 1);- customLay->addWidget(new QLabel(tr("Target column")), 2, 0,+ customLay->addWidget(new QLabel(QObject::tr("Target column")), 2, 0,Qt::AlignRight | Qt::AlignVCenter);customLay->addWidget(targetColumnCombo, 2, 1);}diff --git a/toonz/sources/translations/japanese/toonz.ts b/toonz/sources/translations/japanese/toonz.tsindex 6b268beac..31d4ecd60 100644--- a/toonz/sources/translations/japanese/toonz.ts+++ b/toonz/sources/translations/japanese/toonz.ts@@ -2327,23 +2327,31 @@ contain the dpi information, then the current camera dpi will be used.</message><message><source>All columns</source>- <translation>全ての列</translation>+ <translation type="vanished">全ての列</translation></message><message><source>Only active columns</source>- <translation>表示中の列のみ</translation>+ <translation type="vanished">表示中の列のみ</translation></message><message><source>Inbetween symbol mark</source>- <translation>中割り記号</translation>+ <translation type="vanished">中割り記号</translation></message><message><source>Reverse sheet symbol mark</source>- <translation>逆シート記号</translation>+ <translation type="vanished">逆シート記号</translation></message><message><source>Target column</source>- <translation>対象の列</translation>+ <translation type="vanished">対象の列</translation>+ </message>+ <message>+ <source>Cell Mark for Inbetween Symbol 2 (*)</source>+ <translation type="vanished">中割り記号2 (●)に対応するコママーク</translation>+ </message>+ <message>+ <source>Cell Mark for Inbetween Symbol 1 (O)</source>+ <translation type="vanished">中割り記号1 (○)に対応するコママーク</translation></message></context><context>@@ -2536,11 +2544,11 @@ Do you want to create it?</source></message><message><source>Inbetween mark:</source>- <translation>中割り記号:</translation>+ <translation type="vanished">中割り記号:</translation></message><message><source>Reverse sheet mark:</source>- <translation>逆シート記号:</translation>+ <translation type="vanished">逆シート記号:</translation></message><message><source>Keyframe mark:</source>@@ -2550,6 +2558,14 @@ Do you want to create it?</source><source>Col%1</source><translation>列%1</translation></message>+ <message>+ <source>Inbetween mark 1:</source>+ <translation>中割り記号 1:</translation>+ </message>+ <message>+ <source>Inbetween mark 2:</source>+ <translation>中割り記号 2:</translation>+ </message></context><context><name>ExpressionReferenceManager</name>@@ -11936,6 +11952,26 @@ Do you wish to continue loading the last good save or stop and try to salvage th<source>Apply Auto Lip Sync</source><translation>自動リップシンクの適用</translation></message>+ <message>+ <source>All columns</source>+ <translation>全ての列</translation>+ </message>+ <message>+ <source>Only active columns</source>+ <translation>表示中の列のみ</translation>+ </message>+ <message>+ <source>Cell Mark for Inbetween Symbol 1 (O)</source>+ <translation>中割り記号1 (○)に対応するコママーク</translation>+ </message>+ <message>+ <source>Cell Mark for Inbetween Symbol 2 (*)</source>+ <translation>中割り記号2 (●)に対応するコママーク</translation>+ </message>+ <message>+ <source>Target column</source>+ <translation>対象の列</translation>+ </message></context><context><name>ReframePopup</name>@@ -15614,11 +15650,19 @@ Please refer to the user guide for details.</source></message><message><source>Inbetween symbol mark</source>- <translation>中割り記号</translation>+ <translation type="vanished">中割り記号</translation></message><message><source>Reverse sheet symbol mark</source>- <translation>逆シート記号</translation>+ <translation type="vanished">逆シート記号</translation>+ </message>+ <message>+ <source>Cell Mark for Inbetween Symbol 2 (*)</source>+ <translation>中割り記号2 (●)に対応するコママーク</translation>+ </message>+ <message>+ <source>Cell Mark for Inbetween Symbol 1 (O)</source>+ <translation>中割り記号1 (○)に対応するコママーク</translation></message></context><context>