mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 21:41:02 +00:00
Rename "Save File Copy As" -> "Export"
This commit is contained in:
parent
6f518f0b06
commit
db2e582f23
@ -561,7 +561,7 @@
|
||||
<separator />
|
||||
<item command="SaveFile" text="&Save" />
|
||||
<item command="SaveFileAs" text="Save &As..." />
|
||||
<item command="SaveFileCopyAs" text="Save Cop&y As..." />
|
||||
<item command="SaveFileCopyAs" text="Expor&t..." />
|
||||
<item command="CloseFile" text="&Close" />
|
||||
<item command="CloseAllFiles" text="Close All" />
|
||||
<separator />
|
||||
|
@ -181,10 +181,10 @@ bool SaveFileBaseCommand::saveAsDialog(
|
||||
const Document* document = context->activeDocument();
|
||||
std::string filename;
|
||||
|
||||
// If there is a delegate, we're doing a "Save Copy As", so we don't
|
||||
// If there is a delegate, we're doing a "Save Copy As/Export", so we don't
|
||||
// have to mark the file as saved.
|
||||
bool saveCopyAs = (delegate != nullptr);
|
||||
bool markAsSaved = (!saveCopyAs);
|
||||
const bool isExport = (delegate != nullptr);
|
||||
const bool markAsSaved = (!isExport);
|
||||
double xscale = 1.0;
|
||||
double yscale = 1.0;
|
||||
|
||||
@ -413,7 +413,7 @@ protected:
|
||||
};
|
||||
|
||||
SaveFileCopyAsCommand::SaveFileCopyAsCommand()
|
||||
: SaveFileBaseCommand("SaveFileCopyAs", "Save File Copy As", CmdRecordableFlag)
|
||||
: SaveFileBaseCommand("SaveFileCopyAs", "Export", CmdRecordableFlag)
|
||||
{
|
||||
}
|
||||
|
||||
@ -443,7 +443,7 @@ void SaveFileCopyAsCommand::onExecute(Context* context)
|
||||
docPref.saveCopy.filename());
|
||||
}
|
||||
|
||||
if (saveAsDialog(context, "Save Copy As",
|
||||
if (saveAsDialog(context, "Export",
|
||||
oldFilename, delegate)) {
|
||||
docPref.saveCopy.filename(document->filename());
|
||||
if (delegate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user