#309 PR feedback

This commit is contained in:
Andrea Vos 2024-09-08 15:34:41 +02:00
parent 91ffd2e49d
commit c70f903996
4 changed files with 11 additions and 13 deletions

View File

@ -50,10 +50,6 @@ export default Vue.extend({
},
},
async mounted() {
if (!process.browser) {
return;
}
const storedRaw = localStorage.getItem(this.storageKey);
if (!storedRaw) {
return;

View File

@ -1783,8 +1783,9 @@ form:
persistent:
present:
question: >
It looks like you've left the editor without saving your changes.
There's a draft saved on your device on %time%. Would you like to load it?
load: 'Load draft'
It looks like you have unsaved changes.
Theres a draft saved on your device on %time%.
Would you like to restore it?
load: 'Restore draft'
abandon: 'Abandon draft'
saved: 'Draft saved in your browser at %time%'

View File

@ -2003,8 +2003,9 @@ form:
persistent:
present:
question: >
It looks like you've left the editor without saving your changes.
There's a draft saved on your device on %time%. Would you like to load it?
load: 'Load draft'
It looks like you have unsaved changes.
Theres a draft saved on your device on %time%.
Would you like to restore it?
load: 'Restore draft'
abandon: 'Abandon draft'
saved: 'Draft saved in your browser at %time%'

View File

@ -2369,8 +2369,8 @@ form:
persistent:
present:
question: >
Wygląda na to, że opuściłxś edytor bez zapisywania zmian.
Na twoim urządzeniu jest zapisany szkic z %time%. Czy chcesz go załadować?
load: 'Załaduj szkic'
Wygląda na to, że masz niezapisane zmiany.
Na twoim urządzeniu znajduje szkic z %time%. Czy chcesz go przywrócić?
load: 'Przywróć szkic'
abandon: 'Porzuć szkic'
saved: 'Szkic zapisany w twojej przeglądarce o %time%'