Merge branch 'staging/maintenance' into maintenance

This commit is contained in:
Gina Häußge committed 2018-12-03 14:16:50 +01:00
commit 5af5cbbb37
11 files changed
+232 -129

No files matched your search

+3 -3
View File
@@ -24,10 +24,10 @@ maintenance 1.3.11 e14c00f135bf2a955e54ac3f0a2928d8440055d2 pep440-dev
fix/.* 1.3.11 e14c00f135bf2a955e54ac3f0a2928d8440055d2 pep440-dev
improve/.* 1.3.11 e14c00f135bf2a955e54ac3f0a2928d8440055d2 pep440-dev
# staging/maintenance is currently the branch for preparation of 1.3.10rc4
# staging/maintenance is currently the branch for preparation of 1.3.10rc5
# so is regressionfix/...
staging/maintenance 1.3.10rc4 b01e327f9d89fc28646e57b709e12ff0574c6ffb pep440-dev
regressionfix/.* 1.3.10rc4 b01e327f9d89fc28646e57b709e12ff0574c6ffb pep440-dev
staging/maintenance 1.3.10rc5 e628aedbc11e2ef03ba4172b93e5be2a892b955b pep440-dev
regressionfix/.* 1.3.10rc5 e628aedbc11e2ef03ba4172b93e5be2a892b955b pep440-dev
# every other branch is a development branch and thus gets resolved to 1.4.0-dev for now
.* 1.4.0 7f5d03d0549bcbd26f40e7e4a3297ea5204fb1cc pep440-dev
+32
View File
@@ -1,5 +1,37 @@
# OctoPrint Changelog
## 1.3.10rc4 (2018-12-03)
### Improvements
* Backup: Exclude `generated`, `logs` and `watched` folders from backup
* Backup: Use base version for version check on restore
### Bug fixes
* [#2920](https://github.com/foosel/OctoPrint/issues/2920) - Backup: Fix wrong compatibility check logic in plugin install during restore
* Backup: Disable restore on Windows servers where it's not supported thanks to the Windows file system
* Backup: Fix reporting of restore failure due to version mismatch or other cases of an invalid backup
* Backup: Fix feedback in UI during restore, start feedback right on upload of backup
* Printer Safety: Fix localization of warning message
### Unreproduced issues
The following issues were reported in RC1 or RC2 but so far have been unreproduced and further data to analyse them is still missing. If you encounter any of them please report back with a [fully filled out issue template](https://github.com/foosel/OctoPrint/blob/master/CONTRIBUTING.md#what-should-i-include-in-a-bug-report):
* [Not possible to complete Anonymous Usage Tracking setup wizard](https://discourse.octoprint.org/t/anonymous-usage-setup/5151)
* ["temperature changes doesn't work"](https://github.com/foosel/OctoPrint/issues/2889#issuecomment-441449215)
### Special thanks to all the contributors!
Special thanks to everyone who contributed to this release candidate and provided full, analysable bug reports.
### More information
* [Commits](https://github.com/foosel/OctoPrint/compare/1.3.10rc3...1.3.10rc4)
## 1.3.10rc3 (2018-11-28)
### Improvements
* More resilience against third party plugins that happily block or kill important startup threads
+46 -13
View File
@@ -11,7 +11,8 @@ from octoprint.plugin.core import FolderOrigin
from octoprint.server import admin_permission, NO_CONTENT
from octoprint.server.util.flask import restricted_access
from octoprint.util import is_hidden_path
from octoprint.util.version import get_octoprint_version_string, get_octoprint_version, get_comparable_version
from octoprint.util.version import get_octoprint_version_string, get_octoprint_version, get_comparable_version, is_octoprint_compatible
from octoprint.util.platform import is_os_compatible
from octoprint.util.pip import LocalPipCaller
try:
@@ -83,7 +84,8 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
unknown_plugins = self._get_unknown_plugins()
return flask.jsonify(backups=backups,
backup_in_progress=len(self._in_progress) > 0,
unknown_plugins=unknown_plugins)
unknown_plugins=unknown_plugins,
restore_supported=is_os_compatible(["!windows"]))
@octoprint.plugin.BlueprintPlugin.route("/unknown_plugins", methods=["GET"])
@admin_permission.require(403)
@@ -184,6 +186,9 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
@admin_permission.require(403)
@restricted_access
def perform_restore(self):
if not is_os_compatible(["!windows"]):
return flask.make_response(u"Invalid request, the restores are not supported on the underlying operating system", 400)
input_name = "file"
input_upload_path = input_name + "." + self._settings.global_get(["server", "uploads", "pathSuffix"])
@@ -212,8 +217,8 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
self._send_client_message("logline", dict(line=line, type="stdout"))
for plugin in plugins:
octoprint_compatible = plugin["compatibility"]["octoprint"]
os_compatible = plugin["compatibility"]["os"]
octoprint_compatible = is_octoprint_compatible(*plugin["compatibility"]["octoprint"])
os_compatible = is_os_compatible(plugin["compatibility"]["os"])
compatible = octoprint_compatible and os_compatible
if not compatible:
if not octoprint_compatible and not os_compatible:
@@ -260,9 +265,12 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
def on_restore_done(path):
self._send_client_message("restore_done")
def on_restore_failed(path, exc_info):
def on_restore_failed(path):
self._send_client_message("restore_failed")
def on_invalid_backup(line):
on_log_error(line)
archive = tempfile.NamedTemporaryFile(delete=False)
archive.close()
shutil.copy(path, archive.name)
@@ -276,6 +284,7 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
datafolder=self.get_plugin_data_folder(),
on_install_plugins=on_install_plugins,
on_report_unknown_plugins=on_report_unknown_plugins,
on_invalid_backup=on_invalid_backup,
on_log_progress=on_log_progress,
on_log_error=on_log_error,
on_restore_start=on_restore_start,
@@ -384,8 +393,8 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
click.echo(u"\t{}".format(line))
for plugin in plugins:
octoprint_compatible = plugin["compatibility"]["octoprint"]
os_compatible = plugin["compatibility"]["os"]
octoprint_compatible = is_octoprint_compatible(*plugin["compatibility"]["octoprint"])
os_compatible = is_os_compatible(plugin["compatibility"]["os"])
compatible = octoprint_compatible and os_compatible
if not compatible:
if not octoprint_compatible and not os_compatible:
@@ -432,7 +441,8 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
on_install_plugins=on_install_plugins,
on_report_unknown_plugins=on_report_unknown_plugins,
on_log_progress=on_log_progress,
on_log_error=on_log_error):
on_log_error=on_log_error,
on_invalid_backup=on_log_error):
click.echo(u"Restored from {}".format(path))
else:
click.echo(u"Restoring from {} failed".format(path), err=True)
@@ -634,6 +644,10 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
for folder in default_settings["folder"].keys():
if folder in exclude:
continue
if folder in ("generated", "logs", "watched",):
continue
add_to_zip(settings.global_get_basefolder(folder),
"basedir/" + folder.replace("_", "/"),
ignored=[own_folder,])
@@ -682,6 +696,13 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
on_restore_start=None,
on_restore_done=None,
on_restore_failed=None):
if not is_os_compatible(["!windows"]):
if callable(on_log_error):
on_log_error(u"Restore is not supported on this operating system")
if callable(on_restore_failed):
on_restore_failed(path)
return False
restart_command = settings.global_get(["server", "commands", "serverRestartCommand"])
basedir = settings._basedir
@@ -705,15 +726,19 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
except KeyError:
if callable(on_invalid_backup):
on_invalid_backup(u"Not an OctoPrint backup, lacks metadata.json")
if callable(on_restore_failed):
on_restore_failed(path)
return False
metadata_bytes = zip.read(metadata_zipinfo)
metadata = json.loads(metadata_bytes)
backup_version = get_comparable_version(metadata["version"])
if backup_version > get_octoprint_version():
backup_version = get_comparable_version(metadata["version"], base=True)
if backup_version > get_octoprint_version(base=True):
if callable(on_invalid_backup):
on_invalid_backup(u"Backup is from a newer version of OctoPrint and cannot be applied")
if callable(on_restore_failed):
on_restore_failed(path)
return False
# unzip to temporary folder
@@ -732,6 +757,8 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
if not os.path.exists(configfile):
if callable(on_invalid_backup):
on_invalid_backup(u"Backup lacks config.yaml")
if callable(on_restore_failed):
on_restore_failed(path)
return False
import yaml
@@ -744,6 +771,8 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
if not os.path.exists(userfile):
if callable(on_invalid_backup):
on_invalid_backup(u"Backup lacks users.yaml")
if callable(on_restore_failed):
on_restore_failed(path)
return False
if callable(on_log_progress):
@@ -835,7 +864,7 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
if callable(on_log_error):
on_log_error(u"Error while running restore", exc_info=exc_info)
if callable(on_restore_failed):
on_restore_failed(path, exc_info)
on_restore_failed(path)
finally:
del exc_info
return False
@@ -852,6 +881,9 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
if callable(on_log_progress):
on_log_progress(u"Restarting...")
if callable(on_restore_done):
on_restore_done(path)
try:
sarge.run(restart_command, async_=True)
except:
@@ -861,8 +893,9 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
on_log_error(u"Please restart OctoPrint manually")
return False
if callable(on_restore_done):
on_restore_done(path)
else:
if callable(on_restore_done):
on_restore_done(path)
return True
@@ -27,6 +27,7 @@ $(function() {
self.excludeFromBackup = ko.observableArray([]);
self.backupInProgress = ko.observable(false);
self.restoreSupported = ko.observable(true);
self.backupUploadButton = $("#settings-backup-upload");
self.backupUploadData = undefined;
@@ -66,6 +67,7 @@ $(function() {
self.fromResponse = function(response) {
self.backups.updateItems(response.backups);
self.unknownPlugins(response.unknown_plugins);
self.restoreSupported(response.restore_supported);
};
self.createBackup = function() {
@@ -88,7 +90,15 @@ $(function() {
};
self.restoreBackup = function(backup) {
if (!self.restoreSupported()) return;
var perform = function() {
self.restoreInProgress(true);
self.loglines.removeAll();
self.loglines.push({line: "Preparing to restore...", stream: "message"});
self.loglines.push({line: " ", stream: "message"});
self.restoreDialog.modal({keyboard: false, backdrop: "static", show: true});
OctoPrint.plugins.backup.restoreBackup(backup);
};
showConfirmationDialog(_.sprintf(gettext("You are about to restore the backup file \"%(name)s\". This cannot be undone."), {name: backup}),
@@ -99,6 +109,12 @@ $(function() {
if (self.backupUploadData === undefined) return;
var perform = function() {
self.restoreInProgress(true);
self.loglines.removeAll();
self.loglines.push({line: "Uploading backup, this can take a while. Please wait...", stream: "message"});
self.loglines.push({line: " ", stream: "message"});
self.restoreDialog.modal({keyboard: false, backdrop: "static", show: true});
self.backupUploadData.submit();
};
showConfirmationDialog(_.sprintf(gettext("You are about to upload and restore the backup file \"%(name)s\". This cannot be undone."), {name: self.backupUploadName()}),
@@ -171,11 +187,8 @@ $(function() {
hide: false
});
} else if (data.type === "restore_started") {
self.restoreInProgress(true);
self.loglines.removeAll();
self.loglines.push({line: gettext("Restoring from backup..."), stream: "message"});
self.loglines.push({line: " ", stream: "message"});
self.restoreDialog.modal({keyboard: false, backdrop: "static", show: true});
} else if (data.type === "restore_failed") {
self.loglines.push({line: " ", stream: "message"});
self.loglines.push({line: gettext("Restore failed! Check the above output and octoprint.log for reasons as to why."), stream: "error"});
@@ -46,7 +46,7 @@
<td class="settings_plugin_backup_name" data-bind="text: name"></td>
<td class="settings_plugin_backup_date" data-bind="text: formatDate(date)"></td>
<td class="settings_plugin_backup_size" data-bind="text: formatSize(size)"></td>
<td class="settings_plugin_backup_actions"><a href="javascript:void(0)" title="{{ _('Delete') }}" class="fa fa-trash-o" data-bind="click: function() { $parent.removeBackup($data.name) }, css: {disabled: $root.backupInProgress() || $root.restoreInProgress()"></a>&nbsp;|&nbsp;<a href="javascript:void(0)" title="{{ _('Download') }}" class="fa fa-download" data-bind="attr: {href: url}"></a>&nbsp;|&nbsp;<a href="javascript:void(0)" title="{{ _('Restore') }}" data-bind="click: function() { $parent.restoreBackup($data.name) }, css: {disabled: $root.backupInProgress() || $root.restoreInProgress()"><i class="fa fa-refresh"></i></a></td>
<td class="settings_plugin_backup_actions"><a href="javascript:void(0)" title="{{ _('Delete') }}" class="fa fa-trash-o" data-bind="click: function() { $parent.removeBackup($data.name) }, css: {disabled: $root.backupInProgress() || $root.restoreInProgress()"></a>&nbsp;|&nbsp;<a href="javascript:void(0)" title="{{ _('Download') }}" class="fa fa-download" data-bind="attr: {href: url}"></a><span data-bind="visible: $parent.restoreSupported()">&nbsp;|&nbsp;<a href="javascript:void(0)" title="{{ _('Restore') }}" data-bind="click: function() { $parent.restoreBackup($data.name) }, css: {disabled: $root.backupInProgress() || $root.restoreInProgress()"><i class="fa fa-refresh"></i></a></span></td>
</tr>
</tbody>
</table>
@@ -91,30 +91,36 @@
</div>
</form>
<h3>{{ _('Restore from uploaded backup') }}</h3>
<div data-bind="visible: restoreSupported()">
<h3>{{ _('Restore from uploaded backup') }}</h3>
<p>{{ _('Restore settings & files from an uploaded backup archive.') }}</p>
<p>{{ _('Restore settings & files from an uploaded backup archive.') }}</p>
<form class="form-horizontal">
<div class="control-group">
<label class="control-label">{{ _('Backup file') }}</label>
<div class="controls">
<div class="input-prepend">
<span class="btn fileinput-button">
<span>{{ _('Browse...') }}</span>
<input id="settings-backup-upload" type="file" name="file" data-url="{{ url_for("plugin.backup.perform_restore") }}" accept=".zip">
</span>
<span class="add-on" data-bind="text: backupUploadName"></span>
<form class="form-horizontal">
<div class="control-group">
<label class="control-label">{{ _('Backup file') }}</label>
<div class="controls">
<div class="input-prepend">
<span class="btn fileinput-button">
<span>{{ _('Browse...') }}</span>
<input id="settings-backup-upload" type="file" name="file" data-url="{{ url_for("plugin.backup.perform_restore") }}" accept=".zip">
</span>
<span class="add-on" data-bind="text: backupUploadName"></span>
</div>
</div>
</div>
</div>
<div class="control-group">
<div class="controls">
<button class="btn btn-primary" data-bind="enable: !backupInProgress() && !restoreInProgress(), click: performRestoreFromUpload"><i class="fa fa-spinner fa-spin" data-bind="visible: restoreInProgress"></i> {{ _('Upload & restore') }}</button>
<div class="control-group">
<div class="controls">
<button class="btn btn-primary" data-bind="enable: !backupInProgress() && !restoreInProgress(), click: performRestoreFromUpload"><i class="fa fa-spinner fa-spin" data-bind="visible: restoreInProgress"></i> {{ _('Upload & restore') }}</button>
</div>
</div>
</div>
</form>
</form>
</div>
<div data-bind="visible: !restoreSupported()">
{{ _('Please note that the operating system that this OctoPrint server is running on does not support automatically restoring backups. You will have to <a href="%(url)s" target="_blank" rel="noopener noreferrer">restore your backups manually for now</a>.', url='https://faq.octoprint.org/manual-restore') }}
</div>
<div id="settings_plugin_backup_restoredialog" class="modal hide fade">
<div class="modal-header">
@@ -23,7 +23,7 @@ $(function() {
self.fromResponse = function(data) {
var warnings = [];
_.each(data, function(message, warning_type) {
warnings.push({type: warning_type, message: message});
warnings.push({type: warning_type, message: gettext(message)});
});
self.warnings(warnings);
};
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2018-11-28 12:25+0100\n"
"PO-Revision-Date: 2018-11-28 12:28+0100\n"
"POT-Creation-Date: 2018-12-03 11:55+0100\n"
"PO-Revision-Date: 2018-12-03 11:57+0100\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -89,7 +89,7 @@ msgid "Mark as last read"
msgstr "Zuletzt gelesen"
#: src/octoprint/plugins/announcements/templates/announcements.jinja2:44
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:127
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:133
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:121
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:235
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:136
@@ -287,103 +287,103 @@ msgstr "Generiere einen Application Key manuell"
msgid "Generate"
msgstr "Erzeugen"
#: src/octoprint/plugins/backup/__init__.py:881
#: src/octoprint/plugins/backup/__init__.py:914
msgid "Backup & Restore"
msgstr "Sicherung & Wiederherstellung"
#: src/octoprint/plugins/backup/__init__.py:884
#: src/octoprint/plugins/backup/__init__.py:917
msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data."
msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen."
#: src/octoprint/plugins/backup/static/js/backup.js:86
#: src/octoprint/plugins/backup/static/js/backup.js:88
#, python-format
msgid "You are about to delete backup file \"%(name)s\"."
msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" zu löschen."
#: src/octoprint/plugins/backup/static/js/backup.js:94
#: src/octoprint/plugins/backup/static/js/backup.js:104
#, python-format
msgid "You are about to restore the backup file \"%(name)s\". This cannot be undone."
msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" wiederherzustellen."
#: src/octoprint/plugins/backup/static/js/backup.js:104
#: src/octoprint/plugins/backup/static/js/backup.js:120
#, python-format
msgid "You are about to upload and restore the backup file \"%(name)s\". This cannot be undone."
msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und wiederherzustellen. Das kann nicht rückgängig gemacht werden."
#: src/octoprint/plugins/backup/static/js/backup.js:115
#: src/octoprint/plugins/backup/static/js/backup.js:131
msgid "You are about to delete the record of plugins unknown during the last restore."
msgstr "Du bist dabei, die Liste der Plugins zu löschen, die während der letzten Wiederherstellung unbekannt waren."
#: src/octoprint/plugins/backup/static/js/backup.js:139
#: src/octoprint/plugins/backup/static/js/backup.js:155
#, python-format
msgid "You are about to delete %(count)d backups."
msgstr "Du bist im Begriff, %(count)d Sicherungen zu löschen."
#: src/octoprint/plugins/backup/static/js/backup.js:159
#: src/octoprint/plugins/backup/static/js/backup.js:175
msgid "Backup created successfully"
msgstr "Backup erfolgreich erstellt"
#: src/octoprint/plugins/backup/static/js/backup.js:168
#: src/octoprint/plugins/backup/static/js/backup.js:184
msgid "Creating the backup failed"
msgstr "Backuperstellung fehlgeschlagen"
#: src/octoprint/plugins/backup/static/js/backup.js:169
#: src/octoprint/plugins/backup/static/js/backup.js:185
#, python-format
msgid "OctoPrint could not create your backup. Please consult <code>octoprint.log</code> for details. Error: %(error)s"
msgstr "OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere <code>octoprint.log</code> für Details. Fehler: %(error)s"
#: src/octoprint/plugins/backup/static/js/backup.js:176
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:121
#: src/octoprint/plugins/backup/static/js/backup.js:190
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:127
msgid "Restoring from backup..."
msgstr "Stelle Sicherung wieder her..."
#: src/octoprint/plugins/backup/static/js/backup.js:181
#: src/octoprint/plugins/backup/static/js/backup.js:194
msgid "Restore failed! Check the above output and octoprint.log for reasons as to why."
msgstr "Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie octoprint.log für mögliche Gründe dafür."
#: src/octoprint/plugins/backup/static/js/backup.js:185
#: src/octoprint/plugins/backup/static/js/backup.js:198
msgid "Restore successful! The server will now be restarted!"
msgstr "Wiederherstellung erfolgreich! Der Server wird jetzt neu gestartet!"
#: src/octoprint/plugins/backup/static/js/backup.js:190
#: src/octoprint/plugins/backup/static/js/backup.js:203
#, python-format
msgid "Installing plugin \"%(plugin)s}\"..."
msgstr "Installiere Plugin \"%(plugin)s\"..."
#: src/octoprint/plugins/backup/static/js/backup.js:196
#: src/octoprint/plugins/backup/static/js/backup.js:209
#, python-format
msgid "Cannot install plugin \"%(plugin)s\" due to it being incompatible to this OctoPrint version and/or underlying operating system"
msgstr "Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint Version oder dem darunter liegenden Betriebssystem inkompatibel ist"
#: src/octoprint/plugins/backup/static/js/backup.js:202
#: src/octoprint/plugins/backup/static/js/backup.js:215
#, python-format
msgid "There are %(count)d plugins you'll need to install manually since they aren't registered on the repository:"
msgstr "Du musst %(count)d Plugins manuell installieren, da sie nicht im Repository registriert sind:"
#: src/octoprint/plugins/backup/static/js/backup.js:230
#: src/octoprint/plugins/backup/static/js/backup.js:243
msgid "Deleting backups"
msgstr "Lösche Sicherungen"
#: src/octoprint/plugins/backup/static/js/backup.js:231
#: src/octoprint/plugins/backup/static/js/backup.js:244
#, python-format
msgid "Deleting %(count)d backups..."
msgstr "Lösche %(count)d Sicherungen..."
#: src/octoprint/plugins/backup/static/js/backup.js:235
#: src/octoprint/plugins/backup/static/js/backup.js:248
#: src/octoprint/static/js/app/viewmodels/timelapse.js:313
#: src/octoprint/static/js/app/viewmodels/timelapse.js:327
#, python-format
msgid "Deleted %(filename)s..."
msgstr "%(filename)s gelöscht..."
#: src/octoprint/plugins/backup/static/js/backup.js:238
#: src/octoprint/plugins/backup/static/js/backup.js:251
#: src/octoprint/static/js/app/viewmodels/timelapse.js:316
#: src/octoprint/static/js/app/viewmodels/timelapse.js:330
#, python-format
msgid "Deletion of %(filename)s failed, continuing..."
msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..."
#: src/octoprint/plugins/backup/static/js/backup.js:239
#: src/octoprint/plugins/backup/static/js/backup.js:252
#: src/octoprint/static/js/app/viewmodels/timelapse.js:317
#, python-format
msgid "Deletion of %(filename)s failed: %(error)s"
@@ -472,29 +472,34 @@ msgstr "Zeitrafferaufnahmen nicht sichern"
msgid "Create backup now"
msgstr "Sicherung jetzt erstellen"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:94
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:95
msgid "Restore from uploaded backup"
msgstr "Von einer hochgeladenen Sicherung wiederherstellen"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:96
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:97
msgid "Restore settings & files from an uploaded backup archive."
msgstr "Einstellungen und Dateien von einer hochgeladenen Sicherung wiederherstellen."
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:100
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:101
msgid "Backup file"
msgstr "Sicherungsdatei"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:104
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:105
#: src/octoprint/plugins/cura/templates/snippets/settings/cura/profileImporter.jinja2:13
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209
#: src/octoprint/templates/dialogs/settings/appearance.jinja2:104
msgid "Browse..."
msgstr "Durchsuchen..."
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:114
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:115
msgid "Upload & restore"
msgstr "Hochladen & wiederherstellen"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:122
#, python-format
msgid "Please note that the operating system that this OctoPrint server is running on does not support automatically restoring backups. You will have to <a href=\"%(url)s\" target=\"_blank\" rel=\"noopener noreferrer\">restore your backups manually for now</a>."
msgstr "Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis auf weiteres kannst du Sicherungen nur <a href=\"%(url)s\" target=\"_blank\" rel=\"noopener noreferrer\">manuell wiederherstellen</a>."
#: src/octoprint/plugins/corewizard/__init__.py:123
msgid "Without this plugin OctoPrint will no longer be able to perform setup steps that might be required after an update."
msgstr "Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige Konfigurationsschritte durchzuführen, die ggf. nach einem Update notwendig sind."
Binary file not shown.
+35 -30
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2018-11-28 12:25+0100\n"
"PO-Revision-Date: 2018-11-28 12:28+0100\n"
"POT-Creation-Date: 2018-12-03 11:55+0100\n"
"PO-Revision-Date: 2018-12-03 11:57+0100\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -89,7 +89,7 @@ msgid "Mark as last read"
msgstr "Zuletzt gelesen"
#: src/octoprint/plugins/announcements/templates/announcements.jinja2:44
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:127
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:133
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:121
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:235
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:136
@@ -287,103 +287,103 @@ msgstr "Generiere einen Application Key manuell"
msgid "Generate"
msgstr "Erzeugen"
#: src/octoprint/plugins/backup/__init__.py:881
#: src/octoprint/plugins/backup/__init__.py:914
msgid "Backup & Restore"
msgstr "Sicherung & Wiederherstellung"
#: src/octoprint/plugins/backup/__init__.py:884
#: src/octoprint/plugins/backup/__init__.py:917
msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data."
msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen."
#: src/octoprint/plugins/backup/static/js/backup.js:86
#: src/octoprint/plugins/backup/static/js/backup.js:88
#, python-format
msgid "You are about to delete backup file \"%(name)s\"."
msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" zu löschen."
#: src/octoprint/plugins/backup/static/js/backup.js:94
#: src/octoprint/plugins/backup/static/js/backup.js:104
#, python-format
msgid "You are about to restore the backup file \"%(name)s\". This cannot be undone."
msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" wiederherzustellen."
#: src/octoprint/plugins/backup/static/js/backup.js:104
#: src/octoprint/plugins/backup/static/js/backup.js:120
#, python-format
msgid "You are about to upload and restore the backup file \"%(name)s\". This cannot be undone."
msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und wiederherzustellen. Das kann nicht rückgängig gemacht werden."
#: src/octoprint/plugins/backup/static/js/backup.js:115
#: src/octoprint/plugins/backup/static/js/backup.js:131
msgid "You are about to delete the record of plugins unknown during the last restore."
msgstr "Du bist dabei, die Liste der Plugins zu löschen, die während der letzten Wiederherstellung unbekannt waren."
#: src/octoprint/plugins/backup/static/js/backup.js:139
#: src/octoprint/plugins/backup/static/js/backup.js:155
#, python-format
msgid "You are about to delete %(count)d backups."
msgstr "Du bist im Begriff, %(count)d Sicherungen zu löschen."
#: src/octoprint/plugins/backup/static/js/backup.js:159
#: src/octoprint/plugins/backup/static/js/backup.js:175
msgid "Backup created successfully"
msgstr "Backup erfolgreich erstellt"
#: src/octoprint/plugins/backup/static/js/backup.js:168
#: src/octoprint/plugins/backup/static/js/backup.js:184
msgid "Creating the backup failed"
msgstr "Backuperstellung fehlgeschlagen"
#: src/octoprint/plugins/backup/static/js/backup.js:169
#: src/octoprint/plugins/backup/static/js/backup.js:185
#, python-format
msgid "OctoPrint could not create your backup. Please consult <code>octoprint.log</code> for details. Error: %(error)s"
msgstr "OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere <code>octoprint.log</code> für Details. Fehler: %(error)s"
#: src/octoprint/plugins/backup/static/js/backup.js:176
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:121
#: src/octoprint/plugins/backup/static/js/backup.js:190
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:127
msgid "Restoring from backup..."
msgstr "Stelle Sicherung wieder her..."
#: src/octoprint/plugins/backup/static/js/backup.js:181
#: src/octoprint/plugins/backup/static/js/backup.js:194
msgid "Restore failed! Check the above output and octoprint.log for reasons as to why."
msgstr "Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie octoprint.log für mögliche Gründe dafür."
#: src/octoprint/plugins/backup/static/js/backup.js:185
#: src/octoprint/plugins/backup/static/js/backup.js:198
msgid "Restore successful! The server will now be restarted!"
msgstr "Wiederherstellung erfolgreich! Der Server wird jetzt neu gestartet!"
#: src/octoprint/plugins/backup/static/js/backup.js:190
#: src/octoprint/plugins/backup/static/js/backup.js:203
#, python-format
msgid "Installing plugin \"%(plugin)s}\"..."
msgstr "Installiere Plugin \"%(plugin)s\"..."
#: src/octoprint/plugins/backup/static/js/backup.js:196
#: src/octoprint/plugins/backup/static/js/backup.js:209
#, python-format
msgid "Cannot install plugin \"%(plugin)s\" due to it being incompatible to this OctoPrint version and/or underlying operating system"
msgstr "Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint Version oder dem darunter liegenden Betriebssystem inkompatibel ist"
#: src/octoprint/plugins/backup/static/js/backup.js:202
#: src/octoprint/plugins/backup/static/js/backup.js:215
#, python-format
msgid "There are %(count)d plugins you'll need to install manually since they aren't registered on the repository:"
msgstr "Du musst %(count)d Plugins manuell installieren, da sie nicht im Repository registriert sind:"
#: src/octoprint/plugins/backup/static/js/backup.js:230
#: src/octoprint/plugins/backup/static/js/backup.js:243
msgid "Deleting backups"
msgstr "Lösche Sicherungen"
#: src/octoprint/plugins/backup/static/js/backup.js:231
#: src/octoprint/plugins/backup/static/js/backup.js:244
#, python-format
msgid "Deleting %(count)d backups..."
msgstr "Lösche %(count)d Sicherungen..."
#: src/octoprint/plugins/backup/static/js/backup.js:235
#: src/octoprint/plugins/backup/static/js/backup.js:248
#: src/octoprint/static/js/app/viewmodels/timelapse.js:313
#: src/octoprint/static/js/app/viewmodels/timelapse.js:327
#, python-format
msgid "Deleted %(filename)s..."
msgstr "%(filename)s gelöscht..."
#: src/octoprint/plugins/backup/static/js/backup.js:238
#: src/octoprint/plugins/backup/static/js/backup.js:251
#: src/octoprint/static/js/app/viewmodels/timelapse.js:316
#: src/octoprint/static/js/app/viewmodels/timelapse.js:330
#, python-format
msgid "Deletion of %(filename)s failed, continuing..."
msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..."
#: src/octoprint/plugins/backup/static/js/backup.js:239
#: src/octoprint/plugins/backup/static/js/backup.js:252
#: src/octoprint/static/js/app/viewmodels/timelapse.js:317
#, python-format
msgid "Deletion of %(filename)s failed: %(error)s"
@@ -472,29 +472,34 @@ msgstr "Zeitrafferaufnahmen nicht sichern"
msgid "Create backup now"
msgstr "Sicherung jetzt erstellen"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:94
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:95
msgid "Restore from uploaded backup"
msgstr "Von einer hochgeladenen Sicherung wiederherstellen"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:96
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:97
msgid "Restore settings & files from an uploaded backup archive."
msgstr "Einstellungen und Dateien von einer hochgeladenen Sicherung wiederherstellen."
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:100
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:101
msgid "Backup file"
msgstr "Sicherungsdatei"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:104
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:105
#: src/octoprint/plugins/cura/templates/snippets/settings/cura/profileImporter.jinja2:13
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209
#: src/octoprint/templates/dialogs/settings/appearance.jinja2:104
msgid "Browse..."
msgstr "Durchsuchen..."
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:114
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:115
msgid "Upload & restore"
msgstr "Hochladen & wiederherstellen"
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:122
#, python-format
msgid "Please note that the operating system that this OctoPrint server is running on does not support automatically restoring backups. You will have to <a href=\"%(url)s\" target=\"_blank\" rel=\"noopener noreferrer\">restore your backups manually for now</a>."
msgstr "Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis auf weiteres kannst du Sicherungen nur <a href=\"%(url)s\" target=\"_blank\" rel=\"noopener noreferrer\">manuell wiederherstellen</a>."
#: src/octoprint/plugins/corewizard/__init__.py:123
msgid "Without this plugin OctoPrint will no longer be able to perform setup steps that might be required after an update."
msgstr "Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige Konfigurationsschritte durchzuführen, die ggf. nach einem Update notwendig sind."
+39 -30
View File
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.3.10rc2.dev27+g13260fa21\n"
"Project-Id-Version: OctoPrint 1.3.10rc4.dev10+g38fce1665\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2018-11-28 12:25+0100\n"
"POT-Creation-Date: 2018-12-03 11:55+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -97,7 +97,7 @@ msgid "Mark as last read"
msgstr ""
#: src/octoprint/plugins/announcements/templates/announcements.jinja2:44
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:127
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:133
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:121
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:235
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:136
@@ -299,119 +299,119 @@ msgstr ""
msgid "Generate"
msgstr ""
#: src/octoprint/plugins/backup/__init__.py:881
#: src/octoprint/plugins/backup/__init__.py:914
msgid "Backup & Restore"
msgstr ""
#: src/octoprint/plugins/backup/__init__.py:884
#: src/octoprint/plugins/backup/__init__.py:917
msgid ""
"Without this plugin you will no longer be able to backup & restore your "
"OctoPrint settings and data."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:86
#: src/octoprint/plugins/backup/static/js/backup.js:88
#, python-format
msgid "You are about to delete backup file \"%(name)s\"."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:94
#: src/octoprint/plugins/backup/static/js/backup.js:104
#, python-format
msgid ""
"You are about to restore the backup file \"%(name)s\". This cannot be "
"undone."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:104
#: src/octoprint/plugins/backup/static/js/backup.js:120
#, python-format
msgid ""
"You are about to upload and restore the backup file \"%(name)s\". This "
"cannot be undone."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:115
#: src/octoprint/plugins/backup/static/js/backup.js:131
msgid ""
"You are about to delete the record of plugins unknown during the last "
"restore."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:139
#: src/octoprint/plugins/backup/static/js/backup.js:155
#, python-format
msgid "You are about to delete %(count)d backups."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:159
#: src/octoprint/plugins/backup/static/js/backup.js:175
msgid "Backup created successfully"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:168
#: src/octoprint/plugins/backup/static/js/backup.js:184
msgid "Creating the backup failed"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:169
#: src/octoprint/plugins/backup/static/js/backup.js:185
#, python-format
msgid ""
"OctoPrint could not create your backup. Please consult "
"<code>octoprint.log</code> for details. Error: %(error)s"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:176
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:121
#: src/octoprint/plugins/backup/static/js/backup.js:190
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:127
msgid "Restoring from backup..."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:181
#: src/octoprint/plugins/backup/static/js/backup.js:194
msgid ""
"Restore failed! Check the above output and octoprint.log for reasons as "
"to why."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:185
#: src/octoprint/plugins/backup/static/js/backup.js:198
msgid "Restore successful! The server will now be restarted!"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:190
#: src/octoprint/plugins/backup/static/js/backup.js:203
#, python-format
msgid "Installing plugin \"%(plugin)s}\"..."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:196
#: src/octoprint/plugins/backup/static/js/backup.js:209
#, python-format
msgid ""
"Cannot install plugin \"%(plugin)s\" due to it being incompatible to this"
" OctoPrint version and/or underlying operating system"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:202
#: src/octoprint/plugins/backup/static/js/backup.js:215
#, python-format
msgid ""
"There are %(count)d plugins you'll need to install manually since they "
"aren't registered on the repository:"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:230
#: src/octoprint/plugins/backup/static/js/backup.js:243
msgid "Deleting backups"
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:231
#: src/octoprint/plugins/backup/static/js/backup.js:244
#, python-format
msgid "Deleting %(count)d backups..."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:235
#: src/octoprint/plugins/backup/static/js/backup.js:248
#: src/octoprint/static/js/app/viewmodels/timelapse.js:313
#: src/octoprint/static/js/app/viewmodels/timelapse.js:327
#, python-format
msgid "Deleted %(filename)s..."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:238
#: src/octoprint/plugins/backup/static/js/backup.js:251
#: src/octoprint/static/js/app/viewmodels/timelapse.js:316
#: src/octoprint/static/js/app/viewmodels/timelapse.js:330
#, python-format
msgid "Deletion of %(filename)s failed, continuing..."
msgstr ""
#: src/octoprint/plugins/backup/static/js/backup.js:239
#: src/octoprint/plugins/backup/static/js/backup.js:252
#: src/octoprint/static/js/app/viewmodels/timelapse.js:317
#, python-format
msgid "Deletion of %(filename)s failed: %(error)s"
@@ -502,29 +502,38 @@ msgstr ""
msgid "Create backup now"
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:94
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:95
msgid "Restore from uploaded backup"
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:96
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:97
msgid "Restore settings & files from an uploaded backup archive."
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:100
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:101
msgid "Backup file"
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:104
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:105
#: src/octoprint/plugins/cura/templates/snippets/settings/cura/profileImporter.jinja2:13
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209
#: src/octoprint/templates/dialogs/settings/appearance.jinja2:104
msgid "Browse..."
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:114
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:115
msgid "Upload & restore"
msgstr ""
#: src/octoprint/plugins/backup/templates/backup_settings.jinja2:122
#, python-format
msgid ""
"Please note that the operating system that this OctoPrint server is "
"running on does not support automatically restoring backups. You will "
"have to <a href=\"%(url)s\" target=\"_blank\" rel=\"noopener "
"noreferrer\">restore your backups manually for now</a>."
msgstr ""
#: src/octoprint/plugins/corewizard/__init__.py:123
msgid ""
"Without this plugin OctoPrint will no longer be able to perform setup "