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.addItem('Project notes...', 'editProjectNotes');
//menu.addLine();
menu.addItem('Project notes...', 'editProjectNotes');
menu.addLine();
menu.addItem('New', 'createNewProject');
menu.addItem('Open...', 'openProjectsBrowser');
menu.addItem(
@ -1471,6 +1471,8 @@ IDE_Morph.prototype.projectMenu = function () {
menu.addLine();
*/
menu.addLine();
if (shiftClicked) {
menu.addItem(
'Export all scripts as pic...',
@ -1479,7 +1481,6 @@ IDE_Morph.prototype.projectMenu = function () {
new Color(100, 0, 0)
);
}
menu.addLine();
menu.addItem(
shiftClicked ?
'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',
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(
'Export blocks...',
function () {myself.exportGlobalBlocks(); },
'show global custom block definitions as XML\nin a new browser window'
'Export summary...',
function () {myself.exportProjectSummary(); },
'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.addItem(
'Import tools',

Wyświetl plik

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