'Repair started on {0}.':'Reparatur von {0} gestartet.','Repair on {0} stopped.':'Reparatur von {0} abgebrochen.',
'Re-add device':'Gerät wieder aufnehmen','Re-add':'Wieder aufnehmen',
'Take a device back into {0}':'Gerät wieder in {0} aufnehmen',
'A member that failed or was left behind goes back into its place. Thanks to the write-intent bitmap only what changed since is synchronized; nothing on the device is deleted.':
'Ein ausgefallenes oder zurückgelassenes Mitglied kommt wieder an seinen Platz. Dank der Write-Intent-Bitmap wird nur synchronisiert, was sich seither geändert hat; auf dem Gerät wird nichts gelöscht.',
'If it is too far behind, add it as a device instead: it is then rebuilt in full.':
'Ist es zu weit zurück, stattdessen als Gerät hinzufügen: es wird dann vollständig neu aufgebaut.',
'{0} is back in {1}.':'{0} ist wieder in {1}.','{0} went back into {1} as a former member.':'{0} wurde als früheres Mitglied wieder in {1} aufgenommen.',
'left behind':'zurückgelassen',
'Replace device':'Gerät ersetzen','Replace':'Ersetzen','Replace a device of {0}':'Gerät von {0} ersetzen',
'Replace with':'Ersetzen durch','a spare of the array':'ein Reservegerät des Arrays',
'The device is copied onto the replacement while it keeps working, so {0} never loses redundancy. Afterwards it is marked failed and can be removed.':
'Das Gerät wird auf den Ersatz kopiert, während es weiterarbeitet, so verliert {0} nie seine Redundanz. Danach ist es als ausgefallen markiert und kann entfernt werden.',
'Replacement of {0} started.':'Ersetzen von {0} gestartet.',
'No device to replace with: add a spare or free a device.':'Kein Gerät als Ersatz: ein Reservegerät hinzufügen oder ein Gerät freimachen.',
'Up to date':'Aktuell','Force start':'Erzwungen starten','not enough members':'zu wenige Mitglieder',
'Start {0} forced?':'{0} erzwungen starten?',
'Too few members are up to date, or the array is degraded and wasn\'t shut down cleanly. Forced, the freshest out-of-date members are taken as current (like mdadm --assemble --force).':
'Zu wenige Mitglieder sind aktuell, oder das Array ist beeinträchtigt und wurde nicht sauber beendet. Erzwungen werden die frischesten veralteten Mitglieder als aktuell übernommen (wie mdadm --assemble --force).',
'What was written after they dropped out isn\'t on them: check the file system and run a repair afterwards.':
'Was nach ihrem Ausfall geschrieben wurde, fehlt auf ihnen: danach das Dateisystem prüfen und eine Reparatur laufen lassen.',
'I know that data may be inconsistent.':'Mir ist klar, dass Daten inkonsistent sein können.',
h('p',{},t('A member that failed or was left behind goes back into its place. Thanks to the write-intent bitmap only what changed since is synchronized; nothing on the device is deleted.')),
h('p',{class:'hint'},t('If it is too far behind, add it as a device instead: it is then rebuilt in full.')),
h('p',{},t('The device is copied onto the replacement while it keeps working, so {0} never loses redundancy. Afterwards it is marked failed and can be removed.',a.name)),
warn,confirm,
];
},
onSubmit:asyncd=>{
if (d.with&&!d.confirm)thrownewError(t('Please confirm that the data will be deleted.'));
constargs={array:a.name,device:d.device};
if (d.with)Object.assign(args,{with:d.with,confirm:true});
constr=awaitcall('raid','replace',args);
if (!jobs.started(r))toast(t('Replacement of {0} started.',d.device));
},
}).then(ok=>{if (ok)load();});
}
asyncfunctioncheckArray(a,stop,repair){
constmsg=repair?(stop?t('Repair on {0} stopped.',a.name):t('Repair started on {0}.',a.name))
:(stop?t('Check on {0} stopped.',a.name):t('Check started on {0}.',a.name));
h('p',{},t('Too few members are up to date, or the array is degraded and wasn\'t shut down cleanly. Forced, the freshest out-of-date members are taken as current (like mdadm --assemble --force).')),
h('p',{},t('What was written after they dropped out isn\'t on them: check the file system and run a repair afterwards.'))),
confirmBox(t('I know that data may be inconsistent.')),
],
onSubmit:asyncd=>{
if (!d.confirm)thrownewError(t('Please confirm.'));