merge snap 4.0.10 menu and german translation changes

pull/29/head
Michael Aschauer 2017-01-25 17:08:04 +01:00
rodzic b1d96a45f2
commit a4102f3647
2 zmienionych plików z 46 dodań i 11 usunięć

Wyświetl plik

@ -1407,8 +1407,8 @@ IDE_Morph.prototype.projectMenu = function () {
} }
menu = new MenuMorph(this); menu = new MenuMorph(this);
//menu.addItem('Project notes...', 'editProjectNotes'); menu.addItem('Project notes...', 'editProjectNotes');
//menu.addLine(); menu.addLine();
menu.addItem('New', 'createNewProject'); menu.addItem('New', 'createNewProject');
menu.addItem('Open...', 'openProjectsBrowser'); menu.addItem('Open...', 'openProjectsBrowser');
menu.addItem( menu.addItem(
@ -1471,6 +1471,8 @@ IDE_Morph.prototype.projectMenu = function () {
menu.addLine(); menu.addLine();
*/ */
menu.addLine();
if (shiftClicked) { if (shiftClicked) {
menu.addItem( menu.addItem(
'Export all scripts as pic...', 'Export all scripts as pic...',
@ -1479,7 +1481,6 @@ IDE_Morph.prototype.projectMenu = function () {
new Color(100, 0, 0) new Color(100, 0, 0)
); );
} }
menu.addLine();
menu.addItem( menu.addItem(
shiftClicked ? shiftClicked ?
'Export project as plain text...' : 'Export project...', 'Export project as plain text...' : 'Export project...',
@ -1495,11 +1496,45 @@ IDE_Morph.prototype.projectMenu = function () {
'show project data as XML\nin a new browser window', 'show project data as XML\nin a new browser window',
shiftClicked ? new Color(100, 0, 0) : null shiftClicked ? new Color(100, 0, 0) : null
); );
if (this.stage.globalBlocks.length) {
menu.addItem(
'Export blocks...',
function () {myself.exportGlobalBlocks(); },
'show global custom block definitions as XML' +
'\nin a new browser window'
);
menu.addItem(
'Unused blocks...',
function () {myself.removeUnusedBlocks(); },
'find unused global custom blocks' +
'\nand remove their definitions'
);
}
menu.addItem( menu.addItem(
'Export blocks...', 'Export summary...',
function () {myself.exportGlobalBlocks(); }, function () {myself.exportProjectSummary(); },
'show global custom block definitions as XML\nin a new browser window' 'open a new browser browser window\n with a summary of this project'
); );
if (shiftClicked) {
menu.addItem(
'Export summary with drop-shadows...',
function () {myself.exportProjectSummary(true); },
'open a new browser browser window' +
'\nwith a summary of this project' +
'\nwith drop-shadows on all pictures.' +
'\nnot supported by all browsers',
new Color(100, 0, 0)
);
menu.addItem(
'Export all scripts as pic...',
function () {myself.exportScriptsPicture(); },
'show a picture of all scripts\nand block definitions',
new Color(100, 0, 0)
);
}
menu.addLine(); menu.addLine();
menu.addItem( menu.addItem(
'Import tools', 'Import tools',

Wyświetl plik

@ -11,7 +11,7 @@
tempDict = { tempDict = {
// UI // UI
'Save to Disk': 'Save to Disk':
'Auf Festplatte sichern', 'Sichern auf Festplatte',
'Total Stitches : ': 'Total Stitches : ':
'Anzahl der Stiche : ', 'Anzahl der Stiche : ',
'Jumps': 'Jumps':
@ -29,15 +29,15 @@ tempDict = {
'clear': 'clear':
'l\u00f6schen', 'l\u00f6schen',
'Export as SVG': 'Export as SVG':
'Als SVG exportieren', 'Exportieren als SVG Vektorgrafik',
'Export as Melco/EXP': 'Export as Melco/EXP':
'Als Melco/EXP exportieren', 'Exportieren als Melco/EXP',
'Export as Tajima/DST':
'Exportieren als Tajima/DST',
'Export current drawing as SVG Vector file': 'Export current drawing as SVG Vector file':
'Exportiert die aktuelle Zeichnung als Vektorgrafik im SVG Format', 'Exportiert die aktuelle Zeichnung als Vektorgrafik im SVG Format',
'Export current drawing as EXP/Melco Embroidery file': 'Export current drawing as EXP/Melco Embroidery file':
'Exportiert die aktuelle Zeichnung als Stickmuster im EXP/Melco Format', 'Exportiert die aktuelle Zeichnung als Stickmuster im EXP/Melco Format',
'Export as Tajima/DST':
'Als Tajima/DST exportieren',
'Export current drawing as DST/Tajima Embroidery file': 'Export current drawing as DST/Tajima Embroidery file':
'Exportiert die aktuelle Zeichnung als Stickmuster im Tajima/DST Format' 'Exportiert die aktuelle Zeichnung als Stickmuster im Tajima/DST Format'
}; };