OpenToonz - An open-source full-featured 2D animation creation software
C
clapperboard for non-movie render
shun-iwasawac66f2161b4df
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 3369ca95c..15095e626 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/include/toonz/boardsettings.h b/toonz/sources/include/toonz/boardsettings.hindex 3ff2576ca..a14ac2252 100644--- a/toonz/sources/include/toonz/boardsettings.h+++ b/toonz/sources/include/toonz/boardsettings.h@@ -111,6 +111,7 @@ public:class DVAPI BoardSettings {bool m_active = false;int m_duration = 0;+ QString m_fileNameSuffix;QList<BoardItem> m_items;public:@@ -130,6 +131,9 @@ public:void setDuration(int f) { m_duration = f; }+ const QString fileNameSuffix() { return m_fileNameSuffix; }+ void setFileNameSuffix(const QString val) { m_fileNameSuffix = val; }+void addNewItem(int insertAt = 0);void removeItem(int index);void swapItems(int, int);diff --git a/toonz/sources/toonz/boardsettingspopup.cpp b/toonz/sources/toonz/boardsettingspopup.cppindex b9163451e..1717bc962 100644--- a/toonz/sources/toonz/boardsettingspopup.cpp+++ b/toonz/sources/toonz/boardsettingspopup.cpp@@ -19,6 +19,12 @@#include "toonz/boardsettings.h"#include "toonz/toonzfolders.h"+// Image+#include "tiio.h"++// File-related includes+#include "filebrowsermodel.h"+// TnzBase includes#include "trasterfx.h"@@ -71,6 +77,24 @@ void editListWidgetItem(QListWidgetItem* listItem, BoardItem* item) {listItem->setIcon(QIcon(iconPm));}}++void convertImageToRaster(TRaster32P dstRas, const QImage& srcImg) {+ dstRas->lock();+ int lx = dstRas->getLx();+ int ly = dstRas->getLy();+ assert(lx == srcImg.width() && ly == srcImg.height());+ for (int j = 0; j < ly; j++) {+ TPixel32* dstPix = dstRas->pixels(j);+ for (int i = 0; i < lx; i++, dstPix++) {+ QRgb srcPix = srcImg.pixel(lx - 1 - i, j);+ dstPix->r = qRed(srcPix);+ dstPix->g = qGreen(srcPix);+ dstPix->b = qBlue(srcPix);+ dstPix->m = TPixel32::maxChannelValue;+ }+ }+ dstRas->unlock();+}} // namespace//=============================================================================@@ -148,8 +172,8 @@ void BoardView::resizeEvent(QResizeEvent* event) {boardRes = QSize(frameSize.lx / shrinkX, frameSize.ly / shrinkY);}- float ratio = std::min((float)width() / (float)boardRes.width(),- (float)height() / (float)boardRes.height());+ float ratio = std::min((float)width() / (float)boardRes.width(),+ (float)height() / (float)boardRes.height());QSizeF imgSize = QSizeF(boardRes) * ratio;QPointF imgTopLeft(((float)width() - imgSize.width()) * 0.5,((float)height() - imgSize.height()) * 0.5);@@ -308,7 +332,7 @@ void BoardView::mousePressEvent(QMouseEvent* event) {m_dragStartItemRect = currentBoardItem()->getRatioRect();QPointF posOnImg = QPointF(event->pos()) - m_boardImgRect.topLeft();m_dragStartPos = QPointF(posOnImg.x() / m_boardImgRect.width(),- posOnImg.y() / m_boardImgRect.height());+ posOnImg.y() / m_boardImgRect.height());}void BoardView::mouseReleaseEvent(QMouseEvent* event) {@@ -442,15 +466,15 @@ ItemInfoView::ItemInfoView(QWidget* parent) : QStackedWidget(parent) {bool ret = true;ret = ret && connect(m_nameEdit, SIGNAL(editingFinished()), this,- SLOT(onNameEdited()));- ret = ret && connect(m_maxFontSizeEdit, SIGNAL(editingFinished()), this,- SLOT(onMaxFontSizeEdited()));- ret = ret && connect(m_typeCombo, SIGNAL(activated(int)), this,- SLOT(onTypeComboActivated(int)));- ret = ret && connect(m_textEdit, SIGNAL(textChanged()), this,- SLOT(onFreeTextChanged()));- ret = ret && connect(m_imgPathField, SIGNAL(pathChanged()), this,- SLOT(onImgPathChanged()));+ SLOT(onNameEdited()));+ ret = ret && connect(m_maxFontSizeEdit, SIGNAL(editingFinished()), this,+ SLOT(onMaxFontSizeEdited()));+ ret = ret && connect(m_typeCombo, SIGNAL(activated(int)), this,+ SLOT(onTypeComboActivated(int)));+ ret = ret && connect(m_textEdit, SIGNAL(textChanged()), this,+ SLOT(onFreeTextChanged()));+ ret = ret && connect(m_imgPathField, SIGNAL(pathChanged()), this,+ SLOT(onImgPathChanged()));ret = ret && connect(m_fontCombo, SIGNAL(currentFontChanged(const QFont&)),this, SLOT(onFontComboChanged(const QFont&)));ret = ret && connect(m_boldButton, SIGNAL(clicked(bool)), this,@@ -698,15 +722,15 @@ ItemListView::ItemListView(QWidget* parent) : QWidget(parent) {bool ret = true;ret = ret && connect(m_list, SIGNAL(currentRowChanged(int)), this,- SLOT(onCurrentItemSwitched(int)));- ret = ret && connect(newItemBtn, SIGNAL(clicked(bool)), this,- SLOT(onNewItemButtonClicked()));- ret = ret && connect(m_deleteItemBtn, SIGNAL(clicked(bool)), this,- SLOT(onDeleteItemButtonClicked()));- ret = ret && connect(m_moveUpBtn, SIGNAL(clicked(bool)), this,- SLOT(onMoveUpButtonClicked()));- ret = ret && connect(m_moveDownBtn, SIGNAL(clicked(bool)), this,- SLOT(onMoveDownButtonClicked()));+ SLOT(onCurrentItemSwitched(int)));+ ret = ret && connect(newItemBtn, SIGNAL(clicked(bool)), this,+ SLOT(onNewItemButtonClicked()));+ ret = ret && connect(m_deleteItemBtn, SIGNAL(clicked(bool)), this,+ SLOT(onDeleteItemButtonClicked()));+ ret = ret && connect(m_moveUpBtn, SIGNAL(clicked(bool)), this,+ SLOT(onMoveUpButtonClicked()));+ ret = ret && connect(m_moveDownBtn, SIGNAL(clicked(bool)), this,+ SLOT(onMoveDownButtonClicked()));assert(ret);}@@ -851,12 +875,15 @@ BoardSettingsPopup::BoardSettingsPopup(QWidget* parent)m_itemInfoView = new ItemInfoView(this);m_itemListView = new ItemListView(this);- m_durationEdit = new DVGui::IntLineEdit(this, 1, 0);+ m_durationEdit = new DVGui::IntLineEdit(this, 1, 0);+ m_fileNameSuffixFld = new DVGui::LineEdit(this);QPushButton* loadPresetBtn =new QPushButton(createQIcon("load"), tr("Load Preset"), this);QPushButton* savePresetBtn =new QPushButton(createQIcon("saveas"), tr("Save as Preset"), this);+ m_exportBoardBtn = new QPushButton(createQIcon("export_scene"),+ tr("Export Board Image"), this);QPushButton* closeButton = new QPushButton(tr("Close"), this);@@ -879,8 +906,14 @@ BoardSettingsPopup::BoardSettingsPopup(QWidget* parent)leftTopLay->addSpacing(10);+ leftTopLay->addWidget(new QLabel(tr("File Name Suffix:"), this), 0);+ leftTopLay->addWidget(m_fileNameSuffixFld, 0);++ leftTopLay->addSpacing(10);+leftTopLay->addWidget(loadPresetBtn, 0);leftTopLay->addWidget(savePresetBtn, 0);+ leftTopLay->addWidget(m_exportBoardBtn, 0);leftTopLay->addStretch(1);}@@ -912,11 +945,15 @@ BoardSettingsPopup::BoardSettingsPopup(QWidget* parent)SLOT(onItemPropertyChanged(bool)));ret = ret && connect(m_durationEdit, SIGNAL(editingFinished()), this,SLOT(onDurationEdited()));+ ret = ret && connect(m_fileNameSuffixFld, SIGNAL(editingFinished()), this,+ SLOT(onFileNameSuffixEdited()));ret = ret && connect(closeButton, SIGNAL(pressed()), this, SLOT(close()));ret = ret &&connect(loadPresetBtn, SIGNAL(pressed()), this, SLOT(onLoadPreset()));ret = ret &&connect(savePresetBtn, SIGNAL(pressed()), this, SLOT(onSavePreset()));+ ret = ret && connect(m_exportBoardBtn, SIGNAL(pressed()), this,+ SLOT(onExportBoardImage()));assert(ret);}@@ -928,6 +965,11 @@ void BoardSettingsPopup::initialize() {BoardSettings* boardSettings = outProp->getBoardSettings();m_durationEdit->setValue(boardSettings->getDuration());+ m_fileNameSuffixFld->setText(boardSettings->fileNameSuffix());+ if (isMovieType(outProp->getPath().getType())) {+ m_fileNameSuffixFld->setDisabled(true);+ m_exportBoardBtn->setDisabled(true);+ }m_itemListView->initialize();@@ -994,6 +1036,25 @@ void BoardSettingsPopup::onDurationEdited() {m_boardView->update();}+void BoardSettingsPopup::onFileNameSuffixEdited() {+ ToonzScene* scene = TApp::instance()->getCurrentScene()->getScene();+ if (!scene) return;+ TOutputProperties* outProp = scene->getProperties()->getOutputProperties();+ BoardSettings* boardSettings = outProp->getBoardSettings();++ if (m_fileNameSuffixFld->text().isEmpty()) {+ DVGui::warning(tr("File name suffix can't be empty."));+ m_fileNameSuffixFld->setText(boardSettings->fileNameSuffix());+ m_fileNameSuffixFld->setFocus();+ m_fileNameSuffixFld->selectAll();+ return;+ }++ boardSettings->setFileNameSuffix(m_fileNameSuffixFld->text());++ m_boardView->update();+}+void BoardSettingsPopup::onLoadPreset() {LoadBoardPresetFilePopup popup;@@ -1059,6 +1120,114 @@ void BoardSettingsPopup::onSavePreset() {}}+void BoardSettingsPopup::onExportBoardImage() {+ QImage boardImg = m_boardView->boardImage();+ if (boardImg.isNull()) {+ DVGui::warning(tr("There is no board image to export."));+ return;+ }++ SaveBoardImagePopup popup;++ // initialize the default path every time+ TOutputProperties* op = TApp::instance()+ ->getCurrentScene()+ ->getScene()+ ->getProperties()+ ->getOutputProperties();+ BoardSettings* boardSettings = op->getBoardSettings();+ popup.setFolder(TApp::instance()+ ->getCurrentScene()+ ->getScene()+ ->decodeFilePath(op->getPath())+ .getParentDir());++ TFilePath rendPath = op->getPath();+ QString baseName = QString::fromStdString(rendPath.getName());+ if (baseName.isEmpty())+ baseName = QString::fromStdString(TApp::instance()+ ->getCurrentScene()+ ->getScene()+ ->getScenePath()+ .getName());++ QString levelName = QString::fromStdString(rendPath.getLevelName());+ int dotPos = levelName.lastIndexOf('.');++ QString fileName = baseName + rendPath.getSepChar() ++ boardSettings->fileNameSuffix() ++ levelName.right(levelName.size() - dotPos);++ popup.setFilename(TFilePath(fileName));++ TFilePath fp = popup.getPath();++ QStringList formats;+ TLevelWriter::getSupportedFormats(formats, true);+ Tiio::Writer::getSupportedFormats(formats, true);++ ToonzScene* scene = TApp::instance()->getCurrentScene()->getScene();+ TOutputProperties* outputSettings =+ scene->getProperties()->getOutputProperties();++ std::string ext = fp.getType();++ if (ext == "") {+ ext = outputSettings->getPath().getType();+ fp = fp.withType(ext);+ }+ if (fp.getName() == "") {+ return;+ }++ if (!formats.contains(QString::fromStdString(ext))) {+ DVGui::warning(+ tr("It is not possible to save because the selected file format is not "+ "supported."));+ return;+ }++ fp = scene->decodeFilePath(fp);+ bool exists = TFileStatus(fp.getParentDir()).doesExist();+ if (!exists) {+ try {+ TFilePath parent = fp.getParentDir();+ TSystem::mkDir(parent);+ DvDirModel::instance()->refreshFolder(parent.getParentDir());+ } catch (TException& e) {+ DVGui::error("Cannot create " + toQString(fp.getParentDir()) + " : " ++ QString(::to_string(e.getMessage()).c_str()));+ return;+ } catch (...) {+ DVGui::error("Cannot create " + toQString(fp.getParentDir()));+ return;+ }+ }++ if (TSystem::doesExistFileOrLevel(fp)) {+ QString question(tr("File %1 already exists.\nDo you want to overwrite it?")+ .arg(toQString(fp)));+ int ret = DVGui::MsgBox(question, QObject::tr("Overwrite"),+ QObject::tr("Cancel"));+ if (ret == 2) return;+ }++ try {+ TImageWriterP iw(fp);+ iw->setProperties(outputSettings->getFileFormatProperties(fp.getType()));++ TRaster32P raster(boardImg.width(), boardImg.height());+ convertImageToRaster(raster, boardImg.mirrored(true, true));++ TRasterImageP ri(raster);++ iw->save(ri);+ } catch (...) {+ DVGui::error("It is not possible to export Clapperboard image.");+ return;+ }+}+//=============================================================================SaveBoardPresetFilePopup::SaveBoardPresetFilePopup()@@ -1083,4 +1252,14 @@ LoadBoardPresetFilePopup::LoadBoardPresetFilePopup()void LoadBoardPresetFilePopup::showEvent(QShowEvent* e) {FileBrowserPopup::showEvent(e);setFolder(ToonzFolder::getLibraryFolder() + "clapperboards");-}\ No newline at end of file+}++//=============================================================================++SaveBoardImagePopup::SaveBoardImagePopup()+ : GenericSaveFilePopup(tr("Export Board Image")) {+ m_browser->enableGlobalSelection(false);+ QStringList formats;+ Tiio::Writer::getSupportedFormats(formats, true);+ setFilterTypes(formats);+}diff --git a/toonz/sources/toonz/boardsettingspopup.h b/toonz/sources/toonz/boardsettingspopup.hindex 583466ee3..9e19029da 100644--- a/toonz/sources/toonz/boardsettingspopup.h+++ b/toonz/sources/toonz/boardsettingspopup.h@@ -52,6 +52,7 @@ class BoardView : public QWidget {public:BoardView(QWidget* parent = nullptr);void invalidate() { m_valid = false; }+ const QImage& boardImage() { return m_boardImg; }protected:void paintEvent(QPaintEvent* event) override;@@ -132,6 +133,8 @@ class BoardSettingsPopup : public DVGui::Dialog {ItemListView* m_itemListView;DVGui::IntLineEdit* m_durationEdit;+ DVGui::LineEdit* m_fileNameSuffixFld;+ QPushButton* m_exportBoardBtn;void initialize();void initializeItemTypeString(); // call once on the first launch@@ -148,8 +151,10 @@ protected slots:void onItemAddedOrDeleted();void onItemPropertyChanged(bool updateListView);void onDurationEdited();+ void onFileNameSuffixEdited();void onLoadPreset();void onSavePreset();+ void onExportBoardImage();};//=============================================================================@@ -174,4 +179,12 @@ protected:void showEvent(QShowEvent*) override;};+//=============================================================================++class SaveBoardImagePopup final : public GenericSaveFilePopup {+ Q_OBJECT++public:+ SaveBoardImagePopup();+};#endifdiff --git a/toonz/sources/toonz/outputsettingspopup.cpp b/toonz/sources/toonz/outputsettingspopup.cppindex d4ef32966..269e73a9f 100644--- a/toonz/sources/toonz/outputsettingspopup.cpp+++ b/toonz/sources/toonz/outputsettingspopup.cpp@@ -409,7 +409,9 @@ QFrame *OutputSettingsPopup::createCameraSettingsBox(bool isPreview) {QVBoxLayout *camParamLay = new QVBoxLayout();camParamLay->setMargin(5);camParamLay->setSpacing(0);- { camParamLay->addWidget(m_cameraSettings); }+ {+ camParamLay->addWidget(m_cameraSettings);+ }cameraParametersBox->setLayout(camParamLay);lay->addWidget(cameraParametersBox);@@ -1074,14 +1076,7 @@ void OutputSettingsPopup::updateField() {// clapperboardBoardSettings *boardSettings = prop->getBoardSettings();m_addBoard->setChecked(boardSettings->isActive());- // clapperboard is only available with movie formats- if (isMovieType(m_fileFormat->currentText().toStdString())) {- m_addBoard->setEnabled(true);- m_boardSettingsBtn->setEnabled(m_addBoard->isChecked());- } else {- m_addBoard->setEnabled(false);- m_boardSettingsBtn->setEnabled(false);- }+ m_boardSettingsBtn->setEnabled(m_addBoard->isChecked());}//-----------------------------------------------------------------------------@@ -1202,14 +1197,7 @@ void OutputSettingsPopup::onFormatChanged(const QString &str) {if (wasMultiRenderInvalid) m_threadsComboOm->setCurrentIndex(2);}- // clapperboard is only available with movie formats- if (isMovieType(str.toStdString())) {- m_addBoard->setEnabled(true);- m_boardSettingsBtn->setEnabled(m_addBoard->isChecked());- } else {- m_addBoard->setEnabled(false);- m_boardSettingsBtn->setEnabled(false);- }+ m_boardSettingsBtn->setEnabled(m_addBoard->isChecked());}//-----------------------------------------------------------------------------diff --git a/toonz/sources/toonzlib/boardsettings.cpp b/toonz/sources/toonzlib/boardsettings.cppindex 153682935..75ecc0f8a 100644--- a/toonz/sources/toonzlib/boardsettings.cpp+++ b/toonz/sources/toonzlib/boardsettings.cpp@@ -283,7 +283,7 @@ void BoardItem::loadData(TIStream &is) {//======================================================================================-BoardSettings::BoardSettings() {+BoardSettings::BoardSettings() : m_fileNameSuffix("board") {// add one item as an examplem_items.push_back(BoardItem());}diff --git a/toonz/sources/toonzlib/movierenderer.cpp b/toonz/sources/toonzlib/movierenderer.cppindex 844a15292..a36fd44a1 100644--- a/toonz/sources/toonzlib/movierenderer.cpp+++ b/toonz/sources/toonzlib/movierenderer.cpp@@ -181,6 +181,8 @@ public:// returns board duration in frameint addBoard();+ // save clapperboard frame (for non-movie formats)+ void saveBoardFrame();};//---------------------------------------------------------@@ -339,8 +341,8 @@ void MovieRenderer::Imp::addSoundtrack(int r0, int r1, double fps,// No soundtrackm_whiteSample = (r1 - r0 + 1) * 918; // 918?? wtf... I don't think it hasreturn; // any arcane meaning - but i'm not touching it.- } // My impression would be that... no sound implies- // no access to m_whiteSample, no?+ } // My impression would be that... no sound implies+ // no access to m_whiteSample, no?double samplePerFrame = snd->getSampleRate() / fps;@@ -539,27 +541,31 @@ void MovieRenderer::Imp::doRenderRasterCompleted(const RenderData &renderData) {// Build soundtrack at the first time a frame is completed - and the filetype// is that of a movie.- if (m_firstCompletedRaster && m_movieType && !m_st) {- int boardDuration = addBoard();+ if (m_firstCompletedRaster) {+ if (m_movieType && !m_st) {+ int boardDuration = addBoard();- int from, to;- getRange(m_scene, false, from, to);+ int from, to;+ getRange(m_scene, false, from, to);- TLevelP oldLevel(m_levelUpdaterA->getInputLevel());- if (oldLevel) {- from = std::min(from, oldLevel->begin()->first.getNumber() - 1);- to = std::max(to, (--oldLevel->end())->first.getNumber() - 1);- }+ TLevelP oldLevel(m_levelUpdaterA->getInputLevel());+ if (oldLevel) {+ from = std::min(from, oldLevel->begin()->first.getNumber() - 1);+ to = std::max(to, (--oldLevel->end())->first.getNumber() - 1);+ }- addSoundtrack(- from, to,- m_scene->getProperties()->getOutputProperties()->getFrameRate(),- boardDuration);+ addSoundtrack(+ from, to,+ m_scene->getProperties()->getOutputProperties()->getFrameRate(),+ boardDuration);- if (m_st) {- m_levelUpdaterA->getLevelWriter()->saveSoundTrack(m_st.getPointer());- if (m_levelUpdaterB.get())- m_levelUpdaterB->getLevelWriter()->saveSoundTrack(m_st.getPointer());+ if (m_st) {+ m_levelUpdaterA->getLevelWriter()->saveSoundTrack(m_st.getPointer());+ if (m_levelUpdaterB.get())+ m_levelUpdaterB->getLevelWriter()->saveSoundTrack(m_st.getPointer());+ }+ } else { // !m_movieType+ saveBoardFrame();}}@@ -866,6 +872,55 @@ int MovieRenderer::Imp::addBoard() {return duration;}+//---------------------------------------------------------+// save clapperboard frame (for non-movie formats)++void MovieRenderer::Imp::saveBoardFrame() {+ BoardSettings *boardSettings =+ m_scene->getProperties()->getOutputProperties()->getBoardSettings();+ if (!boardSettings->isActive()) return;+ int duration = boardSettings->getDuration();+ if (duration == 0) return;++ // Get the image size+ int shrinkX = m_renderSettings.m_shrinkX,+ shrinkY = m_renderSettings.m_shrinkY;+ TDimensionD cameraRes(double(m_frameSize.lx) / shrinkX,+ double(m_frameSize.ly) / shrinkY);+ TDimension cameraResI(cameraRes.lx, cameraRes.ly);++ TRaster32P boardRas =+ boardSettings->getBoardRaster(cameraResI, shrinkX, m_scene);++ if (m_levelUpdaterA.get()) {+ // Flush images+ try {+ TRasterImageP img(boardRas);++ TFilePath rendPath = m_levelUpdaterA->getLevelWriter()->getFilePath();+ QString baseName = QString::fromStdString(rendPath.getName());+ QString levelName = QString::fromStdString(rendPath.getLevelName());+ int dotPos = levelName.lastIndexOf('.');+ QString fileName = baseName + rendPath.getSepChar() ++ boardSettings->fileNameSuffix() ++ levelName.right(levelName.size() - dotPos);+ TFilePath boardPath = rendPath.getParentDir() + TFilePath(fileName);++ TImageWriterP imgWriter =+ m_levelUpdaterA->getLevelWriter()->getFrameWriter(0);+ imgWriter->setFilePath(boardPath);+ imgWriter->save(img);++ // do nothing for stereoscopic render+ // if (m_levelUpdaterB.get()) {}+ } catch (...) {+ // Nothing. The images could not be saved for whatever reason.+ // Failure is reported.+ }+ }+ return;+}+//======================================================================================//======================diff --git a/toonz/sources/translations/japanese/toonz.ts b/toonz/sources/translations/japanese/toonz.tsindex 6d6332c02..1ff07af46 100644--- a/toonz/sources/translations/japanese/toonz.ts+++ b/toonz/sources/translations/japanese/toonz.ts@@ -1,6 +1,6 @@<?xml version="1.0" encoding="utf-8"?><!DOCTYPE TS>-<TS version="2.1" language="ja_JP" sourcelanguage="en">+<TS version="2.1" language="ja_JP" sourcelanguage="en_US"><context><name>AddFilmstripFramesPopup</name><message>@@ -776,6 +776,32 @@ Stop it or wait for its completion before removing it.</source><source>Image</source><translation>画像</translation></message>+ <message>+ <source>Export Board Image</source>+ <translation>ボールド画像を書き出し</translation>+ </message>+ <message>+ <source>File Name Suffix:</source>+ <translation>ファイル名接尾辞:</translation>+ </message>+ <message>+ <source>File name suffix can't be empty.</source>+ <translation>ファイル名接尾辞が空です。</translation>+ </message>+ <message>+ <source>There is no board image to export.</source>+ <translation>書き出すボールド画像がありません。</translation>+ </message>+ <message>+ <source>It is not possible to save because the selected file format is not supported.</source>+ <translation>選択したファイル形式は対応されていないため、保存できません。</translation>+ </message>+ <message>+ <source>File %1 already exists.+Do you want to overwrite it?</source>+ <translation>ファイル %1 は既に存在します。+上書きしてもよろしいですか?</translation>+ </message></context><context><name>BoardView</name>@@ -1887,7 +1913,7 @@ What do you want to do? </source></message><message><source>Convert 1 Level</source>- <translation>1つのレベルを変換</translation>+ <translation type="vanished">1つのレベルを変換</translation></message><message><source>Convert %1 Levels</source>@@ -2075,7 +2101,7 @@ What do you want to do? </source>be appended to the palette after conversion inorder to save the effort of creating stylesbefore color designing.</source>- <translation>このオプションがONのとき、デフォルトパレット ($TOONZSTUDIOPALETTE\cleanup_default.tpl)+ <translation type="vanished">このオプションがONのとき、デフォルトパレット ($TOONZSTUDIOPALETTE\cleanup_default.tpl)のスタイルが変換後のパレットに追加されます。色見本を作成する際に、スタイルを新規作成する手間を省くことができます。</translation></message>@@ -2112,6 +2138,18 @@ contain the dpi information, then the current camera dpi will be used.<source>Level %1 converting to same file format; skipped.</source><translation>レベル %1 は変換前と同じファイル形式が指定されているのでスキップします。</translation></message>+ <message>+ <source>When activated, styles of the default palette+($TOONZSTUDIOPALETTE\Global Palettes\Default Palettes\Cleanup_Palette.tpl) will+be appended to the palette after conversion in+order to save the effort of creating styles+before color designing.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Convert 1 Level : %1</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>ConvertResultPopup</name>@@ -2553,6 +2591,33 @@ contain the dpi information, then the current camera dpi will be used.<translation type="vanished">スキャン</translation></message></context>+<context>+ <name>ExportAllLevelsPopup</name>+ <message>+ <source>Export All</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Skip</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>No level found in the camera view or levels are null!!</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Please select a Folder!</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>It is not possible to create the %1 folder.</source>+ <translation type="unfinished">%1 フォルダを作成できません。</translation>+ </message>+ <message>+ <source>Export failed,please delete exported files and try again.</source>+ <translation type="unfinished"></translation>+ </message>+</context><context><name>ExportCalibrationFilePopup</name><message>@@ -2749,12 +2814,36 @@ contain the dpi information, then the current camera dpi will be used.</message><message><source>The file name cannot be empty or contain any of the following characters:(new line) \ / : * ? " |</source>- <translation>ファイル名は空であることができません。また、次の記号のどれかを含むことができません: :(new line) \ / : * ? " |</translation>+ <translation type="vanished">ファイル名は空であることができません。また、次の記号のどれかを含むことができません: :(new line) \ / : * ? " |</translation></message><message><source>File Browser</source><translation>ファイルブラウザ</translation></message>+ <message>+ <source>Export Level: No Level Selected</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Export Level: %1 Level Selected</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Please select a folder!</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Please select at least one level(column).</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>It is not possible to create the %1 folder.</source>+ <translation type="unfinished">%1 フォルダを作成できません。</translation>+ </message>+ <message>+ <source>Please type file name!</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>ExportLevelPopup::ExportOptions</name>@@ -2830,6 +2919,10 @@ contain the dpi information, then the current camera dpi will be used.<source>Height: </source><translation>高さ: </translation></message>+ <message>+ <source>Create Folder(equal file name)</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>ExportOCACommand</name>@@ -2960,6 +3053,14 @@ Unchecked: Only layers with Preview Visible ON are exported</source><source>Project '%1' already exists</source><translation>プロジェクト '%1' は、既に存在します</translation></message>+ <message>+ <source>Export as Standalone Scene</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Export To:</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>ExportXDTSCommand</name>@@ -3212,6 +3313,14 @@ Do you want to create it?</source><source>Frame length:</source><translation>フレームの長さ:</translation></message>+ <message>+ <source>Export CSV</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Failed to create file %1.</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>ExpressionReferenceManager</name>@@ -4874,7 +4983,7 @@ Please use the frame numbers for reference.</source></message><message><source>&Save Scene</source>- <translation>シーンを保存 (&S)</translation>+ <translation type="vanished">シーンを保存 (&S)</translation></message><message><source>&Save Scene As...</source>@@ -4946,7 +5055,7 @@ Please use the frame numbers for reference.</source></message><message><source>&Save Default Settings</source>- <translation>現在のシーン設定を既定値としてプロジェクト設定に保存 (&S)</translation>+ <translation type="vanished">現在のシーン設定を既定値としてプロジェクト設定に保存 (&S)</translation></message><message><source>&Output Settings...</source>@@ -6662,7 +6771,7 @@ Please use the frame numbers for reference.</source></message><message><source>Vectors to Toonz Raster</source>- <translation>ベクターからToonzラスターに変換</translation>+ <translation type="vanished">ベクターからToonzラスターに変換</translation></message><message><source>Replace Vectors with Simplified Vectors</source>@@ -7598,6 +7707,42 @@ or you may delete necessary files for it.</source><source>Edit Assistants</source><translation type="unfinished"></translation></message>+ <message>+ <source>Show build date in title</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>&Save Scene Only</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>&Set Scene Settings as Default</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>&Export All Levels... </source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Convert to Toonz Raster...</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Show Shift Origin</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>&Locator</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Toggle Viewer Indicators</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Eraser Type - MultiArc</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>MatchlinesDialog</name>@@ -10147,7 +10292,7 @@ in non alpha-enabled image format.</source></message><message><source>Switch to dark icons</source>- <translation>暗色のアイコンに切り替える</translation>+ <translation type="vanished">暗色のアイコンに切り替える</translation></message><message><source>Level Strip Thumbnail Size*:</source>@@ -10187,7 +10332,7 @@ in non alpha-enabled image format.</source></message><message><source>Icon Theme*:</source>- <translation>アイコンのテーマ*:</translation>+ <translation type="vanished">アイコンのテーマ*:</translation></message><message><source>Show Icons In Menu*</source>@@ -10381,6 +10526,42 @@ but a random crash might occur, use at your own risk.</source>The behavior may be changed in the future development.</source><translation type="unfinished"></translation></message>+ <message>+ <source>Show Viewer Indicators</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Rasterize Vector with Anti Aliasing</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Normalize Imported Image Sequences:</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Use Inverted Cursor at Stroke End</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Click Twice to Create Arcs</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Always Drag Frame Cell</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Always ask before renaming</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Normalize sequence names automatically</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Keep original filenames</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>PreferencesPopup::AdditionalStyleEdit</name>@@ -11346,7 +11527,7 @@ Some levels have not been loaded because their version is not supported</source></message><message><source>Save the scene first</source>- <translation>先にシーンを保存してください</translation>+ <translation type="vanished">先にシーンを保存してください</translation></message><message><source>It is not possible to load the %1 level.</source>@@ -13297,6 +13478,42 @@ which may not be displayed correctly or may cause errors in applications other t<translation>原画記号と中割参考記号は、XDTSの非公式なフォーマットでエクスポートされます。XDTS Viewer以外のアプリケーションでは、正しく表示されなかったり、エラーが発生する場合があります。</translation></message>+ <message>+ <source>Add separator for Frames</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>It is not possible to load the scene %1 because it does not belong to any project.+Please delete scenes.xml if this scene dones't belong to any project.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>OpenToonz uses an underscore (_) or dot (.) as a frame separator.+Would you like to add a separator to the image sequence?++%1 (and similar files)</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>No, treat as single frame.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Hide Viewer Indicators</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Show Viewer Indicators</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Fx Browser</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Locator</source>+ <translation type="unfinished">ロケーター</translation>+ </message></context><context><name>ReframePopup</name>@@ -13690,6 +13907,13 @@ These levels can't be exported with this tool.</source><translation>「ロックが必要」の属性をフックファイルに設定中...</translation></message></context>+<context>+ <name>SVNConfigWriter</name>+ <message>+ <source>Select</source>+ <translation type="unfinished"></translation>+ </message>+</context><context><name>SVNDeleteDialog</name><message>@@ -14325,6 +14549,13 @@ Please commit or revert changes first.</source><translation>これらの項目に更新中...</translation></message></context>+<context>+ <name>SaveBoardImagePopup</name>+ <message>+ <source>Export Board Image</source>+ <translation>ボールド画像を書き出し</translation>+ </message>+</context><context><name>SaveBoardPresetFilePopup</name><message>@@ -14773,6 +15004,49 @@ Please commit or revert changes first.</source><translation>カラーフィルタの編集</translation></message></context>+<context>+ <name>SceneViewer</name>+ <message>+ <source>FROZEN</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Motion Path Selected</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Transparency Check</source>+ <translation type="unfinished">透明度チェック</translation>+ </message>+ <message>+ <source>Ink Check</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Ink#1 Check</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Paint Check</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Inks Only Check</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Black BG Check</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Fill Check</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>Gap Check</source>+ <translation type="unfinished"></translation>+ </message>+</context><context><name>SceneViewerContextMenu</name><message>@@ -15402,6 +15676,18 @@ Assign to '%3'?</source>Assign shortcut sequence anyway?</source><translation type="unfinished"></translation></message>+ <message>+ <source>The Space + Shift combination is reserved for viewer rotation.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>The Space + Ctrl combination is reserved for viewer zoom.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <source>The Space key is reserved for viewer navigation.</source>+ <translation type="unfinished"></translation>+ </message></context><context><name>StackedMenuBar</name>